Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
// 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!");
}
}