Jaysyn904 2b4380d613 Enabled default treasure/loot system
Enabled default treasure/loot system.  Updated release archive.
2024-01-25 23:45:37 -05:00

21 lines
407 B
Plaintext

//:://////////////////////////////////////////////////
//:: prc_pwonspawn
/*
* Treasure script
*
*/
//:://////////////////////////////////////////////////
#include "x0_i0_treasure"
void main()
{
//* Create a small amount of treasure on the creature
if ((GetLocalInt(GetModule(), "X2_L_NOTREASURE") == FALSE))
{
CTG_GenerateNPCTreasure(TREASURE_TYPE_MONSTER, OBJECT_SELF);
}
}