From e2c6be1af4ef8749412d153805bb1e8da97630e8 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 11 Jan 2009 23:24:57 +0100 Subject: Always allow entering cave when wearing cat ears Regardless of other equipment. --- npc/015-3/barrier.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/npc/015-3/barrier.txt b/npc/015-3/barrier.txt index d532a473..4039e9f5 100644 --- a/npc/015-3/barrier.txt +++ b/npc/015-3/barrier.txt @@ -1,10 +1,9 @@ // You can only enter the cat cave naked, otherwise the cat's reaction scares -// you away. Wearing a ring or amulet should be ok, but no checks are in for -// that yet. +// you away. You can also get in while wearing the cat ears. 015-3.gat,31,36,0 script #CatCaveBarrier 127,1,1,{ - if ((getequipid(equip_head) > 0 && getequipid(equip_head) != 1217) || + if (getequipid(equip_head) != 1217 && (getequipid(equip_head) > 0 || getequipid(equip_shield) > 0 || getequipid(equip_hand1) > 0 || getequipid(equip_hand2) > 0 || @@ -13,7 +12,7 @@ getequipid(equip_misc1) > 0 || getequipid(equip_misc2) > 0 || getequipid(equip_torso) > 0 || - getequipid(equip_legs) > 0) goto L_Not_Naked; + getequipid(equip_legs) > 0)) goto L_Not_Naked; if (LastHiss != 2) mes "\"Hissss...\""; set LastHiss, 2; -- cgit v1.2.3-70-g09d2