From 821baf466e1a4655c8c6f11a16dc130d5eed9da3 Mon Sep 17 00:00:00 2001 From: Reid Date: Sun, 29 Mar 2015 00:44:31 +0100 Subject: Update fexil and its shop. --- npc/000-1/fexil.txt | 28 +++++++++++++++++++++++----- npc/000-1/shop.txt | 2 +- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/npc/000-1/fexil.txt b/npc/000-1/fexil.txt index a3631b31..6ec14edc 100644 --- a/npc/000-1/fexil.txt +++ b/npc/000-1/fexil.txt @@ -15,10 +15,22 @@ mesq lg("Interested?"); next; - menu - l("Yes, why not."), L_Accepted, - l("No, sorry."), -; + switch (select("Yes, why not.:I would rather sell some stuff.:No, Sorry.")) + { + case 1: + shop "Bying Bag"; + goto L_Buy; + close2; + end; + case 2: + goto L_Sell; + end; + default: + goto L_No; + } + +L_No: mes ""; mesn; mesq l("Oh... Well, I just started to trade... Thus my technique may not be the best."); @@ -27,10 +39,16 @@ close; -L_Accepted: - shop "Bag"; +L_Buy: + closedialog; + shop "Bag#000-1"; + close; + +L_Sell: closedialog; + shop "Bag#000-1"; + close; OnInit: diff --git a/npc/000-1/shop.txt b/npc/000-1/shop.txt index a88b421c..5b9c839d 100644 --- a/npc/000-1/shop.txt +++ b/npc/000-1/shop.txt @@ -5,7 +5,7 @@ // Description: // Fexil's shop bag. -000-1,84,98,0 trader Bag 109,{ +000-1,84,98,0 trader Bag#000-1 109,{ OnInit: tradertype(NST_MARKET); -- cgit v1.2.3-70-g09d2