From edfa871b93a95ce13c00be1c3a6a514383592339 Mon Sep 17 00:00:00 2001 From: Andrei Karas <akaras@inbox.ru> Date: Sat, 23 Jan 2016 19:00:56 +0300 Subject: Add testing craft_db.conf --- db/craft_db.conf | 154 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 db/craft_db.conf diff --git a/db/craft_db.conf b/db/craft_db.conf new file mode 100644 index 00000000..959462ea --- /dev/null +++ b/db/craft_db.conf @@ -0,0 +1,154 @@ +craft_db: ( +// craft Database +/****************************************************************************** + ************* Entry structure ************************************************ + ****************************************************************************** +{ + Id: craft id [int] + Name: craft name [string] + Priority: craft priority [int] + Price: craft price [int] + Lv: base level [int] + Flag: flag from craft object [string/int] + + SourceItems: ({ craft inventory source (will be deleted after crafting) + Name: amount [int] + ... + }, + ... + ) + CreateItems: { items what will be creted in crafting + Name: amount [int] + ... + } + DeleteItems: { additional items what will be deleted from inventory + Name: amount [int] + ... + } + RequiredItems: { required additional items. will be unchanged + Name: amount [int] + ... + } + RequiredSkills: { required skills and levels + Name: level [int] + ... + } + RequiredQuests: { + Name: level [int] + ... + } + RequiredEquips: { + Name: true + } +}, +******************************************************************************/ + +{ + Id: 0 + Name: "CraftEgg" + SourceItems: + ( + { + Empty: 0 + Empty: 0 + Empty: 0 + + PiouFeathers: 1 + PiouFeathers: 1 + PiouFeathers: 1 + + PiouLegs: 1 + Empty: 0 + PiouLegs: 1 + }, + { + PiouFeathers: 1 + PiouFeathers: 1 + PiouFeathers: 1 + + Empty: 0 + Empty: 0 + Empty: 0 + + PiouLegs: 1 + Empty: 0 + PiouLegs: 1 + } + ) + CreateItems: { + PiouEgg: 1 + PiouLegs: 2 + PiouFeathers: 2 + } + DeleteItems: { + PiouLegs: 1 + } + RequiredQuests: { + ShipQuests_Julia: 1 + } + RequiredEquips: { + VneckJumper: true + VneckJumper: false + } + Priority: 10 + Price: 100 +}, +{ + Id: 1 + Name: "CraftPiouFeathers" + SourceItems: + ( + { + PiouFeathers: 1 + PiouFeathers: 1 + PiouFeathers: 1 + + Empty: 0 + Empty: 0 + Empty: 0 + + Empty: 0 + Empty: 0 + Empty: 0 + }, + { + Empty: 0 + Empty: 0 + Empty: 0 + + PiouFeathers: 1 + PiouFeathers: 1 + PiouFeathers: 1 + + Empty: 0 + Empty: 0 + Empty: 0 + }, + { + Empty: 0 + Empty: 0 + Empty: 0 + + Empty: 0 + Empty: 0 + Empty: 0 + + PiouFeathers: 1 + PiouFeathers: 1 + PiouFeathers: 1 + }, + ) + CreateItems: { + PiouFeathers: 3 + } + RequiredQuests: { + ShipQuests_Julia: 2 + } + RequiredEquips: { + VneckJumper: true + } + Priority: 10 + Price: 0 +}, + +) -- cgit v1.2.3-70-g09d2