Commit Graph

14 Commits

Author SHA1 Message Date
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
CWX 9bfd051725 dont calculate size twice 2025-05-03 13:06:46 +01:00
Chomp ab7cdd63ba Use same item size method as airdrop loot 2025-05-02 19:53:57 +01:00
Chomp 344ea6de35 Moved container methods around
Added code to validate items fit into airdrop crate

Updated `CreateForcedLoot` and `CreateRandomLoot` to return items with their children

Updated `SetFoundInRaid` to not add a upd to money/currency if it doesn't already have one
2025-05-02 19:48:28 +01:00
Chris Adamson de38f1fe88 try just the enum 2025-04-29 10:57:12 -05:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
Chomp 6faa69964d Improved comments inside GetSizeByInventoryItemHash and string comparisons 2025-04-20 19:00:52 +01:00
Chomp b281254bff Cleaned up AddLootToContainer 2025-04-20 16:31:14 +01:00
Chomp d1bdb7b99d Added early exit to AddLootToContainer when 0 loot item count is picked 2025-04-20 15:12:06 +01:00
Chomp 34cd52454d Made GetLooseLootMultiplierForLocation and GetStaticLootMultiplierForLocation safer 2025-03-28 16:14:35 +00:00
Chomp 0fa2c827e5 Simplified logic 2025-03-28 16:09:43 +00:00
Chomp b85a9eeb86 Fixed GenerateStaticContainers failure when checking if map has randomised container settings 2025-03-28 16:02:46 +00:00
Chomp 69e841e52c Correctly pass a double into FillMagazineWithRandomCartridge 2025-03-08 10:05:08 +00:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00