ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Adjacent: Difference between revisions
Jump to navigation
Jump to search
EvilRenegade (talk | contribs) m Replacing Template:TTL with Template:F. |
m is a TS flag too + some stylistic changes |
||
Line 2: | Line 2: | ||
|name=Adjacent | |name=Adjacent | ||
|files={{Categ|Rules(md).ini}} | |files={{Categ|Rules(md).ini}} | ||
|values=integer | |values={{Value|unsigned integer}} | ||
|default=3 | |default=3 | ||
|types={{Categ|BuildingTypes}} | |types={{Categ|BuildingTypes}} | ||
|ts=yes | |||
|fs=yes | |||
|hp=yes | |||
|ra2=yes | |ra2=yes | ||
|yr=yes | |yr=yes | ||
| | |ares=yes | ||
}} | }} | ||
After constructing a building in-game you are only allowed to place it near your existing | After constructing a [[BuildingTypes|building]] in-game you are only allowed to place it near your existing structures. | ||
{{f|Adjacent | {{f|Adjacent}} specifies the maximum number of cells away from one of your existing buildings (that does not have {{f|BaseNormal|no|link}} set) that you may place the new building. | ||
{{f|Adjacent|0}} means the new building must be placed in contact with an existing building - there must be no gap. {{f|Adjacent|1}} means there can be at most a 1 cell gap between an existing building and the new building. And so on. | |||
A building with {{f|Adjacent|1 | A building with {{f|Adjacent|1}} set can be placed both 1 cell North-East and 1 cell North-West of an existing building at the same time (i.e. diagonally). | ||
=See also= | =See also= | ||
* | *[[BaseNormal]] | ||
* | *[[EligibileForAllyBuilding]] |
Revision as of 09:55, 17 January 2023
Flag: | Adjacent |
File(s): | Rules(md).ini |
Values: | Template:Value |
Default: | 3 |
Applicable to: | BuildingTypes |
After constructing a building in-game you are only allowed to place it near your existing structures.
Adjacent specifies the maximum number of cells away from one of your existing buildings (that does not have BaseNormal=no set) that you may place the new building. Adjacent=0 means the new building must be placed in contact with an existing building - there must be no gap. Adjacent=1 means there can be at most a 1 cell gap between an existing building and the new building. And so on.
A building with Adjacent=1 set can be placed both 1 cell North-East and 1 cell North-West of an existing building at the same time (i.e. diagonally).