MegaGlest Forum

Archives (read only) => Glest Advanced Engine => Feature requests => Topic started by: Omega on 29 September 2010, 23:22:17

Title: Discount Unit Cost Before Production
Post by: Omega on 29 September 2010, 23:22:17
As you all probably know, the discount costs are always taken off AFTER the unit has been produced (ie: Unit costing 10 gold with 50% discount would still cost 10 gold, but would give you back 5 gold after the production is done). This is impractical, and it would be nice to either have it actually taken off of the production cost or given an XML option to have it taken off before production (for Legacy support?).
Title: Re: Discount Unit Cost Before Production
Post by: ChupaReaper on 29 September 2010, 23:24:21
Why not just decrease the cost in the first place or add an upgrade feature to effect the cost of things?
Title: Re: Discount Unit Cost Before Production
Post by: Zoythrus on 30 September 2010, 01:17:11
he means when you morph a unit into a discounted unit.

this would be useful
Title: Re: Discount Unit Cost Before Production
Post by: silnarm on 1 October 2010, 04:38:44

Agreed, I'll add an option to apply the discount 'before' or (default) 'after' the morph,

Code: [Select]
   <discount value="75" apply="before" /> <!-- apply is "after" by default -->