diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-11 23:24:57 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-11 23:26:43 +0100 |
commit | e2c6be1af4ef8749412d153805bb1e8da97630e8 (patch) | |
tree | e43c652dba031f5bde155122a1077bb8f8f956ae /npc/015-3 | |
parent | 89032c4b8eda2d1bf03a8543d8e413d908bb9f56 (diff) | |
download | serverdata-e2c6be1af4ef8749412d153805bb1e8da97630e8.tar.gz serverdata-e2c6be1af4ef8749412d153805bb1e8da97630e8.tar.bz2 serverdata-e2c6be1af4ef8749412d153805bb1e8da97630e8.tar.xz serverdata-e2c6be1af4ef8749412d153805bb1e8da97630e8.zip |
Always allow entering cave when wearing cat ears
Regardless of other equipment.
Diffstat (limited to 'npc/015-3')
-rw-r--r-- | npc/015-3/barrier.txt | 7 |
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; |