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

Terrain Alteration Actions

ActionType: alter-terrain x y t

This action changes the type of the cell at x,y to t.

ActionType: add-terrain x y dir t

This action adds a connection or border of type t to the cell at x,y, in direction dir.

ActionType: remove-terrain x y dir t

This action removes a connection or border of type t to the cell at x,y, in direction dir.

Table: acp-to-add-terrain u t -> n

Table: acp-to-remove-terrain u t -> n

For auxiliary terrain types, these tables are the costs to add or remove. For cell terrain, the costs of removing the old type and adding the new type are added together.

Table: alter-terrain-range u t -> n

This table is the maximum distance at which a unit can alter terrain t. Defaults to 0, which means that the unit can change only the terrain in its own cell.

At present, all sides that have seen the terrain once will be informed about any changes.


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