RimWorld

RimWorld

66 ratings
Flagstone Cheaper (2 per) V1.05
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
242.619 KB
Oct 19, 2018 @ 10:11pm
Mar 14 @ 7:03am
7 Change Notes ( view )

Subscribe to download
Flagstone Cheaper (2 per) V1.05

Description
For A17 Version: http://steamcommunity.com/sharedfiles/filedetails/?id=942205715
For B18 Version: http://steamcommunity.com/sharedfiles/filedetails/?id=1199539741
For B19 Version: https://steamcommunity.com/sharedfiles/filedetails/?id=1496657187

V1.00.00
This mod reduces the cost in stone blocks of creating flagstone floors from 4 stone blocks down to two. This does not change the attribute of not being able to reclaim any materials via removing Flagstone floors.
V1.01.00
Changed versioning in about.xml to match new Rimworld specs.
V1.02.00
Changed versioning in about.xml for Rimworld version 1.2 (I am also cheating ahead for version 1.3 just in case, think it should work, lol!)
V1.03.00
Changed preview image (remove '1.0' version label in top right corner)
V1.04.00
Changed versioning in about.xml for Rimworld version 1.4
V1.05.00
Changed versioning in about.xml for Rimworld version 1.5


_____
Thanks to:
AngleWyrm
kaptain_kavern

for the xml 101 lessons!
_____


Ludeon forum thread: https://ludeon.com/forums/index.php?topic=33916.0

Nexus Mods download: http://www.nexusmods.com/rimworld/mods/189
20 Comments
PotatoIsUs™ Oct 10 @ 3:04am 
any update on that?
BlackSmokeDMax  [author] Dec 15, 2023 @ 9:16am 
Thanks lilwhitemouse, I'll look into testing/adding this, hopefully over the weekend.
lilwhitemouse Dec 15, 2023 @ 8:24am 
In fact, it DOES work :D

I didn't actually know xpath could do that until I tried. Now there are other things I can patch :D
lilwhitemouse Dec 15, 2023 @ 8:23am 
I just saw that the Basalt stones from Nature's Pretty sweet also cost 4 with this.

A sufficiently slick xpath would probably fix this for you:

<Patch>
<Operation Class="PatchOperationReplace">
<!-- grab all FlagstoneBase with a cost of 4, select the text "4" and then replace it with "2" -->
<xpath>/Defs/TerrainDef[@ParentName="FlagstoneBase"]/costList/*[text()="4"]/text()</xpath>
<value>2</value>
</Operation>
</Patch>
BlackSmokeDMax  [author] Dec 14, 2023 @ 8:48pm 
Really?? Link it please. If someone is keeping up with it, I'll link to theirs in my description at some point.
The Bard of Hearts Dec 14, 2023 @ 7:42pm 
Thanks anyway. I appreciate the response. I did find another mod that does exactly what this one does. It also effects all stones, lowers the value of the tile and the work amount too. :steamthumbsup:
BlackSmokeDMax  [author] Dec 14, 2023 @ 7:04pm 
Sorry, don’t have the know-how to do that. It sounds like something completely possible to do though.
The Bard of Hearts Dec 14, 2023 @ 4:38pm 
Could this be made compatible with mods that add stone types. Right now, it only works for the vanilla stones. if you try to use a different type of stone for it, it goes back up to costing 4 each.
Sossololpipi Jun 13, 2023 @ 7:29am 
this should've been vanilla ngl