@breezil/hypixel-parsers 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +235 -0
- package/dist/arcade.d.ts +560 -0
- package/dist/arcade.d.ts.map +1 -0
- package/dist/arcade.js +619 -0
- package/dist/arcade.js.map +1 -0
- package/dist/arenabrawl.d.ts +56 -0
- package/dist/arenabrawl.d.ts.map +1 -0
- package/dist/arenabrawl.js +107 -0
- package/dist/arenabrawl.js.map +1 -0
- package/dist/bedwars.d.ts +747 -0
- package/dist/bedwars.d.ts.map +1 -0
- package/dist/bedwars.js +844 -0
- package/dist/bedwars.js.map +1 -0
- package/dist/blitz.d.ts +105 -0
- package/dist/blitz.d.ts.map +1 -0
- package/dist/blitz.js +259 -0
- package/dist/blitz.js.map +1 -0
- package/dist/buildbattle.d.ts +54 -0
- package/dist/buildbattle.d.ts.map +1 -0
- package/dist/buildbattle.js +92 -0
- package/dist/buildbattle.js.map +1 -0
- package/dist/common.d.ts +11 -0
- package/dist/common.d.ts.map +1 -0
- package/dist/common.js +34 -0
- package/dist/common.js.map +1 -0
- package/dist/copsandcrims.d.ts +201 -0
- package/dist/copsandcrims.d.ts.map +1 -0
- package/dist/copsandcrims.js +269 -0
- package/dist/copsandcrims.js.map +1 -0
- package/dist/duels.d.ts +358 -0
- package/dist/duels.d.ts.map +1 -0
- package/dist/duels.js +570 -0
- package/dist/duels.js.map +1 -0
- package/dist/guild.d.ts +49 -0
- package/dist/guild.d.ts.map +1 -0
- package/dist/guild.js +95 -0
- package/dist/guild.js.map +1 -0
- package/dist/housing.d.ts +16 -0
- package/dist/housing.d.ts.map +1 -0
- package/dist/housing.js +34 -0
- package/dist/housing.js.map +1 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +66 -0
- package/dist/index.js.map +1 -0
- package/dist/megawalls.d.ts +363 -0
- package/dist/megawalls.d.ts.map +1 -0
- package/dist/megawalls.js +684 -0
- package/dist/megawalls.js.map +1 -0
- package/dist/murdermystery.d.ts +293 -0
- package/dist/murdermystery.d.ts.map +1 -0
- package/dist/murdermystery.js +349 -0
- package/dist/murdermystery.js.map +1 -0
- package/dist/nbt.d.ts +37 -0
- package/dist/nbt.d.ts.map +1 -0
- package/dist/nbt.js +133 -0
- package/dist/nbt.js.map +1 -0
- package/dist/paintball.d.ts +52 -0
- package/dist/paintball.d.ts.map +1 -0
- package/dist/paintball.js +79 -0
- package/dist/paintball.js.map +1 -0
- package/dist/pit.d.ts +181 -0
- package/dist/pit.d.ts.map +1 -0
- package/dist/pit.js +262 -0
- package/dist/pit.js.map +1 -0
- package/dist/player.d.ts +338 -0
- package/dist/player.d.ts.map +1 -0
- package/dist/player.js +521 -0
- package/dist/player.js.map +1 -0
- package/dist/quakecraft.d.ts +75 -0
- package/dist/quakecraft.d.ts.map +1 -0
- package/dist/quakecraft.js +99 -0
- package/dist/quakecraft.js.map +1 -0
- package/dist/recentgames.d.ts +10 -0
- package/dist/recentgames.d.ts.map +1 -0
- package/dist/recentgames.js +27 -0
- package/dist/recentgames.js.map +1 -0
- package/dist/resources-achievements.d.ts +29 -0
- package/dist/resources-achievements.d.ts.map +1 -0
- package/dist/resources-achievements.js +67 -0
- package/dist/resources-achievements.js.map +1 -0
- package/dist/resources-challenges.d.ts +12 -0
- package/dist/resources-challenges.d.ts.map +1 -0
- package/dist/resources-challenges.js +36 -0
- package/dist/resources-challenges.js.map +1 -0
- package/dist/resources-games.d.ts +10 -0
- package/dist/resources-games.d.ts.map +1 -0
- package/dist/resources-games.js +28 -0
- package/dist/resources-games.js.map +1 -0
- package/dist/resources-guild-achievements.d.ts +23 -0
- package/dist/resources-guild-achievements.d.ts.map +1 -0
- package/dist/resources-guild-achievements.js +56 -0
- package/dist/resources-guild-achievements.js.map +1 -0
- package/dist/resources-quests.d.ts +23 -0
- package/dist/resources-quests.d.ts.map +1 -0
- package/dist/resources-quests.js +53 -0
- package/dist/resources-quests.js.map +1 -0
- package/dist/resources-vanity.d.ts +19 -0
- package/dist/resources-vanity.d.ts.map +1 -0
- package/dist/resources-vanity.js +33 -0
- package/dist/resources-vanity.js.map +1 -0
- package/dist/skyblock-auctions.d.ts +50 -0
- package/dist/skyblock-auctions.d.ts.map +1 -0
- package/dist/skyblock-auctions.js +90 -0
- package/dist/skyblock-auctions.js.map +1 -0
- package/dist/skyblock-bazaar.d.ts +25 -0
- package/dist/skyblock-bazaar.d.ts.map +1 -0
- package/dist/skyblock-bazaar.js +54 -0
- package/dist/skyblock-bazaar.js.map +1 -0
- package/dist/skyblock-bingo.d.ts +8 -0
- package/dist/skyblock-bingo.d.ts.map +1 -0
- package/dist/skyblock-bingo.js +19 -0
- package/dist/skyblock-bingo.js.map +1 -0
- package/dist/skyblock-items.d.ts +150 -0
- package/dist/skyblock-items.d.ts.map +1 -0
- package/dist/skyblock-items.js +247 -0
- package/dist/skyblock-items.js.map +1 -0
- package/dist/skyblock-misc.d.ts +91 -0
- package/dist/skyblock-misc.d.ts.map +1 -0
- package/dist/skyblock-misc.js +159 -0
- package/dist/skyblock-misc.js.map +1 -0
- package/dist/skyblock-museum.d.ts +24 -0
- package/dist/skyblock-museum.d.ts.map +1 -0
- package/dist/skyblock-museum.js +51 -0
- package/dist/skyblock-museum.js.map +1 -0
- package/dist/skyblock-news.d.ts +12 -0
- package/dist/skyblock-news.d.ts.map +1 -0
- package/dist/skyblock-news.js +25 -0
- package/dist/skyblock-news.js.map +1 -0
- package/dist/skyblock-resources.d.ts +94 -0
- package/dist/skyblock-resources.d.ts.map +1 -0
- package/dist/skyblock-resources.js +175 -0
- package/dist/skyblock-resources.js.map +1 -0
- package/dist/skyblock.d.ts +972 -0
- package/dist/skyblock.d.ts.map +1 -0
- package/dist/skyblock.js +1371 -0
- package/dist/skyblock.js.map +1 -0
- package/dist/skywars.d.ts +319 -0
- package/dist/skywars.d.ts.map +1 -0
- package/dist/skywars.js +611 -0
- package/dist/skywars.js.map +1 -0
- package/dist/smashheroes.d.ts +126 -0
- package/dist/smashheroes.d.ts.map +1 -0
- package/dist/smashheroes.js +206 -0
- package/dist/smashheroes.js.map +1 -0
- package/dist/static.d.ts +42 -0
- package/dist/static.d.ts.map +1 -0
- package/dist/static.js +106 -0
- package/dist/static.js.map +1 -0
- package/dist/status.d.ts +9 -0
- package/dist/status.d.ts.map +1 -0
- package/dist/status.js +18 -0
- package/dist/status.js.map +1 -0
- package/dist/tntgames.d.ts +189 -0
- package/dist/tntgames.d.ts.map +1 -0
- package/dist/tntgames.js +283 -0
- package/dist/tntgames.js.map +1 -0
- package/dist/turbokartracers.d.ts +85 -0
- package/dist/turbokartracers.d.ts.map +1 -0
- package/dist/turbokartracers.js +165 -0
- package/dist/turbokartracers.js.map +1 -0
- package/dist/uhc.d.ts +55 -0
- package/dist/uhc.d.ts.map +1 -0
- package/dist/uhc.js +94 -0
- package/dist/uhc.js.map +1 -0
- package/dist/vampirez.d.ts +75 -0
- package/dist/vampirez.d.ts.map +1 -0
- package/dist/vampirez.js +104 -0
- package/dist/vampirez.js.map +1 -0
- package/dist/walls.d.ts +96 -0
- package/dist/walls.d.ts.map +1 -0
- package/dist/walls.js +122 -0
- package/dist/walls.js.map +1 -0
- package/dist/warlords.d.ts +229 -0
- package/dist/warlords.d.ts.map +1 -0
- package/dist/warlords.js +309 -0
- package/dist/warlords.js.map +1 -0
- package/package.json +55 -0
package/dist/arcade.js
ADDED
|
@@ -0,0 +1,619 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseArcade = parseArcade;
|
|
4
|
+
const common_1 = require("./common");
|
|
5
|
+
const DROPPER_MAP_KEYS = {
|
|
6
|
+
atlantis: "atlantis",
|
|
7
|
+
balloons: "balloons",
|
|
8
|
+
bbq: "bbq",
|
|
9
|
+
beanstalk: "beanstalk",
|
|
10
|
+
birdcage: "birdcage",
|
|
11
|
+
boardGames: "boardgames",
|
|
12
|
+
bridges: "bridges",
|
|
13
|
+
butterflies: "butterflies",
|
|
14
|
+
cabin: "cabin",
|
|
15
|
+
castle: "castle",
|
|
16
|
+
city: "city",
|
|
17
|
+
distance: "distance",
|
|
18
|
+
distortion: "distortion",
|
|
19
|
+
drainage: "drainage",
|
|
20
|
+
emoji: "emoji",
|
|
21
|
+
factory: "factory",
|
|
22
|
+
floatingIslands: "floatingislands",
|
|
23
|
+
flytrap: "flytrap",
|
|
24
|
+
frogspawn: "frogspawn",
|
|
25
|
+
gears: "gears",
|
|
26
|
+
geometry: "geometry",
|
|
27
|
+
glacier: "glacier",
|
|
28
|
+
hellgate: "hellgate",
|
|
29
|
+
illusion: "illusion",
|
|
30
|
+
iris: "iris",
|
|
31
|
+
kingDommines: "kingdommines",
|
|
32
|
+
kingsPass: "kingspass",
|
|
33
|
+
kraken: "kraken",
|
|
34
|
+
launchZone: "launchzone",
|
|
35
|
+
lavaFall: "lavafall",
|
|
36
|
+
lily: "lily",
|
|
37
|
+
maelstrom: "maelstrom",
|
|
38
|
+
mainframe: "mainframe",
|
|
39
|
+
microscope: "microscope",
|
|
40
|
+
mineshaft: "mineshaft",
|
|
41
|
+
mushroom: "mushroom",
|
|
42
|
+
nightlife: "nightlife",
|
|
43
|
+
ocean: "ocean",
|
|
44
|
+
overgrown: "overgrown",
|
|
45
|
+
painted: "painted",
|
|
46
|
+
paradigm: "paradigm",
|
|
47
|
+
plughole: "plughole",
|
|
48
|
+
raindrops: "raindrops",
|
|
49
|
+
ravine: "ravine",
|
|
50
|
+
retro: "retro",
|
|
51
|
+
revolve: "revolve",
|
|
52
|
+
sandWorm: "sandworm",
|
|
53
|
+
sewer: "sewer",
|
|
54
|
+
space: "space",
|
|
55
|
+
stratocumulus: "stratocumulus",
|
|
56
|
+
sweets: "sweets",
|
|
57
|
+
tangle: "tangle",
|
|
58
|
+
time: "time",
|
|
59
|
+
toilet: "toilet",
|
|
60
|
+
ufo: "ufo",
|
|
61
|
+
upsideDown: "upsidedown",
|
|
62
|
+
vintage: "vintage",
|
|
63
|
+
vortex: "vortex",
|
|
64
|
+
warp: "warp",
|
|
65
|
+
warPortal: "warportal",
|
|
66
|
+
well: "well",
|
|
67
|
+
western: "western",
|
|
68
|
+
};
|
|
69
|
+
const PARTY_GAME_KEYS = {
|
|
70
|
+
animalSlaughter: "animal_slaughter",
|
|
71
|
+
anvilSpleef: "anvil_spleef",
|
|
72
|
+
avalanche: "avalanche",
|
|
73
|
+
bombardment: "bombardment",
|
|
74
|
+
cannonPainting: "cannon_painting",
|
|
75
|
+
chickenRings: "chicken_rings",
|
|
76
|
+
dive: "dive",
|
|
77
|
+
fireLeapers: "fire_leapers",
|
|
78
|
+
frozenFloor: "frozen_floor",
|
|
79
|
+
highGround: "high_ground",
|
|
80
|
+
hoeHoeHoe: "hoe_hoe_hoe",
|
|
81
|
+
jigsawRush: "jigsaw_rush",
|
|
82
|
+
jungleJump: "jungle_jump",
|
|
83
|
+
labEscape: "lab_escape",
|
|
84
|
+
lawnMoower: "lawn_moower",
|
|
85
|
+
minecartRacing: "minecart_racing",
|
|
86
|
+
pigFishing: "pig_fishing",
|
|
87
|
+
pigJousting: "pig_jousting",
|
|
88
|
+
rpg16: "rpg_16",
|
|
89
|
+
shootingRange: "shooting_range",
|
|
90
|
+
spiderMaze: "spider_maze",
|
|
91
|
+
superSheep: "super_sheep",
|
|
92
|
+
theFloorIsLava: "the_floor_is_lava",
|
|
93
|
+
trampolinio: "trampolinio",
|
|
94
|
+
volcano: "volcano",
|
|
95
|
+
workshop: "workshop",
|
|
96
|
+
};
|
|
97
|
+
const ZOMBIES_ENEMY_KEYS = {
|
|
98
|
+
basic: "basic_zombie_kills_zombies",
|
|
99
|
+
basketball: "basketball_zombie_zombie_kills_zombies",
|
|
100
|
+
blaze: "blaze_zombie_kills_zombies",
|
|
101
|
+
blob: "blob_zombie_kills_zombies",
|
|
102
|
+
bomb: "bomb_zombie_kills_zombies",
|
|
103
|
+
broodmother: "broodmother_zombie_kills_zombies",
|
|
104
|
+
caveSpider: "cave_spider_zombie_kills_zombies",
|
|
105
|
+
chargedCreeper: "charged_creeper_zombie_kills_zombies",
|
|
106
|
+
chgluglu: "chgluglu_zombie_kills_zombies",
|
|
107
|
+
clown: "clown_zombie_kills_zombies",
|
|
108
|
+
corruptedPigman: "corrupted_pigman_zombie_kills_zombies",
|
|
109
|
+
creeper: "creeper_zombie_kills_zombies",
|
|
110
|
+
daBomb: "da_bomb_zombie_kills_zombies",
|
|
111
|
+
drowned: "drowned_zombie_kills_zombies",
|
|
112
|
+
empowered: "empowered_zombie_kills_zombies",
|
|
113
|
+
ender: "ender_zombie_kills_zombies",
|
|
114
|
+
endermite: "endermite_zombie_kills_zombies",
|
|
115
|
+
familyDaughter: "family_daughter_zombie_kills_zombies",
|
|
116
|
+
familyFather: "family_father_zombie_kills_zombies",
|
|
117
|
+
familyMother: "family_mother_zombie_kills_zombies",
|
|
118
|
+
familyTwinBlue: "family_twin_blue_zombie_kills_zombies",
|
|
119
|
+
familyTwinRed: "family_twin_red_zombie_kills_zombies",
|
|
120
|
+
fireLord: "fire_lord_zombie_kills_zombies",
|
|
121
|
+
fire: "fire_zombie_kills_zombies",
|
|
122
|
+
frostZombie: "frost_zombie_zombie_kills_zombies",
|
|
123
|
+
ghast: "ghast_zombie_kills_zombies",
|
|
124
|
+
giantRainbow: "giant_rainbow_zombie_kills_zombies",
|
|
125
|
+
giant: "giant_zombie_kills_zombies",
|
|
126
|
+
guardZombie: "guard_zombie_zombie_kills_zombies",
|
|
127
|
+
guardian: "guardian_zombie_kills_zombies",
|
|
128
|
+
headlessPigman: "headless_pigman_zombie_kills_zombies",
|
|
129
|
+
herobrineMinion: "herobrine_minion_zombie_kills_zombies",
|
|
130
|
+
herobrine: "herobrine_zombie_kills_zombies",
|
|
131
|
+
human: "human_zombie_zombie_kills_zombies",
|
|
132
|
+
infernoPigman: "inferno_pigman_zombie_kills_zombies",
|
|
133
|
+
inferno: "inferno_zombie_kills_zombies",
|
|
134
|
+
invisible: "invisible_zombie_kills_zombies",
|
|
135
|
+
ironGolem: "iron_golem_zombie_kills_zombies",
|
|
136
|
+
kingDrowned: "king_drowned_zombie_kills_zombies",
|
|
137
|
+
kingSlime: "king_slime_zombie_kills_zombies",
|
|
138
|
+
knightDrowned: "knight_drowned_zombie_kills_zombies",
|
|
139
|
+
magmaCube: "magma_cube_zombie_kills_zombies",
|
|
140
|
+
magma: "magma_zombie_kills_zombies",
|
|
141
|
+
mcdonaldsPigman: "mcdonalds_pigman_zombie_kills_zombies",
|
|
142
|
+
mcdonaldsZombie: "mcdonalds_zombie_zombie_kills_zombies",
|
|
143
|
+
megaBlob: "mega_blob_zombie_kills_zombies",
|
|
144
|
+
megaMagma: "mega_magma_zombie_kills_zombies",
|
|
145
|
+
molten: "molten_zombie_kills_zombies",
|
|
146
|
+
murderPigman: "murder_pigman_zombie_kills_zombies",
|
|
147
|
+
murderZombie: "murder_zombie_zombie_kills_zombies",
|
|
148
|
+
nurseZombie: "nurse_zombie_zombie_kills_zombies",
|
|
149
|
+
pigZombie: "pig_zombie_zombie_kills_zombies",
|
|
150
|
+
prisonerPigman2Cell: "prisoner_pigman_2_cell_zombie_kills_zombies",
|
|
151
|
+
prisonerPigman2: "prisoner_pigman_2_zombie_kills_zombies",
|
|
152
|
+
prisonerPigmanCell: "prisoner_pigman_cell_zombie_kills_zombies",
|
|
153
|
+
prisonerPigman: "prisoner_pigman_zombie_kills_zombies",
|
|
154
|
+
prisonerSkeleton: "prisoner_skeleton_zombie_kills_zombies",
|
|
155
|
+
prisonerZombieAngry2: "prisoner_zombie_angry_2_zombie_kills_zombies",
|
|
156
|
+
prisonerZombieAngry3: "prisoner_zombie_angry_3_zombie_kills_zombies",
|
|
157
|
+
prisonerZombieAngry: "prisoner_zombie_angry_zombie_kills_zombies",
|
|
158
|
+
prisonerZombieCell: "prisoner_zombie_cell_zombie_kills_zombies",
|
|
159
|
+
prisoner: "prisoner_zombie_zombie_kills_zombies",
|
|
160
|
+
rainbow: "rainbow_zombie_kills_zombies",
|
|
161
|
+
scuba: "scuba_zombie_zombie_kills_zombies",
|
|
162
|
+
sentinel: "sentinel_zombie_kills_zombies",
|
|
163
|
+
shadySkeleton: "shady_skeleton_zombie_kills_zombies",
|
|
164
|
+
silverfish: "silverfish_zombie_kills_zombies",
|
|
165
|
+
skelefish: "skelefish_zombie_kills_zombies",
|
|
166
|
+
skeleton: "skeleton_zombie_kills_zombies",
|
|
167
|
+
slime: "slime_zombie_kills_zombies",
|
|
168
|
+
slimeZombie: "slime_zombie_zombie_kills_zombies",
|
|
169
|
+
spaceBlaster: "space_blaster_zombie_kills_zombies",
|
|
170
|
+
spaceGrunt: "space_grunt_zombie_kills_zombies",
|
|
171
|
+
tankDrowned: "tank_drowned_zombie_kills_zombies",
|
|
172
|
+
tankZombie: "tank_zombie_zombie_kills_zombies",
|
|
173
|
+
theOldOne: "the_old_one_zombie_kills_zombies",
|
|
174
|
+
theWarden: "the_warden_zombie_kills_zombies",
|
|
175
|
+
tntBaby: "tnt_baby_zombie_kills_zombies",
|
|
176
|
+
tnt: "tnt_zombie_kills_zombies",
|
|
177
|
+
werewolf: "werewolf_zombie_kills_zombies",
|
|
178
|
+
witch: "witch_zombie_kills_zombies",
|
|
179
|
+
witherSkeleton: "wither_skeleton_zombie_kills_zombies",
|
|
180
|
+
wither: "wither_zombie_kills_zombies",
|
|
181
|
+
witherZombie: "wither_zombie_zombie_kills_zombies",
|
|
182
|
+
wolfDrowned: "wolf_drowned_zombie_kills_zombies",
|
|
183
|
+
wolfPet: "wolf_pet_zombie_kills_zombies",
|
|
184
|
+
wolf: "wolf_zombie_kills_zombies",
|
|
185
|
+
worldEnder: "world_ender_zombie_kills_zombies",
|
|
186
|
+
wormSmall: "worm_small_zombie_kills_zombies",
|
|
187
|
+
worm: "worm_zombie_kills_zombies",
|
|
188
|
+
};
|
|
189
|
+
function buildMap(keys, make) {
|
|
190
|
+
const out = {};
|
|
191
|
+
for (const name of Object.keys(keys)) {
|
|
192
|
+
out[name] = make(keys[name], name);
|
|
193
|
+
}
|
|
194
|
+
return out;
|
|
195
|
+
}
|
|
196
|
+
function optionOn(arcade, key) {
|
|
197
|
+
return (0, common_1.str)(arcade, key) === "on";
|
|
198
|
+
}
|
|
199
|
+
function stringList(arcade, key) {
|
|
200
|
+
const value = arcade[key];
|
|
201
|
+
return Array.isArray(value)
|
|
202
|
+
? value.filter((entry) => typeof entry === "string")
|
|
203
|
+
: [];
|
|
204
|
+
}
|
|
205
|
+
function numberMap(arcade, key) {
|
|
206
|
+
const source = (0, common_1.obj)(arcade, key);
|
|
207
|
+
const out = {};
|
|
208
|
+
for (const entry of Object.keys(source)) {
|
|
209
|
+
const value = source[entry];
|
|
210
|
+
if (typeof value === "number") {
|
|
211
|
+
out[entry] = value;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
return out;
|
|
215
|
+
}
|
|
216
|
+
function numberMapOf(source) {
|
|
217
|
+
const out = {};
|
|
218
|
+
for (const entry of Object.keys(source)) {
|
|
219
|
+
const value = source[entry];
|
|
220
|
+
if (typeof value === "number") {
|
|
221
|
+
out[entry] = value;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
return out;
|
|
225
|
+
}
|
|
226
|
+
function stringListMap(source) {
|
|
227
|
+
const out = {};
|
|
228
|
+
for (const entry of Object.keys(source)) {
|
|
229
|
+
const value = source[entry];
|
|
230
|
+
if (Array.isArray(value)) {
|
|
231
|
+
out[entry] = value.filter((item) => typeof item === "string");
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
return out;
|
|
235
|
+
}
|
|
236
|
+
function parsePartyGame(arcade, game) {
|
|
237
|
+
return {
|
|
238
|
+
bestScore: (0, common_1.num)(arcade, `${game}_best_score_party`),
|
|
239
|
+
bestTime: (0, common_1.num)(arcade, `${game}_best_time_party`),
|
|
240
|
+
kills: (0, common_1.num)(arcade, `${game}_kills_party`),
|
|
241
|
+
roundWins: (0, common_1.num)(arcade, `${game}_round_wins_party`),
|
|
242
|
+
totalScore: (0, common_1.num)(arcade, `${game}_total_score_party`),
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
function parsePixelPartyMode(pixelParty, suffix) {
|
|
246
|
+
return {
|
|
247
|
+
gamesPlayed: (0, common_1.num)(pixelParty, `games_played${suffix}`),
|
|
248
|
+
wins: (0, common_1.num)(pixelParty, `wins${suffix}`),
|
|
249
|
+
powerUpsCollected: (0, common_1.num)(pixelParty, `power_ups_collected${suffix}`),
|
|
250
|
+
roundsCompleted: (0, common_1.num)(pixelParty, `rounds_completed${suffix}`),
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
function parseZombiesMapMode(arcade, map, mode) {
|
|
254
|
+
const suffix = `zombies_${map}_${mode}`;
|
|
255
|
+
return {
|
|
256
|
+
wins: (0, common_1.num)(arcade, `wins_${suffix}`),
|
|
257
|
+
deaths: (0, common_1.num)(arcade, `deaths_${suffix}`),
|
|
258
|
+
bestRound: (0, common_1.num)(arcade, `best_round_${suffix}`),
|
|
259
|
+
zombieKills: (0, common_1.num)(arcade, `zombie_kills_${suffix}`),
|
|
260
|
+
doorsOpened: (0, common_1.num)(arcade, `doors_opened_${suffix}`),
|
|
261
|
+
windowsRepaired: (0, common_1.num)(arcade, `windows_repaired_${suffix}`),
|
|
262
|
+
playersRevived: (0, common_1.num)(arcade, `players_revived_${suffix}`),
|
|
263
|
+
timesKnockedDown: (0, common_1.num)(arcade, `times_knocked_down_${suffix}`),
|
|
264
|
+
totalRoundsSurvived: (0, common_1.num)(arcade, `total_rounds_survived_${suffix}`),
|
|
265
|
+
fastestTime10: (0, common_1.num)(arcade, `fastest_time_10_${suffix}`),
|
|
266
|
+
fastestTime20: (0, common_1.num)(arcade, `fastest_time_20_${suffix}`),
|
|
267
|
+
fastestTime30: (0, common_1.num)(arcade, `fastest_time_30_${suffix}`),
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
function parseZombiesMap(arcade, map) {
|
|
271
|
+
const suffix = `zombies_${map}`;
|
|
272
|
+
return {
|
|
273
|
+
wins: (0, common_1.num)(arcade, `wins_${suffix}`),
|
|
274
|
+
deaths: (0, common_1.num)(arcade, `deaths_${suffix}`),
|
|
275
|
+
bestRound: (0, common_1.num)(arcade, `best_round_${suffix}`),
|
|
276
|
+
zombieKills: (0, common_1.num)(arcade, `zombie_kills_${suffix}`),
|
|
277
|
+
doorsOpened: (0, common_1.num)(arcade, `doors_opened_${suffix}`),
|
|
278
|
+
windowsRepaired: (0, common_1.num)(arcade, `windows_repaired_${suffix}`),
|
|
279
|
+
playersRevived: (0, common_1.num)(arcade, `players_revived_${suffix}`),
|
|
280
|
+
timesKnockedDown: (0, common_1.num)(arcade, `times_knocked_down_${suffix}`),
|
|
281
|
+
totalRoundsSurvived: (0, common_1.num)(arcade, `total_rounds_survived_${suffix}`),
|
|
282
|
+
normal: parseZombiesMapMode(arcade, map, "normal"),
|
|
283
|
+
hard: parseZombiesMapMode(arcade, map, "hard"),
|
|
284
|
+
rip: parseZombiesMapMode(arcade, map, "rip"),
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
function parseZombiesAlienArcadium(arcade) {
|
|
288
|
+
const map = "alienarcadium";
|
|
289
|
+
const suffix = `zombies_${map}`;
|
|
290
|
+
return {
|
|
291
|
+
wins: (0, common_1.num)(arcade, `wins_${suffix}`),
|
|
292
|
+
deaths: (0, common_1.num)(arcade, `deaths_${suffix}`),
|
|
293
|
+
bestRound: (0, common_1.num)(arcade, `best_round_${suffix}`),
|
|
294
|
+
zombieKills: (0, common_1.num)(arcade, `zombie_kills_${suffix}`),
|
|
295
|
+
doorsOpened: (0, common_1.num)(arcade, `doors_opened_${suffix}`),
|
|
296
|
+
windowsRepaired: (0, common_1.num)(arcade, `windows_repaired_${suffix}`),
|
|
297
|
+
playersRevived: (0, common_1.num)(arcade, `players_revived_${suffix}`),
|
|
298
|
+
timesKnockedDown: (0, common_1.num)(arcade, `times_knocked_down_${suffix}`),
|
|
299
|
+
totalRoundsSurvived: (0, common_1.num)(arcade, `total_rounds_survived_${suffix}`),
|
|
300
|
+
normal: parseZombiesMapMode(arcade, map, "normal"),
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
/** Parses a player's Arcade stats (`stats.Arcade`) into a typed object. */
|
|
304
|
+
function parseArcade(stats) {
|
|
305
|
+
const arcade = (0, common_1.obj)(stats, "Arcade");
|
|
306
|
+
if (Object.keys(arcade).length === 0) {
|
|
307
|
+
return null;
|
|
308
|
+
}
|
|
309
|
+
const dropper = (0, common_1.obj)(arcade, "dropper");
|
|
310
|
+
const dropperMaps = (0, common_1.obj)(dropper, "map_stats");
|
|
311
|
+
const pixelParty = (0, common_1.obj)(arcade, "pixel_party");
|
|
312
|
+
const pixelPartyColorblind = (0, common_1.obj)(arcade, "pixelparty");
|
|
313
|
+
const leaderboardSettings = (0, common_1.obj)(arcade, "leaderboardSettings");
|
|
314
|
+
const disastersStats = (0, common_1.obj)((0, common_1.obj)(arcade, "disasters"), "stats");
|
|
315
|
+
return {
|
|
316
|
+
coins: (0, common_1.num)(arcade, "coins") || (0, common_1.num)(arcade, "tokens"),
|
|
317
|
+
monthlyTokensA: (0, common_1.num)(arcade, "monthly_coins_a"),
|
|
318
|
+
monthlyTokensB: (0, common_1.num)(arcade, "monthly_coins_b"),
|
|
319
|
+
weeklyTokensA: (0, common_1.num)(arcade, "weekly_tokens_a") || (0, common_1.num)(arcade, "weekly_coins_a"),
|
|
320
|
+
weeklyTokensB: (0, common_1.num)(arcade, "weekly_tokens_b") || (0, common_1.num)(arcade, "weekly_coins_b"),
|
|
321
|
+
mysteryGiftsObtained: (0, common_1.num)(arcade, "mystery_gifts_obtained"),
|
|
322
|
+
poopCollected: (0, common_1.num)(arcade, "poop_collected"),
|
|
323
|
+
maxWave: (0, common_1.num)(arcade, "max_wave"),
|
|
324
|
+
stampLevel: (0, common_1.num)(arcade, "stamp_level"),
|
|
325
|
+
timestamp: (0, common_1.num)(arcade, "time_stamp"),
|
|
326
|
+
lastTourneyAd: (0, common_1.num)(arcade, "lastTourneyAd"),
|
|
327
|
+
blood: (0, common_1.bool)(arcade, "blood"),
|
|
328
|
+
flash: (0, common_1.bool)(arcade, "flash"),
|
|
329
|
+
hints: (0, common_1.bool)(arcade, "hints"),
|
|
330
|
+
music: (0, common_1.bool)(arcade, "music"),
|
|
331
|
+
showInfoBook: (0, common_1.bool)(arcade, "showinfobook"),
|
|
332
|
+
persistArcadeResourcePack: (0, common_1.str)(arcade, "persistArcadeResourcePack"),
|
|
333
|
+
dec2016Achievements: (0, common_1.bool)(arcade, "dec2016_achievements"),
|
|
334
|
+
dec2016Achievements2: (0, common_1.bool)(arcade, "dec2016_achievements2"),
|
|
335
|
+
bountyHead: (0, common_1.str)(arcade, "bounty_head"),
|
|
336
|
+
meleeWeapon: (0, common_1.str)(arcade, "melee_weapon"),
|
|
337
|
+
language: (0, common_1.str)(arcade, "language"),
|
|
338
|
+
shopSort: (0, common_1.str)(arcade, "shop_sort"),
|
|
339
|
+
activeMovementTrail: (0, common_1.str)(arcade, "active_movement_trail"),
|
|
340
|
+
activeProjectileTrail: (0, common_1.str)(arcade, "active_projectile_trail"),
|
|
341
|
+
activeVictoryDance: (0, common_1.str)(arcade, "active_victory_dance"),
|
|
342
|
+
pixelPartyHelmet: (0, common_1.str)(arcade, "pixelparty_helmet"),
|
|
343
|
+
pixelPartyPants: (0, common_1.str)(arcade, "pixelparty_pants"),
|
|
344
|
+
pixelPartyMusicVolume: (0, common_1.num)(arcade, "pixel_party_music_volume"),
|
|
345
|
+
packages: stringList(arcade, "packages"),
|
|
346
|
+
leaderboardSettings: {
|
|
347
|
+
mode: (0, common_1.str)(leaderboardSettings, "mode"),
|
|
348
|
+
resetType: (0, common_1.str)(leaderboardSettings, "resetType"),
|
|
349
|
+
},
|
|
350
|
+
options: {
|
|
351
|
+
showTutorialBook: optionOn(arcade, "option_show_tutorial_book"),
|
|
352
|
+
},
|
|
353
|
+
blockingDead: {
|
|
354
|
+
wins: (0, common_1.num)(arcade, "wins_dayone"),
|
|
355
|
+
kills: (0, common_1.num)(arcade, "kills_dayone"),
|
|
356
|
+
headshots: (0, common_1.num)(arcade, "headshots_dayone"),
|
|
357
|
+
},
|
|
358
|
+
dragonWars: {
|
|
359
|
+
wins: (0, common_1.num)(arcade, "wins_dragonwars2"),
|
|
360
|
+
kills: (0, common_1.num)(arcade, "kills_dragonwars2"),
|
|
361
|
+
},
|
|
362
|
+
pixelPainters: {
|
|
363
|
+
wins: (0, common_1.num)(arcade, "wins_draw_their_thing"),
|
|
364
|
+
},
|
|
365
|
+
pixelParty: {
|
|
366
|
+
gamesPlayed: (0, common_1.num)(pixelParty, "games_played"),
|
|
367
|
+
wins: (0, common_1.num)(pixelParty, "wins"),
|
|
368
|
+
highestRound: (0, common_1.num)(pixelParty, "highest_round"),
|
|
369
|
+
powerUpsCollected: (0, common_1.num)(pixelParty, "power_ups_collected"),
|
|
370
|
+
roundsCompleted: (0, common_1.num)(pixelParty, "rounds_completed"),
|
|
371
|
+
normal: parsePixelPartyMode(pixelParty, "_normal"),
|
|
372
|
+
hyper: parsePixelPartyMode(pixelParty, "_hyper"),
|
|
373
|
+
},
|
|
374
|
+
pixelPartyColorblind: {
|
|
375
|
+
preset: (0, common_1.str)(pixelPartyColorblind, "colorblind_preset"),
|
|
376
|
+
customPresets: stringListMap((0, common_1.obj)(pixelPartyColorblind, "colorblind_custom_presets")),
|
|
377
|
+
},
|
|
378
|
+
disasters: {
|
|
379
|
+
gamesPlayed: (0, common_1.num)(disastersStats, "games_played"),
|
|
380
|
+
wins: (0, common_1.num)(disastersStats, "wins"),
|
|
381
|
+
losses: (0, common_1.num)(disastersStats, "losses"),
|
|
382
|
+
timeSurvived: (0, common_1.num)(disastersStats, "time_survived"),
|
|
383
|
+
deaths: numberMapOf((0, common_1.obj)(disastersStats, "deaths")),
|
|
384
|
+
survived: numberMapOf((0, common_1.obj)(disastersStats, "survived")),
|
|
385
|
+
},
|
|
386
|
+
dtt: {
|
|
387
|
+
dropdown: (0, common_1.bool)(arcade, "dtt_dropdown"),
|
|
388
|
+
filter: (0, common_1.bool)(arcade, "dtt_filter"),
|
|
389
|
+
},
|
|
390
|
+
dropper: {
|
|
391
|
+
wins: (0, common_1.num)(dropper, "wins"),
|
|
392
|
+
fails: (0, common_1.num)(dropper, "fails"),
|
|
393
|
+
fastestGame: (0, common_1.num)(dropper, "fastest_game"),
|
|
394
|
+
flawlessGames: (0, common_1.num)(dropper, "flawless_games"),
|
|
395
|
+
gamesPlayed: (0, common_1.num)(dropper, "games_played"),
|
|
396
|
+
gamesFinished: (0, common_1.num)(dropper, "games_finished"),
|
|
397
|
+
mapsCompleted: (0, common_1.num)(dropper, "maps_completed"),
|
|
398
|
+
maps: buildMap(DROPPER_MAP_KEYS, (rawKey) => {
|
|
399
|
+
const map = (0, common_1.obj)(dropperMaps, rawKey);
|
|
400
|
+
return {
|
|
401
|
+
bestTime: (0, common_1.num)(map, "best_time"),
|
|
402
|
+
completions: (0, common_1.num)(map, "completions"),
|
|
403
|
+
};
|
|
404
|
+
}),
|
|
405
|
+
},
|
|
406
|
+
easterSimulator: {
|
|
407
|
+
wins: (0, common_1.num)(arcade, "wins_easter_simulator"),
|
|
408
|
+
eggsFound: (0, common_1.num)(arcade, "eggs_found_easter_simulator"),
|
|
409
|
+
},
|
|
410
|
+
enderSpleef: {
|
|
411
|
+
wins: (0, common_1.num)(arcade, "wins_ender"),
|
|
412
|
+
blocksDestroyed: (0, common_1.num)(arcade, "blocks_destroyed_ender"),
|
|
413
|
+
spleefTrail: (0, common_1.str)(arcade, "enderspleef_trail"),
|
|
414
|
+
powerupActivations: (0, common_1.num)(arcade, "powerup_activations_ender"),
|
|
415
|
+
bigshotPowerupActivations: (0, common_1.num)(arcade, "bigshot_powerup_activations_ender"),
|
|
416
|
+
tripleshotPowerupActivations: (0, common_1.num)(arcade, "tripleshot_powerup_activations_ender"),
|
|
417
|
+
},
|
|
418
|
+
farmHunt: {
|
|
419
|
+
wins: (0, common_1.num)(arcade, "wins_farm_hunt"),
|
|
420
|
+
kills: (0, common_1.num)(arcade, "kills_farm_hunt"),
|
|
421
|
+
poopCollected: (0, common_1.num)(arcade, "poop_collected_farm_hunt"),
|
|
422
|
+
bowKills: (0, common_1.num)(arcade, "bow_kills_farm_hunt"),
|
|
423
|
+
animalWins: (0, common_1.num)(arcade, "animal_wins_farm_hunt"),
|
|
424
|
+
animalKills: (0, common_1.num)(arcade, "animal_kills_farm_hunt"),
|
|
425
|
+
animalBowKills: (0, common_1.num)(arcade, "animal_bow_kills_farm_hunt"),
|
|
426
|
+
animalsBowKills: (0, common_1.num)(arcade, "animals_bow_kills_farm_hunt"),
|
|
427
|
+
hunterWins: (0, common_1.num)(arcade, "hunter_wins_farm_hunt"),
|
|
428
|
+
hunterKills: (0, common_1.num)(arcade, "hunter_kills_farm_hunt"),
|
|
429
|
+
hunterBowKills: (0, common_1.num)(arcade, "hunter_bow_kills_farm_hunt"),
|
|
430
|
+
huntersBowKills: (0, common_1.num)(arcade, "hunters_bow_kills_farm_hunt"),
|
|
431
|
+
tauntsUsed: (0, common_1.num)(arcade, "taunts_used_farm_hunt"),
|
|
432
|
+
safeTauntsUsed: (0, common_1.num)(arcade, "safe_taunts_used_farm_hunt"),
|
|
433
|
+
riskyTauntsUsed: (0, common_1.num)(arcade, "risky_taunts_used_farm_hunt"),
|
|
434
|
+
dangerousTauntsUsed: (0, common_1.num)(arcade, "dangerous_taunts_used_farm_hunt"),
|
|
435
|
+
fireworkTauntsUsed: (0, common_1.num)(arcade, "firework_taunts_used_farm_hunt"),
|
|
436
|
+
},
|
|
437
|
+
galaxyWars: {
|
|
438
|
+
gameWins: (0, common_1.num)(arcade, "sw_game_wins"),
|
|
439
|
+
kills: (0, common_1.num)(arcade, "sw_kills"),
|
|
440
|
+
deaths: (0, common_1.num)(arcade, "sw_deaths"),
|
|
441
|
+
empireKills: (0, common_1.num)(arcade, "sw_empire_kills"),
|
|
442
|
+
rebelKills: (0, common_1.num)(arcade, "sw_rebel_kills"),
|
|
443
|
+
shotsFired: (0, common_1.num)(arcade, "sw_shots_fired"),
|
|
444
|
+
monthlyKillsA: (0, common_1.num)(arcade, "sw_monthly_kills_a"),
|
|
445
|
+
monthlyKillsB: (0, common_1.num)(arcade, "sw_monthly_kills_b"),
|
|
446
|
+
weeklyKillsA: (0, common_1.num)(arcade, "sw_weekly_kills_a"),
|
|
447
|
+
weeklyKillsB: (0, common_1.num)(arcade, "sw_weekly_kills_b"),
|
|
448
|
+
},
|
|
449
|
+
grinchSimulator: {
|
|
450
|
+
wins: (0, common_1.num)(arcade, "wins_grinch_simulator_v2"),
|
|
451
|
+
gifts: (0, common_1.num)(arcade, "gifts_grinch_simulator_v2"),
|
|
452
|
+
winsTourney: (0, common_1.num)(arcade, "wins_grinch_simulator_v2_tourney"),
|
|
453
|
+
giftsTourney: (0, common_1.num)(arcade, "gifts_grinch_simulator_v2_tourney"),
|
|
454
|
+
lossesTourney: (0, common_1.num)(arcade, "losses_grinch_simulator_v2_tourney"),
|
|
455
|
+
winsTourneyGrinchSimulatorOne: (0, common_1.num)(arcade, "wins_grinch_simulator_v2_tourney_grinch_simulator_1"),
|
|
456
|
+
giftsTourneyGrinchSimulatorOne: (0, common_1.num)(arcade, "gifts_grinch_simulator_v2_tourney_grinch_simulator_1"),
|
|
457
|
+
lossesTourneyGrinchSimulatorOne: (0, common_1.num)(arcade, "losses_grinch_simulator_v2_tourney_grinch_simulator_1"),
|
|
458
|
+
},
|
|
459
|
+
halloweenSimulator: {
|
|
460
|
+
wins: (0, common_1.num)(arcade, "wins_halloween_simulator"),
|
|
461
|
+
candyFound: (0, common_1.num)(arcade, "candy_found_halloween_simulator"),
|
|
462
|
+
},
|
|
463
|
+
hideAndSeek: {
|
|
464
|
+
hiderWins: (0, common_1.num)(arcade, "hider_wins_hide_and_seek"),
|
|
465
|
+
seekerWins: (0, common_1.num)(arcade, "seeker_wins_hide_and_seek"),
|
|
466
|
+
partyPooperHiderWins: (0, common_1.num)(arcade, "party_pooper_hider_wins_hide_and_seek"),
|
|
467
|
+
partyPooperSeekerWins: (0, common_1.num)(arcade, "party_pooper_seeker_wins_hide_and_seek"),
|
|
468
|
+
propHuntHiderWins: (0, common_1.num)(arcade, "prop_hunt_hider_wins_hide_and_seek"),
|
|
469
|
+
propHuntSeekerWins: (0, common_1.num)(arcade, "prop_hunt_seeker_wins_hide_and_seek"),
|
|
470
|
+
},
|
|
471
|
+
holeInTheWall: {
|
|
472
|
+
wins: (0, common_1.num)(arcade, "wins_hole_in_the_wall"),
|
|
473
|
+
rounds: (0, common_1.num)(arcade, "rounds_hole_in_the_wall"),
|
|
474
|
+
color: (0, common_1.str)(arcade, "hitw_color"),
|
|
475
|
+
recordFinish: (0, common_1.num)(arcade, "hitw_record_f"),
|
|
476
|
+
recordQualification: (0, common_1.num)(arcade, "hitw_record_q"),
|
|
477
|
+
},
|
|
478
|
+
hypixelSports: {
|
|
479
|
+
wins: (0, common_1.num)(arcade, "wins_hypixel_sports"),
|
|
480
|
+
},
|
|
481
|
+
miniWalls: {
|
|
482
|
+
wins: (0, common_1.num)(arcade, "wins_mini_walls"),
|
|
483
|
+
kills: (0, common_1.num)(arcade, "kills_mini_walls"),
|
|
484
|
+
finalKills: (0, common_1.num)(arcade, "final_kills_mini_walls"),
|
|
485
|
+
deaths: (0, common_1.num)(arcade, "deaths_mini_walls"),
|
|
486
|
+
witherKills: (0, common_1.num)(arcade, "wither_kills_mini_walls"),
|
|
487
|
+
witherDamage: (0, common_1.num)(arcade, "wither_damage_mini_walls"),
|
|
488
|
+
arrowsHit: (0, common_1.num)(arcade, "arrows_hit_mini_walls"),
|
|
489
|
+
arrowsShot: (0, common_1.num)(arcade, "arrows_shot_mini_walls"),
|
|
490
|
+
winsTourney: (0, common_1.num)(arcade, "wins_tourney_mini_walls_0"),
|
|
491
|
+
killsTourney: (0, common_1.num)(arcade, "kills_tourney_mini_walls_0"),
|
|
492
|
+
finalKillsTourney: (0, common_1.num)(arcade, "final_kills_tourney_mini_walls_0"),
|
|
493
|
+
deathsTourney: (0, common_1.num)(arcade, "deaths_tourney_mini_walls_0"),
|
|
494
|
+
witherKillsTourney: (0, common_1.num)(arcade, "wither_kills_tourney_mini_walls_0"),
|
|
495
|
+
witherDamageTourney: (0, common_1.num)(arcade, "wither_damage_tourney_mini_walls_0"),
|
|
496
|
+
arrowsHitTourney: (0, common_1.num)(arcade, "arrows_hit_tourney_mini_walls_0"),
|
|
497
|
+
arrowsShotTourney: (0, common_1.num)(arcade, "arrows_shot_tourney_mini_walls_0"),
|
|
498
|
+
activeKit: (0, common_1.str)(arcade, "miniwalls_activeKit"),
|
|
499
|
+
inventoryLayout: numberMap(arcade, "mini_walls_inventory_layout"),
|
|
500
|
+
},
|
|
501
|
+
bountyHunters: {
|
|
502
|
+
wins: (0, common_1.num)(arcade, "wins_oneinthequiver"),
|
|
503
|
+
kills: (0, common_1.num)(arcade, "kills_oneinthequiver"),
|
|
504
|
+
deaths: (0, common_1.num)(arcade, "deaths_oneinthequiver"),
|
|
505
|
+
bowKills: (0, common_1.num)(arcade, "bow_kills_oneinthequiver"),
|
|
506
|
+
swordKills: (0, common_1.num)(arcade, "sword_kills_oneinthequiver"),
|
|
507
|
+
bountyKills: (0, common_1.num)(arcade, "bounty_kills_oneinthequiver"),
|
|
508
|
+
},
|
|
509
|
+
partyGames: {
|
|
510
|
+
wins: (0, common_1.num)(arcade, "wins_party"),
|
|
511
|
+
wins2: (0, common_1.num)(arcade, "wins_party_2"),
|
|
512
|
+
wins3: (0, common_1.num)(arcade, "wins_party_3"),
|
|
513
|
+
roundWins: (0, common_1.num)(arcade, "round_wins_party"),
|
|
514
|
+
totalStars: (0, common_1.num)(arcade, "total_stars_party"),
|
|
515
|
+
games: buildMap(PARTY_GAME_KEYS, (rawKey, name) => {
|
|
516
|
+
const base = parsePartyGame(arcade, rawKey);
|
|
517
|
+
if (name === "lawnMoower") {
|
|
518
|
+
return {
|
|
519
|
+
...base,
|
|
520
|
+
bestScore: (0, common_1.num)(arcade, "lawn_moower_mowed_best_score_party"),
|
|
521
|
+
totalScore: (0, common_1.num)(arcade, "lawn_moower_mowed_total_score_party"),
|
|
522
|
+
};
|
|
523
|
+
}
|
|
524
|
+
if (name === "rpg16") {
|
|
525
|
+
return {
|
|
526
|
+
...base,
|
|
527
|
+
bestScore: (0, common_1.num)(arcade, "rpg_16_kills_best_score_party"),
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
return base;
|
|
531
|
+
}),
|
|
532
|
+
},
|
|
533
|
+
santaSays: {
|
|
534
|
+
wins: (0, common_1.num)(arcade, "wins_santa_says"),
|
|
535
|
+
rounds: (0, common_1.num)(arcade, "rounds_santa_says"),
|
|
536
|
+
roundWins: (0, common_1.num)(arcade, "round_wins_santa_says"),
|
|
537
|
+
topScore: (0, common_1.num)(arcade, "top_score_santa_says"),
|
|
538
|
+
},
|
|
539
|
+
santaSimulator: {
|
|
540
|
+
wins: (0, common_1.num)(arcade, "wins_santa_simulator"),
|
|
541
|
+
delivered: (0, common_1.num)(arcade, "delivered_santa_simulator"),
|
|
542
|
+
spotted: (0, common_1.num)(arcade, "spotted_santa_simulator"),
|
|
543
|
+
},
|
|
544
|
+
santaSimulatorSeasonal: {
|
|
545
|
+
wins: (0, common_1.num)(arcade, "wins_ss_SANTA_SIMULATOR"),
|
|
546
|
+
delivered: (0, common_1.num)(arcade, "delivered_ss_SANTA_SIMULATOR"),
|
|
547
|
+
spotted: (0, common_1.num)(arcade, "spotted_ss_SANTA_SIMULATOR"),
|
|
548
|
+
},
|
|
549
|
+
scubaSimulator: {
|
|
550
|
+
wins: (0, common_1.num)(arcade, "wins_scuba_simulator"),
|
|
551
|
+
itemsFound: (0, common_1.num)(arcade, "items_found_scuba_simulator"),
|
|
552
|
+
totalPoints: (0, common_1.num)(arcade, "total_points_scuba_simulator"),
|
|
553
|
+
},
|
|
554
|
+
hypixelSays: {
|
|
555
|
+
wins: (0, common_1.num)(arcade, "wins_simon_says"),
|
|
556
|
+
rounds: (0, common_1.num)(arcade, "rounds_simon_says"),
|
|
557
|
+
roundWins: (0, common_1.num)(arcade, "round_wins_simon_says"),
|
|
558
|
+
topScore: (0, common_1.num)(arcade, "top_score_simon_says"),
|
|
559
|
+
},
|
|
560
|
+
soccer: {
|
|
561
|
+
wins: (0, common_1.num)(arcade, "wins_soccer"),
|
|
562
|
+
goals: (0, common_1.num)(arcade, "goals_soccer"),
|
|
563
|
+
kicks: (0, common_1.num)(arcade, "kicks_soccer"),
|
|
564
|
+
powerKicks: (0, common_1.num)(arcade, "powerkicks_soccer"),
|
|
565
|
+
},
|
|
566
|
+
throwOut: {
|
|
567
|
+
wins: (0, common_1.num)(arcade, "wins_throw_out"),
|
|
568
|
+
kills: (0, common_1.num)(arcade, "kills_throw_out"),
|
|
569
|
+
deaths: (0, common_1.num)(arcade, "deaths_throw_out"),
|
|
570
|
+
},
|
|
571
|
+
woolHunt: {
|
|
572
|
+
participatedWins: (0, common_1.num)(arcade, "woolhunt_participated_wins"),
|
|
573
|
+
participatedLosses: (0, common_1.num)(arcade, "woolhunt_participated_losses"),
|
|
574
|
+
experiencedWins: (0, common_1.num)(arcade, "woolhunt_experienced_wins"),
|
|
575
|
+
experiencedLosses: (0, common_1.num)(arcade, "woolhunt_experienced_losses"),
|
|
576
|
+
kills: (0, common_1.num)(arcade, "woolhunt_kills"),
|
|
577
|
+
killsWithWool: (0, common_1.num)(arcade, "woolhunt_kills_with_wool"),
|
|
578
|
+
killsOnWoolholder: (0, common_1.num)(arcade, "woolhunt_kills_on_woolholder"),
|
|
579
|
+
deaths: (0, common_1.num)(arcade, "woolhunt_deaths"),
|
|
580
|
+
deathsWithWool: (0, common_1.num)(arcade, "woolhunt_deaths_with_wool"),
|
|
581
|
+
deathsToWoolholder: (0, common_1.num)(arcade, "woolhunt_deaths_to_woolholder"),
|
|
582
|
+
assists: (0, common_1.num)(arcade, "woolhunt_assists"),
|
|
583
|
+
woolsCaptured: (0, common_1.num)(arcade, "woolhunt_wools_captured"),
|
|
584
|
+
woolsStolen: (0, common_1.num)(arcade, "woolhunt_wools_stolen"),
|
|
585
|
+
goldEarned: (0, common_1.num)(arcade, "woolhunt_gold_earned"),
|
|
586
|
+
goldSpent: (0, common_1.num)(arcade, "woolhunt_gold_spent"),
|
|
587
|
+
mostGoldEarned: (0, common_1.num)(arcade, "woolhunt_most_gold_earned"),
|
|
588
|
+
mostKillsAndAssists: (0, common_1.num)(arcade, "woolhunt_most_kills_and_assists"),
|
|
589
|
+
fastestWin: (0, common_1.num)(arcade, "woolhunt_fastest_win"),
|
|
590
|
+
fastestWoolCapture: (0, common_1.num)(arcade, "woolhunt_fastest_wool_capture"),
|
|
591
|
+
longestGame: (0, common_1.num)(arcade, "woolhunt_longest_game"),
|
|
592
|
+
inventoryLayout: numberMap(arcade, "woolhunt_inventorylayout"),
|
|
593
|
+
},
|
|
594
|
+
zombies: {
|
|
595
|
+
wins: (0, common_1.num)(arcade, "wins_zombies"),
|
|
596
|
+
deaths: (0, common_1.num)(arcade, "deaths_zombies"),
|
|
597
|
+
zombieKills: (0, common_1.num)(arcade, "zombie_kills_zombies"),
|
|
598
|
+
bestRound: (0, common_1.num)(arcade, "best_round_zombies"),
|
|
599
|
+
bulletsHit: (0, common_1.num)(arcade, "bullets_hit_zombies"),
|
|
600
|
+
bulletsShot: (0, common_1.num)(arcade, "bullets_shot_zombies"),
|
|
601
|
+
headshots: (0, common_1.num)(arcade, "headshots_zombies"),
|
|
602
|
+
doorsOpened: (0, common_1.num)(arcade, "doors_opened_zombies"),
|
|
603
|
+
windowsRepaired: (0, common_1.num)(arcade, "windows_repaired_zombies"),
|
|
604
|
+
playersRevived: (0, common_1.num)(arcade, "players_revived_zombies"),
|
|
605
|
+
timesKnockedDown: (0, common_1.num)(arcade, "times_knocked_down_zombies"),
|
|
606
|
+
totalRoundsSurvived: (0, common_1.num)(arcade, "total_rounds_survived_zombies"),
|
|
607
|
+
fastestTime10: (0, common_1.num)(arcade, "fastest_time_10_zombies"),
|
|
608
|
+
fastestTime20: (0, common_1.num)(arcade, "fastest_time_20_zombies"),
|
|
609
|
+
fastestTime30: (0, common_1.num)(arcade, "fastest_time_30_zombies"),
|
|
610
|
+
hideTutorials: (0, common_1.bool)(arcade, "zombies_hideTutorials"),
|
|
611
|
+
enemyKills: buildMap(ZOMBIES_ENEMY_KEYS, (rawKey) => (0, common_1.num)(arcade, rawKey)),
|
|
612
|
+
alienArcadium: parseZombiesAlienArcadium(arcade),
|
|
613
|
+
badBlood: parseZombiesMap(arcade, "badblood"),
|
|
614
|
+
deadEnd: parseZombiesMap(arcade, "deadend"),
|
|
615
|
+
prison: parseZombiesMap(arcade, "prison"),
|
|
616
|
+
},
|
|
617
|
+
};
|
|
618
|
+
}
|
|
619
|
+
//# sourceMappingURL=arcade.js.map
|