diff options
Diffstat (limited to 'world/map/npc/021-2')
-rw-r--r-- | world/map/npc/021-2/_import.txt | 6 | ||||
-rw-r--r-- | world/map/npc/021-2/_warps.txt | 12 | ||||
-rw-r--r-- | world/map/npc/021-2/bakery.txt | 21 | ||||
-rw-r--r-- | world/map/npc/021-2/bank.txt | 8 | ||||
-rw-r--r-- | world/map/npc/021-2/forge_shops.txt | 4 | ||||
-rw-r--r-- | world/map/npc/021-2/government_building.txt | 11 | ||||
-rw-r--r-- | world/map/npc/021-2/hotel_receptionist.txt | 12 | ||||
-rw-r--r-- | world/map/npc/021-2/inya.txt | 200 | ||||
-rw-r--r-- | world/map/npc/021-2/kylian.txt | 2 | ||||
-rw-r--r-- | world/map/npc/021-2/manakins.txt | 47 | ||||
-rw-r--r-- | world/map/npc/021-2/mapflags.txt | 1 | ||||
-rw-r--r-- | world/map/npc/021-2/rebecca.txt | 11 |
12 files changed, 90 insertions, 245 deletions
diff --git a/world/map/npc/021-2/_import.txt b/world/map/npc/021-2/_import.txt index 7b955fb5..96da140d 100644 --- a/world/map/npc/021-2/_import.txt +++ b/world/map/npc/021-2/_import.txt @@ -4,13 +4,13 @@ map: 021-2.gat npc: npc/021-2/_mobs.txt npc: npc/021-2/_warps.txt npc: npc/021-2/bakery.txt -npc: npc/021-2/bank.txt npc: npc/021-2/barber.txt +npc: npc/021-2/forge_shops.txt npc: npc/021-2/government_building.txt npc: npc/021-2/heathin.txt -npc: npc/021-2/hotel_receptionist.txt -npc: npc/021-2/inya.txt npc: npc/021-2/jhedia.txt npc: npc/021-2/kylian.txt +npc: npc/021-2/manakins.txt npc: npc/021-2/mapflags.txt +npc: npc/021-2/rebecca.txt npc: npc/021-2/yanis.txt diff --git a/world/map/npc/021-2/_warps.txt b/world/map/npc/021-2/_warps.txt index 4614f970..9eb18a2a 100644 --- a/world/map/npc/021-2/_warps.txt +++ b/world/map/npc/021-2/_warps.txt @@ -1,17 +1,23 @@ // This file is generated automatically. All manually changes will be removed when running the Converter. // North Tulimshar Indoor warps +021-2.gat,46,97|warp|To Lobby|0,-1,021-2.gat,44,55 +021-2.gat,46,155|warp|To Second Floor|0,-1,021-2.gat,92,62 +021-2.gat,92,64|warp|To Suites|0,-1,021-2.gat,46,158 +021-2.gat,44,53|warp|To Common Beds|0,-1,021-2.gat,46,96 +021-2.gat,46,179|warp|To Common Beds|0,-1,021-2.gat,46,91 +021-2.gat,46,90|warp|To Suites|0,-1,021-2.gat,46,178 +021-2.gat,71,179|warp|To Outside|0,-1,021-1.gat,128,121 +021-2.gat,90,179|warp|To Outside|-1,-1,021-1.gat,135,121 021-2.gat,27,30|warp|To Outside|-1,-1,021-1.gat,53,135 021-2.gat,39,30|warp|To Outside|-1,-1,021-1.gat,57,135 021-2.gat,91,28|warp|To Outside|-1,-1,021-1.gat,103,101 021-2.gat,122,24|warp|To Roof|-1,-1,021-1.gat,103,97 021-2.gat,118,24|warp|To First Floor|0,-1,021-2.gat,79,23 021-2.gat,80,22|warp|To Second Floor|0,-1,021-2.gat,117,23 -021-2.gat,23,99|warp|To Roof|-1,-1,021-1.gat,52,96 +021-2.gat,70,64|warp|To Roof|-1,-1,021-1.gat,52,96 021-2.gat,25,67|warp|To Outside|-1,-1,021-1.gat,53,100 021-2.gat,46,97|warp|To First Floor|0,-1,021-2.gat,46,58 -021-2.gat,46,57|warp|To Second Floor|0,-1,021-2.gat,46,96 -021-2.gat,70,58|warp|To Main Room|-1,-1,021-2.gat,42,54 021-2.gat,28,130|warp|To Outside|-1,-1,021-1.gat,43,111 021-2.gat,28,130|warp|To Outside|-1,-1,021-1.gat,43,111 021-2.gat,84,93|warp|To First Floor|-1,0,021-2.gat,80,125 diff --git a/world/map/npc/021-2/bakery.txt b/world/map/npc/021-2/bakery.txt index 6415b498..a063811e 100644 --- a/world/map/npc/021-2/bakery.txt +++ b/world/map/npc/021-2/bakery.txt @@ -3,9 +3,6 @@ // The chef 021-2.gat,95,21,0|script|Riskim|148, { - goto L_Begin; - -L_Begin: mes "[Riskim]"; mes ""; mes "\"Welcome to our bakery!\""; @@ -42,9 +39,9 @@ L_Begin: L_lace_chococake: next; menu - "Thanks! Let me have a look around...", L_end, + "Thanks! Let me have a look around...", L_End, "Can you put this potion into a Chocolate Cake?", L_Next, - "Goodbye!", L_end; + "Goodbye!", L_End; L_Next: mes "[Riskim]"; @@ -60,9 +57,9 @@ L_Next: mes "\"We'll need extra chocolate for that one. If you can give me ten pieces of chocolate and that potion, plus 400 GP, I will bake you a special Chocolate Cake that hides the taste.\""; next; menu - "I will get them for you.", L_end, + "I will get them for you.", L_End, "Here you are!", L_Continue, - "Maybe later.", L_end; + "Maybe later.", L_End; L_Continue: if (countitem("ChocolateBar") < 10) @@ -103,9 +100,9 @@ L_lacking_ingredients: L_lace_cupcake: next; menu - "Thanks! Let me have a look around...", L_end, + "Thanks! Let me have a look around...", L_End, "Can you put this potion into an Orange Cupcake?", L_More, - "Goodbye!", L_end; + "Goodbye!", L_End; L_More: mes "[Riskim]"; @@ -116,13 +113,13 @@ L_More: mes ""; mes "\"Perhaps the Chef at Dimond's Cove can help you? We get all our cupcakes from him.\""; next; - goto L_end; + goto L_End; -L_end: +L_End: close; } -// Server? +// Server 021-2.gat,82,23,0|script|Sara|108, { mes "[Sara]"; diff --git a/world/map/npc/021-2/bank.txt b/world/map/npc/021-2/bank.txt deleted file mode 100644 index a1fbd3c1..00000000 --- a/world/map/npc/021-2/bank.txt +++ /dev/null @@ -1,8 +0,0 @@ -// Another banker -021-2.gat,69,135,0|script|Hydusun|149, -{ - set @npcname$, "Hydusun"; - callfunc "Banker"; - close; -} - diff --git a/world/map/npc/021-2/forge_shops.txt b/world/map/npc/021-2/forge_shops.txt new file mode 100644 index 00000000..2ffa556b --- /dev/null +++ b/world/map/npc/021-2/forge_shops.txt @@ -0,0 +1,4 @@ +// Forge Shops + +021-2.gat,77,134,0|shop|Gungnir|311,SlingShot :-1,SlingBullet :-1,ShortBow :-1,Arrow :1,IronArrow :3 +021-2.gat,71,133,0|shop|Mjolnir|377,Knife :-1,SharpKnife :-1,Dagger :-1,LeatherShirt :-2,LeatherShield :-2 diff --git a/world/map/npc/021-2/government_building.txt b/world/map/npc/021-2/government_building.txt index e0a8796b..abf01ccb 100644 --- a/world/map/npc/021-2/government_building.txt +++ b/world/map/npc/021-2/government_building.txt @@ -6,9 +6,6 @@ mes "[Estard]"; mes "\"Hello what can I do for you?\""; next; - goto L_main; - -L_main: if (getpartnerid2()) goto L_main_married; @@ -61,9 +58,11 @@ L_get_rings: if (Zeny < WEDDING_FEE) menu "Thanks anyways. I don't have enough with me.", L_Close; - menu - "I'll buy a pair.", L_get_rings_pay, - "Thanks anyways.", L_Close; + if (Zeny >= WEDDING_FEE) + menu + "I'll buy a pair.", L_get_rings_pay, + "Thanks anyways.", L_Close; + goto L_get_rings_pay; L_get_rings_pay: callsub S_give_rings; diff --git a/world/map/npc/021-2/hotel_receptionist.txt b/world/map/npc/021-2/hotel_receptionist.txt deleted file mode 100644 index dac560c6..00000000 --- a/world/map/npc/021-2/hotel_receptionist.txt +++ /dev/null @@ -1,12 +0,0 @@ -// Tulimshar's main workshop - -// The receptionist -021-2.gat,22,63,0|script|Sonir|118, -{ - mes "[Sonir]"; - mes "\"Welcome to The Wizards's Rest!\""; - next; - mes "[Sonir]"; - mes "\"We have limited housing on the second floor.\""; - close; -} diff --git a/world/map/npc/021-2/inya.txt b/world/map/npc/021-2/inya.txt deleted file mode 100644 index c448681d..00000000 --- a/world/map/npc/021-2/inya.txt +++ /dev/null @@ -1,200 +0,0 @@ -//Gemstones: Diamond (white) , Ruby (red), Emerald (green), Sapphire (blue), Topaz (yellow), Amethyst (purple) -//The power of the gems is important to future balance of these rings. Are they related to stats, tiers of power, schools of magic? - -021-2.gat,80,134,0|script|Inya|106, -{ - mes "[Inya]"; - mes "\"I am Inya, a jeweler of fine rings. If you have a Simple Ring and a gem, I can make a nice ring for you for 1,000,000 gold pieces.\""; - next; - mes "\"Also, if you have a ring with gems on it, I can remove the gems and return the Simple Ring to you for 500,000 gold pieces.\""; - next; - mes "\"So, how can I help you?\""; - menu - "I have a wedding ring, will that do?", L_Inya_Wedding_Ring, - "I'd like to remove a gem (500000 GP).", L_Inya_Remove_RingGem, - "I'd like to add a gem (1000000 GP).", L_Inya_Add_RingGem, - "Not interested.", L_Inya_NotInterested; - -L_Inya_Wedding_Ring: - mes "[Inya]"; - mes "\"No, sorry. I do not alter wedding rings at this time.\""; - close; - -L_Inya_Remove_RingGem: - mes "[Inya]"; - mes "\"What kind of gem would you like to have removed?\""; - menu - "Diamond.", L_Inya_Remove_Diamond, - "Ruby.", L_Inya_Remove_Ruby, - "Emerald.", L_Inya_Remove_Emerald, - "Sapphire.", L_Inya_Remove_Sapphire, - "Topaz.", L_Inya_Remove_Topaz, - "Amethyst.", L_Inya_Remove_Amethyst, - "I've changed my mind.", L_Inya_NotInterested; - -L_Inya_Add_RingGem: - mes "[Inya]"; - mes "\"What kind of gem would you like to add?\""; - menu - "Diamond.", L_Inya_Add_Diamond, - "Ruby.", L_Inya_Add_Ruby, - "Emerald.", L_Inya_Add_Emerald, - "Sapphire.", L_Inya_Add_Sapphire, - "Topaz.", L_Inya_Add_Topaz, - "Amethyst.", L_Inya_Add_Amethyst, - "I've changed my mind.", L_Inya_NotInterested; - -L_Inya_Remove_Diamond: - if ( (Zeny < 500000) - | (countitem ("DiamondRing") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 500000; - delitem "DiamondRing", 1; - getitem "SimpleRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Remove_Ruby: - if ( (Zeny < 500000) - | (countitem ("RubyRing") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 500000; - delitem "RubyRing", 1; - getitem "SimpleRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Remove_Emerald: - if ( (Zeny < 500000) - | (countitem ("EmeraldRing") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 500000; - delitem "EmeraldRing", 1; - getitem "SimpleRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Remove_Sapphire: - if ( (Zeny < 500000) - | (countitem ("SapphireRing") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 500000; - delitem "SapphireRing", 1; - getitem "SimpleRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Remove_Topaz: - if ( (Zeny < 500000) - | (countitem ("TopazRing") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 500000; - delitem "TopazRing", 1; - getitem "SimpleRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Remove_Amethyst: - if ( (Zeny < 500000) - | (countitem ("AmethystRing") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 500000; - delitem "AmethystRing", 1; - getitem "SimpleRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Add_Diamond: - if ( (Zeny < 1000000) - | (countitem ("SimpleRing") < 1) - | (countitem ("Diamond") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 1000000; - delitem "SimpleRing", 1; - delitem "Diamond", 1; - getitem "DiamondRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Add_Ruby: - if ( (Zeny < 1000000) - | (countitem ("SimpleRing") < 1) - | (countitem ("Ruby") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 1000000; - delitem "SimpleRing", 1; - delitem "Ruby", 1; - getitem "RubyRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Add_Emerald: - if ( (Zeny < 1000000) - | (countitem ("SimpleRing") < 1) - | (countitem ("Emerald") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 1000000; - delitem "SimpleRing", 1; - delitem "Emerald", 1; - getitem "EmeraldRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Add_Sapphire: - if ( (Zeny < 1000000) - | (countitem ("SimpleRing") < 1) - | (countitem ("Sapphire") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 1000000; - delitem "SimpleRing", 1; - delitem "Sapphire", 1; - getitem "SapphireRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Add_Topaz: - if ( (Zeny < 1000000) - | (countitem ("SimpleRing") < 1) - | (countitem ("Topaz") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 1000000; - delitem "SimpleRing", 1; - delitem "Topaz", 1; - getitem "TopazRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_Add_Amethyst: - if ( (Zeny < 1000000) - | (countitem ("SimpleRing") < 1) - | (countitem ("Amethyst") < 1) ) - goto L_Inya_Not_Enough; - set Zeny, Zeny - 1000000; - delitem "SimpleRing", 1; - delitem "Amethyst", 1; - getitem "AmethystRing", 1; - mes "[Inya]"; - mes "\"Here you go.\""; - close; - -L_Inya_NotInterested: - mes "[Inya]"; - mes "\"Come back later and I will try to be of assistance.\""; - close; - -L_Inya_Not_Enough: - mes "[Inya]"; - mes "\"I am sorry, you simply do not seem to have the necessary items for me to help you. Please come back when you do, and I would be more than happy to help you out.\""; - close; -} diff --git a/world/map/npc/021-2/kylian.txt b/world/map/npc/021-2/kylian.txt index 15f0d36b..71dcb896 100644 --- a/world/map/npc/021-2/kylian.txt +++ b/world/map/npc/021-2/kylian.txt @@ -56,7 +56,7 @@ OnInit: end; } -021-2.gat,32,92,0|script|Kylian|193, +021-2.gat,89,55,0|script|Kylian|193, { set @state, ((QUEST_NorthTulimshar & $@businessmanNT_MASK) >> $@businessmanNT_SHIFT); diff --git a/world/map/npc/021-2/manakins.txt b/world/map/npc/021-2/manakins.txt new file mode 100644 index 00000000..a17603b7 --- /dev/null +++ b/world/map/npc/021-2/manakins.txt @@ -0,0 +1,47 @@ +// Display Manakins. + +// Forge +021-2.gat,76,131,0|script|Terranite Armor#Female|401, +{ + mes "Terranite Armor Complete Set, made to order, inquire with Heathin"; + close; +} + +021-2.gat,81,131,0|script|Terranite Armor#Male|402, +{ + mes "Terranite Armor Complete Set, made to order, inquire with Heathin"; + close; +} + +021-2.gat,81,136,0|script|Terranite|403, +{ + mes "Ahhh! A Terranite! Wait it appears to just be a display model."; + close; +} + +// Muesuem + +021-2.gat,71,161,0|script|Taplapian#Female|404, +{ + mes "A Female Talapian."; + close; +} + +021-2.gat,77,161,0|script|Taplapian#Male|405, +{ + mes "A Male Talapian."; + close; +} + +021-2.gat,83,161,0|script|Gispian#Female|406, +{ + mes "A Female Gispian."; + close; +} + +021-2.gat,89,161,0|script|Gispian#Male|407, +{ + mes "A Male Gispian."; + close; +} + diff --git a/world/map/npc/021-2/mapflags.txt b/world/map/npc/021-2/mapflags.txt index b51d6bad..d3dd0e16 100644 --- a/world/map/npc/021-2/mapflags.txt +++ b/world/map/npc/021-2/mapflags.txt @@ -1 +1,2 @@ 021-2.gat|mapflag|town +021-2.gat|mapflag|resave|001-1,57,71 diff --git a/world/map/npc/021-2/rebecca.txt b/world/map/npc/021-2/rebecca.txt new file mode 100644 index 00000000..90ad16e9 --- /dev/null +++ b/world/map/npc/021-2/rebecca.txt @@ -0,0 +1,11 @@ +// + +021-2.gat,26,54,0|script|Rebecca|118, +{ + set @npcname$, "Rebecca the Inn Keeper"; + set @cost, 100; + callfunc "Inn"; + set @npcname$, ""; + set @cost, 0; + close; +} |