Aschbourne_PRC8/_module/_craft_hb_cook.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

24 lines
408 B
Plaintext

void main()
{
object oSelf=OBJECT_SELF;
int iTimer = GetLocalInt(oSelf,"iLive");
iTimer++;
SetLocalInt(oSelf,"iLive",iTimer);
if (iTimer>50)
{
//Chance to start a fire goes here
//
DestroyObject(oSelf);
return;
}
if (GetIsNight()==TRUE)
{
//Chance to attaract an animal
}
PlaySound("al_cv_firebowl1");
if (Random(1000)<100) PlaySound("as_na_rockfalsm2");
}