Aschbourne_PRC8/_module/nss/_craft_hb_cook.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -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");
}