Property:Terrain Affordance
Jump to navigation
Jump to search
(set allowed values) |
m |
||
Line 1: | Line 1: | ||
This property allows the following [[has type::text]] values: | This property allows the following [[has type::text]] values: | ||
+ | * [[Allows value::Depends on materials]] | ||
+ | * [[Allows value::Shallow water]] | ||
+ | |||
+ | TerrainAffordances.xml: | ||
* [[Allows value::Light]] | * [[Allows value::Light]] | ||
* [[Allows value::Medium]] | * [[Allows value::Medium]] | ||
* [[Allows value::Heavy]] | * [[Allows value::Heavy]] | ||
− | * [[Allows value:: | + | * [[Allows value::ShallowWater]] |
+ | * [[Allows value::MovingFluid]] | ||
* [[Allows value::Bridgeable]] | * [[Allows value::Bridgeable]] | ||
+ | * [[Allows value::GrowSoil]] | ||
* [[Allows value::Diggable]] | * [[Allows value::Diggable]] | ||
− | * [[Allows value:: | + | * [[Allows value::SmoothableStone]] |
+ | |||
+ | {| {{STDT| sortable}} | ||
+ | ! Def Name !! Label !! Order !! Visualize On Affordance Overlay !! Affordance Overlay Color !! Note | ||
+ | |- | ||
+ | ! Light !! light | ||
+ | | 1200 || true || (255,130,0) {{Color|255|130|0}} || Supports light structure | ||
+ | |- | ||
+ | ! Medium !! medium | ||
+ | | 1300 || true || (255,255,0) {{Color|255|255|0}} || Supports medium structures (mainly walls) | ||
+ | |- | ||
+ | ! Heavy !! heavy | ||
+ | | 1400 || true || - || Supports heavy structures | ||
+ | |- | ||
+ | ! ShallowWater !! shallow water | ||
+ | | 2200 || true || (0,0,100) {{Color|0|0|100}} || Can be built on with things that are waterproof | ||
+ | |- | ||
+ | ! MovingFluid !! moving water | ||
+ | | 2300 || true || (0,0,200) {{Color|0|0|200}} || Contains power usable for hydroelectrics | ||
+ | |- | ||
+ | ! Bridgeable !! bridgeable | ||
+ | | 2400 || - || - || Bridge can be built here | ||
+ | |- | ||
+ | ! GrowSoil !! growable | ||
+ | | 3200 || - || - || Things can grow here | ||
+ | |- | ||
+ | ! Diggable !! diggable | ||
+ | | 3300 || - || - || For graves | ||
+ | |- | ||
+ | ! SmoothableStone !! smoothable | ||
+ | | 3400 || - || - || Can be ground and smoothed into smooth stone | ||
+ | |} |
Latest revision as of 20:53, 25 September 2024
This property allows the following text values:
- Depends on materials
- Shallow water
TerrainAffordances.xml:
- Light
- Medium
- Heavy
- ShallowWater
- MovingFluid
- Bridgeable
- GrowSoil
- Diggable
- SmoothableStone
Def Name | Label | Order | Visualize On Affordance Overlay | Affordance Overlay Color | Note |
---|---|---|---|---|---|
Light | light | 1200 | true | (255,130,0) | Supports light structure |
Medium | medium | 1300 | true | (255,255,0) | Supports medium structures (mainly walls) |
Heavy | heavy | 1400 | true | - | Supports heavy structures |
ShallowWater | shallow water | 2200 | true | (0,0,100) | Can be built on with things that are waterproof |
MovingFluid | moving water | 2300 | true | (0,0,200) | Contains power usable for hydroelectrics |
Bridgeable | bridgeable | 2400 | - | - | Bridge can be built here |
GrowSoil | growable | 3200 | - | - | Things can grow here |
Diggable | diggable | 3300 | - | - | For graves |
SmoothableStone | smoothable | 3400 | - | - | Can be ground and smoothed into smooth stone |
{ "type": "PROPERTY_CONSTRAINT_SCHEMA", "constraints": { "type_constraint": "_txt", "allowed_values": [ "Light", "Medium", "Heavy", "Depends on materials", "Bridgeable", "Diggable", "Shallow water", "ShallowWater", "MovingFluid", "GrowSoil", "SmoothableStone" ] } }