diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-05-28 12:09:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-05-28 12:09:10 -0300 |
commit | 348c111f277eac4c98de7ce2170aae6365001975 (patch) | |
tree | 1e3cfb6ee293771769a8790fbf077fd8fe31e2d1 /npc/007-1 | |
parent | 3a8e0b6388df0f08fcb9b3207e99e08967427cf2 (diff) | |
download | serverdata-348c111f277eac4c98de7ce2170aae6365001975.tar.gz serverdata-348c111f277eac4c98de7ce2170aae6365001975.tar.bz2 serverdata-348c111f277eac4c98de7ce2170aae6365001975.tar.xz serverdata-348c111f277eac4c98de7ce2170aae6365001975.zip |
This should finish Pylon
Diffstat (limited to 'npc/007-1')
-rw-r--r-- | npc/007-1/pylon.txt | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/npc/007-1/pylon.txt b/npc/007-1/pylon.txt index 0390833af..8cafff87f 100644 --- a/npc/007-1/pylon.txt +++ b/npc/007-1/pylon.txt @@ -28,7 +28,7 @@ L_Menu: mesn strcharinfo(0); // We could add a drag zone, and allow players to drag their gems, but... Meh. select - l("Hum, How much gem's powders can i get from one gem?."), + l("Hum, how many gem powders can I get from one gem?"), rif(countitem(Diamond) >= 1, l("Yeah sure, take my Diamond!"), rif(countitem(Ruby) >= 1, l("Yeah sure, take my Ruby!"), rif(countitem(Emerald) >= 1, l("Yeah sure, take my Emerald!"), @@ -37,6 +37,8 @@ L_Menu: rif(countitem(Amethyst) >= 1, l("Yeah sure, take my Amethyst!"), l("No, thanks, I will keep my gems."); + mes ""; + switch (@menu) { case 1: goto L_Question; @@ -63,7 +65,7 @@ L_Question: /* -L_EndMenu: +L_EndMenu: menu l("Yeah i need more powder!"), L_PowderMenu, l("Nah i'm done with it, Thanks dude."), L_Close, @@ -82,16 +84,19 @@ L_PowderMenu: L_Powder: // Magic .@id=Diamond+@menu-2; + .@pw=DiamondPowder+@menu-2; + + // Amount .@am=rand(1,3); delitem .@id, 1; Zeny = Zeny - 100; getexp 60, 0; - //inventoryplace RubyPowder, 1; // @jesusalva how to set a random 1 to 3 - //getitem RubyPowder, 1; - inventoryplace GemPowder, .@am; - getitem GemPowder, .@am; + + inventoryplace .@pw, .@am; + getitem .@pw, .@am; + mes ""; mesn; mesq l("Here is your powder! I hope it will be useful."); @@ -101,7 +106,7 @@ L_Powder: goto L_Menu; /* -L_Topaz: +L_Topaz: delitem Topaz, 1; Zeny = Zeny - 100; getexp 100, 0; @@ -116,7 +121,7 @@ L_Topaz: goto L_EndMenu; close; -L_Emerald: +L_Emerald: delitem Emerald, 1; getexp 100, 0; Zeny = Zeny - 100; @@ -129,9 +134,9 @@ L_Emerald: mesq l("Would you like to transform one more?"); next; goto L_EndMenu; - close; + close; -L_Diamond: +L_Diamond: delitem Diamond, 1; getexp 100, 0; Zeny = Zeny - 100; @@ -144,9 +149,9 @@ L_Diamond: mesq l("Would you like to transform one more?"); next; goto L_EndMenu; - close; + close; -L_Amethyst: +L_Amethyst: delitem Amethyst, 1; getexp 100, 0; Zeny = Zeny - 100; @@ -159,9 +164,9 @@ L_Amethyst: mesq l("Would you like to transform one more?"); next; goto L_EndMenu; - close; + close; -L_Sapphire: +L_Sapphire: delitem Sapphire, 1; getexp 100, 0; Zeny = Zeny - 100; @@ -174,7 +179,7 @@ L_Sapphire: mesq l("Would you like to transform one more?"); next; goto L_EndMenu; - close; + close; */ L_Close: |