Difference between revisions of "User:Arcangelus/Sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
 
(10 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
 
=== Naturally generated surfaces ===
 
=== Naturally generated surfaces ===
{{For|the artificial flooring|Floors#Comparison table{{!}}Floors}}
+
:{{For|the artificial flooring|Floors#Comparison table{{!}}Floors}}
{| {{STDT| sortable c_25 text-center}}
 
! Type !! Move Speed <br/>Modifier !! [[Plants#Fertility|Fertility]] !! Terrain<br/>Support !! Diggable !! Terrain<br/>Type !! Beauty !! Cleanliness !! Filth masks !! Dries To !! Others !! Path cost !! perceived path costs vs path costs
 
|- id="Broken asphalt"
 
! Broken asphalt
 
| 100% || 0% || Heavy || {{Cross}} || - || -1 || 2 || Unnatural || - || Road || 0 ||
 
|- id="Packed dirt"
 
! Packed dirt
 
| 100% || 0% || Heavy || {{Check}} || Soil || -1 || -1 || Unnatural || - || Road || 1 || Generates Filth_Dirt
 
  
|- id="Chest-deep moving water"
+
The function SpeedPercentString is:
! Chest-deep moving water
+
13/(13 + Path cost)
| 22% || 0% || Bridgeable || {{Cross}} || - || 0 || 0 || None || - || water<ref>All water tiles triple the deterioration rate and extinguishes Fire. WaterInEyes</ref> || 0 ||
+
Also uses float points, for some reason.
|- id="Deep ocean water"
 
! Deep ocean water
 
| 0% || 0% || None || {{Cross}} || - || 0 || 0 || None || - || water, ocean || 300 || Impassable
 
|- id="Deep water"
 
! Deep water
 
| 0% || 0% || None || {{Cross}} || - || 0 || 0 || None || - || water || 300 || Impassable
 
  
|- id="Shallow ocean water"
+
For setting categories on [[Template:Version Nav]]. Need more testing before replacing:<br/>
! Shallow ocean water
+
<code><nowiki>{{#ifeq:{{#titleparts: {{PAGENAME}} | 1 }} | Version | [[Category:PC version|{{#invoke:String|match|{{PAGENAME}} |%d+|match=1}}.{{#invoke:String|match| {{PAGENAME}} |%d+|match=2}}]] | [[Category:Console version]] }}</nowiki></code>. This adds specific a category based on the version, but won't work well for the Alphas/Betas.
| 30% || 0% || ShallowWater, Bridgeable || {{Cross}} || - || 0 || 0 || None || Gravel || water, ocean || 30 ||
 
|- id="Shallow moving water"
 
! Shallow moving water
 
| 30% || 0% || ShallowWater, Bridgeable, MovingFluid || {{Cross}} || - || 0 || 0 || None || - || water, River || 30 ||
 
|- id="Shallow water"
 
! Shallow water
 
| 30% || 0% || ShallowWater, Bridgeable || {{Cross}} || - || 0 || 0 || None || Gravel || water || 30 ||
 
|- id="Marsh"
 
! Marsh
 
| 30% || 0% || ShallowWater, Bridgeable || {{Cross}} || - || -3/0 || -2 || None || Soil ||  || 30 || Generates Filth_Dirt, extinguishes Fire, MudInEyes.
 
  
|- id="Soil"
+
Current Version:<br/>
! Soil
+
<code><nowiki>{{#ifeq: {{#sub:{{#var:pagename}}||8}}|Version/| [[Category:PC version|{{#explode:{{#var:pagename}}|.|-3}}.{{#ifexpr: {{#len:{{#explode:{{#var:pagename}}|.|-2}} }} = 1 | 0 }}{{#explode:{{#var:pagename}}|.|-2}}.{{#explode:{{#var:pagename}}|.|-1}}]]}}{{#ifeq: {{#sub:{{#var:pagename}}||16}}|Console version/|[[Category:Console version]]}}</nowiki></code>
| 87% || 100% || Heavy, GrowSoil || {{Check}} || Soil || -3/0 || -1 || Unnatural || - || Soil || 2 || Generates Filth_Dirt, DirtInEyes, Soil
 
|- id="Lichen-covered soil"
 
! Lichen-covered soil
 
| 81% || 100% || Heavy, GrowSoil || {{Check}} || Soil || -3/0 || -1 || Unnatural || - || Soil || 3 || Generates Filth_Dirt, DirtInEyes, Soil
 
|- id="Marshy soil"
 
! Marshy soil
 
| 46% || 100% || Light, GrowSoil, Bridgeable || {{Check}} || Soil || -3/0 || -2 || Unnatural || Soil || Soil || 2 || Generates Filth_Dirt, DirtInEyes, Soil
 
|- id="Rich soil"
 
! Rich soil
 
| 87% || 140% || Heavy, GrowSoil, Bridgeable || {{Check}} || Soil || -3/0 || -1 || Unnatural || Soil || Soil || 2 || Generates Filth_Dirt, DirtInEyes, Soil
 
  
|- id="Stony soil" <!--aka Gravel-->
+
Intermediate Version:<br/>
! Stony soil
+
<code><nowiki>{{#ifeq: {{#titleparts: {{PAGENAME}} | 1 }} | Version | [[Category:PC version]] | [[Category:Console version]] }}</nowiki></code> This replicates the current effect with less overhead.
| 87% || 70% || Heavy, GrowSoil, Bridgeable || {{Check}} || ? || -3/0 || -1 || Unnatural || - || Soil || 2 || Generates Filth_Dirt, GravelInEyes, Soil
 
 
 
|- id="Sand"
 
! Sand
 
| 76% || 10% || Heavy ||{{Check}} || Sand || -3/0 || -1 || Unnatural || Sand || - || 4 || Generates Filth_Sand, SandInEyes
 
|- id="Soft sand"
 
! Soft sand
 
| 52% || 0% || Light || {{Check}} || Sand || -3/0 || -1 || Unnatural || Sand || Sand || 14 || Generates Filth_Sand, SandInEyes
 
 
 
|- id="Mud"
 
! Mud
 
| 52% || 0% || Bridgeable || {{Cross}} || Soil || -3/0 || -2 || Unnatural || Soil || - || 14 || Generates Filth_Dirt, MudInEyes
 
|- id="Ice"
 
! Ice
 
| 52% || 0% || Heavy || {{Check}} || - || -3/0 || 0 || Unnatural || - || - || 14 || Generates Filth_Dirt
 
 
 
|- id="Polluted soil"
 
! [[Pollution|Polluted soil]]
 
| 87% || 50% || Heavy || || Soil
 
|- id="Rough stone"
 
! [[Rough stone]]
 
| {{%|{{Q|Rough stone|Move Speed Factor}} }} || 0% || Heavy || || Stone
 
|- id="Rough-hewn stone"
 
! [[Rough-hewn stone]]
 
| {{%|{{Q|Rough-hewn stone|Move Speed Factor}} }}|| 0% || Heavy || || Stone
 
|- id="Smooth stone"
 
! [[Smooth stone]]
 
| {{%|{{Q|Smooth stone|Move Speed Factor}} }}|| 0% || Heavy || || Stone
 
|}
 

Latest revision as of 21:15, 8 August 2024

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[edit]

The function SpeedPercentString is:

13/(13 + Path cost) 

Also uses float points, for some reason.

For setting categories on Template:Version Nav. Need more testing before replacing:
{{#ifeq:{{#titleparts: {{PAGENAME}} | 1 }} | Version | [[Category:PC version|{{#invoke:String|match|{{PAGENAME}} |%d+|match=1}}.{{#invoke:String|match| {{PAGENAME}} |%d+|match=2}}]] | [[Category:Console version]] }}. This adds specific a category based on the version, but won't work well for the Alphas/Betas.

Current Version:
{{#ifeq: {{#sub:{{#var:pagename}}||8}}|Version/| [[Category:PC version|{{#explode:{{#var:pagename}}|.|-3}}.{{#ifexpr: {{#len:{{#explode:{{#var:pagename}}|.|-2}} }} = 1 | 0 }}{{#explode:{{#var:pagename}}|.|-2}}.{{#explode:{{#var:pagename}}|.|-1}}]]}}{{#ifeq: {{#sub:{{#var:pagename}}||16}}|Console version/|[[Category:Console version]]}}

Intermediate Version:
{{#ifeq: {{#titleparts: {{PAGENAME}} | 1 }} | Version | [[Category:PC version]] | [[Category:Console version]] }} This replicates the current effect with less overhead.