Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
20
_module/nss/evil_itemchk.nss
Normal file
20
_module/nss/evil_itemchk.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "rd_questinc"
|
||||
#include "nw_i0_tool"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC;
|
||||
int iResult;
|
||||
string sTag;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
sTag = GetLocalString(oPC,"QuestItemTag");
|
||||
|
||||
iResult = FALSE;
|
||||
if (HasItem(oPC, sTag) && GetLocalInt(oPC,"Evil") == 1 && GetLocalInt(oPC,"EvilQuest") == 0)
|
||||
iResult = TRUE;
|
||||
|
||||
return iResult;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user