25 lines
612 B
Plaintext
25 lines
612 B
Plaintext
#include "NW_O2_CONINCLUDE"
|
|
#include "NW_I0_GENERIC"
|
|
#include "x0_i0_anims"
|
|
#include "x0_i0_walkway"
|
|
#include "X2_inc_treasure"
|
|
void main()
|
|
{
|
|
SetListeningPatterns();
|
|
WalkWayPoints();
|
|
GenerateLowTreasure(OBJECT_SELF);
|
|
GenerateLowTreasure(OBJECT_SELF);
|
|
GenerateLowTreasure(OBJECT_SELF);
|
|
GenerateMediumTreasure(OBJECT_SELF);
|
|
GenerateMediumTreasure(OBJECT_SELF);
|
|
GenerateHighTreasure(OBJECT_SELF);
|
|
GenerateHighTreasure(OBJECT_SELF);
|
|
|
|
{int nRandom = d12(1);
|
|
if (nRandom == 1){
|
|
CreateItemOnObject("wmgst003", OBJECT_SELF, 1);}
|
|
else {
|
|
//Do Nothing
|
|
}}
|
|
}
|