diff options
-rw-r--r-- | npc/003-5/jeweler.txt | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/npc/003-5/jeweler.txt b/npc/003-5/jeweler.txt index 793aa188a..562dc6358 100644 --- a/npc/003-5/jeweler.txt +++ b/npc/003-5/jeweler.txt @@ -33,18 +33,31 @@ L_Menu: L_Craft: mes ""; mesn; - mesq l("Of course, you can trade 5 @@, with 12000 GP, for a @@.", getitemlink(GoldPieces), getitemlink(GoldenRing)); + mesq l("Of course, I actually have two options:"); + mes l("- 5 @@, with 12000 GP, for a @@.", getitemlink(GoldPieces), getitemlink(GoldenRing)); + mes l("- 5 @@, with 12000 GP, for a @@.", getitemlink(SilverIngot), getitemlink(SilverRing)); // TODO next; menu - rif(countitem(GoldPieces) >= 5 && Zeny >= 12000, l("Yes, deal. Gimme the ring.")), -, + rif(countitem(GoldPieces) >= 5 && Zeny >= 12000, l("Yes, deal. Gimme the gold ring.")), -, + rif(countitem(SilverIngot) >= 5 && Zeny >= 12000, l("Yes, deal. Gimme the silver ring.")), -, l("...I'll be back later."), L_Close; - inventoryplace GoldenRing, 1; - delitem GoldPieces, 5; - Zeny=Zeny-12000; - - getitem GoldenRing, 1; - getexp 100, 25; + switch (@menu) { + case 1: + inventoryplace GoldenRing, 1; + delitem GoldPieces, 5; + Zeny=Zeny-12000; + getitem GoldenRing, 1; + getexp 100, 25; + break; + case 2: + inventoryplace SilverRing, 1; + delitem SilverIngot, 5; // TODO + Zeny=Zeny-12000; + getitem SilverRing, 1; + getexp 50, 15; + break; + } mes ""; mesn; mesq l("Here you go! Anything else?"); |