RimWorld
106 értékelés
Configurable Deconstruct Percentage
   
Díjazás
Kedvenc
Kedvenc
Törlés
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
Fájlméret:
Közzétéve:
Frissítve:
197.025 KB
2021. aug. 7., 14:38
máj. 20., 13:28
4 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Configurable Deconstruct Percentage

Leírás
Adds many options to the amount of material returned when a building is deconstructed, failed to construct, or destroyed.

There are many mods out there that do similar things, but to my knowledge, none supports all of these.
Name
Vanilla 1.5
Mod Default
Configurable Range
Deconstruction
50%
100%
0%-100%
Construction Fail
50%
80%
0%-100%
Violently Destroyed*
25%
50%
0%-100%
Minimum Quantity per Resource**
0
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 settings 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.5, requires Harmony on RimWorld 1.2-1.5
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 actually reduces the amount of computation required compared to Vanilla so it could even be theoretically 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 most other similar mods regardless of mod load order.
Technical Details: This mod patches RimWorld.GenLeaving.GetBuildingResourcesLeaveCalculator() using a transpiler.

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
41 megjegyzés
低熵之体 szept. 16., 9:45 
非常好的mod,感谢作者大大!!!不过当拆除地板时似乎还是只会返还50%的材料,不知道为什么。
Shiyuan jún. 15., 14:13 
My bad, upon some testing I realized that it does return all the material, not sure why I thought it didn't in the first place.
AmCh  [készítő] jún. 14., 22:28 
@Shiyuan
Cancelling a construction should already return 100% of the material in vanilla. I could make it configurable so that it returns less though...
---
原版游戏里 取消建筑本来就会返还100%的材料。不过我确实可以考虑添加一下设置,允许你把他设置成返还更少的材料……
Shiyuan jún. 14., 22:22 
Great mod, thank you very much! Can you also add the function so that cancelling a building after the material is already hauled to the build site also returns the full amount?
见习天使猫猫头 máj. 26., 5:33 
nice!:steamhappy:
AmCh  [készítő] máj. 24., 7:17 
New idea WIP: In Vanilla 1.0-1.5, when you cancel an unfinished thing (for example a WIP sculpture, component or cloth), only 75% of the ingredients are returned. I think I can make it configurable too.
---
新功能开发中:原版1.0-1.5里未完成的东西(例如做到一半的雕塑,组件,或者衣物)被取消时会返回75%的材料。我感觉我应该能把这个也搞成可以设置的项目。
XYM04689733 máj. 23., 8:44 
正道的光 照在了大地上:steamthumbsup:
AmCh  [készítő] máj. 20., 13:29 
v2.0 Updated! Let me know if you notice any bugs.
v2.0 更新完了!发现BUG的话戳我一下~
AmCh  [készítő] máj. 20., 9:45 
我快更新完了!测试找BUG中
新:1.0-1.5支持(1.0-1.1只支持部分功能)
建造失败时返还百分比可设置(原版:50%,模组默认:80%)
建筑摧毁时返还百分比可设置(原版:25%,模组默认:50%)
每种建筑材料至少返回X份(模组默认:X=1)
简体&繁体中文
AmCh  [készítő] máj. 20., 9:42 
Almost done updating!
New: 1.0-1.5 Support (limited functionality for 1.0-1.1)
Configurable return percentage when failing construction (Vanilla: 50%, mod default: 80%)
Configurable return percentage when building is violently destroyed (Vanilla: 25%, mod default: 50%)
Configurable minimum number of each item to return (mod default: 1 of each item) (@Maoman )