HasLootPreset
Whether the loot tables have a preset of that name.
Syntax
Section titled “Syntax”HasLootPreset(preset)| Parameter | Type | |
|---|---|---|
preset |
string | the preset’s name |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if not HasLootPreset("inventory_officeStash") then Log("no loot tables on this server") endSee also
Section titled “See also”RollLoot · the Doors and containers group of the index
