summaryrefslogtreecommitdiff
path: root/npc/012-5
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-5')
-rw-r--r--npc/012-5/nicholas.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt
index b1c3cde7c..7a4d96529 100644
--- a/npc/012-5/nicholas.txt
+++ b/npc/012-5/nicholas.txt
@@ -18,21 +18,32 @@
012-5,36,26,0 script Nicholas NPC_CHELIOS,{
mesn;
- mesq l("Hello there, I am @@, blacksmith of this fine city. What do you want to forge today?");
+ mesq l("Hello there, I am @@, blacksmith of this fine city. What do you want to forge today?", .name$);
mes "";
select
+ l("I just want to trade."),
l("Nothing, thanks!");
+
+ switch (@menu) {
+ case 1:
+ openshop;
+ closedialog;
+ close;
+ break;
+ }
close;
OnInit:
tradertype(NST_MARKET);
sellitem Dagger, 4000, 5;
+ sellitem WoodenSword, 10000, 1;
.sex = G_MALE;
.distance = 5;
end;
OnClock0009:
+ restoreshopitem WoodenSword, 10000, 1;
OnClock0603:
OnClock1207:
OnClock1801: