From eb6d2fbe61590438917820067e2ba524f290fd6e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Jan 2016 20:26:01 +0300 Subject: Convert craft_db.conf to new format, add variation for feathers recipe. --- db/craft_db.conf | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/db/craft_db.conf b/db/craft_db.conf index 3b52d2b4..9d08fef5 100644 --- a/db/craft_db.conf +++ b/db/craft_db.conf @@ -10,6 +10,7 @@ craft_db: ( Price: craft price [int] Lv: base level [int] Flag: flag from craft object [string/int] + ReturnCode: return code for scripts [int] SourceItems: ({ craft inventory source (will be deleted after crafting) Name: amount [int] @@ -17,10 +18,12 @@ craft_db: ( }, ... ) - CreateItems: { items what will be creted in crafting + CreateItems: ({ items what will be creted in crafting Name: amount [int] ... - } + }, + ... + ) DeleteItems: { additional items what will be deleted from inventory Name: amount [int] ... @@ -75,9 +78,12 @@ craft_db: ( PiouLegs: 1 } ) - CreateItems: { - PiouEgg: 1 - } + CreateItems: + ( + { + PiouEgg: 1 + } + ) DeleteItems: { PiouLegs: 1 } @@ -177,9 +183,18 @@ craft_db: ( PiouFeathers: 1 }, ) - CreateItems: { - PiouFeathers: 4 - } + CreateItems: + ( + { + PiouFeathers: 4 + }, + { + PiouFeathers: 3 + }, + { + PiouFeathers: 2 + }, + ) RequiredQuests: { ShipQuests_Julia: 2 } @@ -222,9 +237,12 @@ craft_db: ( Empty: 0 }, ) - CreateItems: { - OrangeCottonDye: 2 - } + CreateItems: + ( + { + OrangeCottonDye: 2 + }, + ) RequiredQuests: { ShipQuests_Julia: 1 } -- cgit v1.2.3-70-g09d2