ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
SurvivorRate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Un-DeeZire'd |
||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
Fraction of the cost of a building which is used to be converted to infantry units when it is sold | |name={{PAGENAME}} | ||
|files={{Categ|rules(md).ini}} | |||
|values={{values|float}} | |||
|types={{Categ|General}} | |||
|ra=yes | |||
|cs=yes | |||
|am=yes | |||
|ts=yes | |||
|fs=yes | |||
|ets=yes | |||
|ra2=yes | |||
|yr=yes | |||
|rp=yes | |||
}} | |||
Fraction of the cost of a building which is used to be converted to infantry units when it is sold. The infantry received is determined by the {{TTL|Crew}}=, {{TTL|AlliedCrew}}=, {{TTL|SovietCrew}}= and/or {{TTL|ThirdCrew}}= flags (see Misc. in [General]), and the amount of that infantry is determined by the {{TTL|SurvivorDivisor}}= flag. | |||
Here's an example: a building that costs 1000 credits is sold. SurvivorRate= is set to 0.1 and (Allied/Soviet)Crew= is set to E1. This means that the player will get 0.1 x 1000 = 100 credits worth of infantry, and if {{TTL|SurvivorDivisor}}= is set to 100, the player will receive 100 / 100 = 1 infantry of the sold structure. |
Revision as of 09:46, 5 October 2008
Flag: | SurvivorRate |
File(s): | rules(md).ini |
Values: | Floating point values: Any decimal number (clearer range should be added in Template:Values). |
Applicable to: | General |
Fraction of the cost of a building which is used to be converted to infantry units when it is sold. The infantry received is determined by the Template:TTL=, Template:TTL=, Template:TTL= and/or Template:TTL= flags (see Misc. in [General]), and the amount of that infantry is determined by the Template:TTL= flag.
Here's an example: a building that costs 1000 credits is sold. SurvivorRate= is set to 0.1 and (Allied/Soviet)Crew= is set to E1. This means that the player will get 0.1 x 1000 = 100 credits worth of infantry, and if Template:TTL= is set to 100, the player will receive 100 / 100 = 1 infantry of the sold structure.