Difference between revisions of "Grid Feature - atom description"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
! Name || Type || Default value /<br>Obligatory || Description | ! Name || Type || Default value /<br>Obligatory || Description | ||
|- | |- | ||
− | | | + | |basic_ground_feature || bool || false || Feature representing basic ground. |
|- | |- | ||
− | | | + | |basic_water_feature || bool || false || Feature representing basic water. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
=== Properties in detail === | === Properties in detail === | ||
− | ==== | + | ==== basic_ground_feature ==== |
− | * | + | *All buildings without defined required grid features are allowed to build on this feature. |
− | |||
− | ==== | + | ==== basic_water_feature ==== |
− | * | + | *All ships can move though tiles which have all 4 grids with this feature. |
− | |||
=== Example === | === Example === | ||
<pre> | <pre> | ||
− | atom (' | + | -- ground |
+ | atom ('gf.G', | ||
{ | { | ||
− | + | basic_ground_feature = true, | |
− | |||
− | |||
}) | }) | ||
− | atom (' | + | -- water |
+ | atom ('gf.W', | ||
{ | { | ||
− | + | basic_water_feature = true, | |
− | |||
− | |||
}) | }) | ||
+ | |||
+ | -- fertile | ||
+ | atom ('gf.F', | ||
+ | {}) | ||
+ | |||
+ | -- copper | ||
+ | atom ('gf.Cu', | ||
+ | {}) | ||
+ | |||
+ | -- gold | ||
+ | atom ('gf.Au', | ||
+ | {}) | ||
+ | |||
+ | -- stone | ||
+ | atom ('gf.Si', | ||
+ | {}) | ||
+ | |||
+ | -- all | ||
+ | atom ('gf.A', | ||
+ | {}) | ||
</pre> | </pre> |
Latest revision as of 11:58, 15 April 2021
General description[edit]
- Grid Feature atoms represent additional properties of Grid atoms which can be referenced by buildings to limit construction only on tiles with specific Surface or Grid.
- For example Grid Feature can represent water or metal deposits.
Properties description[edit]
Name | Type | Default value / Obligatory |
Description |
---|---|---|---|
basic_ground_feature | bool | false | Feature representing basic ground. |
basic_water_feature | bool | false | Feature representing basic water. |
Properties in detail[edit]
basic_ground_feature[edit]
- All buildings without defined required grid features are allowed to build on this feature.
basic_water_feature[edit]
- All ships can move though tiles which have all 4 grids with this feature.
Example[edit]
-- ground atom ('gf.G', { basic_ground_feature = true, }) -- water atom ('gf.W', { basic_water_feature = true, }) -- fertile atom ('gf.F', {}) -- copper atom ('gf.Cu', {}) -- gold atom ('gf.Au', {}) -- stone atom ('gf.Si', {}) -- all atom ('gf.A', {})