RimWorld

RimWorld

Flagstone Cheaper (2 per) V1.06
20 Comments
PotatoIsUs™ 10 Oct, 2024 @ 3:04am 
any update on that?
BlackSmokeDMax  [author] 15 Dec, 2023 @ 9:16am 
Thanks lilwhitemouse, I'll look into testing/adding this, hopefully over the weekend.
lilwhitemouse 15 Dec, 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 15 Dec, 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] 14 Dec, 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 14 Dec, 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] 14 Dec, 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 14 Dec, 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 13 Jun, 2023 @ 7:29am 
this should've been vanilla ngl
BlackSmokeDMax  [author] 13 Aug, 2020 @ 3:15am 
Oh, maybe I should edit the image, so that it no longer says 1.0, may just remove that completely with the mod multi-versioning that Tynan put in place during the 1.1 release.
BlackSmokeDMax  [author] 13 Aug, 2020 @ 3:14am 
@Ramie,

I updated to 1.2 back on July 30 (during unstable testing period), is something not working for you?
Ramie 12 Aug, 2020 @ 10:07pm 
Please update to 1.2 :)
Limou49 23 Apr, 2020 @ 10:44am 
Ok thx for trying :)
BlackSmokeDMax  [author] 23 Apr, 2020 @ 9:10am 
@Limou49 Sorry, I took a look at Fluffy's mod and don't see a spot to change the cost for just the flagstone floors with Stuffed Floors, at least with just using xml alone. The reason it is not working now is he is definitely obsoleting the vanilla flagstone floors, I found the xml doing that in his mod.

You may have to ask Fluffy about this, as I am just not knowledgeable enough.
BlackSmokeDMax  [author] 23 Apr, 2020 @ 3:02am 
Reading over what Fluffy's mod does, it appears he is probably hiding the vanilla flagstone floors and replacing them with some newly defined floors, that appear in game as the same thing as the vanilla. I'll take a look in a few days to see if i am able to patch those costs as well. If it is just an xml thing i may be able to do it. If it is something within a dll, it'll be beyond my very meager abilities!
Limou49 22 Apr, 2020 @ 11:06pm 
I tried both, before and after but it doesn't work
BlackSmokeDMax  [author] 22 Apr, 2020 @ 12:00pm 
Not sure how to fix something like that. Have you tried making sure my mod loads AFTER Stuffed Floors?
Limou49 22 Apr, 2020 @ 3:10am 
It doesn't work if you use the Fluffy's mod Stuffed Floor... :(
fatburner 3 May, 2019 @ 9:48pm 
Thanks. This mod makes alot of sense.