RimWorld
Tradable Stone Blocks
50 opmerkingen
Hawler 14 apr om 15:39 
Thank you for the update ^_____^
meow  [auteur] 14 apr om 15:33 
Thank you for the reminder. I didn't see the game had updated. Should be working now. Enjoy!
TARDIS 14 apr om 9:59 
1.5 plz
Vagineer1 2 jan om 7:26 
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  [auteur] 8 dec 2023 om 19:09 
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 om 12:05 
Does this only affect trade ships, or does it also impact caravan traders?
PoopyFart 8 mei 2023 om 7:38 
yes good mod
meow  [auteur] 23 nov 2022 om 20:42 
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 om 1:25 
You can use either a PatchOperationFindMod or add a MayRequire to the patch Operation line.
meow  [auteur] 21 nov 2022 om 16:27 
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 om 6:17 
Could you please add support for pristine limestone blocks from Alpha Memes?
Fi 27 jul 2022 om 18:40 
Thanks. :heart:
meow  [auteur] 27 jul 2022 om 18:38 
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 om 9:59 
Does this work with Trade Caravans?
Xeonzs 6 jun 2022 om 11:38 
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 om 6:13 
Hmm. I suppose some experimentation is warranted, then.
meow  [auteur] 26 feb 2022 om 21:13 
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 om 16:50 
Doesn't appear to be working anymore, at least not in my giant list of mods. Sad.
meow  [auteur] 2 feb 2021 om 20:33 
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 om 18:43 
so.... does this mod work with midsaves and other mods or is it just bugged atm?
AngleWyrm 19 jan 2021 om 20:44 
@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  [auteur] 19 jan 2021 om 19:55 
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 om 19:15 
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  [auteur] 19 jan 2021 om 10:53 
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 om 1:31 
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 om 15:22 
Thanks for responding. I added it and haven't noticed any problems since.
meow  [auteur] 11 sep 2020 om 12:10 
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 om 4:54 
Can this be added mid save?
Wilson 4 sep 2020 om 9:55 
thank you... now I can drown the world in blocks
meow  [auteur] 16 aug 2020 om 0:23 
Thank you for letting me know. Now updated to 1.2.
mxdanger 14 aug 2020 om 15:26 
1.2 support planned?
meow  [auteur] 15 mrt 2020 om 12:16 
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 mrt 2020 om 10:12 
Do ground traders offer/buy blocks too?
EvilNecroid 25 feb 2020 om 20:18 
sweeeeet
meow  [auteur] 25 feb 2020 om 19:23 
Updated to 1.1. Please let me know if there's any issues. Should still work with 1.0.
EvilNecroid 25 feb 2020 om 6:26 
1.1
Starfield 24 feb 2020 om 14:02 
Gonna be that person, can we get a 1.1?
meow  [auteur] 10 feb 2019 om 10:38 
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 om 8:58 
Any hard incompatibilities
Angry 26 dec 2018 om 11:36 
I had no idea stone blocks couldn't be sold anymore. I'm glad a mod like yours exists!
Underskore 20 dec 2018 om 21:01 
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  [auteur] 27 okt 2018 om 22:42 
I cant seem to reproduce the error message. Are there any other mods you're using that modify stone blocks?
FriendlyCone 25 okt 2018 om 16:42 
@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  [auteur] 20 okt 2018 om 15:27 
All updated now.
Gallonidas 19 okt 2018 om 12:59 
Showing some love, requesting update!! Still showing red in mod list... Thanks!
ilikegoodfood 18 okt 2018 om 1:21 
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 om 17:05 
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  [auteur] 28 sep 2018 om 10:58 
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 om 7:45 
Does this mod extend out to mods that add new stone types or does it only cover the vanilla blocks?
delta 24 sep 2018 om 20:03 
Wow! Another great one. I always wondered why Bulk Traders sold blocks, but had no need to buy them from the player.