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

Unit Completion Action

Once an incomplete unit has been created, other units can help to complete it.

ActionType: build unit

This action adds to the completeness of unit. If the unit becomes complete, it will be given its initial supply, acp, name, etc.

Table: acp-to-build u1 u2 -> acp

This table is the acp used up by one build action by a unit of type u1 when buiding a unit of type u2. Defaults to 0.

Table: cp-per-build u1 u2 -> cp

This table is the amount of completeness of a unit of type u2 added by each completion action performed by a unit of type u1. If 0, then u1 cannot contribute to completing u2. Defaults to 1.

Table: material-to-build u m -> n

This table is the amount of each material type m that u must have in order to build anything at all. Defaults to 0.

Table: consumption-per-build u m -> n

This table is the amount of each material type m consumed by u when doing a build action. Defaults to 0.

Table: build-range u1 u2 -> dist

This table is the maximum distance allowed between a unit of type u1 and the incomplete unit of type u2 it is working on. Defaults to 0, which requires the two units to be in the same cell.

At a given point, incomplete units can make progress towards completion on their own. This is automatic because incomplete units are unable to act, and occurs at a constant specified rate.

UnitTypeProperty: cp-to-self-build cp

This property is the minimum completeness of the unit necessary before it can work on itself. Defaults to 0.

UnitTypeProperty: cp-per-self-build cp

This property is the completeness added each turn when a unit works on itself. Defaults to 0.

Table: supply-on-completion u m -> n

This table is the minimum amount of supply of each material type m guaranteed to a newly completed unit of type u. If not already available to the unit, it will be newly generated. Defaults to 0.


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