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.txt41
1 files changed, 0 insertions, 41 deletions
diff --git a/world/map/npc/015-3/barrier.txt b/world/map/npc/015-3/barrier.txt
deleted file mode 100644
index f65b6c85..00000000
--- a/world/map/npc/015-3/barrier.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-// 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,31,42,0|script|#CatCaveBarrier|45,1,1
-{
- set @Hiss, ((Katze & NIBBLE_1_MASK) >> NIBBLE_1_SHIFT);
- 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 (@Hiss != 2)
- mes "\"Hissss...\"";
- set @Hiss, 2;
- callsub S_Update_Hiss;
- goto L_Close;
-
-L_Not_Naked:
- warp "015-1", 60, 32;
- set @Hiss, 1;
- callsub S_Update_Hiss;
- mes "\"GRAAUWL! Hissss...\"";
- mes "Scared of what you hear, you flee back outside.";
- goto L_Close;
-
-L_Close:
- set @Hiss, 0;
- close;
-
-S_Update_Hiss:
- set Katze, (Katze & ~(NIBBLE_1_MASK)) | (@Hiss << NIBBLE_1_SHIFT);
- return;
-}