|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtualinherited |
Allows you to add and modify NPC loot tables to drop on death and to appear in the Bestiary.
The Basic NPC Drops and Loot 1.4 Guideexplains how to use this hook to modify npc loot.
This hook only runs once per npc type during mod loading, any dynamic behavior must be contained in the rules themselves.
| npc | A default npc of the type being opened, not the actual npc instance. |
| npcLoot | A reference to the item drop database for this npc type. |
Definition at line 282 of file GlobalNPC.cs.