From 71400ed6fa9ab7f734eab79b518797e3a80dd1df Mon Sep 17 00:00:00 2001 From: jesusalva Date: Thu, 22 Feb 2018 02:25:50 -0300 Subject: Itka sells cake and explains closed inn, and Nina explains ALL CITIES. (And sells rares) --- npc/003-1/itka.txt | 16 +++-- npc/003-1/ninathetraveler.txt | 134 +++++++++++++++++++++++++++++++++++++++++- npc/004-1/bgmaster.txt | 2 +- 3 files changed, 144 insertions(+), 8 deletions(-) diff --git a/npc/003-1/itka.txt b/npc/003-1/itka.txt index 9de69948b..c18662f3a 100644 --- a/npc/003-1/itka.txt +++ b/npc/003-1/itka.txt @@ -1,10 +1,15 @@ // Author: -// Saulc +// Jesusalva -003-1,63,141,0 script Itka NPC_FEMALE,{ +003-1,63,141,0 script Itka NPC_F_SHOPKEEPER,{ - -hello; + mesn; + mesq lg("Hello, madam!", "Hello, sir!"); + next; + mesq l("The inn north of me still haven't opened, which is a shame. I guess their cassino got too expensive."); + next; + mesq l("Anyway, I am selling Cherry Cakes to sponsor my studies. Right click on me to make bussiness!"); + close; OnInit: .@npcId = getnpcid(0, .name$); @@ -15,6 +20,9 @@ OnInit: setunitdata(.@npcId, UDT_HAIRSTYLE, 17); setunitdata(.@npcId, UDT_HAIRCOLOR, 19); + // NOTE: To limit selling items must change trader type to NST_MARKET + sellitem CherryCake, 200; // Unlimited cakes for 200 GP each + .sex = G_FEMALE; .distance = 5; end; diff --git a/npc/003-1/ninathetraveler.txt b/npc/003-1/ninathetraveler.txt index 2a8eef28b..0bef497fe 100644 --- a/npc/003-1/ninathetraveler.txt +++ b/npc/003-1/ninathetraveler.txt @@ -1,9 +1,126 @@ // Author: -// Saulc +// Jesusalva -003-1,56,143,0 script Nina The Traveler NPC_FEMALE,{ +003-1,56,143,0 script Nina The Traveler NPC_F_SHOPKEEPER,{ - goodbye; + mesn; + mesq l("Hello. I am @@, and I am from a family of travellers. We travel though the whole world, looking for exotic goods.", .name$); + next; + mesq l("You can right click on me to trade, or I can tell you about different cities in our world."); + +L_Menu: + mes ""; + menu + l("I want to trade with you."), L_Trade, + l("Tell me about Tulimshar."), L_Tulim, + l("Tell me about Hurnscald."), L_Hurns, + l("Tell me about Nivalis."), L_Nival, + l("Tell me about Esperia."), L_Esper, + l("Tell me about Artis."), L_Artis, + l("Tell me about Frostia."), L_Frost, + l("Tell me about Halinarzo."), L_Halin, + l("Sorry, I'll pass."), L_Close; + +L_Tulim: + mes ""; + mesn; + mesq l("Tulimshar is the oldest human city, and its foundation is the year zero of our calendar."); + next; + mesq l("The city only flourished because Janett Platinum had the idea to build city walls surrounding this city."); + next; + mesq l("The desert climate means you'll find mostly maggots and scorpions. Their drops include cactus drinks, cake, knifes, black pearls, gold, and other common things."); + next; + mesq l("You can find for a good price desert equipment and some kind of dyes. You find all sort of crafters, artisans and warriors here."); + next; + goto L_Menu; + +L_Hurns: + mes ""; + mesn; + mesq l("Hurnscald was founded after Tulimshar, in more fertile lands. Their walls are not so sturdy as the ones of Tulimshar."); + next; + mesq l("Under the leadership of King Wusher, they were the first to accept immigrants from other races. You will find humans and non-humans there."); + next; + mesq l("The fertile climate is ideal for mushrooms. You can also find lots of wood."); + next; + mesq l("Their economy provide many edible items and potions."); + next; + goto L_Menu; + +L_Nival: + mes ""; + mesn; + mesq l("Nivalis was the last human settlement built during the First Era."); + next; + mesq l("It's cold, harsh climate makes difficult to live there. It was founded by people thrown away from Tulimshar and Hunrscald for political reasons."); + next; + mesq l("The cold climate is ideal for slimes, penguins, and other icy creatures. You can find lots of... ice, of course!"); + next; + mesq l("Some items are only produced in Nivalis. After all, it is hard to work properly with ice in a desert!"); + next; + goto L_Menu; + + +L_Esper: + mes ""; + mesn; + mesq l("Esperia is the human capital founded at the other continent."); + next; + mesq l("After the Great Famine which happened after the Red Queen death, it was founded by people who sailed away in look of new opportunities."); + next; + mesq l("It offers better living conditions than Tulimshar, and is bigger and more prosperous. Few monsters live there."); + next; + mesq l("However, taxes there are the highest. Living cost is high, and you should avoid buying things there."); + next; + goto L_Menu; + +L_Artis: + mes ""; + mesn; + mesq l("Artis is a city port founded after the Great Famine on the other continent."); + next; + mesq l("People say it is the second biggest city from the world."); + next; + mesq l("Different kind of monsters live near the city. For example, blubs. I have no idea of what are those."); + next; + mesq l("People usually dock there when travelling to the second continent. Nothing exceptional about economy."); + next; + goto L_Menu; + + +L_Frost: + mes ""; + mesn; + mesq l("Frostia is the only city known that was not founded by humans."); + next; + mesq l("They are strict with who is allowed inside, so you'll need either elf or ukar friends to pass."); + next; + mesq l("It is on a huge, icy mountain peak. Rumors about dragons and legendary items to be found."); + next; + mesq l("Some of finest elven craftmanship can be found there, like bows, for example."); + next; + goto L_Menu; + +L_Halin: + mes ""; + mesn; + mesq l("Halinarzo was founded to explore Mana Stones."); + next; + mesq l("You can find both huge swamps, as huge desertic areas near and on it."); + next; + mesq l("Lizards are the main monster found, and they steal gold from innocent bypassers."); + next; + mesq l("Without any mana stone left, and because the walls were not very strong, most of the city was destroyed."); + next; + mesq l("Unlike many other cities, if you want people in eternal need of items, there is a good place to look."); + next; + goto L_Menu; + + +L_Trade: + openshop; +L_Close: + close; OnInit: .@npcId = getnpcid(0, .name$); @@ -14,8 +131,19 @@ OnInit: setunitdata(.@npcId, UDT_HAIRSTYLE, 27); setunitdata(.@npcId, UDT_HAIRCOLOR, 11); + // Exotic Goods + tradertype(NST_MARKET); + sellitem CherryCake, 300, 5; + sellitem ChocolateMouboo, 5000, 2; + sellitem Barrel, 50000, 1; + .sex = G_FEMALE; .distance = 5; end; + +OnClock0000: + restoreshopitem CherryCake, 3; + restoreshopitem ChocolateMouboo, 2; + end; } diff --git a/npc/004-1/bgmaster.txt b/npc/004-1/bgmaster.txt index 2905da509..dfe117803 100644 --- a/npc/004-1/bgmaster.txt +++ b/npc/004-1/bgmaster.txt @@ -151,7 +151,7 @@ L_Cancel: OnVictor1: if (!$@BGMaster1) goto L_Skip; stopnpctimer(); - announce "Team 1 raises victorious at the Fallen Kings Duel!", bc_all; + announce "Team 1 raises victorious at the Fallen Kings Duel!", bc_all; // TODO: Give players Bronze, Silver and Gold Medals. killmonsterall "testbg"; mapwarp "testbg", "004-2", 29, 23; -- cgit v1.2.3-70-g09d2