summaryrefslogtreecommitdiff
path: root/npc/merchants/alchemist.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/merchants/alchemist.txt')
-rw-r--r--npc/merchants/alchemist.txt36
1 files changed, 20 insertions, 16 deletions
diff --git a/npc/merchants/alchemist.txt b/npc/merchants/alchemist.txt
index ee5663232..16ccccd65 100644
--- a/npc/merchants/alchemist.txt
+++ b/npc/merchants/alchemist.txt
@@ -36,7 +36,7 @@
//================= Description ===========================================
//= Merchants for Alchemist Materials and Manuals.
//================= Current Version =======================================
-//= 1.8
+//= 1.9
//=========================================================================
alde_alche,24,188,3 script Guild Dealer 2_M_ALCHE,{
@@ -53,18 +53,18 @@ alde_alche,24,188,3 script Guild Dealer 2_M_ALCHE,{
mes "Alchemist Union.";
mes "How can I assist you today?";
next;
- switch(select("Purchase materials.:Purchase a production manual.:Quit.")) {
+ switch (select("Purchase materials.:Purchase a production manual.:Quit.")) {
case 1:
mes "[Gever Al Sharp]";
mes "What would you like?";
next;
- if (select("Medicine Bowl - 8 Zeny:Cancel.") == 1) {
+ if (select("Medicine Bowl - " + (RENEWAL ? "250z" : "8 Zeny") +":Cancel.") == 1) {
mes "[Gever Al Sharp]";
mes "How many do you want?";
mes "Enter '0' if you want to quit.";
next;
while(1) {
- input .@input,0,2001;
+ input .@input, 0, 2001;
if (.@input == 0) {
mes "[Gever Al Sharp]";
mes "The deal was cancelled.";
@@ -81,7 +81,11 @@ alde_alche,24,188,3 script Guild Dealer 2_M_ALCHE,{
break;
}
}
- .@sell = .@input * 8;
+ if (RENEWAL) {
+ .@sell = .@input * 250;
+ } else {
+ .@sell = .@input * 8;
+ }
.@item_weight = .@input * 10;
if (Zeny < .@sell) {
mes "[Gever Al Sharp]";
@@ -118,30 +122,30 @@ alde_alche,24,188,3 script Guild Dealer 2_M_ALCHE,{
mes "What do you need?";
mes "Manuals are generally 100,000 zeny. But there are a couple of special manuals that will cost more.";
next;
- switch(select("Potion Creation Guide:Alcohol Creation Guide:Bottle Grenade Creation Guide:Acid Bottle Creation Guide:Plant Bottle Creation Guide:Marine Sphere Bottle Creation Guide:Glistening Coat Creation Guide:Condensed Potion Creation Guide:Cancel Deal.")) {
+ switch (select("Potion Creation Guide:Alcohol Creation Guide:Bottle Grenade Creation Guide:Acid Bottle Creation Guide:Plant Bottle Creation Guide:Marine Sphere Bottle Creation Guide:Glistening Coat Creation Guide:Condensed Potion Creation Guide:Cancel Deal.")) {
case 1:
- callsub S_SellManual,7144,100000; //Normal_Potion_Book
+ callsub S_SellManual, Normal_Potion_Book, 100000;
break;
case 2:
- callsub S_SellManual,7127,100000; //Alcol_Create_Book
+ callsub S_SellManual, Alcol_Create_Book, 100000;
break;
case 3:
- callsub S_SellManual,7128,100000; //FireBottle_Create_Book
+ callsub S_SellManual, FireBottle_Create_Book, 100000;
break;
case 4:
- callsub S_SellManual,7129,100000; //Acid_Create_Book
+ callsub S_SellManual, Acid_Create_Book, 100000;
break;
case 5:
- callsub S_SellManual,7130,100000; //Plant_Create_Book
+ callsub S_SellManual, Plant_Create_Book, 100000;
break;
case 6:
- callsub S_SellManual,7131,100000; //Mine_Create_Book
+ callsub S_SellManual, Mine_Create_Book, 100000;
break;
case 7:
- callsub S_SellManual,7132,100000; //Coating_Create_Book
+ callsub S_SellManual, Coating_Create_Book, 100000;
break;
case 8:
- callsub S_SellManual,7133,240000; //Slim_Potion_Create_Book
+ callsub S_SellManual, Slim_Potion_Create_Book, 240000;
break;
case 9:
mes "[Gever Al Sharp]";
@@ -168,8 +172,8 @@ S_SellManual:
close;
}
mes "[Gever Al Sharp]";
- mes ""+getitemname(getarg(0))+"?";
- mes "That'll be "+getarg(1)+" zeny.";
+ mes ""+ getitemname(getarg(0)) +"?";
+ mes "That'll be "+ getarg(1) +" zeny.";
next;
if (select("Purchase.:Quit.") == 1) {
Zeny -= getarg(1);