From b1010cfaed049d94ff1e9394bc6766d58b6bfd5b Mon Sep 17 00:00:00 2001 From: Vincent Petithory Date: Wed, 7 Nov 2012 19:34:11 +0100 Subject: Add seasonal after-halloween quest: * Oscar (011-1) is not a shop anymore. * special pumpkins added in 055-1 * add a special handler for the #kaflosh spell (requires running ./build-magic.sh) * add a player variable for use with seasonal quests (each quest using one byte) --- world/map/conf/magic.conf.template | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'world/map/conf/magic.conf.template') diff --git a/world/map/conf/magic.conf.template b/world/map/conf/magic.conf.template index e77039fc..58975e5b 100644 --- a/world/map/conf/magic.conf.template +++ b/world/map/conf/magic.conf.template @@ -765,6 +765,11 @@ LOCAL SPELL rain : "#N13" = set @flag, 1; callfunc "QuestTreeTrigger"; }; + // Halloween quest + IF ( is_in(location(caster), @("011-1.gat", 94, 38) @+ (9, 7)) ) + THEN { + callfunc "HalloweenQuestWaterPumpkins"; + }; FOR i = 0 TO (spellpower / 3) DO ( FOR j = 0 TO min(spellpower / 2, 200) / 100 DO ( location = random_location(area); -- cgit v1.2.3-60-g2f50