docs for CheckMrMushroomState
This commit is contained in:
parent
922635c02f
commit
dd1dd9b863
4 changed files with 9 additions and 3 deletions
|
|
@ -91,7 +91,7 @@ If you like the tool and wish it developed further with more functions and easie
|
||||||
|
|
||||||
## Version History
|
## Version History
|
||||||
|
|
||||||
* v1.0.2 2021-xx-xx:
|
* v1.0.2 2021-02-12:
|
||||||
|
|
||||||
— Prototype Lists: Unrescued Grubs, Unbroken Geo Rocks (Beta). If you want to see them, press **Ctrl + Shift + I** and select Console tab.
|
— Prototype Lists: Unrescued Grubs, Unbroken Geo Rocks (Beta). If you want to see them, press **Ctrl + Shift + I** and select Console tab.
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -938,6 +938,12 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
|
||||||
} // end for (let i in dataObject)
|
} // end for (let i in dataObject)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks and fills all the 7 locations of Mr Mushroom.
|
||||||
|
* @param {object} divId ID of the HTML element for data appending
|
||||||
|
* @param {object} dataObject object containing the Mr Mushroom name and spoilers/locations
|
||||||
|
* @param {number} mrMushroomState playerData.mrMushroomState read from the save file. (0-8)
|
||||||
|
*/
|
||||||
function CheckMrMushroomState(divId, dataObject, mrMushroomState = 0) {
|
function CheckMrMushroomState(divId, dataObject, mrMushroomState = 0) {
|
||||||
|
|
||||||
if (mrMushroomState > 1) {
|
if (mrMushroomState > 1) {
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ require("../css/style.css");
|
||||||
require("../img/thumbnail1200x628.jpg");
|
require("../img/thumbnail1200x628.jpg");
|
||||||
|
|
||||||
// Instantly load test save file from .json (fast Debugging script)
|
// Instantly load test save file from .json (fast Debugging script)
|
||||||
require("./LoadJson.js");
|
// require("./LoadJson.js");
|
||||||
|
|
||||||
// Load Save File for opening files, decoding, decryption
|
// Load Save File for opening files, decoding, decryption
|
||||||
require("./LoadSaveFile.js");
|
require("./LoadSaveFile.js");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue