From e40be282036892f47763e3471d65a5fce695dfb4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 27 Jun 2021 15:27:31 -0300 Subject: Readd Alchemy recipes (still cannot be done as functionality is missing) --- db/constants.conf | 7 +++++++ db/craft_db.conf | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/db/constants.conf b/db/constants.conf index a51297ad..075670e8 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -2932,6 +2932,13 @@ more than one separator can be used in a row (so 12_3___456 is illegal). SUMMER: 2 AUTUMN: 3 + comment__: "CRAFT enum" + CRAFT_COOKING: 4 + CRAFT_ALCHEMY: 8 + CRAFT_SMITHERY: 16 + CRAFT_TAILORING: 32 + CRAFT_JEWELERY: 64 + comment__: "speechflags" S_FIRST_BLANK_LINE: 0b00000001 S_LAST_BLANK_LINE: 0b00000010 diff --git a/db/craft_db.conf b/db/craft_db.conf index 538e699a..cc6846e9 100644 --- a/db/craft_db.conf +++ b/db/craft_db.conf @@ -69,6 +69,7 @@ Weapons: 400 --> 499 Shields: 500 --> 599 Hats: 600 --> 699 Boots: 700 --> 799 +Alchemy: 800 --> 899 **************/ /****************************** COOKING **************************************** @@ -1854,4 +1855,59 @@ Boots: 700 --> 799 Priority: 71 }, */ + +/****************************** ALCHEMY **************************************** +******************************************************************************** +**** Reserved range for : 700 --> 799 +**** Valid parameters: CRAFT_ALCHEMY +*******************************************************************************/ +{ + Id: 700 + Name: "CraftConcentrationPotion" + Flag: "CRAFT_ALCHEMY" + SourceItems: + ( + { + PinkPetal: 1 + BottleOfWater: 1 + }, + { + BottleOfWater: 1 + PinkPetal: 1 + }, + ) + CreateItems: + ( + { + ConcentrationPotion: 1 + }, + ) + Priority: 10 +}, +{ + Id: 701 + Name: "CraftCactusPotion" + Flag: "CRAFT_ALCHEMY" + SourceItems: + ( + { + CactusDrink: 1 + CactusDrink: 1 + }, + { + CactusDrink: 1 + CactusDrink: 1 + }, + { + CactusDrink: 2 + }, + ) + CreateItems: + ( + { + CactusPotion: 1 + }, + ) + Priority: 10 +}, ) -- cgit v1.2.3-60-g2f50