Aschbourne_PRC8/_module/nss/mk_im_getchanged.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

28 lines
673 B
Plaintext

//#include "x2_inc_craft"
#include "mk_inc_craft"
int StartingConditional()
{
object oPC = GetPCSpeaker();
object oTarget = MK_GetCurrentTarget(oPC);
object oBackup = CIGetCurrentModBackup(oPC);
object oItem = CIGetCurrentModItem(oPC);
int iResult;
switch (CIGetCurrentModMode(oPC))
{
case MK_CI_MODMODE_CHARACTER:
iResult = MK_GetIsDescriptionModified(oTarget);
break;
// case MK_CI_MODMODE_ITEM:
// iResult = (GetIsObjectValid(oItem) && (GetLocalInt(oItem, "MK_ITEM_MODIFIED")==1));
// break;
default:
iResult = MK_GetIsModified(oItem, oBackup);
break;
}
return iResult;
}