diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-12-17 20:21:14 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-12-17 20:21:14 -0300 |
commit | 49407651e145c3f2b198b745442bf3476cc19b78 (patch) | |
tree | a1fa892727153bae78efbac21461e476e8ed4fc6 | |
parent | ab09d5867a237fe78970bee0ace153a9b7a766f6 (diff) | |
download | serverdata-49407651e145c3f2b198b745442bf3476cc19b78.tar.gz serverdata-49407651e145c3f2b198b745442bf3476cc19b78.tar.bz2 serverdata-49407651e145c3f2b198b745442bf3476cc19b78.tar.xz serverdata-49407651e145c3f2b198b745442bf3476cc19b78.zip |
Inya now charges only 2 ingots per ring instead of 5
-rw-r--r-- | npc/003-5/jeweler.txt | 8 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/npc/003-5/jeweler.txt b/npc/003-5/jeweler.txt index a1b2b9dd9..75f7109a1 100644 --- a/npc/003-5/jeweler.txt +++ b/npc/003-5/jeweler.txt @@ -39,11 +39,11 @@ L_Craft: mesn l("Inya, the Jeweler"); mesq l("Of course, I actually have two options:"); mes l("- 5 @@, with 1200 GP, for a @@.", getitemlink(GoldPieces), getitemlink(GoldenRing)); - mes l("- 5 @@, with 1200 GP, for a @@.", getitemlink(SilverIngot), getitemlink(SilverRing)); // TODO + mes l("- %d %s with %d GP, for a %s.", 2, getitemlink(SilverIngot), 1200, getitemlink(SilverRing)); // TODO next; menu rif(countitem(GoldPieces) >= 5 && Zeny >= 1200, l("Yes, deal. Gimme the gold ring.")), -, - rif(countitem(SilverIngot) >= 5 && Zeny >= 1200, l("Yes, deal. Gimme the silver ring.")), -, + rif(countitem(SilverIngot) >= 2 && Zeny >= 1200, l("Yes, deal. Gimme the silver ring.")), -, l("...I'll be back later."), L_Close; switch (@menu) { @@ -56,8 +56,8 @@ L_Craft: break; case 2: inventoryplace SilverRing, 1; - delitem SilverIngot, 5; // TODO - Zeny=Zeny-1200; + delitem SilverIngot, 2; // TODO + Zeny-=1200; getitem SilverRing, 1; getexp 50, 15; break; diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index c206a24a4..9d9cdb164 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -1103,6 +1103,14 @@ function script clientupdater { } #UPDATE=1670633500; } + // Glados-2 disk crash + // sáb 10 dez 2022 20:27:47 -03 + if (UPDATE < 1670714867) { + UPDATE=1670714867; + if (countitem(SilverRing)) { + getitem SilverIngot, 3*countitem(SilverRing); + } + } // :// End of Regular Update System //////////////////////////////////// |