PWE_PRC8/_module/nss/bdm_cnv_stl_test.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

27 lines
767 B
Plaintext

//::///////////////////////////////////////////////
//:: Name: Bedlamson's Dynamic Merchant System
//:: Conversation 'Text Appears When...'
//:: FileName: bdm_cnv_steal
//:: Copyright (c) 2003 Stephen Spann
//::///////////////////////////////////////////////
//:: Created By: Bedlamson
//:: Created On: 1/23/2003
//::///////////////////////////////////////////////
#include "bdm_include"
int StartingConditional()
{
object oPC = GetPCSpeaker();
object oShopkeeper = OBJECT_SELF;
object oStore = GetLocalObject(oShopkeeper, "STORE");
string sParams = GetLocalString(oShopkeeper, "PARAMS");
int nSteal = GetValue(OBJECT_SELF, "ST", sParams);
if (nSteal && GetHasSkill(SKILL_PICK_POCKET, GetPCSpeaker()))
{
return TRUE;
}
return FALSE;
}