Commit Graph

19 Commits

Author SHA1 Message Date
chompDev 203e30a637 .NET Format Style Fixes 2025-06-21 13:45:45 +00:00
Chomp 21bd868abe Added ability to track loot items and prevent more than a pre-defined amount from spawning
Replaced `location.json` `forcedLootSingleSpawnById` with `lootMaxSpawnLimits`

Added 5 item limit to `Labrys research notes` #290
2025-06-21 14:45:08 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Chomp 039c1fe678 Minor cleanup of LocationLootGenerator 2025-06-15 11:20:07 +01:00
Chomp 1d5162c761 Various changes and fixes for things that have been bugging me
Removed/flagged unused props
Typo fixes
Use `FirstOrDefault` over direct index access
Log stacktrace on exception inside `CreateWeaponItems`
2025-06-08 10:40:40 +01:00
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