Enabled default treasure/loot system

Enabled default treasure/loot system.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-01-25 23:45:37 -05:00
parent f9f89b27cc
commit 2b4380d613
8 changed files with 5093 additions and 87 deletions

View File

@@ -0,0 +1,20 @@
//:://////////////////////////////////////////////////
//:: 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);
}
}