RimWorld

RimWorld

353 Bewertungen
Deconstruct Return Fix
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Mod, 1.0
Dateigröße
Veröffentlicht
Aktualisiert
86.880 KB
19. Okt. 2018 um 17:15
28. Sep. 2019 um 10:20
3 Änderungshinweise (anzeigen)

Abonnieren zum Herunterladen
Deconstruct Return Fix

Beschreibung
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.
71 Kommentare
dninemfive  [Autor] 21. Jan. 2021 um 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. Jan. 2021 um 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. Sep. 2020 um 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. Sep. 2020 um 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. Sep. 2020 um 20:13 
that's lame Steam.
dninemfive  [Autor] 8. Sep. 2020 um 9:28 
@FlorestNerd No.
FlorestNerd 8. Sep. 2020 um 8:03 
Can't you choose a more atention collor like yelow or red?
FlorestNerd 8. Sep. 2020 um 8:02 
Ma Bad. Sorry for this
dninemfive  [Autor] 6. Sep. 2020 um 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. Sep. 2020 um 8:45 
How about a 1.2 updateplz?