RimWorld

RimWorld

Tradable Stone Blocks
50 Comments
Hawler 14 Apr @ 3:39pm 
Thank you for the update ^_____^
meow  [author] 14 Apr @ 3:33pm 
Thank you for the reminder. I didn't see the game had updated. Should be working now. Enjoy!
TARDIS 14 Apr @ 9:59am 
1.5 plz
Vagineer1 2 Jan @ 7:26am 
Glad that I've finally found a way to get rid of those block types I never use and do nothing but clog up my storage. Thanks for making this.
meow  [author] 8 Dec, 2023 @ 7:09pm 
Hey Snowcraft. The mod only alters the block's tradability property in the game files. It doesn't change the preference for traders to buy blocks (not sure how I would change that; other modders may be more savvy with that sort of thing). From the original version of the game several years ago, only trade ships would buy blocks from what I recall, so this is still the behavior with the mod.
Snowcraft 8 Dec, 2023 @ 12:05pm 
Does this only affect trade ships, or does it also impact caravan traders?
PoopyFart 8 May, 2023 @ 7:38am 
yes good mod
meow  [author] 23 Nov, 2022 @ 8:42pm 
Thanks for the tip. Just added a new patch file to include PatchOperationFindMod. Please let me know if it's working now on your end. Hope this helps!
Holgast 22 Nov, 2022 @ 1:25am 
You can use either a PatchOperationFindMod or add a MayRequire to the patch Operation line.
meow  [author] 21 Nov, 2022 @ 4:27pm 
The creator of AM made his own thing def for new stone block types. To sell his unique blocks to bulk trade ships, you'll need to add a new patch file to my mod.

Directory will look like this for example
C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\1522257424\Patches

Copy/paste the existing Patches.xml and name the new file something like "AM_Patch.xml"

Use a text editor inside the new file to add "AM_" before the StoneBlocksBase reference, and that'll get it working. The final patch file will look like this:

<Patch>
<Operation Class="PatchOperationReplace">
<xpath>*/ThingDef[@Name = "AM_StoneBlocksBase"]/tradeability</xpath>
<value>
<tradeability>All</tradeability>
</value>
</Operation>
</Patch>

If anyone can point me to a helpful youtube link, or know how I can do a test/verification if AM is installed to run the patch, I can make it part of the mod natively without everyone having to add patches manually.
Holgast 21 Nov, 2022 @ 6:17am 
Could you please add support for pristine limestone blocks from Alpha Memes?
Fi 27 Jul, 2022 @ 6:40pm 
Thanks. :heart:
meow  [author] 27 Jul, 2022 @ 6:38pm 
Unfortunately not, only seems to work with orbital bulk trade ships. The mod doesn't change any of the trade desires of the various traders, and in the original vanilla game traveling caravans also did not want stone blocks.
Fi 27 Jul, 2022 @ 9:59am 
Does this work with Trade Caravans?
Xeonzs 6 Jun, 2022 @ 11:38am 
I'll give this mod a try and will report back, I have about 130 mods in my list right now.
Duke Flapjack 27 Feb, 2022 @ 6:13am 
Hmm. I suppose some experimentation is warranted, then.
meow  [author] 26 Feb, 2022 @ 9:13pm 
Duke, just checked with the latest patch that went out today and it's still allowing blocks to be sold. If you have other mods that impact stone blocks, you may need to change the load order of this mod to be after those other mods, or one of the last in the load order. Hope that may help resolve the issue.
Duke Flapjack 26 Feb, 2022 @ 4:50pm 
Doesn't appear to be working anymore, at least not in my giant list of mods. Sad.
meow  [author] 2 Feb, 2021 @ 8:33pm 
Just confirmed it's still working as intended alongside a number of very popular mods. Will work if you're adding mid game and can be removed later as well if not needed.
Blake 2 Feb, 2021 @ 6:43pm 
so.... does this mod work with midsaves and other mods or is it just bugged atm?
AngleWyrm 19 Jan, 2021 @ 8:44pm 
@meow,
The code posted below contains a bug. The second line uses "PatchOperationReplace" which does not work if there is no subsection "/tradeability" to replace.

It is not some other mod, it is this line of code in this mod.
meow  [author] 19 Jan, 2021 @ 7:55pm 
So Tradable Stone Blocks does not contain any replacement file for stone blocks. There's only one bit of patch code (shown blow). Feel free to verify this by checking mod folder 1522257424. Hope this might help track down which other mods might be causing a conflict.

#<Patch>
# <Operation Class="PatchOperationReplace">
# <xpath>*/ThingDef[@Name = "StoneBlocksBase"]/tradeability</xpath>
# <value>
# <tradeability>All</tradeability>
# </value>
# </Operation>
#</Patch>
AngleWyrm 19 Jan, 2021 @ 7:15pm 
the log file quite specificially states that yes, in fact this mod does indeed attempt to replace "StoneBlocksBase"/tradeability. Right here on line 1684 [gist.github.com]

