User:Arcangelus/Sandbox
Welcome to the RimWorld Wiki sandbox!
This sandbox is where you can experiment and practice working on a wiki page. This page will usually have little or no content. Feel free to add content or to make changes and save them to see the results.
To learn about editing and formatting start here: Help:Contents. Just start with the basics... enter some text, and learn the other pieces as you go.
Your content contributions are welcome and important. The wiki is a collaborative effort and others can help with formatting and other improvements.]
Best wishes!
Creating page.
- Do changes here appear on Recent changes? Yes.
- Does this apply to sandbox as well?
subst:
https://rimworldwiki.com/index.php?title=Environment
Naturally generated surfaces
- For the artificial flooring, see Floors.
The function SpeedPercentString is:
13/(13 + Path cost)
Also uses float points, for some reason.
Type | Move Speed Modifier |
Fertility | Terrain Support |
Bridgeable | Diggable[1] | Terrain Type |
Beauty | Cleanliness | Filth mask[2] |
Dries To[3] | Others | Path cost |
Generates Filth |
Extra |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Broken asphalt | 100% | 0% | Heavy | - | -1 | 2 | - | Road | 0 | |||||
Packed dirt | 92.9% | 0% | Heavy | Soil | -1 | -1 | - | Road | 1 | Dirt | ||||
Chest-deep moving water | 23.6% | 0% | - | - | 0 | 0 | - | water[4] | 42 | |||||
Deep ocean water | 0% | 0% | - | - | 0 | 0 | - | water ocean |
300 | Impassable[5] | ||||
Deep water | 0% | 0% | - | - | 0 | 0 | - | water | 300 | Impassable | ||||
Shallow ocean water | 30.2% | 0% | ShallowWater | - | 0 | 0 | Stony soil | water ocean |
30 | |||||
Shallow moving water | 30.2% | 0% | ShallowWater MovingFluid |
- | 0 | 0 | - | water River |
30 | |||||
Shallow water | 30.2% | 0% | ShallowWater | - | 0 | 0 | Stony soil | water | 30 | |||||
Marsh | 30.2% | 0% | ShallowWater | - | -3/0 | -2 | Soil | 30 | Dirt | Extinguishes Fire MudInEyes. | ||||
Soil | 86.6% | 100% | Heavy GrowSoil |
Soil | -3/0 | -1 | - | Soil | 2 | Dirt | DirtInEyes Soil | |||
Lichen-covered soil | 81.2% | 100% | Heavy GrowSoil |
Soil | -3/0 | -1 | - | Soil | 3 | Dirt | DirtInEyes Soil | |||
Marshy soil | 48.1% | 100% | Light GrowSoil |
Soil | -3/0 | -2 | Soil | Soil | 14 | Dirt | DirtInEyes Soil | |||
Rich soil | 86.7% | 140% | Heavy GrowSoil |
Soil | -3/0 | -1 | Soil | Soil | 2 | Dirt | DirtInEyes Soil | |||
Stony soil | 86.7% | 70% | Heavy GrowSoil |
- | -3/0 | -1 | - | Soil | 2 | Dirt | GravelInEyes Soil | |||
Sand | 76.4% | 10% | Heavy | Sand | -3/0 | -1 | - | Sand | 4 | Sand | SandInEyes | |||
Soft sand | 48.1% | 0% | Light | Sand | -3/0 | -1 | Sand | Sand | 14 | Sand | SandInEyes | |||
Mud | 48.1% | 0% | - | Soil | -3/0 | -2 | Soil | - | 14 | Dirt | MudInEyes | |||
Ice | 48.1% | 0% | Heavy | - | -3/0 | 0 | - | - | 14 | Dirt | - | |||
Polluted soil | 87% | 50% | Heavy | Soil | - | 2 | Allegedly, it will replace any terrain of fertility > 0%. | |||||||
Rough stonestone | 87% | 0% | Heavy | Stone | -1 | 0 | [6] | - | - | 2 | Smooothable Hardcoded | |||
Rough-hewn stone | 93% | 0% | Heavy | Stone | -1 | 0 | All | - | - | 1 | Smooothable Hardcoded | |||
Smooth stone | 100% | 0% | Heavy | Stone | 2 | 0 | All | - | - | 0 | 5. Not naturally generated Paintable Hardcoded | |||
Gray surface | 87% | 0% | Heavy | ? | 0 | 0 | ? | - | ? | 2 | Only present on the Labyrinth. | |||
Flesh | 87% | 0 | Heavy | ? | ? | -10/-5 | -3 | ? | - | ? | 2 | ? | Cleaning time Mult 150% Removable. Inflammable 32% |
Type | Move Speed Modifier |
Fertility | Terrain Support |
Bridgeable | Diggable | Terrain Type |
Beauty | Cleanliness | Filth mask[2] |
Dries To[3] |
Tags | Path cost |
Generates Filth |
Allows Special Attack[6] |
Others |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Broken asphalt | 100% | 0% | Heavy | - | -1 | 2 | - | Road | 0 | ||||||
Packed dirt | 92.9% | 0% | Heavy | Soil | -1 | -1 | - | Road | 1 | Dirt | |||||
Chest-deep moving water | 23.6% | 0% | - | - | 0 | 0 | - | water[4] | 42 | WaterInEyes | |||||
Deep ocean water | 0% | 0% | - | - | 0 | 0 | - | water[4] ocean |
300[5] | WaterInEyes | Impassable | ||||
Deep water | 0% | 0% | - | - | 0 | 0 | - | water[4] | 300[5] | WaterInEyes | Impassable | ||||
Shallow ocean water | 30.2% | 0% | ShallowWater | - | 0 | 0 | Stony soil | water[4] ocean |
30 | WaterInEyes | |||||
Shallow moving water | 30.2% | 0% | ShallowWater MovingFluid |
- | 0 | 0 | - | water[4] River |
30 | WaterInEyes | |||||
Shallow water | 30.2% | 0% | ShallowWater | - | 0 | 0 | Stony soil | water[4] | 30 | WaterInEyes | |||||
Marsh | 30.2% | 0% | ShallowWater | - | -3/0 | -2 | Soil | - | 30 | Dirt | MudInEyes | Extinguishes Fire | |||
Soil | 86.6% | 100% | Heavy GrowSoil |
Soil | -3/0 | -1 | - | Soil | 2 | Dirt | DirtInEyes | ||||
Lichen-covered soil | 81.2% | 100% | Heavy GrowSoil |
Soil | -3/0 | -1 | - | Soil | 3 | Dirt | DirtInEyes | ||||
Marshy soil | 48.1% | 100% | Light GrowSoil |
Soil | -3/0 | -2 | Soil | Soil | 14 | Dirt | DirtInEyes | ||||
Rich soil | 86.7% | 140% | Heavy GrowSoil |
Soil | -3/0 | -1 | Soil | Soil | 2 | Dirt | DirtInEyes | ||||
Stony soil | 86.7% | 70% | Heavy GrowSoil |
- | -3/0 | -1 | - | Soil | 2 | Dirt | GravelInEyes | ||||
Sand | 76.4% | 10% | Heavy | Sand | -3/0 | -1 | - | Sand | 4 | Sand | SandInEyes | ||||
Soft sand | 48.1% | 0% | Light | Sand | -3/0 | -1 | Sand | Sand | 14 | Sand | SandInEyes | ||||
Mud | 48.1% | 0% | - | Soil | -3/0 | -2 | Soil | - | 14 | Dirt | MudInEyes | ||||
Ice | 48.1% | 0% | Heavy | - | -3/0 | 0 | - | - | 14 | Dirt | - | ||||
Polluted terrain[9] | - | 0-50%[9] | - | - | - | - | -1 | - | - | - | - | - | - | - | Changes appearance of affected terrain. The values listed modify (not replace) the base stats of the affected terrain. Allows the growth of Toxipotato and Gray pine trees. Most other plants will die execluding Devilstrand and Psychoid plants. Colonist receive toxic buildup from waking here. Can be removed. |
Rough stonestone | 87% | 0% | Heavy | Stone | -1 | 0 | [7] | - | - | 2 | Smooothable Hardcoded[8] | ||||
Rough-hewn stone | 93% | 0% | Heavy | Stone | -1 | 0 | All | - | - | 1 | Smooothable Hardcoded[8] | ||||
Smooth stone | 100% | 0% | Heavy | Stone | 2 | 0 | All | - | - | 0 | 5. Natural, non-generated floor/terrain hybrid. Paintable Hardcoded[8] | ||||
Gray surface | 87% | 0% | Heavy | ? | 0 | 0 | ? | - | ? | 2 | Only present on the Labyrinth. | ||||
Flesh | 87% | 0 | Heavy | ? | ? | -10/-5 | -3 | ? | - | ? | 2 | ? | Cleaning time Mult 150% Removable. Inflammable 32% Behaves like a natural Floor. |
- 2 The kind of Filth accepted by this terrain. denotes terrains that accept Unnatural filth, those that accept none. Special cases are denoted as such.
- 3 As Stony soil doesn't exist in Sea ice nor Ice sheet, it dries to Ice instead.
- 41 2 3 4 5 6 All water tiles triple the deterioration rate and extinguishes Fire. Also allows the WaterInEyes attack.
- 51 2 Redundant dut to being Impassable. It would result in a 4.2% Move Speed Modifier otherwise.
- 6 All of these attacks have a cooldown of 1.5 seconds, require the KickMaterialInEyes capacity, and apply a Hediff of the same name.
- 7 Plus any defined on NaturalTerrainBase. In vanilla, this in just the Unnatural filth.
- 8 Not on the xml files but rather defined programmatically for all stone types.
- 0 Pollution acts as an overlay: It will inherit the values of the base terrain if none are otherwise defined.
- 0 The fertility is capped at 50%, but will not affect the value of the original terrain if it was equal or lower than that.
The Terrain Support propriety determines what kind of structure can be build on a given terrain. If a given structures has Terrain Affordance not listed on a given terrain, then its construction won'r be allowed. The types used are:
- Light: Supports light structure
- Medium: Supports medium structures
- Heavy: Supports heavy structures
- ShallowWater: Can be built on with things that are waterproof
- MovingFluid (moving water): Contains power usable for hydroelectrics
- Bridgeable: Bridge can be built here
- GrowSoil (growable): Things can grow here. Unsure if is does anything or if merely indicative.
- Diggable: For graves
- SmoothableStone (smoothable): Can be ground and smoothed into smooth stone
As of Version/1.5.4104, all terrains with Heavy Terrain Support also support both Medium and Light. To help the readability of this table, only the Heavy tag will be used in those cases.
I Believe Polluted Soil acts as a modifier on the terrain rather than a terrain itself. Untested, as I haven't been able to play at all lately.
-1 Beauty is applied to the tile.
- Mod-development
say, it seems like the Wiki may be wrong about smoothed floors being worth 8 wealth? Unless "5f" translates to 8
I see the terraindef for Stone is set to 5f here, in TerrainDefGenerator_Stone.cs:
StatUtility.SetStatValueInList(ref smooth.statBases, StatDefOf.Beauty, 2f); StatUtility.SetStatValueInList(ref smooth.statBases, StatDefOf.MarketValue, 5f); (this is in 1.5, haven't checked the source for 1.4 or before. Trying to make a mod to set smoothed floor wealth as nothing)
- ↑ Able to dig graves
- ↑ All Natural Terrains that accept filth only accept Unnatural filth.
- ↑ As Stony soil doesn't exist in Sea ice nor Ice sheet, it dries to Ice instead.
- ↑ All water tiles triple the deterioration rate and extinguishes Fire. Also allows the WaterInEyes attack.
- ↑ It would be 4.2% otherwise
- ↑ Plus any defined on NaturalTerrainBase. In vanilla, this in just the Unnatural filth.