summaryrefslogtreecommitdiff
path: root/world/map/npc/xmas/2011/xmas2011config.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-01-30 17:19:55 -0800
committerBen Longbons <b.r.longbons@gmail.com>2014-02-02 19:22:47 -0800
commit045622fa6e515cf403ec710420746a15bcb75562 (patch)
tree9e95523c2548d3957935c9f267a3b3c09e69e94d /world/map/npc/xmas/2011/xmas2011config.txt
parent67ec53b404beae200cebc5331cf4452223628dde (diff)
downloadserverdata-045622fa6e515cf403ec710420746a15bcb75562.tar.gz
serverdata-045622fa6e515cf403ec710420746a15bcb75562.tar.bz2
serverdata-045622fa6e515cf403ec710420746a15bcb75562.tar.xz
serverdata-045622fa6e515cf403ec710420746a15bcb75562.zip
Remove disabled magic and old holiday quests
Diffstat (limited to 'world/map/npc/xmas/2011/xmas2011config.txt')
-rw-r--r--world/map/npc/xmas/2011/xmas2011config.txt195
1 files changed, 0 insertions, 195 deletions
diff --git a/world/map/npc/xmas/2011/xmas2011config.txt b/world/map/npc/xmas/2011/xmas2011config.txt
deleted file mode 100644
index 54f7140c..00000000
--- a/world/map/npc/xmas/2011/xmas2011config.txt
+++ /dev/null
@@ -1,195 +0,0 @@
--|script|#xmas2011config|-1,{
-OnInit:
- set $@xmas2011_start_day, 10;
- set $@xmas2011_reward_start_day, 25;
- set $@xmas2011_reward_end_day, 6;
- set $@xmas2011_year, 2011;
- set $@xmas2011_glove_id, 2160;
-
- set $@xmas11_talkedToChief, 0x00000001;
- set $@xmas11_talkedToBadGuy, 0x00000002;
-
- set $@xmas11_startedReinbooSearch, 0x00000004;
- set $@xmas11_firstReinboo, 0x00000008;
- set $@xmas11_firstReinbooDone, 0x00000010;
- set $@xmas11_secondReinboo, 0x00000020;
- set $@xmas11_secondReinbooDone, 0x00000040;
- set $@xmas11_thirdReinboo, 0x00000080;
- set $@xmas11_thirdReinbooDone, 0x00000100;
- set $@xmas11_fourthReinboo, 0x00000200;
- set $@xmas11_fourthReinbooDone, 0x00000400;
-
- set $@xmas11_Decoration, 0x00000800;
- set $@xmas11_DecorationDone, 0x00001000;
- set $@xmas11_Bedding, 0x00002000;
- set $@xmas11_BeddingDone, 0x00004000;
- set $@xmas11_Potion, 0x00008000;
- set $@xmas11_PotionDone, 0x00010000;
-
- set $@xmas11_PlushMoubooMask, 0x000E0000;
- set $@xmas11_PlushMoubooShift, 17;
-
- set $@xmas11_StickReinbooMask, 0x00700000;
- set $@xmas11_StickReinbooShift, 20;
-
- set $@xmas11_DollMask, 0x03800000;
- set $@xmas11_DollShift, 23;
-
- set $@xmas11_BallMask, 0x1C000000;
- set $@xmas11_BallShift, 26;
-
- set $@xmas11_BadGuyReward, 0x20000000;
- set $@xmas11_SantaReward, 0x40000000;
-
-// 0x80000000
-
- set $@xmas2011_reinboopoints, 10; // there are 4 reinboos
- set $@xmas2011_beddingpoints, 10;
- set $@xmas2011_glitterpoints, 10;
- set $@xmas2011_potionpoints, 10;
- set $@xmas2011_plushmouboopoints, 10;
- set $@xmas2011_stickreinboopoints, 10;
- set $@xmas2011_ballpoints, 10;
- set $@xmas2011_dollpoints, 10;
-
- set $@xmas2011_totalpoints, 4*$@xmas2011_reinboopoints + $@xmas2011_beddingpoints + $@xmas2011_glitterpoints + $@xmas2011_potionpoints + $@xmas2011_plushmouboopoints + $@xmas2011_stickreinboopoints + $@xmas2011_ballpoints + $@xmas2011_dollpoints;
-
- set $@xmas2011_main_rewardcost, 70;
- set $@xmas2011_toy_rewardcost, 30;
- set $@xmas2011_gloves_rewardcost, 8;
- set $@xmas2011_gingerbreadman_rewardcost, 5;
- set $@xmas2011_xmascake_rewardcost, 3;
- set $@xmas2011_candy_rewardcost, 1;
-}
-
-// calculates the points for helping and sabotaging
-function|script|xmas2011points|{
- set @plushmouboo, (xmas11 & $@xmas11_PlushMoubooMask) >> $@xmas11_PlushMoubooShift;
- set @stickreinboo, (xmas11 & $@xmas11_StickReinbooMask) >> $@xmas11_StickReinbooShift;
- set @ball, (xmas11 & $@xmas11_BallMask) >> $@xmas11_BallShift;
- set @doll, (xmas11 & $@xmas11_DollMask) >> $@xmas11_DollShift;
- set @helppoints, 0;
- set @sabotagepoints, 0;
-
- if ((xmas11 & $@xmas11_firstReinbooDone) && !(xmas11 & $@xmas11_firstReinboo))
- set @helppoints, @helppoints + $@xmas2011_reinboopoints;
- if ((xmas11 & $@xmas11_firstReinbooDone) && (xmas11 & $@xmas11_firstReinboo))
- set @sabotagepoints, @sabotagepoints + $@xmas2011_reinboopoints;
-
- if ((xmas11 & $@xmas11_secondReinbooDone) && !(xmas11 & $@xmas11_secondReinboo))
- set @helppoints, @helppoints + $@xmas2011_reinboopoints;
- if ((xmas11 & $@xmas11_secondReinbooDone) && (xmas11 & $@xmas11_secondReinboo))
- set @sabotagepoints, @sabotagepoints + $@xmas2011_reinboopoints;
-
- if ((xmas11 & $@xmas11_thirdReinbooDone) && !(xmas11 & $@xmas11_thirdReinboo))
- set @helppoints, @helppoints + $@xmas2011_reinboopoints;
- if ((xmas11 & $@xmas11_thirdReinbooDone) && (xmas11 & $@xmas11_thirdReinboo))
- set @sabotagepoints, @sabotagepoints + $@xmas2011_reinboopoints;
-
- if ((xmas11 & $@xmas11_fourthReinbooDone) && !(xmas11 & $@xmas11_fourthReinboo))
- set @helppoints, @helppoints + $@xmas2011_reinboopoints;
- if ((xmas11 & $@xmas11_fourthReinbooDone) && (xmas11 & $@xmas11_fourthReinboo))
- set @sabotagepoints, @sabotagepoints + $@xmas2011_reinboopoints;
-
- if ((xmas11 & $@xmas11_PotionDone) && !(xmas11 & $@xmas11_Potion))
- set @helppoints, @helppoints + $@xmas2011_potionpoints;
- if ((xmas11 & $@xmas11_PotionDone) && (xmas11 & $@xmas11_Potion))
- set @sabotagepoints, @sabotagepoints + $@xmas2011_potionpoints;
-
- if ((xmas11 & $@xmas11_BeddingDone) && !(xmas11 & $@xmas11_Bedding))
- set @helppoints, @helppoints + $@xmas2011_beddingpoints;
- if ((xmas11 & $@xmas11_BeddingDone) && (xmas11 & $@xmas11_Bedding))
- set @sabotagepoints, @sabotagepoints + $@xmas2011_beddingpoints;
-
- if ((xmas11 & $@xmas11_DecorationDone) && !(xmas11 & $@xmas11_Decoration))
- set @helppoints, @helppoints + $@xmas2011_glitterpoints;
- if ((xmas11 & $@xmas11_DecorationDone) && (xmas11 & $@xmas11_Decoration))
- set @sabotagepoints, @sabotagepoints + $@xmas2011_glitterpoints;
-
- if (@plushmouboo == 5)
- set @helppoints, @helppoints + $@xmas2011_plushmouboopoints;
- if (@plushmouboo == 6)
- set @sabotagepoints, @sabotagepoints + $@xmas2011_plushmouboopoints;
-
- if (@stickreinboo == 5)
- set @helppoints, @helppoints + $@xmas2011_stickreinboopoints;
- if (@stickreinboo == 6)
- set @sabotagepoints, @sabotagepoints + $@xmas2011_stickreinboopoints;
-
- if (@ball == 5)
- set @helppoints, @helppoints + $@xmas2011_ballpoints;
- if (@ball == 6)
- set @sabotagepoints, @sabotagepoints + $@xmas2011_ballpoints;
-
- if (@doll == 5)
- set @helppoints, @helppoints + $@xmas2011_dollpoints;
- if (@doll == 6)
- set @sabotagepoints, @sabotagepoints + $@xmas2011_dollpoints;
-
- set @plushmouboo, 0;
- set @stickreinboo, 0;
- set @ball, 0;
- set @doll, 0;
- return;
-}
-
-function|script|xmas2011debug|{
- menu
- "i'm fine",L_Close,
- "show my points",L_Points,
- "show variable",L_Var,
- "restart",L_Restart,
- "reset",-;
- set xmas11, 0;
- close;
-L_Restart:
- set xmas11, 0;
- set xmas11, xmas11 | $@xmas11_talkedToChief;
- close;
-
-L_Points:
- callfunc "xmas2011points";
- mes "Good points: " + @helppoints;
- mes "Bad points: " + @sabotagepoints;
- close;
-
-L_Var:
- mes "Talked to Chief: " + ((xmas11 & 0x1));
- mes "Talked to Bad Guy: " + ((xmas11 & 0x2) >> 1);
- mes "Started Reinboo: " + ((xmas11 & 0x4) >> 2);
- mes "R1 Bit 0: " + ((xmas11 & 0x8) >> 3);
- mes "R1 Bit 1: " + ((xmas11 & 0x10) >> 4);
- mes "R2 Bit 0: " + ((xmas11 & 0x20) >> 5);
- mes "R2 Bit 1: " + ((xmas11 & 0x40) >> 6);
- mes "R3 Bit 0: " + ((xmas11 & 0x80) >> 7);
- mes "R3 Bit 1: " + ((xmas11 & 0x100) >> 8);
- mes "R4 Bit 0: " + ((xmas11 & 0x200) >> 9);
- mes "R4 Bit 1: " + ((xmas11 & 0x400) >> 10);
- mes "Dec Bit 0: " + ((xmas11 & 0x800) >> 11);
- mes "Dec Bit 1: " + ((xmas11 & 0x1000) >> 12);
- mes "Bed Bit 0: " + ((xmas11 & 0x2000) >> 13);
- mes "Bed Bit 1: " + ((xmas11 & 0x4000) >> 14);
- mes "Pot Bit 0: " + ((xmas11 & 0x8000) >> 15);
- mes "Pot Bit 1: " + ((xmas11 & 0x10000) >> 16);
- mes "plushmouboo b0: " + ((xmas11 & 0x20000) >> 17);
- mes "plushmouboo b1: " + ((xmas11 & 0x40000) >> 18);
- mes "plushmouboo b2: " + ((xmas11 & 0x80000) >> 19);
- mes "stickreinboo b0: " + ((xmas11 & 0x100000) >> 20);
- mes "stickreinboo b1: " + ((xmas11 & 0x200000) >> 21);
- mes "stickreinboo b1: " + ((xmas11 & 0x400000) >> 22);
- mes "doll b0: " + ((xmas11 & 0x800000) >> 23);
- mes "doll b1: " + ((xmas11 & 0x1000000) >> 24);
- mes "doll b2: " + ((xmas11 & 0x2000000) >> 25);
- mes "ball b0: " + ((xmas11 & 0x4000000) >> 26);
- mes "ball b1: " + ((xmas11 & 0x8000000) >> 27);
- mes "ball b2: " + ((xmas11 & 0x10000000) >> 28);
- mes "bad guy reward: " + ((xmas11 & 0x20000000) >> 29);
- mes "santa reward: " + ((xmas11 & 0x40000000) >> 30);
- mes "not used: " + ((xmas11 & 0x80000000) >> 31);
- close;
-
-L_Close:
- set @helppoints, 0;
- set @sabotagepoints, 0;
- close;
-}