summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/015-3/barrier.txt7
1 files 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;