Expansion for ToolType

Additional methods for ease of modification of loot tables that interact with a certain ToolType.

Methods

addToolModifier

Adds an ILootModifier for everything that gets broken by a tool with this tool type.

Return Type: void

ZenScript
Copy
ToolType.addToolModifier(name as string, modifier as ILootModifier) as void
ПараметрТипDescription
namestringThe name of the loot modifier.
modifierILootModifierThe loot modifier to add.