diff options
author | Saulc <lucashelaine14@gmail.com> | 2018-07-27 07:32:26 +0000 |
---|---|---|
committer | Saulc <lucashelaine14@gmail.com> | 2018-07-27 07:32:26 +0000 |
commit | bad9e27fce3cb2d94e16401a70fef49f1d039fec (patch) | |
tree | 2328a429bea79932003bcdffd53f4351fb4f89f4 /npc/016-1 | |
parent | e0c0cc6c7473d0a93c89b7296e6f8529ca7005ed (diff) | |
download | serverdata-bad9e27fce3cb2d94e16401a70fef49f1d039fec.tar.gz serverdata-bad9e27fce3cb2d94e16401a70fef49f1d039fec.tar.bz2 serverdata-bad9e27fce3cb2d94e16401a70fef49f1d039fec.tar.xz serverdata-bad9e27fce3cb2d94e16401a70fef49f1d039fec.zip |
add laranja npc need unique look + correct location in 016-1
Diffstat (limited to 'npc/016-1')
-rw-r--r-- | npc/016-1/laranja.txt | 53 |
1 files changed, 53 insertions, 0 deletions
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; + + +} |