RimWorld
Drop Loot When Destroyed Framework
Wyświetlanie 1-10 z 17 pozycji
< 1  2 >
Aktualizacja: 13 lipca o godz. 5:48
twórca: 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.

Aktualizacja: 3 maja 2024 o godz. 7:41
twórca: 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.

Aktualizacja: 26 kwietnia 2024 o godz. 10:30
twórca: Romyashi

Update: Updated to be compatible with 1.5.

Aktualizacja: 31 października 2023 o godz. 5:23
twórca: Romyashi

Change: Changed the ResearchPrerequisite in the pawn example XML.

Aktualizacja: 31 października 2023 o godz. 5:10
twórca: 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.

Aktualizacja: 17 września 2023 o godz. 4:01

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.

Aktualizacja: 18 sierpnia 2023 o godz. 22:59

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.

Aktualizacja: 13 sierpnia 2023 o godz. 6:57

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

Aktualizacja: 13 sierpnia 2023 o godz. 4:45

Fix: The error about setting not spawned item as forbidden no longer appears.
Fix: Plants with harvestAfterGrowth will no longer fail to spawn loot. Requires <tickerType>Normal</tickerType> somewhere in the def.
Fix: Removed unnecessary files. Again.
Change: Updated plant example file.

Aktualizacja: 11 sierpnia 2023 o godz. 14:05

Change: Loot dropped outside of home area will be automatically forbidden.