RimWorld
Drop Loot When Destroyed Framework
Menampilkan1-10 dari 19 kiriman
< 1  2 >
Pembaruan: 9 Nov @ 9:08am
berdasarkan Romyashi

Fix: Added Harmony dependency and load order in About.xml.

Pembaruan: 9 Nov @ 9:04am
berdasarkan Romyashi

Change: The mod now requires Harmony.
Fix: Reworked how minified buildings handle dropping loot to fix a few bugs of loot not dropping correctly.
Fix: Changed base.CompTick to base.CompTickLong in CompTickLong override.

Pembaruan: 13 Jul @ 5:48am
berdasarkan Romyashi

Update: Updated to be compatible with 1.6.
Change: Reworked bits of code to reduce repeating code and prevent out of map bounds errors.

Pembaruan: 3 Mei 2024 @ 7:41am
berdasarkan Romyashi

Change: Removed code related to pawns and corpses (relation to bodySize, dropping loot only from a corpse of a thingdef).
Change: Removed code related to research projects.
Change: Removed code related to thingdefs being destroyed near specific buildings.
Change: Removed code related to preventing loot drops when the thingdef is of player's faction.
Change: Plants with a harvestAfterGrowth tag no longer require their TickerType set to Normal when used with HasToBeHarvestable tag.

Pembaruan: 26 Apr 2024 @ 10:30am
berdasarkan Romyashi

Update: Updated to be compatible with 1.5.

Pembaruan: 31 Okt 2023 @ 5:23am
berdasarkan Romyashi

Change: Changed the ResearchPrerequisite in the pawn example XML.

Pembaruan: 31 Okt 2023 @ 5:10am
berdasarkan Romyashi

Added: Minified buildings now inherit the comp.
Added: Added a ResearchPrerequisite flag to prevent loot from dropping unless specific research is done.
Added: Added a HasToBeDestoyedOnBuilding flag to make loot drop only when at specific building, like TableMachining.
Added: Added a DropsOnlyFromCorpse flag to make the loot drop from and only from the corpse of a pawn.
Added: Added a DependantOnBodySize flag to make loot amount dependant on bodySize of the parent.
Added: Added a CannotDropFromPlayerFaction flag to prevent loot from dropping if the faction of the parent is the same as player's faction.
Added: Added an example XML for pawns.

Pembaruan: 17 Sep 2023 @ 4:01am

Fix: Updated the handling of random number generation to prevent it from using the same seed when the code is called multiple times in a short amount of time.

Pembaruan: 18 Agu 2023 @ 10:59pm

Fix: HasToBeHarvestable flag now works correctly. Hopefully.
Added: Added a HasToBeDestroyedIntentionally flag to set if the loot should drop when the parent is destroyed by specific means.

Pembaruan: 13 Agu 2023 @ 6:57am

Added: Added a ForbiddenWhenDropped flag to set if the loot should or should not be forbidden when dropped outside of home area.