Aschbourne_PRC8/_module/nss/mk_im_getchanged.nss
Jaysyn904 903f023230 Major update
Created top hak for crafting dialog.  Moved Bioware creature abilities to top hak.  Fixed DMFI wand handouts.  Added DMFI language handouts.  Added CCOH 6.  Disabled PC corpse system.  Modified new player startup system.  Full compile.  Updated release archive.
2024-09-17 13:24:57 -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;
}