From e659f757b4fc75d63993577134b0c7cec6df3cec Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Fri, 3 Feb 2012 00:39:13 +0100 Subject: Making doors and docks unclickable --- world/map/npc/002-1/sandstorm_mine_barrier.txt | 2 +- world/map/npc/002-3/underground_palace_barrier.txt | 2 +- world/map/npc/008-1/dock.txt | 2 +- world/map/npc/011-4/bl_barrier.txt | 4 ++-- world/map/npc/013-3/barrier.txt | 3 +-- world/map/npc/015-3/barrier.txt | 2 +- world/map/npc/022-1/dock.txt | 2 +- world/map/npc/022-1/tutorial.txt | 2 +- world/map/npc/027-2/door.txt | 4 ++-- world/map/npc/029-1/barrier.txt | 2 +- world/map/npc/029-1/dock.txt | 2 +- world/map/npc/029-3/barrier.txt | 2 +- world/map/npc/031-1/house.txt | 2 +- world/map/npc/031-3/labyrinth.txt | 2 +- world/map/npc/031-4/barrier.txt | 2 +- world/map/npc/033-1/backDoor.txt | 2 +- world/map/npc/041-1/tutorial.txt | 2 +- 17 files changed, 19 insertions(+), 20 deletions(-) diff --git a/world/map/npc/002-1/sandstorm_mine_barrier.txt b/world/map/npc/002-1/sandstorm_mine_barrier.txt index 82841bf7..9814ffb9 100644 --- a/world/map/npc/002-1/sandstorm_mine_barrier.txt +++ b/world/map/npc/002-1/sandstorm_mine_barrier.txt @@ -1,6 +1,6 @@ //Sandstorm mine barrier -002-1.gat,20,94,0|script|#Sandstorm_Mine_Barrier|127,0,0,{ +002-1.gat,20,94,0|script|#Sandstorm_Mine_Barrier|45,0,0,{ if (TMW_Quest >= 20) goto L_Sandstorm_Barrier_Open; message strcharinfo(0), "Some force seems to block your entrance."; diff --git a/world/map/npc/002-3/underground_palace_barrier.txt b/world/map/npc/002-3/underground_palace_barrier.txt index 4e6e369f..60befa87 100644 --- a/world/map/npc/002-3/underground_palace_barrier.txt +++ b/world/map/npc/002-3/underground_palace_barrier.txt @@ -1,6 +1,6 @@ //underground palace barrier -002-3.gat,68,98,0|script|#UGP_Barrier|127,0,0,{ +002-3.gat,68,98,0|script|#UGP_Barrier|45,0,0,{ if (TMW_Quest >= 37) goto L_Underground_Palace_Barrier_Open; message strcharinfo(0), "Some force seems to block your entrance."; diff --git a/world/map/npc/008-1/dock.txt b/world/map/npc/008-1/dock.txt index af8c6ff8..c944fe71 100644 --- a/world/map/npc/008-1/dock.txt +++ b/world/map/npc/008-1/dock.txt @@ -1,6 +1,6 @@ // The ferry dock -008-1.gat,140,64,0|script|#hurnscalddock|127,2,1,{ +008-1.gat,140,64,0|script|#hurnscalddock|45,2,1,{ set @loc, DOCK_hurnscald; callfunc "Ferry"; } diff --git a/world/map/npc/011-4/bl_barrier.txt b/world/map/npc/011-4/bl_barrier.txt index efe81d60..e7dfd98c 100644 --- a/world/map/npc/011-4/bl_barrier.txt +++ b/world/map/npc/011-4/bl_barrier.txt @@ -1,6 +1,6 @@ //bandit lord barrier -011-4.gat,111,121,0|script|#BL_Barrier|127,0,0,{ +011-4.gat,111,121,0|script|#BL_Barrier|45,0,0,{ if (TMW_Quest >= 44) goto L_Bandit_Lord_Barrier_Open; message strcharinfo(0), "This entrance appears to be locked."; @@ -10,4 +10,4 @@ L_Bandit_Lord_Barrier_Open: message strcharinfo(0), "You insert the silver arrow key and unlock the entrance."; warp "011-6.gat",251,275; end; -} \ No newline at end of file +} diff --git a/world/map/npc/013-3/barrier.txt b/world/map/npc/013-3/barrier.txt index 3ddd4c12..6de45440 100644 --- a/world/map/npc/013-3/barrier.txt +++ b/world/map/npc/013-3/barrier.txt @@ -1,7 +1,6 @@ // -//013-3.gat,71,21,0|script|#DemonMineBarrier1#_M|0,1,1,{ -013-3.gat,71,21,0|script|#DemonMineBarrier1#_M|127,1,1,{ +013-3.gat,71,21,0|script|#DemonMineBarrier1#_M|45,1,1,{ if (QUEST_demon_mines >= 2) close; if (QUEST_demon_mines == 1 && countitem("JackOSoul") >= 1) goto L_Has_Jack_O_Soul; diff --git a/world/map/npc/015-3/barrier.txt b/world/map/npc/015-3/barrier.txt index 32b0a6c3..d0603c6c 100644 --- a/world/map/npc/015-3/barrier.txt +++ b/world/map/npc/015-3/barrier.txt @@ -1,7 +1,7 @@ // 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|45,1,1,{ if (getequipid(equip_head) != 1217 && (getequipid(equip_head) > 0 diff --git a/world/map/npc/022-1/dock.txt b/world/map/npc/022-1/dock.txt index e59c52e6..654f4199 100644 --- a/world/map/npc/022-1/dock.txt +++ b/world/map/npc/022-1/dock.txt @@ -1,6 +1,6 @@ // The ferry dock -022-1.gat,84,72,0|script|#tulimshardock|127,6,1,{ +022-1.gat,84,72,0|script|#tulimshardock|45,6,1,{ set @loc, DOCK_tulimshar; callfunc "Ferry"; } diff --git a/world/map/npc/022-1/tutorial.txt b/world/map/npc/022-1/tutorial.txt index ecb1f628..5b89336c 100644 --- a/world/map/npc/022-1/tutorial.txt +++ b/world/map/npc/022-1/tutorial.txt @@ -2,7 +2,7 @@ // Author: Jenalya // if you enter the tutorial area from outside, it is set to be already done -022-1.gat,19,37,0|script|#tutorial|127,0,2{ +022-1.gat,19,37,0|script|#tutorial|45,0,2{ set FLAGS, FLAGS | FLAG_TUTORIAL_DONE; set hasan, 0; set kaan, 0; diff --git a/world/map/npc/027-2/door.txt b/world/map/npc/027-2/door.txt index d9f0bef5..a39b21f6 100644 --- a/world/map/npc/027-2/door.txt +++ b/world/map/npc/027-2/door.txt @@ -1,4 +1,4 @@ -027-2.gat,25,100,0|script|#DoorIn|127,1,1,{ +027-2.gat,25,100,0|script|#DoorIn|45,1,1,{ set @Graveyard_Inn_MASK, NIBBLE_0_MASK; set @Graveyard_Inn_SHIFT, NIBBLE_0_SHIFT; @@ -14,7 +14,7 @@ L_Warp: end; } -027-2.gat,26,99,0|script|#DoorOut|127,1,1,{ +027-2.gat,26,99,0|script|#DoorOut|45,1,1,{ warp "027-2.gat", 23, 98; end; } diff --git a/world/map/npc/029-1/barrier.txt b/world/map/npc/029-1/barrier.txt index 7625014f..85882c89 100644 --- a/world/map/npc/029-1/barrier.txt +++ b/world/map/npc/029-1/barrier.txt @@ -1,4 +1,4 @@ -029-1.gat,54,36,0|script|#CandorBarrier|127,1,1,{ +029-1.gat,54,36,0|script|#CandorBarrier|45,1,1,{ if ($@FIGHT_CAVE_STATUS == 1) goto L_Block; warp "029-3.gat", 46, 23; end; diff --git a/world/map/npc/029-1/dock.txt b/world/map/npc/029-1/dock.txt index 9de9b372..dbc9449d 100644 --- a/world/map/npc/029-1/dock.txt +++ b/world/map/npc/029-1/dock.txt @@ -1,6 +1,6 @@ // The ferry dock -029-1.gat,22,37,0|script|#candordock|127,2,1,{ +029-1.gat,22,37,0|script|#candordock|45,2,1,{ set @loc, DOCK_candor; callfunc "Ferry"; } diff --git a/world/map/npc/029-3/barrier.txt b/world/map/npc/029-3/barrier.txt index 6ed01380..acfb642c 100644 --- a/world/map/npc/029-3/barrier.txt +++ b/world/map/npc/029-3/barrier.txt @@ -1,4 +1,4 @@ -029-3.gat,45,20,0|script|#FightCaveBarrier|127,1,1,{ +029-3.gat,45,20,0|script|#FightCaveBarrier|45,1,1,{ if ($@FIGHT_CAVE_STATUS == 1) goto L_Block; warp "029-1.gat", 54, 39; end; diff --git a/world/map/npc/031-1/house.txt b/world/map/npc/031-1/house.txt index f6e5c299..70093c3f 100644 --- a/world/map/npc/031-1/house.txt +++ b/world/map/npc/031-1/house.txt @@ -2,7 +2,7 @@ // player can enter, if Cindy is already saved and the player has been invited, quest status > 2 // author: Jenalya -031-1.gat,95,80,0|script|#Door|127,1,1,{ +031-1.gat,95,80,0|script|#Door|45,1,1,{ set @Q_Nivalis_state_MASK, NIBBLE_5_MASK; set @Q_Nivalis_state_SHIFT, NIBBLE_5_SHIFT; diff --git a/world/map/npc/031-3/labyrinth.txt b/world/map/npc/031-3/labyrinth.txt index ae363a16..ed06cf60 100644 --- a/world/map/npc/031-3/labyrinth.txt +++ b/world/map/npc/031-3/labyrinth.txt @@ -1,7 +1,7 @@ // Conditional warp for yeti cave // Authors: Jenalya -031-3.gat,46,24,0|script|#YetiBarrier|127,1,1,{ +031-3.gat,46,24,0|script|#YetiBarrier|45,1,1,{ if ($@FIGHT_YETI_STATUS == 1) goto L_Blocked; warp "031-4.gat", 40, 69; end; diff --git a/world/map/npc/031-4/barrier.txt b/world/map/npc/031-4/barrier.txt index 472a42ac..243bb0d1 100644 --- a/world/map/npc/031-4/barrier.txt +++ b/world/map/npc/031-4/barrier.txt @@ -1,4 +1,4 @@ -031-4.gat,40,71,0|script|#YetiBarrier|127,1,1,{ +031-4.gat,40,71,0|script|#YetiBarrier|45,1,1,{ if ($@FIGHT_YETI_STATUS == 1) goto L_Block; warp "031-3.gat", 46, 27; end; diff --git a/world/map/npc/033-1/backDoor.txt b/world/map/npc/033-1/backDoor.txt index 06f1d2ab..d7f48567 100644 --- a/world/map/npc/033-1/backDoor.txt +++ b/world/map/npc/033-1/backDoor.txt @@ -1,4 +1,4 @@ -033-1.gat,86,28,0|script|#KimarrBackDoor|127,0,0,{ +033-1.gat,86,28,0|script|#KimarrBackDoor|45,0,0,{ if ($@Fluffy_Hunting == 0) goto L_Warp; end; diff --git a/world/map/npc/041-1/tutorial.txt b/world/map/npc/041-1/tutorial.txt index c522e76d..8dae4fde 100644 --- a/world/map/npc/041-1/tutorial.txt +++ b/world/map/npc/041-1/tutorial.txt @@ -2,7 +2,7 @@ // Author: Jenalya // if you enter the tutorial area, it is set to be already done -041-1.gat,33,5,0|script|#tutorial|127,1,0{ +041-1.gat,33,5,0|script|#tutorial|45,1,0{ set FLAGS, FLAGS | FLAG_TUTORIAL_DONE; warp "042-1.gat", 17, 80; end; -- cgit v1.2.3-60-g2f50