summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);