RimWorld

RimWorld

162 ratings
Configurable Deconstruct Percentage
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
142.003 KB
7 Aug, 2021 @ 2:38pm
30 Jun @ 9:37pm
6 Change Notes ( view )

Subscribe to download
Configurable Deconstruct Percentage

Description
Adds many options to the amount of material returned when a building is deconstructed, failed to construct, cancelled, or destroyed.

There are many mods out there that do similar things, but to my knowledge, none others supports all of these.
Name
Vanilla (Version 1.5)
Vanilla (Version 1.6)
Mod Default
Configurable Range
Deconstruct Building/Floor
50%
50%
100%
0%-100%
Fail Construction
50%
50%
80%
0%-100%
Cancel Building
100%
100%
100%
0%-100%
Cancel Unfinished Worktable Item
75%
75%
90%
0%-100%
Destroy Building Violently*
25%
25%
50%
0%-100%
Minimum Quantity per Resource**
0
1 (constr. fail)
0 (others)
1
0-100

* Some materials are blacklisted by Vanilla and would never return, and some buildings have their own material return logic, for example a destroyed wall does not return its materials. This mod respects and does not alter those special cases.
** For example, when you deconstruct a Wastepack Atomizer, the Nano Structuring Chip may be lost, this setting allows you to guarantee that at least 1 is returned. It never returns more than the building had to start with. This setting does nothing if all of the percentages above are set to 100%.

Local Install & Source Code & License
Non-steam download from GitHub[github.com]
Open source on GitHub[github.com] via AGPL 3.0[www.gnu.org]

Loading the Mod & Applying Settings
Support RimWorld 1.0-1.6, requires Harmony on RimWorld 1.2-1.6
Any load position after Harmony and Core would work.
This mod is safe to add/remove mid-save.
No reload required upon settings change as they take effect immediately.

Performance
There should be negligible impact on performance.
In fact, this mod might reduces the amount of computation required compared to Vanilla so it could even be faster.

Mod Compatibility
This mod should be compatible with most other mods, including other QoL mods that add similar functions.
This mod is likely to take priority over other similar mods regardless of mod load order.
Technical Detail: This mod patches four vanilla methods using transpilers[github.com].

Languages
English (built-in)
Simplified & Traditional Chinese (简体&繁體中文) (built-in) 中文页面在这
Translators: Let me know if you made a translation mod and I'll include it here.

For RimWorld 1.0 and 1.1
There's no Harmony before RimWorld 1.2.
As a result this mod does not require Harmony in those two versions.
However, only the deconstruction return setting is available.

Questions?
Either leave a comment on Steam WorkShop
Or submit an issue on GitHub[github.com]
Or find me on RimWorld Discord[discord.gg] (Discord ID: "amch.")

My other mods
Need Bar Overflow
73 Comments
AmCh  [author] 6 Oct @ 3:45am 
@AmazingFD 多谢夸奖喵!
AmazingFD 6 Oct @ 3:07am 
兄弟 你两个mod都很好用!
watler 14 Aug @ 5:17pm 
fair enough
AmCh  [author] 14 Aug @ 4:27pm 
@watler
Unfortunately this mod doesn't yet support vanilla1.6-like "minimum quantity depending on situation" yet. So 1 would be slightly overpowered compared to vanilla while 0 would be slightly underpowered. I'd recommend setting it to 1 just because.
watler 14 Aug @ 11:32am 
if you want the vanilla behaviour for "Minimum Quantity per Resource" in 1.6 ("1 (constr. fail)
0 (others)") do you leave it at 0 or 1?
AmCh  [author] 19 Jul @ 11:02am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
玉枝仙子 19 Jul @ 10:44am 
能否加个把具有品质的建筑(或者可以卸载的建筑)单独设置返还比例的功能。我希望能在拆除重建调整基地布局的时候不损失材料,但刷取高品质的建筑时仍然要消耗材料
AmCh  [author] 30 Jun @ 9:44pm 
我改主意啦,提前更新了 模组2.2.0版本 [github.com],支持边缘世界1.6版本。发现BUG或者想要别的功能可以戳我~
I've updated the mod to version 2.2.0 [github.com] to support RimWorld 1.6. Let me know if you notice any bugs or have feature requests.
Ionfrigate12345 4 Apr @ 2:31pm 
不错,我可以试试用来平衡下SOS2。原版设定下SOS2回收敌船资源太多,特别是跳帮后夺船,实在太正义。我试试用这个调低下摧毁和拆除建筑的资源回收率。
Smeagol136 28 Jan @ 11:16am 
thank you so much! this is just what I needed to feel better about remodeling my ships in sos2 without wasting tones of advanced components. Love all the configurability too!