If the subsection StoneBlocksBase/tradeability is something new added by this mod, then the problem is the patch fails because it cannot replace something that does not yet exist. Use the PatchOperationAdd to create new content.
meow  [author] 19 Jan, 2021 @ 10:53am 
You may try making this mod one of the last ones loaded. If you have other mods that add additional kinds of blocks or modify blocks in some way, loading this mod after those other mods may help solve the issue. This mod doesn't replace the blocks base def, it just patches in a tradeable quality modifier into the latest blocks base file. Hope this helps!
AngleWyrm 19 Jan, 2021 @ 1:31am 
Everything was working fine until I added and removed a bunch of mods. Then I got an error message saying patch failure on replacing "StoneBlocksBase" Error log [gist.github.com]
bugs123 13 Sep, 2020 @ 3:22pm 
Thanks for responding. I added it and haven't noticed any problems since.
meow  [author] 11 Sep, 2020 @ 12:10pm 
There should be no issues adding mid-save, but the mod should be loaded towards the end of your mod load order (in case you have other mods that add new block types). Please let me know if you find any issues.
bugs123 11 Sep, 2020 @ 4:54am 
Can this be added mid save?
Wilson 4 Sep, 2020 @ 9:55am 
thank you... now I can drown the world in blocks
meow  [author] 16 Aug, 2020 @ 12:23am 
Thank you for letting me know. Now updated to 1.2.
mxdanger 14 Aug, 2020 @ 3:26pm 
1.2 support planned?
meow  [author] 15 Mar, 2020 @ 12:16pm 
The mod only changes stone blocks back to tradable as it was back in v0.9, but trade caravans still don't request bulky raw resources from what i can tell (similar to how they dont want steel, plasteel, etc). Only bulk good orbital traders are willing to take blocks. There may be other mods out there that create more and different kinds of trade caravans and orbital traders to take raw resources.
Jay 15 Mar, 2020 @ 10:12am 
Do ground traders offer/buy blocks too?
EvilNecroid 25 Feb, 2020 @ 8:18pm 
sweeeeet
meow  [author] 25 Feb, 2020 @ 7:23pm 
Updated to 1.1. Please let me know if there's any issues. Should still work with 1.0.
EvilNecroid 25 Feb, 2020 @ 6:26am 
1.1
Starfield 24 Feb, 2020 @ 2:02pm 
Gonna be that person, can we get a 1.1?
meow  [author] 10 Feb, 2019 @ 10:38am 
Others have pointed out that there may be compatibility issues with “Lets Trade! [1.0]” or “The Rock Trade [1.0]”.

I was able to get these mods to play together by placing “Tradable Stone Blocks” somewhere above these mods in the load order. I usually play with my mod right after the Core game file, as it doesn’t rely on HugsLib or any other script extenders to work.

Hope this helps!
Natalo77 10 Feb, 2019 @ 8:58am 
Any hard incompatibilities
Angry 26 Dec, 2018 @ 11:36am 
I had no idea stone blocks couldn't be sold anymore. I'm glad a mod like yours exists!
Underskore 20 Dec, 2018 @ 9:01pm 
I get the error as well. The only thing I can think of is lets trade or the rock trade as as a conflict in my mod list.
meow  [author] 27 Oct, 2018 @ 10:42pm 
I cant seem to reproduce the error message. Are there any other mods you're using that modify stone blocks?
FriendlyCone 25 Oct, 2018 @ 4:42pm 
@meow
I don't think this one is working on 1.0, I get the following error:

[Tradable Stone Blocks] Patch operation Verse.PatchOperationReplace(*/ThingDef[@Name = "StoneBlocksBase"]/tradeability) failed
file: C:\Games but Fast\SteamLibrary\steamapps\workshop\content\294100\1522257424\Patches\Patches.xml
Verse.Log:Error(String, Boolean)
Verse.PatchOperation:Complete(String)
Verse.LoadedModManager:ClearCachedPatches()
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()
meow  [author] 20 Oct, 2018 @ 3:27pm 
All updated now.
Gallonidas 19 Oct, 2018 @ 12:59pm 
Showing some love, requesting update!! Still showing red in mod list... Thanks!
ilikegoodfood 18 Oct, 2018 @ 1:21am 
Hi meow. RimWorld has updated to 1.0. Would you please do us a kindness, and update this fine mod for our leasure in the latest version? :)
IceMaverick 28 Sep, 2018 @ 5:05pm 
Ah sounds good. I'll probably have notes about this in... a few weeks once the rest of my modlist makes it to B19
meow  [author] 28 Sep, 2018 @ 10:58am 
I've only tested with vanilla blocks, but the mod should allow for new blocks to be tradeable as it modifies the parent "StoneBlocksBase" def. The Tradeable blocks mod would need to be loaded after the new block mod. Please let me know if this doesnt work.
IceMaverick 27 Sep, 2018 @ 7:45am 
Does this mod extend out to mods that add new stone types or does it only cover the vanilla blocks?
delta 24 Sep, 2018 @ 8:03pm 
Wow! Another great one. I always wondered why Bulk Traders sold blocks, but had no need to buy them from the player.