From 6d18e9c44d124a7f7c805c11c4ec0f74da953a47 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 5 Jun 2018 11:11:26 -0300 Subject: Prepare Jeweler to craft and sell Silver Rings. Missing Silver Pieces. --- npc/003-5/jeweler.txt | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'npc/003-5') 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?"); -- cgit v1.2.3-70-g09d2