Area Changes and other fixes

Added CCOH
Fixed some on death issues
Fixed the gaurd
Added Server Enty/ooc
changed some areas back to original craftable
This commit is contained in:
2024-08-30 10:02:16 -04:00
parent 034a2cd838
commit d39928374d
5670 changed files with 373265 additions and 173083 deletions

View File

@@ -0,0 +1,33 @@
#include "x2_inc_itemprop"
#include "mk_inc_vfx"
object MK_IPGetIPWorkContainer(object oCaller = OBJECT_SELF)
{
object oRet = GetObjectByTag(X2_IP_WORK_CONTAINER_TAG);
if (oRet == OBJECT_INVALID)
{
oRet = CreateObject(OBJECT_TYPE_PLACEABLE,X2_IP_WORK_CONTAINER_TAG,GetLocation(oCaller));
// effect eInvis = EffectVisualEffect( VFX_DUR_CUTSCENE_INVISIBILITY);
// eInvis = ExtraordinaryEffect(eInvis);
// ApplyEffectToObject(DURATION_TYPE_PERMANENT,eInvis,oRet);
if (oRet == OBJECT_INVALID)
{
WriteTimestampedLogEntry("mk_inc_ipwrkcntn - critical: Missing container with tag " +X2_IP_WORK_CONTAINER_TAG + "!!");
}
else
{
MK_VFX_ApplyVisualEffect(VFX_DUR_CUTSCENE_INVISIBILITY, oRet, SUBTYPE_EXTRAORDINARY, DURATION_TYPE_PERMANENT);
}
}
return oRet;
}
/*
void main()
{
}
/**/