diff options
-rw-r--r-- | db/constants.conf | 43 | ||||
-rw-r--r-- | npc/002-2/stranger.txt | 4 |
2 files changed, 44 insertions, 3 deletions
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 diff --git a/npc/002-2/stranger.txt b/npc/002-2/stranger.txt index 8be7ac21..3af0c57a 100644 --- a/npc/002-2/stranger.txt +++ b/npc/002-2/stranger.txt @@ -7,7 +7,7 @@ if (FLAGS & FLAG_TOWEL_COMPLETED) goto L_Event_Done; if ((gettimetick(2)-TUT_var < 6*7*86400) || (BaseLevel < 42)) //player must be created at least 6 weeks ago and at least level 42 goto L_No_Event; - if (FLAGS & FLAG_TOWEL_HelpED) goto L_Towel; + if (FLAGS & FLAG_TOWEL_HELPED) goto L_Towel; mes "[Stranger]"; mes "\"Hello, hello! It's great to see you. Maybe you can help me with a little problem I have.\""; @@ -27,7 +27,7 @@ L_Items: delitem "IronIngot", @iRONINGOT; delitem "PinkAntenna", @PINKANTENNA; getexp @Exp, 0; - FLAGS = FLAGS | FLAG_TOWEL_HelpED; + FLAGS = FLAGS | FLAG_TOWEL_HELPED; mes "[Stranger]"; mes "\"Great! Thank you!\""; |