summaryrefslogtreecommitdiff
path: root/world/map/npc/015-3/barrier.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/015-3/barrier.txt')
-rw-r--r--world/map/npc/015-3/barrier.txt27
1 files changed, 15 insertions, 12 deletions
diff --git a/world/map/npc/015-3/barrier.txt b/world/map/npc/015-3/barrier.txt
index 27a18bc3..32b0a6c3 100644
--- a/world/map/npc/015-3/barrier.txt
+++ b/world/map/npc/015-3/barrier.txt
@@ -1,20 +1,23 @@
// You can only enter the cat cave naked, otherwise the cat's reaction scares
// you away. You can also get in while wearing the cat ears.
-015-3.gat,31,42,0 script #CatCaveBarrier 127,1,1,{
+015-3.gat,31,42,0|script|#CatCaveBarrier|127,1,1,{
- if (getequipid(equip_head) != 1217 && (getequipid(equip_head) > 0 ||
- getequipid(equip_shield) > 0 ||
- getequipid(equip_hand1) > 0 ||
- getequipid(equip_hand2) > 0 ||
- getequipid(equip_gloves) > 0 ||
- getequipid(equip_shoes) > 0 ||
- getequipid(equip_misc1) > 0 ||
- getequipid(equip_misc2) > 0 ||
- getequipid(equip_torso) > 0 ||
- getequipid(equip_legs) > 0)) goto L_Not_Naked;
+ if (getequipid(equip_head) != 1217
+ && (getequipid(equip_head) > 0
+ || getequipid(equip_shield) > 0
+ || getequipid(equip_hand1) > 0
+ || getequipid(equip_hand2) > 0
+ || getequipid(equip_gloves) > 0
+ || getequipid(equip_shoes) > 0
+ || getequipid(equip_misc1) > 0
+ || getequipid(equip_misc2) > 0
+ || getequipid(equip_torso) > 0
+ || getequipid(equip_legs) > 0))
+ goto L_Not_Naked;
- if (LastHiss != 2) mes "\"Hissss...\"";
+ if (LastHiss != 2)
+ mes "\"Hissss...\"";
set LastHiss, 2;
close;