From 2438a0d77172a5326f7e24b686664908987a9e8e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 13 Apr 2021 22:49:33 -0300 Subject: Add missing flags to database - how were they missed o.o --- db/constants.conf | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) (limited to 'db') diff --git a/db/constants.conf b/db/constants.conf index dc094e45..8c62709a 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -5507,7 +5507,6 @@ more than one separator can be used in a row (so 12_3___456 is illegal). MIN_MARRY_LEVEL:32 MAX_RAIN_SPELL_RADIUS:15 MAX_MAGIC_LEVEL:2 - MFLAG_MADE_CONC_POTION:16384 MFLAG_MADE_CONC_POTION_SHIFT:14 SCRIPT_XP_MASK:65535 SCRIPT_XP_SHIFT:0 @@ -5569,6 +5568,48 @@ more than one separator can be used in a row (so 12_3___456 is illegal). WEDDING_FEE:100 DIVORCE_FEE_PER_LEVEL:500 WEDDING_MIN_LEVEL:32 + // Flags for the magic quests. + MFLAG_DRANK_POTION: 1 // Character drank at least one magic potion as prerequisite for the Mana Seed quest. + MFLAG_KNOWS_MANASEED: 2 // Character has found the Mana Seed. + MFLAG_TOUCHED_MANASEED: 4 // Character has touched the Mana Seed. + MFLAG_MANASEED_MAXEDOUT: 8 // Character has touched the Mana Seed while maxed out on magic. + + MFLAG_KNOWS_AULDSBEL: 16 // Character has met Auldsbel. + MFLAG_KNOWS_WYARA: 32 // Character has met Wyara. + MFLAG_KNOWS_SAGATHA: 64 // Character has met Sagatha. + MFLAG_KNOWS_MANAPOTION: 128 // Has heard about the Mana Potion. + + MFLAG_MANASEED_RUMOUR: 256 // Has heard rumour about Mana Seed. + MFLAG_KNOWS_CUTTREE: 512 // Knows about the 'cut the tree' quest. + MFLAG_DID_CUTTREE: 1024 // Did cut off a branch from the druid tree. + MFLAG_KNOWS_DRUIDTREE: 2048 // Knows about the druid tree quest. + + MFLAG_KNOWS_IMP: 4096 // Knows about the imprisoned forest spirit. + MFLAG_KNOWS_OLD_WIZARD: 8192 // Knows Bjorn's old wizard. + MFLAG_MADE_CONC_POTION: 16384 // Made a concentration potion with T15 and/or T16. + MFLAG_ELANORE_OMAR: 32768 // Told Omar about Elanore's involvement. + + MFLAG_KNOWS_UNFOCUS_RECIPE: 65536 // Has been told about unfocus by Luca. + + // Flags set in the FLAGS variable: + FLAG_HAS_BOWLER_BURNSDAY: 1 // every year's poem at burns day, shannon gives you a bowler hat + FLAG_OPENED_UNDERGROUND: 2 // this flag is a replacement for variable Open_Underground_Palace_Barrier, which was used only as bool + FLAG_GOT_NAEM_GLOVES: 4 // this replaces Naem_Quest_Done, which was used as a bool variable + FLAG_GOT_GRADUATIONCAP: 8 // this is a bit which was to be found in Tut_var second bit + FLAG_TOWEL_HELPED: 16 // gave the towel npc the stuff he wants + FLAG_TOWEL_COMPLETED: 32 // got the towel from the towel npc + FLAG_ANDRA_HELPED: 64 // Knows Andra and agreed to help her + FLAG_ROSSI_COMPLETED: 128 // Completed the Rossi Quest + FLAG_TUTORIAL_DONE: 256 // player completed tutorial (or entered the tutorial area from outside after it was added) + FLAG_SNOWMAN: 512 // player gave candy to the snowman + FLAG_SANTAS_HELPER: 1024 // player gave presents to Santa's helper + FLAG_HURNSMINE_CHEST: 2048 // player opened the chest with the short sword in Hurnscald mines + FLAG_GOT_BEANIEHAT: 4096 // player got Beanie Copter Hat from Milly + FLAG_DECLINED_BEANIEHAT: 8192 // player declined Beanie Copter Hat from Milly + FLAG_KESHLAM_FLAWEDLENS: 16384 // player got the Flawed Lens from Keshlam's Chest + FLAG_KESHLAM_RAREDROP: 32768 // player got the super rare from Keshlam's Chest + FLAG_BEHEADER_MASK: 65536 // traded with The Beheader + FLAG_GOT_BEHEADER_SWORD: 131072 // Obtained the Beheader Sword BATTLE_CAVE1:1 BATTLE_CAVE2:2 BATTLE_CAVE3:4 -- cgit v1.2.3-60-g2f50