From 20df2abc1aca00d6aa5dc78347133890f36b32f3 Mon Sep 17 00:00:00 2001 From: Saulc Date: Sat, 13 Jan 2018 20:50:42 +0100 Subject: Initial commit --- db/craft_db.conf | 307 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 307 insertions(+) create mode 100644 db/craft_db.conf (limited to 'db/craft_db.conf') diff --git a/db/craft_db.conf b/db/craft_db.conf new file mode 100644 index 000000000..c010081e2 --- /dev/null +++ b/db/craft_db.conf @@ -0,0 +1,307 @@ +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] + ReturnCode: return code for scripts [int] + + SourceItems: ({ craft inventory source (will be deleted after crafting) + Name: amount [int] + ... + }, + ... + ) + CreateItems: ( // items what will be creted in crafting + { + Name: amount + ... + }, + { + Name: + { + Amount: amount + Cards: ["card0", ...] + }, + }, + ... + ) + 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 + TortugaShellFragment: 2 + Empty: 0 + + PiouFeathers: 1 + PiouFeathers: 1 + PiouFeathers: 1 + + PiouLegs: 1 + Empty: 0 + PiouLegs: 1 + }, + { + PiouFeathers: 1 + PiouFeathers: 1 + PiouFeathers: 1 + + Empty: 0 + TortugaShellFragment: 2 + Empty: 0 + + PiouLegs: 1 + Empty: 0 + PiouLegs: 1 + } + ) + CreateItems: + ( + { + PiouEgg: 1 + } + ) + DeleteItems: { + PiouLegs: 1 + } + RequiredQuests: { + ShipQuests_Julia: 1 + } + RequiredEquips: { + VneckJumper: true + } + RequiredItems: { + PiouEgg: 1 + } + 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 + }, + { + PiouFeathers: 1 + Empty: 0 + Empty: 0 + + PiouFeathers: 1 + Empty: 0 + Empty: 0 + + PiouFeathers: 1 + Empty: 0 + Empty: 0 + }, + { + Empty: 0 + PiouFeathers: 1 + Empty: 0 + + Empty: 0 + PiouFeathers: 1 + Empty: 0 + + Empty: 0 + PiouFeathers: 1 + Empty: 0 + }, + { + Empty: 0 + Empty: 0 + PiouFeathers: 1 + + Empty: 0 + Empty: 0 + PiouFeathers: 1 + + Empty: 0 + Empty: 0 + PiouFeathers: 1 + }, + ) + CreateItems: + ( + { + PiouFeathers: 4 + }, + { + PiouFeathers: 3 + }, + { + PiouFeathers: 2 + }, + ) + RequiredQuests: { + ShipQuests_Julia: 2 + } + RequiredEquips: { + VneckJumper: true + } + Priority: 10 + Price: 0 + ReturnCode: 123 +}, +{ + Id: 2 + Name: "CraftOrangeDye" + SourceItems: + ( + { + Carrot: 3 + Pearl: 2 + Empty: 0 + + Empty: 0 + Empty: 0 + Empty: 0 + + Empty: 0 + Empty: 0 + Empty: 0 + }, + { + Pearl: 2 + Carrot: 3 + Empty: 0 + + Empty: 0 + Empty: 0 + Empty: 0 + + Empty: 0 + Empty: 0 + Empty: 0 + }, + ) + CreateItems: + ( + { + OrangeCottonDye: 2 + }, + ) + RequiredQuests: { + ShipQuests_Julia: 1 + } + Priority: 10 +}, +{ + Id: 3 + Name: "CraftItemWithDye" + SourceItems: + ( + { + VneckJumper: 1 + CrimsonCashmereDye: 1 + Empty: 0 + + Empty: 0 + Empty: 0 + Empty: 0 + + Empty: 0 + Empty: 0 + Empty: 0 + }, + { + CrimsonCashmereDye: 1 + VneckJumper: 1 + Empty: 0 + + Empty: 0 + Empty: 0 + Empty: 0 + + Empty: 0 + Empty: 0 + Empty: 0 + }, + ) + CreateItems: + ( + { + VneckJumper: + { + Amount: 1 + Cards: ["CrimsonCashmereDye"] + }, + }, + ) + RequiredQuests: { + ShipQuests_Julia: 1 + } + Priority: 10 +}, + +) -- cgit v1.2.3-60-g2f50