Battledale_PRC8/_module/nss/jw_new_hastoken.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

25 lines
922 B
Plaintext

int StartingConditional()
{
int iResult;
object oPC=GetPCSpeaker();
if (GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok1"))||GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok2"))||
GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok3"))||GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok4"))||
GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok5"))||GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok6"))||
GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok7"))||GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok8"))||
GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok8"))||GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok10"))||
GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok11"))||GetIsObjectValid(GetItemPossessedBy(oPC,"jw_newtok9")))
{
iResult=TRUE;
}
else
{
iResult=FALSE;
}
return iResult;
}