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

25
_module/nss/campfire.nss Normal file
View File

@@ -0,0 +1,25 @@
void main()
{ object oPC = GetItemActivator();
object oItem = GetItemActivated();
object oTarget;
object oSpawn;
location lTarget;
lTarget = GetItemActivatedTargetLocation();
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "plc_campfr", lTarget);
oTarget = oSpawn;
{
AssignCommand(oTarget, PlayAnimation(ANIMATION_PLACEABLE_ACTIVATE));
SetPlaceableIllumination (oTarget, FALSE);
RecomputeStaticLighting(GetArea(oTarget));
object oCaster;
oCaster = oPC;
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_REGENERATE, oPC, METAMAGIC_ANY, TRUE, 10, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectSlow(), oPC, 45.0f);
DelayCommand(60.0,DestroyObject(oTarget));
}
}