diff options
-rw-r--r-- | db/re/item_db.conf | 11 | ||||
-rw-r--r-- | npc/012-1/jack.txt | 30 | ||||
-rw-r--r-- | npc/012-5/nicholas.txt | 10 |
3 files changed, 48 insertions, 3 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 585133f10..d9a0ec708 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -4132,6 +4132,17 @@ item_db: ( Refine: false BuyingStore: true }, +{ + Id: 876 + AegisName: "WoodenLog" + Name: "Wooden Log" + Type: "IT_ETC" + Buy: 100 + Sell: 25 + Weight: 80 + Refine: false + BuyingStore: true +}, // <!-- Necklaces --> { Id: 1000 diff --git a/npc/012-1/jack.txt b/npc/012-1/jack.txt index e96d6ea56..3b7a9180b 100644 --- a/npc/012-1/jack.txt +++ b/npc/012-1/jack.txt @@ -15,6 +15,7 @@ mes ""; select l("Nothing at the moment, thanks."), + l("I want you to transform my raw log in a wooden log"), rif(.@q1 == 1, l("I need a sturdy wood piece for a Forest Bow.")); mes ""; @@ -24,12 +25,41 @@ close; break; case 2: + goto L_Polish; + break; + case 3: goto L_ForestBow; break; } close; +L_Polish: + mesn; + mes l("Yes, unless you're doing something VERY special, a Wooden Log is what you need."); + mes l("I can make a @@ for just one @@ and 200 GP for my work.", getitemlink(WoodenLog), getitemlink(RawLog)); + input .@count; + mes ""; + + if (.@count == 0) + close; + + .@Cost = .@count * 200; + .@empty = countitem(RawLog); + + if (.@empty < .@count || Zeny < .@Cost) { + mesn; + mesq l("You can't afford my services for that amount. Sorry."); + } + + getinventorylist; + inventoryplace WoodenLog, .@count; + + Zeny = Zeny - .@Cost; + delitem RawLog, .@count; + getitem WoodenLog, .@count; + close; + L_ForestBow: .@k=getq2(HurscaldQuest_ForestBow); diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt index 368cc7c5f..cdad6a122 100644 --- a/npc/012-5/nicholas.txt +++ b/npc/012-5/nicholas.txt @@ -84,10 +84,11 @@ L_Menu: L_Weapon: mesn; - mesq l("Very well! We have six class of items: Iron, Terranite, Bronze, Silver, Gold and Platinum."); + mesq l("Very well! We have seven class of items: Wood, Iron, Terranite, Bronze, Silver, Gold and Platinum."); mesq l("Each of them require different items, I'll sort from weakest to strongest, so choose wisely."); select l("Nothing, sorry!"), + l("Wooden Sword"), l("Bronze Gladius"), l("Iron Bug Slayer"), l("Iron Short Gladius"); @@ -96,12 +97,15 @@ L_Weapon: case 1: goto L_Menu; case 2: - blacksmith_create(CopperIngot, 18, TinIngot, 2, BronzeGladius, 5000); + blacksmith_create(WoodenLog, 55, RawLog, 25, WoodenSword, 4500); break; case 3: - blacksmith_create(IronIngot, 12, Coal, 8, BugSlayer, 10000); + blacksmith_create(CopperIngot, 18, TinIngot, 2, BronzeGladius, 5000); break; case 4: + blacksmith_create(IronIngot, 12, Coal, 8, BugSlayer, 10000); + break; + case 5: blacksmith_create(IronIngot, 22, Coal, 18, ShortGladius, 15000); break; } |