summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2015-03-29 00:44:31 +0100
committerReid <reidyaro@gmail.com>2015-03-29 00:44:31 +0100
commit821baf466e1a4655c8c6f11a16dc130d5eed9da3 (patch)
treed5624144b9c6d39b016ad4e13fc8e69c34b776d2
parent1711b31db3ea20982953b2e34cac3a59b9238997 (diff)
downloadserverdata-821baf466e1a4655c8c6f11a16dc130d5eed9da3.tar.gz
serverdata-821baf466e1a4655c8c6f11a16dc130d5eed9da3.tar.bz2
serverdata-821baf466e1a4655c8c6f11a16dc130d5eed9da3.tar.xz
serverdata-821baf466e1a4655c8c6f11a16dc130d5eed9da3.zip
Update fexil and its shop.
-rw-r--r--npc/000-1/fexil.txt28
-rw-r--r--npc/000-1/shop.txt2
2 files changed, 24 insertions, 6 deletions
diff --git a/npc/000-1/fexil.txt b/npc/000-1/fexil.txt
index a3631b310..6ec14edc7 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 a88b421c0..5b9c839de 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);