LootTableLootModifiers

Expands

This class expands LootTable, meaning that the content found on this page can be called on that type directly.

Description

Additional methods for easier modification of a specific loot table.

Members

addLootModifier(name as string, modifier as ILootModifier)
Adds an ILootModifier to this loot table, with the given name.
script.zs
// LootTable.addLootModifier(name as string, modifier as ILootModifier);
myLootTable.addLootModifier(myString, myILootModifier);

Parameters:

name Type: string - The name of the loot modifier to add.
modifier Type: ILootModifier - The loot modifier to add.