From 382d64ed75d5a0ade306f47fe539b962e76c9470 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 12 Dec 2008 04:35:16 +0000 Subject: Add 004-2 and name the snown town Nivalis --- npc/004-1_Beach/_warps.txt | 2 + npc/004-2_Beach_House/_import.txt | 3 + npc/004-2_Beach_House/_mobs.txt | 7 + npc/004-2_Beach_House/_warps.txt | 10 ++ npc/020-1/_import.txt | 8 - npc/020-1/_mobs.txt | 7 - npc/020-1/_warps.txt | 9 -- npc/020-1/amrak.txt | 17 -- npc/020-1/monsters.txt | 14 -- npc/020-1/sexchanger.txt | 29 ---- npc/020-1/soul-menhir.txt | 8 - npc/020-1/startrek.txt | 20 --- npc/020-1_Nivalis/_import.txt | 8 + npc/020-1_Nivalis/_mobs.txt | 7 + npc/020-1_Nivalis/_warps.txt | 9 ++ npc/020-1_Nivalis/amrak.txt | 17 ++ npc/020-1_Nivalis/monsters.txt | 14 ++ npc/020-1_Nivalis/sexchanger.txt | 29 ++++ npc/020-1_Nivalis/soul-menhir.txt | 8 + npc/020-1_Nivalis/startrek.txt | 20 +++ npc/020-2/_import.txt | 5 - npc/020-2/_mobs.txt | 7 - npc/020-2/_warps.txt | 7 - npc/020-2/furquest.txt | 329 -------------------------------------- npc/020-2/shops.txt | 21 --- npc/020-2_Nivalis/_import.txt | 5 + npc/020-2_Nivalis/_mobs.txt | 7 + npc/020-2_Nivalis/_warps.txt | 7 + npc/020-2_Nivalis/furquest.txt | 329 ++++++++++++++++++++++++++++++++++++++ npc/020-2_Nivalis/shops.txt | 21 +++ npc/021-1_Tulimshar/_warps.txt | 3 - npc/_import.txt | 8 +- 32 files changed, 509 insertions(+), 486 deletions(-) create mode 100644 npc/004-2_Beach_House/_import.txt create mode 100644 npc/004-2_Beach_House/_mobs.txt create mode 100644 npc/004-2_Beach_House/_warps.txt delete mode 100644 npc/020-1/_import.txt delete mode 100644 npc/020-1/_mobs.txt delete mode 100644 npc/020-1/_warps.txt delete mode 100644 npc/020-1/amrak.txt delete mode 100644 npc/020-1/monsters.txt delete mode 100644 npc/020-1/sexchanger.txt delete mode 100644 npc/020-1/soul-menhir.txt delete mode 100644 npc/020-1/startrek.txt create mode 100644 npc/020-1_Nivalis/_import.txt create mode 100644 npc/020-1_Nivalis/_mobs.txt create mode 100644 npc/020-1_Nivalis/_warps.txt create mode 100644 npc/020-1_Nivalis/amrak.txt create mode 100644 npc/020-1_Nivalis/monsters.txt create mode 100644 npc/020-1_Nivalis/sexchanger.txt create mode 100644 npc/020-1_Nivalis/soul-menhir.txt create mode 100644 npc/020-1_Nivalis/startrek.txt delete mode 100644 npc/020-2/_import.txt delete mode 100644 npc/020-2/_mobs.txt delete mode 100644 npc/020-2/_warps.txt delete mode 100644 npc/020-2/furquest.txt delete mode 100644 npc/020-2/shops.txt create mode 100644 npc/020-2_Nivalis/_import.txt create mode 100644 npc/020-2_Nivalis/_mobs.txt create mode 100644 npc/020-2_Nivalis/_warps.txt create mode 100644 npc/020-2_Nivalis/furquest.txt create mode 100644 npc/020-2_Nivalis/shops.txt (limited to 'npc') diff --git a/npc/004-1_Beach/_warps.txt b/npc/004-1_Beach/_warps.txt index b6ccc7d0..97af769d 100644 --- a/npc/004-1_Beach/_warps.txt +++ b/npc/004-1_Beach/_warps.txt @@ -2,3 +2,5 @@ 004-1.gat,84,113 warp ToSandstorm 1,-1,002-1.gat,29,15 004-1.gat,37,111 warp ToBeach 1,-1,003-1.gat,141,21 +004-1.gat,80,31 warp ToHouse -1,-1,004-2.gat,21,28 +004-1.gat,86,27 warp To2ndFloor -1,-1,004-2.gat,57,65 diff --git a/npc/004-2_Beach_House/_import.txt b/npc/004-2_Beach_House/_import.txt new file mode 100644 index 00000000..32725dc8 --- /dev/null +++ b/npc/004-2_Beach_House/_import.txt @@ -0,0 +1,3 @@ +map: 004-2.gat +npc: npc/004-2_Beach_House/_mobs.txt +npc: npc/004-2_Beach_House/_warps.txt diff --git a/npc/004-2_Beach_House/_mobs.txt b/npc/004-2_Beach_House/_mobs.txt new file mode 100644 index 00000000..fada1e0d --- /dev/null +++ b/npc/004-2_Beach_House/_mobs.txt @@ -0,0 +1,7 @@ +// 004-2 Beach House mobs + + + +004-2.gat,0,0,0 script Mob004-2 -1,{ + end; +} diff --git a/npc/004-2_Beach_House/_warps.txt b/npc/004-2_Beach_House/_warps.txt new file mode 100644 index 00000000..8a1e4047 --- /dev/null +++ b/npc/004-2_Beach_House/_warps.txt @@ -0,0 +1,10 @@ +// 004-2 Beach House warps + +004-2.gat,39,20 warp ToRoom 0,-1,004-2.gat,75,29 +004-2.gat,75,30 warp ToRoom 0,-1,004-2.gat,38,21 +004-2.gat,21,29 warp ToOutside -1,-1,004-1.gat,80,32 +004-2.gat,62,28 warp ToBasement -1,-1,004-2.gat,21,62 +004-2.gat,20,62 warp To1stFloor -1,-1,004-2.gat,63,28 +004-2.gat,68,66 warp To1stFloor 0,-1,004-2.gat,35,21 +004-2.gat,36,20 warp To2ndFloor 0,-1,004-2.gat,68,65 +004-2.gat,57,66 warp ToOutside -1,-1,004-1.gat,86,28 diff --git a/npc/020-1/_import.txt b/npc/020-1/_import.txt deleted file mode 100644 index 2565ac9d..00000000 --- a/npc/020-1/_import.txt +++ /dev/null @@ -1,8 +0,0 @@ -map: 020-1.gat -npc: npc/020-1/_mobs.txt -npc: npc/020-1/_warps.txt -npc: npc/020-1/amrak.txt -npc: npc/020-1/monsters.txt -npc: npc/020-1/sexchanger.txt -npc: npc/020-1/soul-menhir.txt -npc: npc/020-1/startrek.txt diff --git a/npc/020-1/_mobs.txt b/npc/020-1/_mobs.txt deleted file mode 100644 index fa94c232..00000000 --- a/npc/020-1/_mobs.txt +++ /dev/null @@ -1,7 +0,0 @@ -// 020-1 mobs - - - -020-1.gat,0,0,0 script Mob020-1 -1,{ - end; -} diff --git a/npc/020-1/_warps.txt b/npc/020-1/_warps.txt deleted file mode 100644 index 36e0449a..00000000 --- a/npc/020-1/_warps.txt +++ /dev/null @@ -1,9 +0,0 @@ -// 020-1 warps - -020-1.gat,76,38 warp ToIceCave 1,-1,020-3.gat,31,28 -020-1.gat,47,48 warp ToClothesShop -1,-1,020-2.gat,25,33 -020-1.gat,66,52 warp ToHouse -1,-1,020-2.gat,72,68 -020-1.gat,70,127 warp toSnowField 2,-1,019-1.gat,70,22 -020-1.gat,64,82 warp toInn -1,-1,020-2.gat,111,31 -020-1.gat,86,46 warp toWeaponShop -1,-1,020-2.gat,32,72 -020-1.gat,56,90 warp ToPotionsShop -1,-1,020-2.gat,66,25 diff --git a/npc/020-1/amrak.txt b/npc/020-1/amrak.txt deleted file mode 100644 index 19979ca0..00000000 --- a/npc/020-1/amrak.txt +++ /dev/null @@ -1,17 +0,0 @@ -// - -020-1.gat,66,90,0 script Amrak 103, { - mes "[Amrak]"; - mes "\"This... stone..."; - mes "I have never seen a mineral like this"; - mes "before."; - mes "And some strange... aura... seems to"; - mes "emit from it.\""; - next; - mes "[Amrak]"; - mes "\"Where did it come from?"; - mes "How did it got here?"; - mes "What's its purpose?"; - mes "I will solve its riddle for sure.\""; - close; -} diff --git a/npc/020-1/monsters.txt b/npc/020-1/monsters.txt deleted file mode 100644 index fc33da8c..00000000 --- a/npc/020-1/monsters.txt +++ /dev/null @@ -1,14 +0,0 @@ -// Map: 020-1 -// This is Snow Town. -// - -020-1.gat,56,63,1,1 monster Maggot 1002,2,0,0,Mob11::OnMaggot - -020-1.gat,0,0,0 script Mob11 -1,{ -OnMaggot: - set @mobID, 1002; - callfunc "MobPoints"; - break; - - end; -} diff --git a/npc/020-1/sexchanger.txt b/npc/020-1/sexchanger.txt deleted file mode 100644 index 168f47a3..00000000 --- a/npc/020-1/sexchanger.txt +++ /dev/null @@ -1,29 +0,0 @@ -// - -020-1.gat,50,49,0 script Xanith 136,{ - mes "[Xanith the Surgeon]"; - mes "\"No sex changes right now, sorry.\""; - close; - - mes "[Xanith the Surgeon]"; - mes "\"Are you tired of being what you are?\""; - next; - - mes "[Xanith the Surgeon]"; - mes "\"Would you maybe be interested in a sex change?\""; - next; - - mes "[Server]"; - mes "\"Warning: All the character in your account will get the sex changed.\""; - mes "\"Also you probably will require to restart the client to notice a change.\""; - next; - - menu - "Please do, my dear...", L_Change, - "Leave alone my family treasure!", -; - close; - -L_Change: -// changesex; - close; -} diff --git a/npc/020-1/soul-menhir.txt b/npc/020-1/soul-menhir.txt deleted file mode 100644 index 3d0bc82a..00000000 --- a/npc/020-1/soul-menhir.txt +++ /dev/null @@ -1,8 +0,0 @@ -// - -020-1.gat,64,89,0 script Soul Menhir 144, { - set @map$, "020-1.gat"; - set @x, 64; - set @y, 90; - callfunc "SoulMenhir"; -} diff --git a/npc/020-1/startrek.txt b/npc/020-1/startrek.txt deleted file mode 100644 index 5c8847ad..00000000 --- a/npc/020-1/startrek.txt +++ /dev/null @@ -1,20 +0,0 @@ -// - -020-1.gat,79,77,0 script Kirk 133,{ - mes "[Capt. Kirk]"; - mes "\"Spock: We're breaking the prime directive."; - mes "This is not the right way to have the first contact.\""; - close; -} - -020-1.gat,81,77,0 script Spock 134,{ - mes "[Spock]"; - mes "\"Live long and prosper captain.\""; - next; - - mes "[Spock]"; - mes "\"trr...Spock to Scotty..."; - mes "Beam me to the elves village..."; - mes "I will hide there.\""; - close; -} diff --git a/npc/020-1_Nivalis/_import.txt b/npc/020-1_Nivalis/_import.txt new file mode 100644 index 00000000..440060d8 --- /dev/null +++ b/npc/020-1_Nivalis/_import.txt @@ -0,0 +1,8 @@ +map: 020-1.gat +npc: npc/020-1_Nivalis/_mobs.txt +npc: npc/020-1_Nivalis/_warps.txt +npc: npc/020-1_Nivalis/amrak.txt +npc: npc/020-1_Nivalis/monsters.txt +npc: npc/020-1_Nivalis/sexchanger.txt +npc: npc/020-1_Nivalis/soul-menhir.txt +npc: npc/020-1_Nivalis/startrek.txt diff --git a/npc/020-1_Nivalis/_mobs.txt b/npc/020-1_Nivalis/_mobs.txt new file mode 100644 index 00000000..64a7e46c --- /dev/null +++ b/npc/020-1_Nivalis/_mobs.txt @@ -0,0 +1,7 @@ +// 020-1 Nivalis mobs + + + +020-1.gat,0,0,0 script Mob020-1 -1,{ + end; +} diff --git a/npc/020-1_Nivalis/_warps.txt b/npc/020-1_Nivalis/_warps.txt new file mode 100644 index 00000000..c9578dfc --- /dev/null +++ b/npc/020-1_Nivalis/_warps.txt @@ -0,0 +1,9 @@ +// 020-1 Nivalis warps + +020-1.gat,76,38 warp ToIceCave 1,-1,020-3.gat,31,28 +020-1.gat,47,48 warp ToClothesShop -1,-1,020-2.gat,25,33 +020-1.gat,66,52 warp ToHouse -1,-1,020-2.gat,72,68 +020-1.gat,70,127 warp toSnowField 2,-1,019-1.gat,70,22 +020-1.gat,64,82 warp toInn -1,-1,020-2.gat,111,31 +020-1.gat,86,46 warp toWeaponShop -1,-1,020-2.gat,32,72 +020-1.gat,56,90 warp ToPotionsShop -1,-1,020-2.gat,66,25 diff --git a/npc/020-1_Nivalis/amrak.txt b/npc/020-1_Nivalis/amrak.txt new file mode 100644 index 00000000..19979ca0 --- /dev/null +++ b/npc/020-1_Nivalis/amrak.txt @@ -0,0 +1,17 @@ +// + +020-1.gat,66,90,0 script Amrak 103, { + mes "[Amrak]"; + mes "\"This... stone..."; + mes "I have never seen a mineral like this"; + mes "before."; + mes "And some strange... aura... seems to"; + mes "emit from it.\""; + next; + mes "[Amrak]"; + mes "\"Where did it come from?"; + mes "How did it got here?"; + mes "What's its purpose?"; + mes "I will solve its riddle for sure.\""; + close; +} diff --git a/npc/020-1_Nivalis/monsters.txt b/npc/020-1_Nivalis/monsters.txt new file mode 100644 index 00000000..fc33da8c --- /dev/null +++ b/npc/020-1_Nivalis/monsters.txt @@ -0,0 +1,14 @@ +// Map: 020-1 +// This is Snow Town. +// + +020-1.gat,56,63,1,1 monster Maggot 1002,2,0,0,Mob11::OnMaggot + +020-1.gat,0,0,0 script Mob11 -1,{ +OnMaggot: + set @mobID, 1002; + callfunc "MobPoints"; + break; + + end; +} diff --git a/npc/020-1_Nivalis/sexchanger.txt b/npc/020-1_Nivalis/sexchanger.txt new file mode 100644 index 00000000..168f47a3 --- /dev/null +++ b/npc/020-1_Nivalis/sexchanger.txt @@ -0,0 +1,29 @@ +// + +020-1.gat,50,49,0 script Xanith 136,{ + mes "[Xanith the Surgeon]"; + mes "\"No sex changes right now, sorry.\""; + close; + + mes "[Xanith the Surgeon]"; + mes "\"Are you tired of being what you are?\""; + next; + + mes "[Xanith the Surgeon]"; + mes "\"Would you maybe be interested in a sex change?\""; + next; + + mes "[Server]"; + mes "\"Warning: All the character in your account will get the sex changed.\""; + mes "\"Also you probably will require to restart the client to notice a change.\""; + next; + + menu + "Please do, my dear...", L_Change, + "Leave alone my family treasure!", -; + close; + +L_Change: +// changesex; + close; +} diff --git a/npc/020-1_Nivalis/soul-menhir.txt b/npc/020-1_Nivalis/soul-menhir.txt new file mode 100644 index 00000000..3d0bc82a --- /dev/null +++ b/npc/020-1_Nivalis/soul-menhir.txt @@ -0,0 +1,8 @@ +// + +020-1.gat,64,89,0 script Soul Menhir 144, { + set @map$, "020-1.gat"; + set @x, 64; + set @y, 90; + callfunc "SoulMenhir"; +} diff --git a/npc/020-1_Nivalis/startrek.txt b/npc/020-1_Nivalis/startrek.txt new file mode 100644 index 00000000..5c8847ad --- /dev/null +++ b/npc/020-1_Nivalis/startrek.txt @@ -0,0 +1,20 @@ +// + +020-1.gat,79,77,0 script Kirk 133,{ + mes "[Capt. Kirk]"; + mes "\"Spock: We're breaking the prime directive."; + mes "This is not the right way to have the first contact.\""; + close; +} + +020-1.gat,81,77,0 script Spock 134,{ + mes "[Spock]"; + mes "\"Live long and prosper captain.\""; + next; + + mes "[Spock]"; + mes "\"trr...Spock to Scotty..."; + mes "Beam me to the elves village..."; + mes "I will hide there.\""; + close; +} diff --git a/npc/020-2/_import.txt b/npc/020-2/_import.txt deleted file mode 100644 index f71241f7..00000000 --- a/npc/020-2/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -map: 020-2.gat -npc: npc/020-2/_mobs.txt -npc: npc/020-2/_warps.txt -npc: npc/020-2/furquest.txt -npc: npc/020-2/shops.txt diff --git a/npc/020-2/_mobs.txt b/npc/020-2/_mobs.txt deleted file mode 100644 index 4289bb7e..00000000 --- a/npc/020-2/_mobs.txt +++ /dev/null @@ -1,7 +0,0 @@ -// 020-2 mobs - - - -020-2.gat,0,0,0 script Mob020-2 -1,{ - end; -} diff --git a/npc/020-2/_warps.txt b/npc/020-2/_warps.txt deleted file mode 100644 index 2306316d..00000000 --- a/npc/020-2/_warps.txt +++ /dev/null @@ -1,7 +0,0 @@ -// 020-2 warps - -020-2.gat,25,35 warp ToOutside -1,-1,020-1.gat,47,50 -020-2.gat,64,25 warp ToOutside -1,-1,020-1.gat,55,90 -020-2.gat,111,32 warp ToOutside -1,-1,020-1.gat,64,83 -020-2.gat,32,73 warp ToOutside -1,-1,020-1.gat,84,48 -020-2.gat,72,70 warp ToOutside -1,-1,020-1.gat,66,54 diff --git a/npc/020-2/furquest.txt b/npc/020-2/furquest.txt deleted file mode 100644 index 4d67f8c4..00000000 --- a/npc/020-2/furquest.txt +++ /dev/null @@ -1,329 +0,0 @@ -//################################################################################# -// Script by Shaili and QOAL -//################################################################################# - -// Santa's Inn - Agostine, The Legendary Tailor -020-2.gat,102,28,0 script Agostine 137, { - if (QUEST_WG_state == 1) goto L_State_0_3; - if (QUEST_WG_state == 2) goto L_State_1; - if (QUEST_WG_state == 3) goto L_State_2; - if (QUEST_WG_state == 4) goto L_State_4; - if (QUEST_WG_state == 5) goto L_State_4_success; - if (QUEST_WG_state == 6) goto L_State_6; - if (QUEST_WG_state == 7) goto L_State_11; - if (QUEST_WG_state == 8) goto L_State_12; - if (QUEST_WG_state >= 9) goto L_State_13; - - mes "\"This goes up, this goes left...\""; - next; - mes "\"Mmmm...?\""; - next; - mes "[Agostine, The Legendary Tailor]"; - mes "\"Oh, a customer! Let me introduce myself! My name is Agostine!"; - mes "Some people say that I am the best tailor in the world,"; - mes "but I think I am the best one in the universe!"; - mes "So, What can I do for you, my friend?\""; - next; - menu - "I want something new for my wardrobe!", L_State_0_1, - "Oh, nothing, thanks!", -; - close; - -// Quest #0 - Beginning - Needed: Iron Potion - -L_State_0_1: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Well.. you know... working so hard makes me so tired!"; - mes "Can you bring me something tasty to drink, my friend?\""; - next; - menu - "Sure, what kind of drink you like?", L_State_0_2, - "I'm not your waiter!", -; - close; - -L_State_0_2: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Here we do not have a bar. Let me taste different beverages."; - mes "I want something new to drink.\""; - next; - menu - "I'll bring you different drinks to try!", L_State_Accept, - "Maybe a bar will open soon, wait for it.", -; - close; - -L_State_Accept: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Thanks so much.\""; - set QUEST_WG_state, 1; - close; - -L_State_0_3: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Well, what have you brought me?\""; - next; - menu - "A Cactus Drink.", L_State_0_4, - "A Cactus Potion.", L_State_0_5, - "Some milk.", L_State_0_6, - "A pint of beer.", L_State_0_7, - "A Iron potion.", L_State_0_9, - "A Concentration Potion.", L_State_0_8, - "Nothing, at the moment.", -; - close; - -L_State_0_4: - mes "[Agostine, The Legendary Tailor]"; - mes "\"So, a Cactus Drink?\""; - if (countitem(501) < 1) goto L_State_neg; - next; - delitem 501, 1; - goto L_State_bad; - close; - -L_State_0_5: - mes "[Agostine, The Legendary Tailor]"; - mes "\"So, a Cactus Potion?\""; - if (countitem(502) < 1) goto L_State_neg; - next; - delitem 502, 1; - goto L_State_bad; - close; - -L_State_0_6: - mes "[Agostine, The Legendary Tailor]"; - mes "\"So, some milk for me?\""; - if (countitem(527) < 1) goto L_State_neg; - delitem 527, 1; - goto L_State_bad; - close; - -L_State_0_7: - mes "[Agostine, The Legendary Tailor]"; - mes "\"So, a beer?\""; - if (countitem(539) < 1) goto L_State_neg; - next; - delitem 539, 1; - goto L_State_bad; - close; - -L_State_0_8: - mes "[Agostine, The Legendary Tailor]"; - mes "\"So, a Concentration Potion?\""; - if (countitem(568) < 1) goto L_State_neg; - next; - delitem 568, 1; - goto L_State_bad; - close; - -L_State_0_9: - mes "[Agostine, The Legendary Tailor]"; - mes "\"So, an Iron Potion?\""; - if (countitem(567) < 1) goto L_State_neg; - next; - delitem 567, 1; - mes "Agostine looks pleased as he drinks the potion."; - next; - mes "[Agostine, The Legendary Tailor]"; - mes "\"Oh! This is damn good! I feel a new man, my friend!\""; - next; - set zeny, zeny+500; - mes "[Agostine, The Legendary Tailor]"; - mes "\"This is a little reward for your help. Take 500 GP, my friend!\""; - set QUEST_WG_state, 2; - close; - -L_State_neg: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Seems that you lied. You don't have the drink you told me.\""; - close; - -L_State_bad: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Well, I don't like it so much. Bring me something else.\""; - close; - -// First Quest: edited version of Forest Bow Quest - Needed: about 30 White Furs and 15.000 GP - -L_State_1: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Mmmm... Let me see... This year light colours are fashionable!"; - mes "Would you like a pair of snow-white Winter Gloves?\""; - next; - menu - "No, thanks. I love dark clothes...", -, - "You really can do this for me?", L_State_2; - close; - -L_State_2: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Well, Winter Gloves are so fashionable for their lovable fur!"; - mes "Only the best furs can be saw for these gloves!"; - mes "But, as you see, I am a tailor, not a hunter! So, why don't you bring me the best fluffy's fur you can see?\""; - set QUEST_WG_state, 3; - next; - menu - "You are crazy! I won't kill any animal for this!", -, - "Sure, I will be back soon!", L_State_3; - close; - -L_State_3: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Remember, I want the best of fur!\""; - set QUEST_WG_state, 4; - next; - close; - -L_State_4: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Oh, my friend! Have you brought me some good furs?\""; - if (countitem(611) < 1) close; - next; - menu - "Here, take a look!", L_State_4_try, - "Yes, but I need it for something else.", -; - close; - -L_State_4_try: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Let me see, my friend! It needs to be perfect for my gloves!\""; - mes "Agostine examines the patch of fur."; - next; - delitem 611, 1; - set @Temp1,rand(30); - if (@Temp1 == 0) goto L_State_4_success; - mes "Agostine throws away the white fur."; - next; - mes "[Agostine, The Legendary Tailor]"; - mes "\"It was awfully cut! You should pay more attention when you kill fluffies!\""; - if (countitem(611) < 1) close; - next; - menu - "Here I have another one!", L_State_4_try, - "Sorry, I will be careful...", -; - close; - -L_State_4_success: - mes "Agostine turns into a smile"; - next; - mes "[Agostine, The Legendary Tailor]"; - mes "\"It's perfect! Perfect! Good job, my friend! I will prepare your gloves right now!\""; - next; - set QUEST_WG_state, 5; - goto L_State_5; - -L_State_5: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Ehm, my friend, my work is not free. I need 15,000 GP for the work.\""; - next; - menu - "You are not a tailor, you are a thief!!", -, - "I think it's a reasonable price...", L_State_5_pay; - close; - -L_State_5_pay: - if (zeny < 15000) goto L_State_5_nocash; - set zeny, zeny-15000; - getitem 563, 1; - set QUEST_WG_state, 6; - mes "[Agostine, The Legendary Tailor]"; - mes "\"Here they are. You will have the more fashionable hands in the world!\""; - close; - -L_State_5_nocash: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Seems like you are out of cash. Come back when you have the money.\""; - close; - -L_State_6: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Oh, I remember you! Your gloves are sooo fashionable, my friend!"; - mes "Well, I have a good news for you. In this issue of 'TMW Fashion'"; - mes "I saw a pretty accessory, a pair of Furry Boots, my friend."; - mes "I can make your own pair, if you want!\""; - next; - menu - "It's a great idea!", L_State_10, - "I'm glamourous enough, thanks", -; - close; - -// Start of Second Quest: Furry Boots - Needed: About 30 White Furs, 1 pair of Boots and 15.000 GP -L_State_10: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Perfect! For satisfying your request I need another perfect White Fur"; - mes "and a pair of Boots, like those you can find in the mines."; - mes "They will make you lovely, my friend!\""; - set QUEST_WG_state, 7; - close; - -L_State_11: - mes "[Agostine, The Legendary Tailor]"; - mes "\"So, my friend, have you brought me the right Fur?\""; - if (countitem(611) < 1) close; - next; - menu - "Sure, I'm a fluffy hunter!", L_State_11_try, - "Not yet, sorry.", -; - close; - -L_State_11_try: - mes "[Agostine, The Legendary Tailor]"; - mes "\"I'd rather see the patch of fur, first.\""; - next; - mes "Agostine examines the patch of fur."; - next; - delitem 611, 1; - set @Temp2,rand(30); - if (@Temp2 == 0) goto L_State_11_success; - mes "Agostine rips the white fur."; - next; - mes "[Agostine, The Legendary Tailor]"; - mes "\"That fur was terrible. I won't work with it!\""; - if (countitem(611) < 1) close; - next; - menu - "Well, maybe this is better!", L_State_11_try, - "I will hunt other fluffies...", -; - close; - -L_State_11_success: - mes "Agostine turns into a smile"; - next; - mes "[Agostine, The Legendary Tailor]"; - mes "\"This one is good enough, my friend. Good job.\""; - delitem 611, 1; - set QUEST_WG_state, 8; - goto L_State_12; - -L_State_12: - mes "[Agostine, The Legendary Tailor]"; - mes "\"I need also a pair of Boots for the work."; - mes "And my payment, obviously. 15,000 GP is right.\""; - next; - menu - "Sure, here it is all.", L_State_12_pay, - "I missed something, I will be back soon!", -; - close; - -L_State_12_pay: - if (zeny < 15000) goto L_State_12_missing; - if (countitem(528) < 1) goto L_State_12_missing; - set zeny, zeny-15000; - delitem 528, 1; - getitem 655, 1; - set QUEST_WG_state, 9; - mes "[Agostine, The Legendary Tailor]"; - mes "\"Enjoy your new boots, my friend!\""; - close; - -L_State_12_missing: - mes "[Agostine, The Legendary Tailor]"; - mes "\"Seems you have forgotten something. Check your inventory"; - mes "and your pockets!\""; - close; - -L_State_13: - mes "[Agostine, The Legendary Tailor]"; - mes "\"You are so glamourous, my dear friend!"; - mes "I have done a very good job on your clothes!\""; - close; -} diff --git a/npc/020-2/shops.txt b/npc/020-2/shops.txt deleted file mode 100644 index f3d9dedc..00000000 --- a/npc/020-2/shops.txt +++ /dev/null @@ -1,21 +0,0 @@ -// Snow town shops - -// Clothes shop -020-2.gat,27,26,0 shop Taylor 137,523:2000,524:1600,543:800,544:5000,546:10000,586:1000,610,2000 -// Weapons shop -020-2.gat,25,65,0 shop Bracco 135,1201:50,521:1000,522:100,545:20000,529:5 -// Potions shop -020-2.gat,75,26,0 shop Mede 103,501:50,502:70,567:500,568:500 - -// INN -020-2.gat,111,23,0 script Kane 120,{ - set @npcName$, "Kane the Inn Keeper"; - set @cost, 100; - - mes "[" + @npcName$ + "]"; - mes "\"Welcome strangers."; - mes "What? You've already seen an INN like mine?"; - mes "That's impossible!\""; - next; - callfunc "Inn"; -} diff --git a/npc/020-2_Nivalis/_import.txt b/npc/020-2_Nivalis/_import.txt new file mode 100644 index 00000000..159d1e61 --- /dev/null +++ b/npc/020-2_Nivalis/_import.txt @@ -0,0 +1,5 @@ +map: 020-2.gat +npc: npc/020-2_Nivalis/_mobs.txt +npc: npc/020-2_Nivalis/_warps.txt +npc: npc/020-2_Nivalis/furquest.txt +npc: npc/020-2_Nivalis/shops.txt diff --git a/npc/020-2_Nivalis/_mobs.txt b/npc/020-2_Nivalis/_mobs.txt new file mode 100644 index 00000000..1b1c6e2b --- /dev/null +++ b/npc/020-2_Nivalis/_mobs.txt @@ -0,0 +1,7 @@ +// 020-2 Nivalis mobs + + + +020-2.gat,0,0,0 script Mob020-2 -1,{ + end; +} diff --git a/npc/020-2_Nivalis/_warps.txt b/npc/020-2_Nivalis/_warps.txt new file mode 100644 index 00000000..47f71d27 --- /dev/null +++ b/npc/020-2_Nivalis/_warps.txt @@ -0,0 +1,7 @@ +// 020-2 Nivalis warps + +020-2.gat,25,35 warp ToOutside -1,-1,020-1.gat,47,50 +020-2.gat,64,25 warp ToOutside -1,-1,020-1.gat,55,90 +020-2.gat,111,32 warp ToOutside -1,-1,020-1.gat,64,83 +020-2.gat,32,73 warp ToOutside -1,-1,020-1.gat,84,48 +020-2.gat,72,70 warp ToOutside -1,-1,020-1.gat,66,54 diff --git a/npc/020-2_Nivalis/furquest.txt b/npc/020-2_Nivalis/furquest.txt new file mode 100644 index 00000000..4d67f8c4 --- /dev/null +++ b/npc/020-2_Nivalis/furquest.txt @@ -0,0 +1,329 @@ +//################################################################################# +// Script by Shaili and QOAL +//################################################################################# + +// Santa's Inn - Agostine, The Legendary Tailor +020-2.gat,102,28,0 script Agostine 137, { + if (QUEST_WG_state == 1) goto L_State_0_3; + if (QUEST_WG_state == 2) goto L_State_1; + if (QUEST_WG_state == 3) goto L_State_2; + if (QUEST_WG_state == 4) goto L_State_4; + if (QUEST_WG_state == 5) goto L_State_4_success; + if (QUEST_WG_state == 6) goto L_State_6; + if (QUEST_WG_state == 7) goto L_State_11; + if (QUEST_WG_state == 8) goto L_State_12; + if (QUEST_WG_state >= 9) goto L_State_13; + + mes "\"This goes up, this goes left...\""; + next; + mes "\"Mmmm...?\""; + next; + mes "[Agostine, The Legendary Tailor]"; + mes "\"Oh, a customer! Let me introduce myself! My name is Agostine!"; + mes "Some people say that I am the best tailor in the world,"; + mes "but I think I am the best one in the universe!"; + mes "So, What can I do for you, my friend?\""; + next; + menu + "I want something new for my wardrobe!", L_State_0_1, + "Oh, nothing, thanks!", -; + close; + +// Quest #0 - Beginning - Needed: Iron Potion + +L_State_0_1: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Well.. you know... working so hard makes me so tired!"; + mes "Can you bring me something tasty to drink, my friend?\""; + next; + menu + "Sure, what kind of drink you like?", L_State_0_2, + "I'm not your waiter!", -; + close; + +L_State_0_2: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Here we do not have a bar. Let me taste different beverages."; + mes "I want something new to drink.\""; + next; + menu + "I'll bring you different drinks to try!", L_State_Accept, + "Maybe a bar will open soon, wait for it.", -; + close; + +L_State_Accept: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Thanks so much.\""; + set QUEST_WG_state, 1; + close; + +L_State_0_3: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Well, what have you brought me?\""; + next; + menu + "A Cactus Drink.", L_State_0_4, + "A Cactus Potion.", L_State_0_5, + "Some milk.", L_State_0_6, + "A pint of beer.", L_State_0_7, + "A Iron potion.", L_State_0_9, + "A Concentration Potion.", L_State_0_8, + "Nothing, at the moment.", -; + close; + +L_State_0_4: + mes "[Agostine, The Legendary Tailor]"; + mes "\"So, a Cactus Drink?\""; + if (countitem(501) < 1) goto L_State_neg; + next; + delitem 501, 1; + goto L_State_bad; + close; + +L_State_0_5: + mes "[Agostine, The Legendary Tailor]"; + mes "\"So, a Cactus Potion?\""; + if (countitem(502) < 1) goto L_State_neg; + next; + delitem 502, 1; + goto L_State_bad; + close; + +L_State_0_6: + mes "[Agostine, The Legendary Tailor]"; + mes "\"So, some milk for me?\""; + if (countitem(527) < 1) goto L_State_neg; + delitem 527, 1; + goto L_State_bad; + close; + +L_State_0_7: + mes "[Agostine, The Legendary Tailor]"; + mes "\"So, a beer?\""; + if (countitem(539) < 1) goto L_State_neg; + next; + delitem 539, 1; + goto L_State_bad; + close; + +L_State_0_8: + mes "[Agostine, The Legendary Tailor]"; + mes "\"So, a Concentration Potion?\""; + if (countitem(568) < 1) goto L_State_neg; + next; + delitem 568, 1; + goto L_State_bad; + close; + +L_State_0_9: + mes "[Agostine, The Legendary Tailor]"; + mes "\"So, an Iron Potion?\""; + if (countitem(567) < 1) goto L_State_neg; + next; + delitem 567, 1; + mes "Agostine looks pleased as he drinks the potion."; + next; + mes "[Agostine, The Legendary Tailor]"; + mes "\"Oh! This is damn good! I feel a new man, my friend!\""; + next; + set zeny, zeny+500; + mes "[Agostine, The Legendary Tailor]"; + mes "\"This is a little reward for your help. Take 500 GP, my friend!\""; + set QUEST_WG_state, 2; + close; + +L_State_neg: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Seems that you lied. You don't have the drink you told me.\""; + close; + +L_State_bad: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Well, I don't like it so much. Bring me something else.\""; + close; + +// First Quest: edited version of Forest Bow Quest - Needed: about 30 White Furs and 15.000 GP + +L_State_1: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Mmmm... Let me see... This year light colours are fashionable!"; + mes "Would you like a pair of snow-white Winter Gloves?\""; + next; + menu + "No, thanks. I love dark clothes...", -, + "You really can do this for me?", L_State_2; + close; + +L_State_2: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Well, Winter Gloves are so fashionable for their lovable fur!"; + mes "Only the best furs can be saw for these gloves!"; + mes "But, as you see, I am a tailor, not a hunter! So, why don't you bring me the best fluffy's fur you can see?\""; + set QUEST_WG_state, 3; + next; + menu + "You are crazy! I won't kill any animal for this!", -, + "Sure, I will be back soon!", L_State_3; + close; + +L_State_3: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Remember, I want the best of fur!\""; + set QUEST_WG_state, 4; + next; + close; + +L_State_4: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Oh, my friend! Have you brought me some good furs?\""; + if (countitem(611) < 1) close; + next; + menu + "Here, take a look!", L_State_4_try, + "Yes, but I need it for something else.", -; + close; + +L_State_4_try: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Let me see, my friend! It needs to be perfect for my gloves!\""; + mes "Agostine examines the patch of fur."; + next; + delitem 611, 1; + set @Temp1,rand(30); + if (@Temp1 == 0) goto L_State_4_success; + mes "Agostine throws away the white fur."; + next; + mes "[Agostine, The Legendary Tailor]"; + mes "\"It was awfully cut! You should pay more attention when you kill fluffies!\""; + if (countitem(611) < 1) close; + next; + menu + "Here I have another one!", L_State_4_try, + "Sorry, I will be careful...", -; + close; + +L_State_4_success: + mes "Agostine turns into a smile"; + next; + mes "[Agostine, The Legendary Tailor]"; + mes "\"It's perfect! Perfect! Good job, my friend! I will prepare your gloves right now!\""; + next; + set QUEST_WG_state, 5; + goto L_State_5; + +L_State_5: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Ehm, my friend, my work is not free. I need 15,000 GP for the work.\""; + next; + menu + "You are not a tailor, you are a thief!!", -, + "I think it's a reasonable price...", L_State_5_pay; + close; + +L_State_5_pay: + if (zeny < 15000) goto L_State_5_nocash; + set zeny, zeny-15000; + getitem 563, 1; + set QUEST_WG_state, 6; + mes "[Agostine, The Legendary Tailor]"; + mes "\"Here they are. You will have the more fashionable hands in the world!\""; + close; + +L_State_5_nocash: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Seems like you are out of cash. Come back when you have the money.\""; + close; + +L_State_6: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Oh, I remember you! Your gloves are sooo fashionable, my friend!"; + mes "Well, I have a good news for you. In this issue of 'TMW Fashion'"; + mes "I saw a pretty accessory, a pair of Furry Boots, my friend."; + mes "I can make your own pair, if you want!\""; + next; + menu + "It's a great idea!", L_State_10, + "I'm glamourous enough, thanks", -; + close; + +// Start of Second Quest: Furry Boots - Needed: About 30 White Furs, 1 pair of Boots and 15.000 GP +L_State_10: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Perfect! For satisfying your request I need another perfect White Fur"; + mes "and a pair of Boots, like those you can find in the mines."; + mes "They will make you lovely, my friend!\""; + set QUEST_WG_state, 7; + close; + +L_State_11: + mes "[Agostine, The Legendary Tailor]"; + mes "\"So, my friend, have you brought me the right Fur?\""; + if (countitem(611) < 1) close; + next; + menu + "Sure, I'm a fluffy hunter!", L_State_11_try, + "Not yet, sorry.", -; + close; + +L_State_11_try: + mes "[Agostine, The Legendary Tailor]"; + mes "\"I'd rather see the patch of fur, first.\""; + next; + mes "Agostine examines the patch of fur."; + next; + delitem 611, 1; + set @Temp2,rand(30); + if (@Temp2 == 0) goto L_State_11_success; + mes "Agostine rips the white fur."; + next; + mes "[Agostine, The Legendary Tailor]"; + mes "\"That fur was terrible. I won't work with it!\""; + if (countitem(611) < 1) close; + next; + menu + "Well, maybe this is better!", L_State_11_try, + "I will hunt other fluffies...", -; + close; + +L_State_11_success: + mes "Agostine turns into a smile"; + next; + mes "[Agostine, The Legendary Tailor]"; + mes "\"This one is good enough, my friend. Good job.\""; + delitem 611, 1; + set QUEST_WG_state, 8; + goto L_State_12; + +L_State_12: + mes "[Agostine, The Legendary Tailor]"; + mes "\"I need also a pair of Boots for the work."; + mes "And my payment, obviously. 15,000 GP is right.\""; + next; + menu + "Sure, here it is all.", L_State_12_pay, + "I missed something, I will be back soon!", -; + close; + +L_State_12_pay: + if (zeny < 15000) goto L_State_12_missing; + if (countitem(528) < 1) goto L_State_12_missing; + set zeny, zeny-15000; + delitem 528, 1; + getitem 655, 1; + set QUEST_WG_state, 9; + mes "[Agostine, The Legendary Tailor]"; + mes "\"Enjoy your new boots, my friend!\""; + close; + +L_State_12_missing: + mes "[Agostine, The Legendary Tailor]"; + mes "\"Seems you have forgotten something. Check your inventory"; + mes "and your pockets!\""; + close; + +L_State_13: + mes "[Agostine, The Legendary Tailor]"; + mes "\"You are so glamourous, my dear friend!"; + mes "I have done a very good job on your clothes!\""; + close; +} diff --git a/npc/020-2_Nivalis/shops.txt b/npc/020-2_Nivalis/shops.txt new file mode 100644 index 00000000..f3d9dedc --- /dev/null +++ b/npc/020-2_Nivalis/shops.txt @@ -0,0 +1,21 @@ +// Snow town shops + +// Clothes shop +020-2.gat,27,26,0 shop Taylor 137,523:2000,524:1600,543:800,544:5000,546:10000,586:1000,610,2000 +// Weapons shop +020-2.gat,25,65,0 shop Bracco 135,1201:50,521:1000,522:100,545:20000,529:5 +// Potions shop +020-2.gat,75,26,0 shop Mede 103,501:50,502:70,567:500,568:500 + +// INN +020-2.gat,111,23,0 script Kane 120,{ + set @npcName$, "Kane the Inn Keeper"; + set @cost, 100; + + mes "[" + @npcName$ + "]"; + mes "\"Welcome strangers."; + mes "What? You've already seen an INN like mine?"; + mes "That's impossible!\""; + next; + callfunc "Inn"; +} diff --git a/npc/021-1_Tulimshar/_warps.txt b/npc/021-1_Tulimshar/_warps.txt index 3c771539..7e907749 100644 --- a/npc/021-1_Tulimshar/_warps.txt +++ b/npc/021-1_Tulimshar/_warps.txt @@ -1,5 +1,2 @@ // 021-1 Tulimshar warps -021-1.gat,44,88 warp ToSandstorm 3,-1,002-1.gat,58,17 -021-1.gat,32,71 warp ToInn -1,-1,001-2.gat,25,34 -021-1.gat,75,41 warp ToHouse -1,-1,001-2.gat,71,72 diff --git a/npc/_import.txt b/npc/_import.txt index df218035..74464305 100644 --- a/npc/_import.txt +++ b/npc/_import.txt @@ -6,6 +6,7 @@ import: npc/002-3_Desert_mines/_import.txt import: npc/002-4_Desert_mines/_import.txt import: npc/003-1_Beach/_import.txt import: npc/004-1_Beach/_import.txt +import: npc/004-2_Beach_House/_import.txt import: npc/005-1_Snake_desert/_import.txt import: npc/005-3_Snake_pit/_import.txt import: npc/006-1_Desert_mountains/_import.txt @@ -34,7 +35,10 @@ import: npc/018-1_Woodland_mining_camp/_import.txt import: npc/018-2_Woodland_minning_camp/_import.txt import: npc/018-3_Cave/_import.txt import: npc/019-1_Snow_field/_import.txt -import: npc/020-1/_import.txt -import: npc/020-2/_import.txt +import: npc/020-1_Nivalis/_import.txt +import: npc/020-2_Nivalis/_import.txt import: npc/020-3_Ice_cave/_import.txt import: npc/020-4_Ice_cave/_import.txt +import: npc/021-1_Tulimshar/_import.txt +import: npc/021-2_Tulimshar/_import.txt +import: npc/022-1_Beach_Cliffs/_import.txt -- cgit v1.2.3-60-g2f50