WoR_PRC8/_module/nss/treasure_larad4.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

22 lines
529 B
Plaintext

#include "X0_I0_TREASURE"
#include "NW_I0_GENERIC"
#include "x0_i0_anims"
#include "x0_i0_walkway"
#include "X2_inc_treasure"
void main()
{
SetListeningPatterns();
WalkWayPoints();
GenerateHighTreasure(OBJECT_SELF);
GenerateHighTreasure(OBJECT_SELF);
{int nRandom = d10(1);
if (nRandom == 1){
CreateItemOnObject("wplss004", OBJECT_SELF, 1);}
else if (nRandom == 5){
CreateItemOnObject("wplss004", OBJECT_SELF, 1);}
else {
CreateItemOnObject("x2_WPLSS004", OBJECT_SELF, 1);}}
}