RimWorld

RimWorld

353 hodnocení
Deconstruct Return Fix
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Mod, 1.0
Velikost souboru
Přidáno
Aktualizováno
86.880 KB
19. říj. 2018 v 17.15
28. zář. 2019 v 10.20
Poznámky ke změnám (3) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Deconstruct Return Fix

Popis
Integrated into D9 Framework for 1.1+.

The base game has a bug where the maximum number of drops for a given resource cost when deconstructing a building is one less than the actual cost, which is all well and good except when you have buildings which need one of a resource - in which case they can never drop. This mod fixes that.

Non-Steam download available here.[github.com]

Technical Details
This mod consists of a Harmony prefix which overrides GenLeaving.DoLeavingsFor() in the case that the specified DestroyMode is DestroyMode.Deconstruct. It acts nearly the same, but the calculated drop rate has maximum be Count, not Count-1. Mod conflicts are not expected, since DestroyMode is an enum and to my knowledge cannot be modified without recompiling the base game, but this is a moderately hacky fix.

Incredibly Frequently Asked Question

> You're not supposed to get everything back when constructing. This isn't a bug!

The game lets you set the amount a building should return when deconstructing. However, if you set a building to return 100% when deconstructed, the game will instead return one less item than is required to construct it. This is a problem when you have buildings which require a single item and are expected to drop that item.

If you ask that question, I'm just going to delete your comment instead of relitigating this point I've made too many times already.
Počet komentářů: 71
dninemfive  [autor] 21. led. 2021 v 9.58 
@Moonlightfox You can load both, but you'll need to disable the D9 Framework carry capacity patch for the time being as both mods patch the same parts of the game. This mod's change was actually implemented in the base game in 1.2, so you don't need my mod for that.
Moonlightfox 21. led. 2021 v 1.30 
I want to install https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1906760965
It lists D9 framework as incompatible, but by bundling it you made installing D9 framework the only way to get this mod...
FlorestNerd 10. zář. 2020 v 5.25 
I did, it's just that i have ADHD and sometimes my brain just skips words and sentences. It would be horrible, but would catch atention. And i already downloaded D9 framework
dninemfive  [autor] 8. zář. 2020 v 22.31 
I mean, I can't add them, and I wouldn't either because that's horrible color theory. You should just read the description before asking for things which have already happened.
FlorestNerd 8. zář. 2020 v 20.13 
that's lame Steam.
dninemfive  [autor] 8. zář. 2020 v 9.28 
@FlorestNerd No.
FlorestNerd 8. zář. 2020 v 8.03 
Can't you choose a more atention collor like yelow or red?
FlorestNerd 8. zář. 2020 v 8.02 
Ma Bad. Sorry for this
dninemfive  [autor] 6. zář. 2020 v 11.59 
@FlorestNerd I can't choose a larger font size than h2. Please read the first line of the mod description again.
FlorestNerd 6. zář. 2020 v 8.45 
How about a 1.2 updateplz?