Aschbourne_PRC8/_module/nss/_uoa_tchest_chk1.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

16 lines
363 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_DISABLE_TRAP,oPC);
if (GetLocalInt(oSelf,"iAmTrapped")!=0)
{
if (iPCSkill>=iMinPickSkill) return TRUE;
}
return FALSE;
}