summaryrefslogtreecommitdiff
path: root/world/map/npc/halloween/2011/config.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-10-20 19:48:15 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-10-20 20:03:49 -0700
commit6be13484c7e4244943c3e0be3720cbef78339ad5 (patch)
tree7851b618f04938faac0277f464eeb7df5c6daa07 /world/map/npc/halloween/2011/config.txt
parent235709d0d10c632bef619df6f8d6ea27f5c190ac (diff)
downloadserverdata-6be13484c7e4244943c3e0be3720cbef78339ad5.tar.gz
serverdata-6be13484c7e4244943c3e0be3720cbef78339ad5.tar.bz2
serverdata-6be13484c7e4244943c3e0be3720cbef78339ad5.tar.xz
serverdata-6be13484c7e4244943c3e0be3720cbef78339ad5.zip
Fix halloween quest and add 'big reward'.
Diffstat (limited to 'world/map/npc/halloween/2011/config.txt')
-rw-r--r--world/map/npc/halloween/2011/config.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/world/map/npc/halloween/2011/config.txt b/world/map/npc/halloween/2011/config.txt
index 39587685..31b863e0 100644
--- a/world/map/npc/halloween/2011/config.txt
+++ b/world/map/npc/halloween/2011/config.txt
@@ -10,6 +10,7 @@
// $@hw2011_min_level = Minimum level to go trick-or-treating
// Global stuff
+// $@hw2011_big_reward$ = The main reward randomly given, usually after the counter has reached 7-10
// $@hw2011_sweets$ = Array with all the sweets to be given as treats
// $@hw2011_mask_IDs = Array with the IDs of all the masks that cover your face + The Scary Axehat
// $@hw2011_scare_factors = Array with the basic scare factor of each mask
@@ -39,9 +40,9 @@
// $@hw2011_trick_veryscary$ = Array with the most scary menu options
// $@hw2011_react_veryscary$ = Array with all the reactions to the very scary menu options
-// !!! IMPORTANT NOTE: a maximum of 16 NPCs can be used for this quest !!!
+// !!! IMPORTANT NOTE: a maximum of 15 NPCs can be used for this quest !!!
-009-1.gat,43,40,0|script|#hw2011config|45,{
+-|script|#hw2011config|-1,{
OnInit:
// Set this to 1 for testing, to enable for all of October
set $@hw2011_start_day, 24;
@@ -55,6 +56,8 @@ OnInit:
// Don't decrease this below 10 or the surgeon will be filled with plot holes
set $@hw2011_min_level, 10;
+ set $@hw2011_big_reward$, "BunchOfParsley";
+ set $@hw2011_got_big_reward, 0x10000;
// TODO: review this list
// all sweets are equal currently
setarray $@hw2011_sweets$,
@@ -218,7 +221,7 @@ OnInit:
set $@hw2011_react_veryscary$[$@n], "\"Uncle Henry? But how, I covered my tracks so well! I never told anyone that - wait... that was your trick! You had me worried for a minute!\"";
set $@hw2011_num_npcs, $@n + 1;
- set $@hw2011_all_npc_bits, 0xFFFFFFFF << (32 - $@hw2011_all_npc_bits);
+ set $@hw2011_all_npc_bits, 0xFFFFFFFF << (32 - $@hw2011_num_npcs);
set $@n, 0;
}