Adjacent: Difference between revisions
en>Crimsonum m is a TS flag too + some stylistic changes |
Rain-Islet (talk | contribs) m [bot] Batch update {{Bugs}} templates. |
||
| (8 intermediate revisions by 5 users not shown) | |||
| Line 2: | Line 2: | ||
|name=Adjacent | |name=Adjacent | ||
|files={{Categ|Rules(md).ini}} | |files={{Categ|Rules(md).ini}} | ||
|values={{ | |values={{Values|unsigned integer}} | ||
|default=3 | |default=3 | ||
|special= -1 to -2147483647 | |||
|types={{Categ|BuildingTypes}} | |types={{Categ|BuildingTypes}} | ||
|ts=yes | |ts=yes | ||
| Line 12: | Line 13: | ||
|ares=yes | |ares=yes | ||
}} | }} | ||
After constructing a [[BuildingTypes|building]], human players are only allowed to place it near their existing structures, at a maxiumum distance away in cells, as specified by <tt>Adjacent=</tt>, provided those nearby existing structures have {{f|BaseNormal|yes|link}} set. | |||
<tt>Adjacent=0</tt> means the new building must be placed in contact with an existing building without gap. | |||
<tt>Adjacent=1</tt> means there can be at most a 1 cell gap between an existing building and the new building. | |||
==Notes== | |||
AI players use a different system, [[AIBaseSpacing]] is used instead of <tt>Adjacent</tt>, where the distance specified is a preferred spacing rather than a limit. | |||
=See | =={{Bugs}}== | ||
Specifying too large a value, such as <tt>Adjacent=10000</tt>, will affect the game's speed. | |||
Negative values will result in players being unable to place [[BuildingTypes]], but the AI can still place them normally. | |||
==See Also== | |||
[[EligibileForAllyBuilding]] | |||
[[DeploysInto]] | |||
Latest revision as of 17:06, 2 July 2025
|
|
|
|
|
|
| Flag: | Adjacent |
| File(s): | Rules(md).ini |
| Values: | Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. |
| Special Values: | -1 to -2147483647 |
| Default: | 3 |
| Applicable to: | BuildingTypes |
After constructing a building, human players are only allowed to place it near their existing structures, at a maxiumum distance away in cells, as specified by Adjacent=, provided those nearby existing structures have BaseNormal=yes set.
Adjacent=0 means the new building must be placed in contact with an existing building without gap.
Adjacent=1 means there can be at most a 1 cell gap between an existing building and the new building.
Notes
AI players use a different system, AIBaseSpacing is used instead of Adjacent, where the distance specified is a preferred spacing rather than a limit.
Bugs/Side-Effects/Unexpected Limitations
Specifying too large a value, such as Adjacent=10000, will affect the game's speed.
Negative values will result in players being unable to place BuildingTypes, but the AI can still place them normally.





