diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-11 17:58:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-11 17:58:53 +0300 |
commit | 78b4149a11e77d7d5967a5eeb4776b6624026f15 (patch) | |
tree | b194f655fcb558e90d746f3c0195e1bd70e2abce | |
parent | 351c4bffa2cc40242347eda098c9a678e1e23e0d (diff) | |
download | serverdata-78b4149a11e77d7d5967a5eeb4776b6624026f15.tar.gz serverdata-78b4149a11e77d7d5967a5eeb4776b6624026f15.tar.bz2 serverdata-78b4149a11e77d7d5967a5eeb4776b6624026f15.tar.xz serverdata-78b4149a11e77d7d5967a5eeb4776b6624026f15.zip |
Rewrite fexil script in modern way.
-rw-r--r-- | npc/000-1/fexil.txt | 42 |
1 files changed, 14 insertions, 28 deletions
diff --git a/npc/000-1/fexil.txt b/npc/000-1/fexil.txt index 65ae2161c..e34f84708 100644 --- a/npc/000-1/fexil.txt +++ b/npc/000-1/fexil.txt @@ -15,42 +15,28 @@ mesq lg("Interested?"); next; - switch (select("Yes, why not.:I would rather sell some stuff.:No, Sorry.")) { case 1: shop "Bying Bag"; - goto L_Buy; - close2; - end; + closedialog; + shop "Bag#000-1"; + close; + case 2: - goto L_Sell; - end; + closedialog; + shop "Bag#000-1"; + close; + default: - goto L_No; + mes ""; + mesn; + mesq l("Oh... Well, I just started to trade... Thus my technique may not be the best."); + next; + mesq lg("Anyway, if you ever feel interested, just check my bag!"); + close; } -L_No: - mes ""; - mesn; - mesq l("Oh... Well, I just started to trade... Thus my technique may not be the best."); - next; - mesq lg("Anyway, if you ever feel interested, just check my bag!"); - - close; - -L_Buy: - closedialog; - shop "Bag#000-1"; - - close; - -L_Sell: - closedialog; - shop "Bag#000-1"; - - close; - OnInit: setnpcsex G_MALE; setnpcdistance 2; |