Commit Graph

178 Commits

Author SHA1 Message Date
TetrisGG 49c82bcc86 Update Generator Comments
Changed Comments to adhere to xml standard in all Generators.
Added missing comments.
Updated some descriptions.
2025-03-04 19:37:14 +01:00
Chomp 4939efa273 Sync with changes made to node since 35146 2025-03-04 16:19:47 +00:00
Chomp 00ae8f464b Comment improvements 2025-03-04 15:01:34 +00:00
Chomp 5984838082 Improved GetDefaultPlateTpl handling of null properties 2025-03-04 14:00:28 +00:00
Chomp 64a63a18e2 Moved hashset to class and made it static 2025-03-04 13:51:00 +00:00
Chomp d835439d72 Added more comments 2025-03-04 13:50:37 +00:00
Chomp 4361433aa2 Improved GetModPoolForSlot checking 2025-03-04 13:49:53 +00:00
Chomp e3664d3614 Comment improvements
Made various variables static / readonly
2025-03-04 11:47:14 +00:00
Chomp d2db6f9b2b Updated method comments + made private methods protected 2025-03-03 12:11:41 +00:00
Chomp 6014347c7d Improved ragfair expired offer performance 2025-02-26 20:09:25 +00:00
Chomp b7e734c781 Various small micro-optimisations 2025-02-25 15:06:09 +00:00
Chomp b67ff36631 Converted more string comparisons to use string.equals
Optimised `CreateBarterBarterScheme`
2025-02-25 13:30:59 +00:00
Chomp 7ac04530da Access dictionary keys correctly 2025-02-25 12:23:32 +00:00
Chomp 4c255dcd48 Reduced amount of items iterated over when generating flea offers 2025-02-24 21:08:40 +00:00
Chomp b4c5392f08 Replace various uses of Count() with Any() for ienumerables + remove redundant parenthesis 2025-02-24 17:53:42 +00:00
Archangel eeea8a0000 Remove count for any 2025-02-24 18:49:36 +01:00
Chomp 2c42837c25 Fixed bad logic in ChooseModToPutIntoSlot 2025-02-24 17:42:53 +00:00
Chomp 0e141561b6 use string.equals for string compare 2025-02-24 17:27:34 +00:00
Chomp a6e7013b68 Removed bot caching, return results directly to client when requested 2025-02-24 16:51:42 +00:00
Chomp e0f9b2dd06 Refactored PMCLootGenerator 2025-02-23 22:59:31 +00:00
Chomp a2a1ae6477 Cleaned up ScavCaseRewardGenerator 2025-02-23 16:57:50 +00:00
Chomp 669cea006a Fixed build 2025-02-23 16:36:35 +00:00
Chomp fe500f7c27 Replace string comparisons with string.Equals (ordinal) 2025-02-23 16:33:23 +00:00
Chomp 0000d20d21 Fixed issue with GetCompatibleCartridgesFromMagazineTemplate failing when magazine lacks slot data 2025-02-23 15:56:42 +00:00
Chomp 3617e169d6 Cleanup of SetScavCooldownTimer 2025-02-23 15:43:54 +00:00
Chomp 4f757637ea Cleaned up GetWeaponCaliber 2025-02-23 14:25:20 +00:00
Chomp d0e071a091 Various improvements to bot weapon generation 2025-02-23 14:20:58 +00:00
Chomp b57ee39d32 Reduced duplication between getCompatibleCartridgesFromWeaponTemplate and getCompatibleCartridgesFromMagazineTemplate 2025-02-23 13:42:48 +00:00
Chomp eb4fc520df Improved safety of GetCompatibleCartridgesFromMagazineTemplate 2025-02-23 13:23:23 +00:00
Chomp 588e069c23 Weighted compatible ammo fix
Check the magazine data (in case it's a modded weapon that incorrectly clones a weapon from a different caliber, without updating the data for default ammo)
2025-02-23 11:46:40 +00:00
Chomp 860b5e8148 Fixed incorrect pack offer prices 2025-02-21 23:12:28 +00:00
Chomp 103b797a54 Refactored how flea offer quantity is handled 2025-02-21 17:48:04 +00:00
Chomp 85900724e5 Fixed multipler typo 2025-02-21 15:07:41 +00:00
Chomp bffeec8361 Handle flea item prices as doubles 2025-02-21 15:05:00 +00:00
Chomp 4d4ff7bfe1 Small cleanup of ragfair offer generator 2025-02-21 13:20:42 +00:00
Chomp fc6c15792d Fixed flea offers not reducing quantity after purchase 2025-02-21 12:58:02 +00:00
Chomp 6dc59a4be7 Make use of spread operator 2025-02-19 09:36:07 +00:00
Chomp 8a637188a7 Fixed blacklist clearing itself incorrectly 2025-02-19 09:19:08 +00:00
Chomp 440121514b Fix post-raid PMC messages not working after bot gen changes 2025-02-18 09:31:20 +00:00
Chomp dab2f64611 Fixed scavs with unheard pockets 2025-02-17 19:48:57 +00:00
Chomp 1ff8d2cbef Replaced lists containing unique values with HashSets
Reworked Soft Insert id checks

Improved dogtag id lookup memory usage

Removed wave cleanup code
2025-02-17 19:05:47 +00:00
Chomp 924fff686d Refactored botgen 2025-02-17 13:07:32 +00:00
CWX be23b924c7 Fix playerscavcooldownGen being well into the past 2025-02-15 21:07:19 +00:00
Chomp 3b1f8c81ef Updated loot generator to block seasonal items when out of season 2025-02-14 17:33:29 +00:00
Chomp ed54312f35 Updated types to match game client 2025-02-10 12:30:14 +00:00
Chomp 3219718d27 Replaced minmaxdouble + minmaxint with generic minmax<T>
Updated various doubles to be ints
2025-02-10 10:44:24 +00:00
Chomp 08b5caf337 Renamed Minmax to MinMaxDouble and added MinMaxInt
Swapped various doubles for ints across loot generator and airdrop code paths

Fixed forced airdrop loot being returned with a decimal stack count
2025-02-10 09:57:01 +00:00
Chomp abd7f243e8 Removed unnecessary TODOs and fixed typos
Removed unnecessary uses of `GetByJsonProp`
2025-02-09 15:13:05 +00:00
CWX 5c6fa9242f BIG BOI FORMATTING 2025-02-07 19:36:17 +00:00
Chomp 372cad6732 Fixed nullref when generating elimination quest 2025-02-07 11:50:29 +00:00