From bad9e27fce3cb2d94e16401a70fef49f1d039fec Mon Sep 17 00:00:00 2001 From: Saulc Date: Fri, 27 Jul 2018 07:32:26 +0000 Subject: add laranja npc need unique look + correct location in 016-1 --- npc/016-1/laranja.txt | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 npc/016-1/laranja.txt diff --git a/npc/016-1/laranja.txt b/npc/016-1/laranja.txt new file mode 100644 index 000000000..aef38decb --- /dev/null +++ b/npc/016-1/laranja.txt @@ -0,0 +1,53 @@ +// TMW2 Script +// Author: +// Saulc +// Description: +// Laranja, orange in portuges is a orange dye seller in ship + +016-1,20,29,0 script Laranja NPC_PLAYER,{ + + mesn; + mesq l("I'm Laranja"); + next; + mesn; + mesq l("My father lead a dye fabric, i'm in charge to sell @@ around the world.", getitemlink(OrangeDye)); + next; + mesn; + mesq l("Would you like to buy some ?.") ; + mes ""; + menu + l("Yeah sure let's Trade."), -, + l("Sorry another day maybe."), L_Close; + + closedialog; + shop .name$; + close; + +L_Close: + closedialog; + goodbye; + close; + +OnInit: + .@npcId = getnpcid(0, .name$); + setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); + setunitdata(.@npcId, UDT_HEADMIDDLE, ShortTankTop); + setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); + setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins); // Boots + setunitdata(.@npcId, UDT_HAIRSTYLE, 10); + setunitdata(.@npcId, UDT_HAIRCOLOR, 9); + + .sex = G_FEMALE; + .distance = 4; + tradertype(NST_MARKET); + + sellitem OrangeDye, -1, 3; + + + end; + +OnClock2000: + restoreshopitem IronArrow, -1, 1; + + +} -- cgit v1.2.3-60-g2f50