FillSilos: Difference between revisions
en>DCoder No edit summary |
Updated |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{Flag | ||
|name={{PAGENAME}} | |||
|files={{Categ|Maps}} | |||
|types={{Categ|Basic}} | |||
|values={{Values|boolean}} | |||
|default=no | |||
|ra=yes | |||
|cs=yes | |||
|am=yes | |||
|ts=yes | |||
|fs=yes | |||
|ets=yes | |||
|hp=yes | |||
|ra2=yes | |||
|yr=yes | |||
}} | |||
Specifies whether or not all silos and refineries in this [[map]] should be pre-filled with [[Tiberiums|ore/Tiberium]]. This applies to all preplaced structures with a positive {{f|Storage|link}}. The amount of ore/Tiberium stored in the structures is the [[house]]'s starting [[credits|credit amount]] substracted with the [[value]] of the first [[Tiberiums|ore/Tiberium type]]. | |||
In [[pseudocode]]: | |||
StoredCredits = House.Credits - Tiberiums[0].Value | |||
If this amount exceeds the amount of available storage, any excess ore/Tiberium is not stored. Conversely, if a house has zero starting credits, {{f|FillSilos|yes}} will have no effect on the house, even if it owns silos and refineries. | |||
== Example == | |||
If a house has 10,000 initial credits, an extra 10,000 credits worth of ore/Tiberium Riparius, minus 25 (the default value of ore/Riparius) will be stored in the house's silos/refineries on map start, provided that the house owns enough silos/refineries to store that amount. Thus the house starts with a total of 10,000 + 10,000 - 25 = 19,975 credits. | |||
Latest revision as of 17:59, 8 May 2025
|
|
|
|
|
|
| Flag: | FillSilos |
| File(s): | Maps |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Default: | no |
| Applicable to: | Basic |
Specifies whether or not all silos and refineries in this map should be pre-filled with ore/Tiberium. This applies to all preplaced structures with a positive Storage. The amount of ore/Tiberium stored in the structures is the house's starting credit amount substracted with the value of the first ore/Tiberium type.
In pseudocode:
StoredCredits = House.Credits - Tiberiums[0].Value
If this amount exceeds the amount of available storage, any excess ore/Tiberium is not stored. Conversely, if a house has zero starting credits, FillSilos=yes will have no effect on the house, even if it owns silos and refineries.
Example
If a house has 10,000 initial credits, an extra 10,000 credits worth of ore/Tiberium Riparius, minus 25 (the default value of ore/Riparius) will be stored in the house's silos/refineries on map start, provided that the house owns enough silos/refineries to store that amount. Thus the house starts with a total of 10,000 + 10,000 - 25 = 19,975 credits.





