Expansion for ToolType

Link to expansion-for-tooltype

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

Name: 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
ПараметрТипОписание
Параметр
name
Тип
string
Описание
The name of the loot modifier.
Параметр
modifier
Тип
ILootModifier
Описание
The loot modifier to add.