HoS_PRC8/_mod/_module/nss/npcact_cms_tmrg.nss
Jaysyn904 e2f4ba74d5 Merged redundant hak files
Merged redundant hak files.  Moved hak scripts into module.  Updated gitignore.  Full Compile.  Added release folder & archive.
2024-12-12 15:02:17 -05:00

16 lines
428 B
Plaintext

// npcact_cms_tmrg
int StartingConditional()
{
object oPC=GetPCSpeaker();
object oItem=GetLocalObject(oPC,"oCMSItem");
object oTarget=GetLocalObject(oPC,"oCMSTarget");
if (GetObjectType(oTarget)==OBJECT_TYPE_ITEM)
{ // test 1
if (GetResRef(oItem)==GetResRef(oTarget)&&GetTag(oItem)==GetTag(oTarget))
{ // test 2
if (oItem!=oTarget) return TRUE;
} // test 2
} // test 1
return FALSE;
}