fix MrMushroomState bug
This commit is contained in:
parent
6dc387f739
commit
f959d48e84
4 changed files with 19 additions and 19 deletions
|
|
@ -1834,9 +1834,9 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
|
|||
function CheckMrMushroomState(section, entry, mrMushroomState = 0) {
|
||||
|
||||
if (mrMushroomState >= entry.state) {
|
||||
SetIconGreen(section, `mrMushroomState${entry.state}`);
|
||||
SetIconGreen(section, `mrMushroomState${entry.state - 1}`);
|
||||
} else {
|
||||
SetIconRed(section, `mrMushroomState${entry.state}`);
|
||||
SetIconRed(section, `mrMushroomState${entry.state - 1}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1566,43 +1566,43 @@ const HK = {
|
|||
name: "Mr Mushroom #1",
|
||||
spoiler: "Fungal Wastes, near Cornifer",
|
||||
wiki: "Mister_Mushroom",
|
||||
state: 1
|
||||
state: 2
|
||||
},
|
||||
mrMushroomState2: {
|
||||
name: "Mr Mushroom #2",
|
||||
spoiler: "Kingdom's Edge, near Isma's Grove",
|
||||
wiki: "Mister_Mushroom",
|
||||
state: 2
|
||||
state: 3
|
||||
},
|
||||
mrMushroomState3: {
|
||||
name: "Mr Mushroom #3",
|
||||
spoiler: "Deepnest, near Galien",
|
||||
wiki: "Mister_Mushroom",
|
||||
state: 3
|
||||
state: 4
|
||||
},
|
||||
mrMushroomState4: {
|
||||
name: "Mr Mushroom #4",
|
||||
spoiler: "Howling Cliffs, near Nailmaster Mato",
|
||||
wiki: "Mister_Mushroom",
|
||||
state: 4
|
||||
state: 5
|
||||
},
|
||||
mrMushroomState5: {
|
||||
name: "Mr Mushroom #5",
|
||||
spoiler: "Ancient Basin, near Monarch Wings",
|
||||
wiki: "Mister_Mushroom",
|
||||
state: 5
|
||||
state: 6
|
||||
},
|
||||
mrMushroomState6: {
|
||||
name: "Mr Mushroom #6",
|
||||
spoiler: "Fog Canyon, near Overgrown Mound",
|
||||
wiki: "Mister_Mushroom",
|
||||
state: 6
|
||||
state: 7
|
||||
},
|
||||
mrMushroomState7: {
|
||||
name: "Mr Mushroom #7",
|
||||
spoiler: "King's Pass, game starting location",
|
||||
wiki: "Mister_Mushroom",
|
||||
state: 7
|
||||
state: 8
|
||||
},
|
||||
pantheonHallownest: {
|
||||
name: "P5 Embrace the Void",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue