RimWorld
Tradable Stone Blocks
50 commentaires
Hawler 14 avr. à 15h39 
Thank you for the update ^_____^
meow  [créateur] 14 avr. à 15h33 
Thank you for the reminder. I didn't see the game had updated. Should be working now. Enjoy!
TARDIS 14 avr. à 9h59 
1.5 plz
Vagineer1 2 janv. à 7h26 
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  [créateur] 8 déc. 2023 à 19h09 
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 déc. 2023 à 12h05 
Does this only affect trade ships, or does it also impact caravan traders?
PoopyFart 8 mai 2023 à 7h38 
yes good mod
meow  [créateur] 23 nov. 2022 à 20h42 
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 à 1h25 
You can use either a PatchOperationFindMod or add a MayRequire to the patch Operation line.
meow  [créateur] 21 nov. 2022 à 16h27 
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 à 6h17 
Could you please add support for pristine limestone blocks from Alpha Memes?
Fi 27 juil. 2022 à 18h40 
Thanks. :heart:
meow  [créateur] 27 juil. 2022 à 18h38 
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 juil. 2022 à 9h59 
Does this work with Trade Caravans?
Xeonzs 6 juin 2022 à 11h38 
I'll give this mod a try and will report back, I have about 130 mods in my list right now.
Duke Flapjack 27 févr. 2022 à 6h13 
Hmm. I suppose some experimentation is warranted, then.
meow  [créateur] 26 févr. 2022 à 21h13 
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 févr. 2022 à 16h50 
Doesn't appear to be working anymore, at least not in my giant list of mods. Sad.
meow  [créateur] 2 févr. 2021 à 20h33 
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 févr. 2021 à 18h43 
so.... does this mod work with midsaves and other mods or is it just bugged atm?
AngleWyrm 19 janv. 2021 à 20h44 
@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  [créateur] 19 janv. 2021 à 19h55 
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 janv. 2021 à 19h15 
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  [créateur] 19 janv. 2021 à 10h53 
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 janv. 2021 à 1h31 
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 sept. 2020 à 15h22 
Thanks for responding. I added it and haven't noticed any problems since.
meow  [créateur] 11 sept. 2020 à 12h10 
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 sept. 2020 à 4h54 
Can this be added mid save?
Wilson 4 sept. 2020 à 9h55 
thank you... now I can drown the world in blocks
meow  [créateur] 16 aout 2020 à 0h23 
Thank you for letting me know. Now updated to 1.2.
mxdanger 14 aout 2020 à 15h26 
1.2 support planned?
meow  [créateur] 15 mars 2020 à 12h16 
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 mars 2020 à 10h12 
Do ground traders offer/buy blocks too?
EvilNecroid 25 févr. 2020 à 20h18 
sweeeeet
meow  [créateur] 25 févr. 2020 à 19h23 
Updated to 1.1. Please let me know if there's any issues. Should still work with 1.0.
EvilNecroid 25 févr. 2020 à 6h26 
1.1
Starfield 24 févr. 2020 à 14h02 
Gonna be that person, can we get a 1.1?
meow  [créateur] 10 févr. 2019 à 10h38 
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 févr. 2019 à 8h58 
Any hard incompatibilities
Angry 26 déc. 2018 à 11h36 
I had no idea stone blocks couldn't be sold anymore. I'm glad a mod like yours exists!
Underskore 20 déc. 2018 à 21h01 
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  [créateur] 27 oct. 2018 à 22h42 
I cant seem to reproduce the error message. Are there any other mods you're using that modify stone blocks?
FriendlyCone 25 oct. 2018 à 16h42 
@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  [créateur] 20 oct. 2018 à 15h27 
All updated now.
Gallonidas 19 oct. 2018 à 12h59 
Showing some love, requesting update!! Still showing red in mod list... Thanks!
ilikegoodfood 18 oct. 2018 à 1h21 
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 sept. 2018 à 17h05 
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  [créateur] 28 sept. 2018 à 10h58 
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 sept. 2018 à 7h45 
Does this mod extend out to mods that add new stone types or does it only cover the vanilla blocks?
delta 24 sept. 2018 à 20h03 
Wow! Another great one. I always wondered why Bulk Traders sold blocks, but had no need to buy them from the player.