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