// campfire kit void main() { location lLoc=GetItemActivatedTargetLocation(); object oPC=GetItemActivator(); object oArea=GetArea(oPC); int nOutside = GetIsAreaNatural(oArea); if (nOutside == AREA_NATURAL) { // create object oFire=CreateObject(OBJECT_TYPE_PLACEABLE,"fb1_campfire",lLoc); float fTime=HoursToSeconds(4); object oItem=GetItemActivated(); DelayCommand(fTime,DestroyObject(oFire)); DestroyObject(oItem); } // create else { SendMessageToPC(oPC,"You cannot use this item here or at this time!"); } }