diff options
Diffstat (limited to 'npc/001-2-22/peter.txt')
-rw-r--r-- | npc/001-2-22/peter.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/npc/001-2-22/peter.txt b/npc/001-2-22/peter.txt index c71fc446..0365392a 100644 --- a/npc/001-2-22/peter.txt +++ b/npc/001-2-22/peter.txt @@ -1,4 +1,4 @@ -// Evol scripts. +// Evol scripts. // Authors: // 4144 // Ablu @@ -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; |