summaryrefslogtreecommitdiff
path: root/npc/re/merchants/alchemist.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-07 01:23:46 +0100
committerHaru <haru@dotalux.com>2016-02-07 01:23:46 +0100
commit1fd628e7be9e6de4ea48394be09ae10e912d8f3d (patch)
tree4e5b42a444f83976c33f22540d3aa46a8ceb7001 /npc/re/merchants/alchemist.txt
parente68aa1f74d315f7bf24d7c8829002d0031b23539 (diff)
parent0462bc828e59ce99a48303a2f6190d3a01ce9465 (diff)
downloadhercules-1fd628e7be9e6de4ea48394be09ae10e912d8f3d.tar.gz
hercules-1fd628e7be9e6de4ea48394be09ae10e912d8f3d.tar.bz2
hercules-1fd628e7be9e6de4ea48394be09ae10e912d8f3d.tar.xz
hercules-1fd628e7be9e6de4ea48394be09ae10e912d8f3d.zip
Merge pull request #1110 from dastgir/22-ScriptClean-Phase2
Script CleanUp Phase 2
Diffstat (limited to 'npc/re/merchants/alchemist.txt')
-rw-r--r--npc/re/merchants/alchemist.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/merchants/alchemist.txt b/npc/re/merchants/alchemist.txt
index fe67e6eb2..73344a75c 100644
--- a/npc/re/merchants/alchemist.txt
+++ b/npc/re/merchants/alchemist.txt
@@ -56,7 +56,7 @@ alde_alche,31,186,3 script Craft Book Merchant#alde 4_M_ALCHE_D,{
mes "[Craft Book Merchant]";
mes "Would you like to take a look at my craft books?";
next;
- if(select("Sure.:No.") == 2) {
+ if(select("Sure.", "No.") == 2) {
mes "[Craft Book Merchant]";
mes "Thank you for visiting my shop.";
mes "Please be safe on your travels.";
@@ -76,7 +76,7 @@ alde_alche,31,186,3 script Craft Book Merchant#alde 4_M_ALCHE_D,{
mes "[Craft Book Merchant]";
mes "Okay then, here's the list of available craft books.";
next;
- switch(select("[Apple Bomb Craft Book] 100,000 zeny:[Pineapple Bomb Craft Book] 100,000 zeny:[Coconut Bomb Craft Book] 100,000 zeny:[Melon Bomb Craft Book] 100,000 zeny:[Banana Bomb Craft Book] 100,000 zeny:[Plant Gene Cultivation Method] 100,000 zeny:[Superior Potion Craft Manual] 100,000 zeny:[Mix Cooking Book] 100,000 zeny:[Health Improvement Research Book] 100,000 zeny:[Vigor Drink Recipe] 100,000 zeny:Close")){
+ switch(select("[Apple Bomb Craft Book] 100,000 zeny", "[Pineapple Bomb Craft Book] 100,000 zeny", "[Coconut Bomb Craft Book] 100,000 zeny", "[Melon Bomb Craft Book] 100,000 zeny", "[Banana Bomb Craft Book] 100,000 zeny", "[Plant Gene Cultivation Method] 100,000 zeny", "[Superior Potion Craft Manual] 100,000 zeny", "[Mix Cooking Book] 100,000 zeny", "[Health Improvement Research Book] 100,000 zeny", "[Vigor Drink Recipe] 100,000 zeny", "Close")){
case 1: .@item = 6279; break;
case 2: .@item = 6280; break;
case 3: .@item = 6281; break;
@@ -113,7 +113,7 @@ alde_alche,31,186,3 script Craft Book Merchant#alde 4_M_ALCHE_D,{
mes "You've entered "+.@amount+"x ^0000FF["+getitemname(.@item)+"]^000000 to be purchased.";
mes "Would you like to continue?";
next;
- if (select("Yes:No") == 1) {
+ if (select("Yes", "No") == 1) {
.@total = .@amount * 100000;
if (Zeny < .@total) {
mes "[Craft Book Merchant]";