summaryrefslogtreecommitdiff
path: root/npc/007-1/pylon.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/007-1/pylon.txt')
-rw-r--r--npc/007-1/pylon.txt37
1 files changed, 36 insertions, 1 deletions
diff --git a/npc/007-1/pylon.txt b/npc/007-1/pylon.txt
index 974bc887b..529b27559 100644
--- a/npc/007-1/pylon.txt
+++ b/npc/007-1/pylon.txt
@@ -35,6 +35,7 @@ L_Menu:
rif(countitem(Sapphire) >= 1, l("Yeah sure, take my Sapphire!")),
rif(countitem(Topaz) >= 1, l("Yeah sure, take my Topaz!")),
rif(countitem(Amethyst) >= 1, l("Yeah sure, take my Amethyst!")),
+ rif(countitem(IronOre) >= 1, l("And what's about Iron Ore?")),
l("No, thanks, I will keep my gems.");
mes "";
@@ -44,18 +45,26 @@ L_Menu:
goto L_Question;
break;
case 8:
+ goto
+ L_Ore
+ break;
+ case 9:
close;
break;
default:
goto L_Powder;
break;
}
+L_MenuOre;
+ menu
+ l("Yeah sure!"), L_OreOk;
+ l("Nah Thanks you."), L_Close;
L_Question:
mesn;
mesq lg("That depends on your luck!");
next;
- mesq l("With one gem you can expect to get 1 to 3 powders! ");
+ mesq l("With one gem you can expect to get 1 to 3 powders!");
next;
mes col("We must blame Saulc!", 9);
next;
@@ -63,6 +72,32 @@ L_Question:
next;
goto L_Menu;
+L_Ore
+ mesn;
+ mesq lg("Hum... I'm not really good at it.");
+ next;
+ mesq l("But i can try my best for you!");
+ next;
+ mesq l("You want it!");
+ next;
+ goto L_MenuOre;
+
+L_OreOk:
+ // Amount iron ore
+ .@amo=rand(1,2);
+
+ delitem IronOre, 1;
+ Zeny = Zeny - 100;
+ getexp 10, 0;
+ inventoryplace IronPowder, .@amo;
+ getitem IronPowder, .@amo;
+ mes "";
+ mesn;
+ mesq l("Here you are, i tried my best");
+ next;
+ L_Close;
+ close;
+
// Must rework IDs
L_Powder: