21 lines
407 B
Plaintext
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);
|
||
|
}
|
||
|
}
|