RimWorld
Tradable Stone Blocks
50 件のコメント
Hawler 4月14日 15時39分 
Thank you for the update ^_____^
meow  [作成者] 4月14日 15時33分 
Thank you for the reminder. I didn't see the game had updated. Should be working now. Enjoy!
TARDIS 4月14日 9時59分 
1.5 plz
Vagineer1 1月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  [作成者] 2023年12月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年12月8日 12時05分 
Does this only affect trade ships, or does it also impact caravan traders?
PoopyFart 2023年5月8日 7時38分 
yes good mod
meow  [作成者] 2022年11月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年11月22日 1時25分 
You can use either a PatchOperationFindMod or add a MayRequire to the patch Operation line.
meow  [作成者] 2022年11月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年11月21日 6時17分 
Could you please add support for pristine limestone blocks from Alpha Memes?
Fi 2022年7月27日 18時40分 
Thanks. :heart:
meow  [作成者] 2022年7月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年7月27日 9時59分 
Does this work with Trade Caravans?
Xeonzs 2022年6月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年2月27日 6時13分 
Hmm. I suppose some experimentation is warranted, then.
meow  [作成者] 2022年2月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年2月26日 16時50分 
Doesn't appear to be working anymore, at least not in my giant list of mods. Sad.
meow  [作成者] 2021年2月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年2月2日 18時43分 
so.... does this mod work with midsaves and other mods or is it just bugged atm?
AngleWyrm 2021年1月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  [作成者] 2021年1月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年1月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  [作成者] 2021年1月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年1月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年9月13日 15時22分 
Thanks for responding. I added it and haven't noticed any problems since.
meow  [作成者] 2020年9月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年9月11日 4時54分 
Can this be added mid save?
Wilson 2020年9月4日 9時55分 
thank you... now I can drown the world in blocks
meow  [作成者] 2020年8月16日 0時23分 
Thank you for letting me know. Now updated to 1.2.
mxdanger 2020年8月14日 15時26分 
1.2 support planned?
meow  [作成者] 2020年3月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年3月15日 10時12分 
Do ground traders offer/buy blocks too?
EvilNecroid 2020年2月25日 20時18分 
sweeeeet
meow  [作成者] 2020年2月25日 19時23分 
Updated to 1.1. Please let me know if there's any issues. Should still work with 1.0.
EvilNecroid 2020年2月25日 6時26分 
1.1
Starfield 2020年2月24日 14時02分 
Gonna be that person, can we get a 1.1?
meow  [作成者] 2019年2月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年2月10日 8時58分 
Any hard incompatibilities
Angry 2018年12月26日 11時36分 
I had no idea stone blocks couldn't be sold anymore. I'm glad a mod like yours exists!
Underskore 2018年12月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  [作成者] 2018年10月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年10月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  [作成者] 2018年10月20日 15時27分 
All updated now.
Gallonidas 2018年10月19日 12時59分 
Showing some love, requesting update!! Still showing red in mod list... Thanks!
ilikegoodfood 2018年10月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年9月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  [作成者] 2018年9月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年9月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年9月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.