From f9a259df4b5202e53eb8cf0539ca59dd8dea711a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 May 2017 01:22:29 +0300 Subject: Add crafting recipe with creating inserted card. --- db/craft_db.conf | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/db/craft_db.conf b/db/craft_db.conf index 9d08fef5..c010081e 100644 --- a/db/craft_db.conf +++ b/db/craft_db.conf @@ -18,10 +18,18 @@ craft_db: ( }, ... ) - CreateItems: ({ items what will be creted in 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 @@ -248,5 +256,52 @@ craft_db: ( } 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