diff options
Diffstat (limited to 'world/map/npc/033-1')
-rw-r--r-- | world/map/npc/033-1/_import.txt | 4 | ||||
-rw-r--r-- | world/map/npc/033-1/_mobs.txt | 12 | ||||
-rw-r--r-- | world/map/npc/033-1/_warps.txt | 6 | ||||
-rw-r--r-- | world/map/npc/033-1/backDoor.txt | 4 | ||||
-rw-r--r-- | world/map/npc/033-1/birrod.txt | 2 | ||||
-rw-r--r-- | world/map/npc/033-1/kimarr.txt | 48 | ||||
-rw-r--r-- | world/map/npc/033-1/mapflags.txt | 2 | ||||
-rw-r--r-- | world/map/npc/033-1/traveler.txt | 2 | ||||
-rw-r--r-- | world/map/npc/033-1/yerrnk.txt | 2 |
9 files changed, 41 insertions, 41 deletions
diff --git a/world/map/npc/033-1/_import.txt b/world/map/npc/033-1/_import.txt index 214e42eb..6205545e 100644 --- a/world/map/npc/033-1/_import.txt +++ b/world/map/npc/033-1/_import.txt @@ -1,6 +1,6 @@ // Map 033-1: snow Path -// This file is generated automatically. All manually changes will be removed when running the Converter. -map: 033-1.gat +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: 033-1 npc: npc/033-1/_mobs.txt npc: npc/033-1/_warps.txt npc: npc/033-1/backDoor.txt diff --git a/world/map/npc/033-1/_mobs.txt b/world/map/npc/033-1/_mobs.txt index 909d6bc3..6f86b16a 100644 --- a/world/map/npc/033-1/_mobs.txt +++ b/world/map/npc/033-1/_mobs.txt @@ -1,13 +1,13 @@ -// This file is generated automatically. All manually changes will be removed when running the Converter. +// This file is generated automatically. All manually added changes will be removed when running the Converter. // snow Path mobs -033-1.gat,73,49,10,18|monster|Wolvern|1090,2,100000ms,30000ms,Mob033-1::On1090 -033-1.gat,33,38,15,49|monster|Reinboo|1094,3,100000ms,30000ms,Mob033-1::On1094 -033-1.gat,56,87,50,42|monster|Squirrel|1038,15,100000ms,30000ms,Mob033-1::On1038 -033-1.gat,0,0,0,0|monster|WhiteBell|1095,3,100000ms,30000ms,Mob033-1::On1095 +033-1,73,49,10,18|monster|Wolvern|1090,2,100000ms,30000ms,Mob033-1::On1090 +033-1,33,38,15,49|monster|Reinboo|1094,3,100000ms,30000ms,Mob033-1::On1094 +033-1,56,87,50,42|monster|Squirrel|1038,15,100000ms,30000ms,Mob033-1::On1038 +033-1,0,0,0,0|monster|WhiteBell|1095,3,100000ms,30000ms,Mob033-1::On1095 -033-1.gat,0,0,0|script|Mob033-1|-1 +033-1,0,0,0|script|Mob033-1|-1 { end; diff --git a/world/map/npc/033-1/_warps.txt b/world/map/npc/033-1/_warps.txt index af27cf7a..00baf864 100644 --- a/world/map/npc/033-1/_warps.txt +++ b/world/map/npc/033-1/_warps.txt @@ -1,5 +1,5 @@ -// This file is generated automatically. All manually changes will be removed when running the Converter. +// This file is generated automatically. All manually added changes will be removed when running the Converter. // snow Path warps -033-1.gat,22,20|warp|To Snow Forest|-1,0,034-1.gat,159,19 -033-1.gat,119,70|warp|To Snow Field|-1,0,019-1.gat,22,69 +033-1,22,20|warp|To Snow Forest|-1,0,034-1,159,19 +033-1,119,70|warp|To Snow Field|-1,0,019-1,22,69 diff --git a/world/map/npc/033-1/backDoor.txt b/world/map/npc/033-1/backDoor.txt index 425e4db5..2740841b 100644 --- a/world/map/npc/033-1/backDoor.txt +++ b/world/map/npc/033-1/backDoor.txt @@ -1,10 +1,10 @@ -033-1.gat,86,28,0|script|#KimarrBackDoor|45,0,0 +033-1,86,28,0|script|#KimarrBackDoor|45,0,0 { if ($@Fluffy_Hunting == 0) goto L_Warp; end; L_Warp: - warp "033-1.gat", 77, 30; + warp "033-1", 77, 30; end; } diff --git a/world/map/npc/033-1/birrod.txt b/world/map/npc/033-1/birrod.txt index d24c6387..19586e51 100644 --- a/world/map/npc/033-1/birrod.txt +++ b/world/map/npc/033-1/birrod.txt @@ -1,4 +1,4 @@ -033-1.gat,72,27,0|script|Birrod|217 +033-1,72,27,0|script|Birrod|217 { set @state, ((QUEST_Barbarians & $@Q_Barbarians_MASK) >> $@Q_Barbarians_SHIFT); diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt index 776f22bd..f51eae66 100644 --- a/world/map/npc/033-1/kimarr.txt +++ b/world/map/npc/033-1/kimarr.txt @@ -32,7 +32,7 @@ // that's the only reason I didn't make that one a local variable like it really is -033-1.gat,74,32,0|script|Kimarr|218 +033-1,74,32,0|script|Kimarr|218 { set @halloween_npc_id, $@halloween_npc_kimarr; callfunc "TrickOrTreat"; @@ -166,7 +166,7 @@ L_Game: set $@Fluffy_Time, 180; set $@Fluffy_Min, 1 + (BaseLevel*7)/10; - warp "033-1.gat", 79, 34; + warp "033-1", 79, 34; initnpctimer; goto L_Close; @@ -190,13 +190,13 @@ L_Action: if (attachrid($@Fluffy_FighterID) == 0) goto L_GotOut; // Checking if player is still in the map or used a towel or spell to get out - if (getareausers("033-1.gat", 79, 28, 88, 42) == 0) + if (getareausers("033-1", 79, 28, 88, 42) == 0) goto L_GotOut; if (PC_DIE_COUNTER > $@Fluffy_PC_Deaths) goto L_Died; // Checking if there is more than 1 player in the fight area - if (getareausers("033-1.gat", 79, 28, 88, 42) > 1) - areatimer "033-1.gat", 79, 28, 88, 42, 10, "Kimarr::OnTooMany"; + if (getareausers("033-1", 79, 28, 88, 42) > 1) + areatimer "033-1", 79, 28, 88, 42, 10, "Kimarr::OnTooMany"; if ($@Fluffy_Time == 180) npctalk strcharinfo(0) + ", you have 3 minutes."; @@ -230,11 +230,11 @@ OnTooMany: if (getcharid(3) == $@Fluffy_FighterID) end; npctalk "Hey " + strcharinfo(0) + "! What are you doing there? This hunt is for " + $@Fluffy_Fighter$ + " alone!"; - warp "033-1.gat", 77, 34; + warp "033-1", 77, 34; end; L_Died: - warp "033-1.gat", 77, 34; + warp "033-1", 77, 34; message strcharinfo(0), "You are dead."; npctalk "Oh no! " + $@Fluffy_Fighter$ + " got overwhelmed!"; callsub S_Clean; @@ -245,10 +245,10 @@ L_TimeOver: goto L_MaybeRecordScore; L_CheckDrops: - set @Fluffy_RedApple, getareadropitem("033-1.gat", 79, 29, 88, 42, "RedApple", 1); - set @Fluffy_XmasCake, getareadropitem("033-1.gat", 79, 29, 88, 42, "XmasCake", 1); - set @Fluffy_Cake, getareadropitem("033-1.gat", 79, 29, 88, 42, "Cake", 1); - set @Fluffy_GreenApple, getareadropitem("033-1.gat", 79, 29, 88, 42, "GreenApple", 1); + set @Fluffy_RedApple, getareadropitem("033-1", 79, 29, 88, 42, "RedApple", 1); + set @Fluffy_XmasCake, getareadropitem("033-1", 79, 29, 88, 42, "XmasCake", 1); + set @Fluffy_Cake, getareadropitem("033-1", 79, 29, 88, 42, "Cake", 1); + set @Fluffy_GreenApple, getareadropitem("033-1", 79, 29, 88, 42, "GreenApple", 1); if (@Fluffy_RedApple || @Fluffy_XmasCake || @Fluffy_Cake || @Fluffy_GreenApple) goto L_BeginHunting; goto L_ContinueTimer; @@ -265,15 +265,15 @@ L_BeginHunting: goto L_SpawnFluffies; L_SpawnFluffies: - areamonster "033-1.gat", 79, 29, 88, 42, "", 1089, $@Fluffy_Spawn, "Kimarr::OnFluffyDeath"; + areamonster "033-1", 79, 29, 88, 42, "", 1089, $@Fluffy_Spawn, "Kimarr::OnFluffyDeath"; set $@Fluffy_Extra, 5 * @Fluffy_XmasCake + 3 * @Fluffy_Cake + 12 * ($@Fluffy_Alive + $@Fluffy_Spawn) + 7 * BaseLevel; if ((BaseLevel > 40) && (rand($@Fluffy_Extra) > 500)) // Ice Goblin - areamonster "033-1.gat", 79, 29, 88, 42, "", 1058, 1, "Kimarr::OnIceGoblinDeath"; + areamonster "033-1", 79, 29, 88, 42, "", 1058, 1, "Kimarr::OnIceGoblinDeath"; if ((BaseLevel > 60) && (rand($@Fluffy_Extra) > 550)) // Wolvern - areamonster "033-1.gat", 79, 29, 88, 42, "", 1090, 1, "Kimarr::OnWolvernDeath"; + areamonster "033-1", 79, 29, 88, 42, "", 1090, 1, "Kimarr::OnWolvernDeath"; if ((BaseLevel > 70) && (rand($@Fluffy_Extra) > 600)) // Yeti - areamonster "033-1.gat", 79, 29, 88, 42, "", 1072, 1, "Kimarr::OnYetiDeath"; + areamonster "033-1", 79, 29, 88, 42, "", 1072, 1, "Kimarr::OnYetiDeath"; set $@Fluffy_Extra, 0; set @Fluffy_RedApple, 0; @@ -321,13 +321,13 @@ OnFluffyDeath: L_Punish: if (@MobID == 1089) - areamonster "033-1.gat", 79, 29, 88, 42, "", 1089, 1, "Kimarr::OnFluffyDeath"; + areamonster "033-1", 79, 29, 88, 42, "", 1089, 1, "Kimarr::OnFluffyDeath"; if (@MobID == 1058) - areamonster "033-1.gat", 79, 29, 88, 42, "", 1058, 1, "Kimarr::OnIceGoblinDeath"; + areamonster "033-1", 79, 29, 88, 42, "", 1058, 1, "Kimarr::OnIceGoblinDeath"; if (@MobID == 1090) - areamonster "033-1.gat", 79, 29, 88, 42, "", 1090, 1, "Kimarr::OnWolvernDeath"; + areamonster "033-1", 79, 29, 88, 42, "", 1090, 1, "Kimarr::OnWolvernDeath"; if (@MobID == 1072) - areamonster "033-1.gat", 79, 29, 88, 42, "", 1072, 1, "Kimarr::OnYetiDeath"; + areamonster "033-1", 79, 29, 88, 42, "", 1072, 1, "Kimarr::OnYetiDeath"; npctalk strcharinfo(0) + "! This hunt is for " + $@Fluffy_Fighter$ + " alone!"; percentheal -100, 0; @@ -348,15 +348,15 @@ S_Clean: set $@Fluffy_Kills, 0; set $@Fluffy_Spawn, 0; set $@Fluffy_Alive, 0; - killmonster "033-1.gat", "Kimarr::OnIceGoblinDeath"; - killmonster "033-1.gat", "Kimarr::OnWolvernDeath"; - killmonster "033-1.gat", "Kimarr::OnYetiDeath"; - killmonster "033-1.gat", "Kimarr::OnFluffyDeath"; + killmonster "033-1", "Kimarr::OnIceGoblinDeath"; + killmonster "033-1", "Kimarr::OnWolvernDeath"; + killmonster "033-1", "Kimarr::OnYetiDeath"; + killmonster "033-1", "Kimarr::OnFluffyDeath"; set @state, 0; return; L_MaybeRecordScore: - warp "033-1.gat", 77, 34; + warp "033-1", 77, 34; if ($@Fluffy_Kills < $@Fluffy_Min) goto L_NotGoodEnough; set @rank, 0; diff --git a/world/map/npc/033-1/mapflags.txt b/world/map/npc/033-1/mapflags.txt index 5535662f..08a33311 100644 --- a/world/map/npc/033-1/mapflags.txt +++ b/world/map/npc/033-1/mapflags.txt @@ -1 +1 @@ -033-1.gat|mapflag|resave|033-1,67,33 +033-1|mapflag|resave|033-1,67,33 diff --git a/world/map/npc/033-1/traveler.txt b/world/map/npc/033-1/traveler.txt index c89a8985..681a4100 100644 --- a/world/map/npc/033-1/traveler.txt +++ b/world/map/npc/033-1/traveler.txt @@ -2,7 +2,7 @@ // Author: Wombat, wushin // cost depending on level and adapted to new scripting guidelines: Jenalya -033-1.gat,63,30,0|script|Khoenan the Traveler|103 +033-1,63,30,0|script|Khoenan the Traveler|103 { set @NpcName$, "Khoenan"; set @NpcTravelBit, $@barbarians_bit; diff --git a/world/map/npc/033-1/yerrnk.txt b/world/map/npc/033-1/yerrnk.txt index f69f3aac..f64fccc8 100644 --- a/world/map/npc/033-1/yerrnk.txt +++ b/world/map/npc/033-1/yerrnk.txt @@ -1,4 +1,4 @@ -033-1.gat,66,28,0|script|Yerrnk|216 +033-1,66,28,0|script|Yerrnk|216 { set @state, ((QUEST_Barbarians & $@Q_Barbarians_MASK) >> $@Q_Barbarians_SHIFT); |