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.
This commit is contained in:
27
_module/nss/mk_im_getchanged.nss
Normal file
27
_module/nss/mk_im_getchanged.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
//#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;
|
||||
}
|
Reference in New Issue
Block a user