Go to the first, previous, next, last section, table of contents.

Initial Supply

By default, all units start out empty of materials. The supply initialization method gives each unit a starting supply, according to the stockpile tables.

SynthesisMethod: make-initial-materials

This method fills unit and cell supplies to specified levels. It will fill all units in existence at the moment it runs, including reinforcements [and incomplete?] units. Similarly, all cells will be filled.

Table: unit-initial-supply u m -> n

This table is the amount of each material that each unit will start out with. If the initial supply is greater than unit's capacity, then the unit will just be filled to capacity. Defaults to 0.

Table: terrain-initial-supply t m -> n

This table is the amount of material m that each cell with terrain t will start out with. This will be limited by the cell's capacity. Defaults to 0.


Go to the first, previous, next, last section, table of contents.