From 22cfbc011ce19e96767861b60473fa3136177f10 Mon Sep 17 00:00:00 2001 From: mekolat Date: Sun, 1 Feb 2015 14:11:22 -0500 Subject: remove .gat from npcs --- world/map/npc/029-2/tanisha.txt | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'world/map/npc/029-2/tanisha.txt') diff --git a/world/map/npc/029-2/tanisha.txt b/world/map/npc/029-2/tanisha.txt index 92ffccaf..450bc77c 100644 --- a/world/map/npc/029-2/tanisha.txt +++ b/world/map/npc/029-2/tanisha.txt @@ -2,14 +2,14 @@ // Authors: Jenalya, alastrim // Cleanup: o11c -029-2.gat,110,88,0|script|Tanisha|114 +029-2,110,88,0|script|Tanisha|114 { setarray @npc_loc, 110, 88, 4; callfunc "PCtoNPCRange"; if (@npc_check) goto L_Close; - if (isin("029-2.gat", 98, 84, 106, 89)) + if (isin("029-2", 98, 84, 106, 89)) goto L_Fighting; callfunc "TutorialState"; @@ -49,7 +49,7 @@ L_Next1: // since the check happens here, it is actually possible to have // more than $@Maggot_MaxHunters in the area at one time // but that's not a BIG problem - if (getareausers("029-2.gat", 98, 84, 106, 89) >= $@Maggot_MaxHunters) + if (getareausers("029-2", 98, 84, 106, 89) >= $@Maggot_MaxHunters) goto L_Crowded; next; goto L_Fight_Again; @@ -87,13 +87,13 @@ L_ContinueFight: callfunc "SetTutorialMask"; set @Maggot_Kills, 0; set @time, 0; - if (getareausers("029-2.gat", 98, 84, 106, 89) == 0) + if (getareausers("029-2", 98, 84, 106, 89) == 0) initnpctimer; - warp "029-2.gat", 101, 87; + warp "029-2", 101, 87; goto L_Summon; L_Summon: - areamonster "029-2.gat", 98, 84, 106, 89, "", 1002, 1, "Tanisha::OnMaggotDeath"; + areamonster "029-2", 98, 84, 106, 89, "", 1002, 1, "Tanisha::OnMaggotDeath"; end; L_Stats: @@ -191,7 +191,7 @@ L_Crowded: goto L_Close; L_Sleep: - warp "029-2.gat", 101, 87; + warp "029-2", 101, 87; mes "[Tanisha]"; mes "\"What are you doing in there?"; mes "Sleeping?"; @@ -199,7 +199,7 @@ L_Sleep: set @Maggot_Kills, 0; set @time, 0; close2; - if (getareausers("029-2.gat", 98, 84, 106, 89) == 0) + if (getareausers("029-2", 98, 84, 106, 89) == 0) goto L_CleanUp; end; @@ -215,7 +215,7 @@ L_Fail: "No, I need a rest.", L_Close; L_Next2: - if (getareausers("029-2.gat", 98, 84, 106, 89) >= $@Maggot_MaxHunters) + if (getareausers("029-2", 98, 84, 106, 89) >= $@Maggot_MaxHunters) goto L_Crowded; goto L_Fight_Again; @@ -225,17 +225,17 @@ L_Fighting: OnTimer1000: setnpctimer 0; - if (getareausers("029-2.gat", 98, 84, 106, 89) == 0) + if (getareausers("029-2", 98, 84, 106, 89) == 0) goto L_CleanUp; // This is needed because multiple players can be in the area at once - areatimer "029-2.gat", 98, 84, 106, 89, 0, "Tanisha::OnTick"; + areatimer "029-2", 98, 84, 106, 89, 0, "Tanisha::OnTick"; end; L_CleanUp: - killmonster "029-2.gat", "Tanisha::OnMaggotDeath"; + killmonster "029-2", "Tanisha::OnMaggotDeath"; set $@Maggot_Hunters, 0; stopnpctimer; - areamonster "029-2.gat", 98, 84, 106, 89, "", 1002, 1, "Tanisha::OnMaggotDeath"; + areamonster "029-2", 98, 84, 106, 89, "", 1002, 1, "Tanisha::OnMaggotDeath"; end; OnTick: @@ -257,17 +257,17 @@ OnMaggotDeath: message strcharinfo(0), "Tanisha: Ohh... Irrhk... Eeeeww... They just appear from nowhere!"; if (@Maggot_Kills == 3) message strcharinfo(0), "Tanisha: Yuck... I think I am getting sick."; - if (isin("029-2.gat", 98, 84, 106, 89)) + if (isin("029-2", 98, 84, 106, 89)) set @Maggot_Kills, @Maggot_Kills + 1; if (@Maggot_Kills < 5) goto L_Summon; // else, complete - warp "029-2.gat", 110, 88; + warp "029-2", 110, 88; set @tutorial_tmp, 7; callfunc "SetTutorialMask"; set @Maggot_Kills, 0; set @time, 0; - if (getareausers("029-2.gat", 98, 84, 106, 89) == 0) + if (getareausers("029-2", 98, 84, 106, 89) == 0) goto L_CleanUp; end; @@ -276,10 +276,10 @@ L_Close: OnInit: set $@Maggot_MaxHunters, 4; - areamonster "029-2.gat", 98, 84, 106, 89, "", 1002, 1, "Tanisha::OnMaggotDeath"; + areamonster "029-2", 98, 84, 106, 89, "", 1002, 1, "Tanisha::OnMaggotDeath"; end; } -029-2.gat,114,93,0|script|#DoorOutTut2|45,0,0 +029-2,114,93,0|script|#DoorOutTut2|45,0,0 { end; @@ -290,7 +290,7 @@ OnTouch: goto L_Block; L_Warp: - warp "029-1.gat", 32, 100; + warp "029-1", 32, 100; end; L_Block: -- cgit v1.2.3-60-g2f50