diff options
author | Reid <reidyaro@gmail.com> | 2016-01-18 00:00:00 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-01-18 00:00:00 +0100 |
commit | 7b42d5eb62d7ac6c2d69234e85f545291ea1941b (patch) | |
tree | e192a07b65202b827d573e267a8fa9c668e876b1 /npc | |
parent | cba8ae50f08c1470455be020e8fe4cec51d9009f (diff) | |
download | serverdata-7b42d5eb62d7ac6c2d69234e85f545291ea1941b.tar.gz serverdata-7b42d5eb62d7ac6c2d69234e85f545291ea1941b.tar.bz2 serverdata-7b42d5eb62d7ac6c2d69234e85f545291ea1941b.tar.xz serverdata-7b42d5eb62d7ac6c2d69234e85f545291ea1941b.zip |
Launch Salem's shop through his script.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-1/salem.txt | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/npc/001-1/salem.txt b/npc/001-1/salem.txt index 3b709825..9bc5907b 100644 --- a/npc/001-1/salem.txt +++ b/npc/001-1/salem.txt @@ -111,10 +111,11 @@ L_SalemMenuShop: menuint l("What about those pious? They look so cute."), 0, - rif(.@q != 0, l("I'd like to buy a piou.")), 1, - l("I'd like to see your other products."), 2, - rif(.@fexil == 1, l("I'm looking for somebody named Fexil.")), 3, - l("Bye."), 4; + l("Let's trade."), 1, + rif(.@q != 0, l("I'd like to buy a piou.")), 2, + l("I'd like to see your other products."), 3, + rif(.@fexil == 1, l("I'm looking for somebody named Fexil.")), 4, + l("Bye."), 5; mes ""; mesn; @@ -125,6 +126,10 @@ L_SalemMenuShop: goto L_AboutPious; break; case 1: + closedialog; + shop "Store#General001-1"; + close; + case 2: if (.@q == 2 && ArtisQuests_PiouDiscount) { mesq l("You still have a 90% discount on one piou."); @@ -134,14 +139,14 @@ L_SalemMenuShop: if (!BuyPiou(@ArtisQuests_PiouPrice)) ArtisQuests_PiouDiscount = 0; break; - case 2: + case 3: goto L_BuyShop; break; - case 3: + case 4: mesq l("I think that I've seen this weakling wandering around the beach on the south from here this morning."); next; break; - case 4: + case 5: break; } closedialog; |