summaryrefslogtreecommitdiff
path: root/npc/001-2-22/peter.txt
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-01-08 21:50:39 -0500
committergumi <mekolat@users.noreply.github.com>2017-01-08 21:52:04 -0500
commitf0687a529a0a143b0ceca96eb0546c39199f2878 (patch)
tree4bb688028e57718b80e6bfb1eab4c47c28d2d4bc /npc/001-2-22/peter.txt
parentdbf252c0621fc5ebd003f9bda3cef9423ab467ee (diff)
downloadserverdata-f0687a529a0a143b0ceca96eb0546c39199f2878.tar.gz
serverdata-f0687a529a0a143b0ceca96eb0546c39199f2878.tar.bz2
serverdata-f0687a529a0a143b0ceca96eb0546c39199f2878.tar.xz
serverdata-f0687a529a0a143b0ceca96eb0546c39199f2878.zip
remove .gat suffix everywhere
Diffstat (limited to 'npc/001-2-22/peter.txt')
-rw-r--r--npc/001-2-22/peter.txt28
1 files changed, 14 insertions, 14 deletions
diff --git a/npc/001-2-22/peter.txt b/npc/001-2-22/peter.txt
index c71fc446..14a79020 100644
--- a/npc/001-2-22/peter.txt
+++ b/npc/001-2-22/peter.txt
@@ -22,7 +22,7 @@
// 6 Did not start the quest.
// Others:
// .@peter = Peter#001-2-22 variable.
-// "001-2-23.gat" - map with mobs.
+// "001-2-23" - map with mobs.
// "$@ARTIS_RAT1_HELPER$" - Name of the participant.
// "$@ARTIS_RAT1_DEATHS - Number of deaths when the participant starts the fight.
// "$@ARTIS_RAT1_CONTROL" - Explanation of each index of the array.
@@ -207,7 +207,7 @@ OnStartOutside:
$@ARTIS_RAT1_HELPER$ = strcharinfo(0);
$@ARTIS_RAT1_DEATHS = PC_DIE_COUNTER;
initnpctimer;
- warp "001-2-23.gat", 48, 28;
+ warp "001-2-23", 48, 28;
doevent "RattosControl#001-2-23::OnSpawn";
goto L_Quit;
@@ -218,7 +218,7 @@ OnTimer2000:
if ($@ARTIS_RAT1_CONTROL[9] > 100) goto L_Timeout;
if (PC_DIE_COUNTER > $@ARTIS_RAT1_DEATHS) goto L_Dead;
if ($@ARTIS_RAT1_CONTROL[1] && $@ARTIS_RAT1_CONTROL[2] && $@ARTIS_RAT1_CONTROL[3] && $@ARTIS_RAT1_CONTROL[4]) goto L_Done;
- if (getmapusers("001-2-23.gat") == 0) goto L_CleaningEnd;
+ if (getmapusers("001-2-23") == 0) goto L_CleaningEnd;
goto L_CheckRattos;
end;
@@ -258,7 +258,7 @@ L_Logoff:
L_Dead:
// Warps the dead body outside, so it does not interfere with the getmapusers check.
- if (getmapusers("001-2-23.gat") > 0) warp "001-2-22", 72, 36;
+ if (getmapusers("001-2-23") > 0) warp "001-2-22", 72, 36;
goto L_CleaningEnd;
@@ -267,7 +267,7 @@ L_Done:
if($@ARTIS_RAT1_CONTROL[10] < 5) goto L_NotYet;
.@peter = getq(ShipQuests_Peter);
if (.@peter == 2 || .@peter == 4) goto L_Reward;
- warp "001-2-22.gat", 72, 36;
+ warp "001-2-22", 72, 36;
goto L_Thanks;
@@ -276,10 +276,10 @@ L_CleaningEnd:
$@ARTIS_RAT1_HELPER$ = "";
$@ARTIS_RAT1_DEATHS = 0;
cleararray $@ARTIS_RAT1_CONTROL, 0, 11;
- killmonster "001-2-23.gat", "RattosControl#001-2-23::OnRatto1Death";
- killmonster "001-2-23.gat", "RattosControl#001-2-23::OnRatto2Death";
- killmonster "001-2-23.gat", "RattosControl#001-2-23::OnRatto3Death";
- killmonster "001-2-23.gat", "RattosControl#001-2-23::OnRatto4Death";
+ killmonster "001-2-23", "RattosControl#001-2-23::OnRatto1Death";
+ killmonster "001-2-23", "RattosControl#001-2-23::OnRatto2Death";
+ killmonster "001-2-23", "RattosControl#001-2-23::OnRatto3Death";
+ killmonster "001-2-23", "RattosControl#001-2-23::OnRatto4Death";
end;
@@ -289,16 +289,16 @@ L_CleaningClose:
$@ARTIS_RAT1_HELPER$ = "";
$@ARTIS_RAT1_DEATHS = 0;
cleararray $@ARTIS_RAT1_CONTROL, 0, 11;
- killmonster "001-2-23.gat", "RattosControl#001-2-23::OnRatto1Death";
- killmonster "001-2-23.gat", "RattosControl#001-2-23::OnRatto2Death";
- killmonster "001-2-23.gat", "RattosControl#001-2-23::OnRatto3Death";
- killmonster "001-2-23.gat", "RattosControl#001-2-23::OnRatto4Death";
+ killmonster "001-2-23", "RattosControl#001-2-23::OnRatto1Death";
+ killmonster "001-2-23", "RattosControl#001-2-23::OnRatto2Death";
+ killmonster "001-2-23", "RattosControl#001-2-23::OnRatto3Death";
+ killmonster "001-2-23", "RattosControl#001-2-23::OnRatto4Death";
$@ARTIS_RAT1_COUNTDOWN = gettimetick(2);
close;
L_Reward:
- warp "001-2-22.gat", 72, 36;
+ warp "001-2-22", 72, 36;
setq ShipQuests_Peter, 5;
.@peter = getq(ShipQuests_Peter);
mesn;