HiddenTradition_PRC8/_module/nss/sc_checksupply2.nss
2024-06-20 15:47:42 -04:00

23 lines
616 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName sc_checksupplies
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 8/12/2002 11:35:38 AM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
int StartingConditional()
{
// Make sure the PC speaker has these supplies in his inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "it_CastleSupplies");
if(GetIsObjectValid(oItemToTake) != 0)
return TRUE;
return FALSE;
}