RimWorld
Drop Loot When Destroyed Framework
19개 중 1~10개 표시 중
< 1  2 >
업데이트: 2025년 11월 9일 오전 9시 08분
작성자: Romyashi

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

업데이트: 2025년 11월 9일 오전 9시 04분
작성자: 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.

업데이트: 2025년 7월 13일 오전 5시 48분
작성자: 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.

업데이트: 2024년 5월 3일 오전 7시 41분
작성자: 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.

업데이트: 2024년 4월 26일 오전 10시 30분
작성자: Romyashi

Update: Updated to be compatible with 1.5.

업데이트: 2023년 10월 31일 오전 5시 23분
작성자: Romyashi

Change: Changed the ResearchPrerequisite in the pawn example XML.

업데이트: 2023년 10월 31일 오전 5시 10분
작성자: 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.

업데이트: 2023년 9월 17일 오전 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.

업데이트: 2023년 8월 18일 오후 10시 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.

업데이트: 2023년 8월 13일 오전 6시 57분

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