Aschbourne_PRC8/_module/_uoa_tchest_chk2.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

16 lines
359 B
Plaintext

int StartingConditional()
{
object oPC = GetPCSpeaker();
object oSelf = OBJECT_SELF;
int iChestLvl = GetLocalInt(oSelf,"iChestLevel");
int iMinPickSkill = 2+(iChestLvl*3);
int iPCSkill = GetSkillRank(SKILL_OPEN_LOCK,oPC);
if (GetLocalInt(oSelf,"iAmLocked")!=0)
{
if (iPCSkill>=iMinPickSkill) return TRUE;
}
return FALSE;
}