summaryrefslogtreecommitdiff
path: root/npc/003-1/inar.txt
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-03-01 02:49:31 -0300
committerjesusalva <cpntb1@ymail.com>2018-03-01 02:49:31 -0300
commit10f7592d8ab60951788669ad0c51a2418a8bfff2 (patch)
treeeffe802de6da2640a017827db381a487a7e1816a /npc/003-1/inar.txt
parent5d323a79c321f7a7ad6daeff5193684e5a3d27f9 (diff)
downloadserverdata-10f7592d8ab60951788669ad0c51a2418a8bfff2.tar.gz
serverdata-10f7592d8ab60951788669ad0c51a2418a8bfff2.tar.bz2
serverdata-10f7592d8ab60951788669ad0c51a2418a8bfff2.tar.xz
serverdata-10f7592d8ab60951788669ad0c51a2418a8bfff2.zip
Fix Inar
Diffstat (limited to 'npc/003-1/inar.txt')
-rw-r--r--npc/003-1/inar.txt17
1 files changed, 15 insertions, 2 deletions
diff --git a/npc/003-1/inar.txt b/npc/003-1/inar.txt
index 73e19c7c0..c40b31dcc 100644
--- a/npc/003-1/inar.txt
+++ b/npc/003-1/inar.txt
@@ -3,11 +3,24 @@
003-1,109,109,0 script Inar NPC_PLAYER,{
+ mesn;
+ mesq l("Only finest wares!");
+ mes "";
+ menu
+ l("Trade"), -,
+ l("Leave"), L_Close;
-hello;
+ closedialog;
+ shop "Shop#bazar1";
+ close;
+
+L_Close:
+ closedialog;
+ goodbye;
+ close;
OnInit:
- .@npcId = getnpcid(0, "Inar");
+ .@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADTOP, 2936);
setunitdata(.@npcId, UDT_HEADMIDDLE, 1316);
setunitdata(.@npcId, UDT_HEADBOTTOM, 2213);