A field has a number of terrain properties. See the source for a list of all properties. The terrain properties of a field are the properties of the terraintype and all objects on that field.
A unit / building / object has 4 variables for specifying when the field is accessible and when not:
An example: A tank is killed by deep water. But if there is a bridge over the water, there is the road property and the deep_water property on the field. Because the tank has road among the terrain_any, it can savely move across the field.
If the same tank is standing on a frozen lake and the ice is sudenly melting, there's only the deep_water property left. Now the field is not accessible any more, so the terrain_kill variable comes into action and finds the deep_water property. The tank is killed.
Last change: Wed, 2003-04-02 12:45