import { LootGenerator } from "https://deno.land/x/sptaki@1.2.0/generators/mod.ts";
Constructors
Properties
Methods
Filter armor items by their front plates protection level - top if its a helmet
Find a random item in items.json and add to result array
Find a random item in items.json and add to result array
Get a randomised stack count for an item between its StackMinRandom and StackMaxSize values
Get non-weapon mod rewards for a sealed container
Iterate over the container weaponModRewardLimits settings and create an array of weapon mods to reward player
Construct item limit record to hold max and current item count for each item type
Generate a list of items based on configuration options parameter
Handle event-related loot containers - currently just the halloween jack-o-lanterns that give food rewards
Sealed weapon containers have a weapon + associated mods inside them + assortment of other things (food/meds)