-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
192 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
"Location","Phase","Cheese","Charm","Attraction Rate","Mouse","Sample Size" | ||
"School of Sorcery","Hallway","SB+/Gouda/Brie/Apprentice Ambert/Master Mimolette","-","100%","Hall Monitor",1 | ||
"School of Sorcery","Arcane Arts","SB+/Gouda/Brie","-","41.18%","Broomstick Bungler",1394 | ||
"School of Sorcery","Arcane Arts","SB+/Gouda/Brie","-","38.52%","Perpetual Detention",1394 | ||
"School of Sorcery","Arcane Arts","SB+/Gouda/Brie","-","20.30%","Misfortune Teller",1394 | ||
"School of Sorcery","Arcane Arts","Apprentice Ambert","-","45.40%","Invisible Fashionista",1749 | ||
"School of Sorcery","Arcane Arts","Apprentice Ambert","-","40.02%","Arcana Overachiever",1749 | ||
"School of Sorcery","Arcane Arts","Apprentice Ambert","-","14.58%","Enchanted Chess Club Champion",1749 | ||
"School of Sorcery","Arcane Arts","Master Mimolette","-","44.89%","Featherlight",323 | ||
"School of Sorcery","Arcane Arts","Master Mimolette","-","37.46%","Illustrious Illusionist",323 | ||
"School of Sorcery","Arcane Arts","Master Mimolette","-","17.65%","Constructively Critical Artist",323 | ||
"School of Sorcery","Shadow Sciences","SB+/Gouda/Brie","-","40.91%","Uncoordinated Cauldron Carrier",1227 | ||
"School of Sorcery","Shadow Sciences","SB+/Gouda/Brie","-","39.85%","Mixing Mishap",1227 | ||
"School of Sorcery","Shadow Sciences","SB+/Gouda/Brie","-","19.23%","Bookworm",1227 | ||
"School of Sorcery","Shadow Sciences","Apprentice Ambert","-","42.97%","Audacious Alchemist",1720 | ||
"School of Sorcery","Shadow Sciences","Apprentice Ambert","-","40.87%","Classroom Keener",1720 | ||
"School of Sorcery","Shadow Sciences","Apprentice Ambert","-","16.16%","Prestigious Prestidigitator",1720 | ||
"School of Sorcery","Shadow Sciences","Master Mimolette","-","48.87%","Teleporting Truant",309 | ||
"School of Sorcery","Shadow Sciences","Master Mimolette","-","37.22%","Classroom Disrupter",309 | ||
"School of Sorcery","Shadow Sciences","Master Mimolette","-","13.92%","Magical Multitasker",309 | ||
"School of Sorcery","Final Exam - Arcane","Master Mimolette","-","34.82%","Featherlight",112 | ||
"School of Sorcery","Final Exam - Arcane","Master Mimolette","-","33.93%","Illustrious Illusionist",112 | ||
"School of Sorcery","Final Exam - Arcane","Master Mimolette","-","27.68%","Constructively Critical Artist",112 | ||
"School of Sorcery","Final Exam - Arcane","Master Mimolette","-","3.57%","Tyrannical Thaumaturge",112 | ||
"School of Sorcery","Final Exam - Shadow","Master Mimolette","-","36.36%","Teleporting Truant",110 | ||
"School of Sorcery","Final Exam - Shadow","Master Mimolette","-","32.73%","Classroom Disrupter",110 | ||
"School of Sorcery","Final Exam - Shadow","Master Mimolette","-","18.18%","Magical Multitasker",110 | ||
"School of Sorcery","Final Exam - Shadow","Master Mimolette","-","12.73%","Data Devourer",110 | ||
"School of Sorcery","Arcane Arts - Boss","SB+/Gouda/Brie/Apprentice Ambert/Master Mimolette","-","100%","Arcane Master Sorcerer",1 | ||
"School of Sorcery","Shadow Sciences - Boss","SB+/Gouda/Brie/Apprentice Ambert/Master Mimolette","-","100%","Shadow Master Sorcerer",1 | ||
"School of Sorcery","Final Exam Boss - Boss","SB+/Gouda/Brie/Apprentice Ambert/Master Mimolette","-","100%","Mythical Master Sorcerer",1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
const utils = require("../_utils"); | ||
|
||
const stages = ["Arcane Arts", "Shadow Sciences", "Final Exam - Arcane", "Final Exam - Shadow"]; | ||
const cheeses = ["Standard", "Apprentice Ambert", "Master Mimolette"]; | ||
|
||
const miceByStageThenCheese = { | ||
"Arcane Arts": { | ||
"Standard": [ | ||
"Perpetual Detention", | ||
"Broomstick Bungler", | ||
"Misfortune Teller", | ||
], | ||
"Apprentice Ambert": [ | ||
"Arcana Overachiever", | ||
"Invisible Fashionista", | ||
"Enchanted Chess Club Champion", | ||
], | ||
"Master Mimolette": [ | ||
"Illustrious Illusionist", | ||
"Featherlight", | ||
"Constructively Critical Artist", | ||
] | ||
}, | ||
"Shadow Sciences": { | ||
"Standard": [ | ||
"Mixing Mishap", | ||
"Uncoordinated Cauldron Carrier", | ||
"Bookworm", | ||
], | ||
"Apprentice Ambert": [ | ||
"Classroom Keener", | ||
"Audacious Alchemist", | ||
"Prestigious Prestidigitator", | ||
], | ||
"Master Mimolette": [ | ||
"Classroom Disrupter", | ||
"Teleporting Truant", | ||
"Magical Multitasker", | ||
] | ||
} | ||
} | ||
|
||
// Instead of repeating a lot of line just use previous pools | ||
miceByStageThenCheese["Final Exam - Arcane"] = { | ||
"Standard": [ | ||
...miceByStageThenCheese["Arcane Arts"]["Standard"], | ||
"Sleep Starved Scholar", | ||
], | ||
"Apprentice Ambert": [ | ||
...miceByStageThenCheese["Arcane Arts"]["Apprentice Ambert"], | ||
"Class Clown", | ||
], | ||
"Master Mimolette": [ | ||
...miceByStageThenCheese["Arcane Arts"]["Master Mimolette"], | ||
"Tyrannical Thaumaturge", | ||
] | ||
}; | ||
|
||
miceByStageThenCheese["Final Exam - Shadow"] = { | ||
"Standard": [ | ||
...miceByStageThenCheese["Shadow Sciences"]["Standard"], | ||
"Cheat Sheet Conjurer", | ||
], | ||
"Apprentice Ambert": [ | ||
...miceByStageThenCheese["Shadow Sciences"]["Apprentice Ambert"], | ||
"Celestial Summoner", | ||
], | ||
"Master Mimolette": [ | ||
...miceByStageThenCheese["Shadow Sciences"]["Master Mimolette"], | ||
"Data Devourer", | ||
] | ||
} | ||
|
||
const standardCheeseVarItem = { | ||
vars: { | ||
cheese: { | ||
Brie: true, | ||
"Empowered Brie": true, | ||
Gouda: true, | ||
"SB+": true, | ||
"ESB+": true, | ||
} | ||
}, | ||
fields: { | ||
cheese: "SB+/Gouda/Brie" | ||
} | ||
} | ||
|
||
function genSeries() { | ||
const series = []; | ||
for (const stage of stages) { | ||
for (const cheese of cheeses) { | ||
const config = { | ||
stage: utils.genVarField("stage", stage), | ||
cheese: utils.genVarField("cheese", cheese), | ||
config: [ | ||
{ | ||
opts: { | ||
include: miceByStageThenCheese[stage][cheese] | ||
} | ||
} | ||
] | ||
}; | ||
|
||
// Replace the standard placeholder with actual multi cheese config (see above) | ||
if (cheese === "Standard") { | ||
config.cheese[0] = standardCheeseVarItem; | ||
} | ||
|
||
series.push(config); | ||
} | ||
} | ||
|
||
return series; | ||
} | ||
|
||
module.exports = { | ||
default: { | ||
location: utils.genVarField("location", "School of Sorcery"), | ||
}, | ||
series: genSeries(), | ||
/** | ||
* | ||
* @param {import('../_utils').AttractionData[]} data | ||
* @returns {import('../_utils').AttractionData[]} | ||
*/ | ||
postProcess: function(data) { | ||
|
||
// Put this first | ||
data.unshift( | ||
// Hallway, why are you here! | ||
{location: "School of Sorcery", cheese: "SB+/Gouda/Brie/Apprentice Ambert/Master Mimolette", stage: "Hallway", mouse: "Hall Monitor", attraction: "100%", sample: 1}, | ||
); | ||
|
||
// These last | ||
data.push( | ||
// Manually add boss stages | ||
{location: "School of Sorcery", cheese: "SB+/Gouda/Brie/Apprentice Ambert/Master Mimolette", stage: "Arcane Arts - Boss", mouse: "Arcane Master Sorcerer", attraction: "100%", sample: 1}, | ||
{location: "School of Sorcery", cheese: "SB+/Gouda/Brie/Apprentice Ambert/Master Mimolette", stage: "Shadow Sciences - Boss", mouse: "Shadow Master Sorcerer", attraction: "100%", sample: 1}, | ||
{location: "School of Sorcery", cheese: "SB+/Gouda/Brie/Apprentice Ambert/Master Mimolette", stage: "Final Exam Boss - Boss", mouse: "Mythical Master Sorcerer", attraction: "100%", sample: 1}, | ||
); | ||
|
||
return data; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters