diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-05 11:11:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-05 11:11:26 -0300 |
commit | 6d18e9c44d124a7f7c805c11c4ec0f74da953a47 (patch) | |
tree | f714448183ea2d759c32c73efe48fdf766f50fb9 /npc/003-5 | |
parent | 1e55caf8152b6bbfb1677888660164041c667be3 (diff) | |
download | serverdata-6d18e9c44d124a7f7c805c11c4ec0f74da953a47.tar.gz serverdata-6d18e9c44d124a7f7c805c11c4ec0f74da953a47.tar.bz2 serverdata-6d18e9c44d124a7f7c805c11c4ec0f74da953a47.tar.xz serverdata-6d18e9c44d124a7f7c805c11c4ec0f74da953a47.zip |
Prepare Jeweler to craft and sell Silver Rings. Missing Silver Pieces.
Diffstat (limited to 'npc/003-5')
-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?"); |