Areas and Fixes

Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
This commit is contained in:
2024-08-30 11:38:44 -04:00
parent 8622e5ce08
commit 69879d6957
17234 changed files with 4253346 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
void ItemCreate(object oPC);
#include "nw_i0_plot"
void main()
{
if (GetLocalInt(OBJECT_SELF,"iAmInUse") != 0) return;
object oPC = GetLastUsedBy();
object oBucket = OBJECT_INVALID;
oBucket = GetItemPossessedBy(oPC,"ITEM_EMPTYBUCKET");
if (oBucket == OBJECT_INVALID)
{
FloatingTextStringOnCreature("You must have an empty bucket in order to fill it with water.",oPC,FALSE);
return;
}
SetLocalInt(OBJECT_SELF,"iAmInUse",99);
DestroyObject(oBucket);
FloatingTextStringOnCreature("You fill the bucket with fresh water.",oPC,FALSE);
PlaySound("as_cv_ropepully2");
DelayCommand(2.0,PlaySound("as_na_splash1"));
DelayCommand(4.0,PlaySound("as_cv_ropepully2"));
DelayCommand(6.0,SetLocalInt(OBJECT_SELF,"iAmInUse",0));
DelayCommand(6.0,ItemCreate(oPC));
AssignCommand(oPC,ActionPlayAnimation(ANIMATION_LOOPING_GET_MID,1.0,6.0));
}
void ItemCreate(object oPC)
{
object oWater = CreateItemOnObject("item002",oPC,1);
SetLocalInt(oPC,"iWaterFull",100);
return;
}