Delicate Flowers stats spoiler handling
This commit is contained in:
parent
c8604fa682
commit
b795b99786
3 changed files with 21 additions and 1 deletions
10
build/app.js
10
build/app.js
|
|
@ -1162,6 +1162,16 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
|
|||
}
|
||||
}
|
||||
|
||||
if (i === "xunFlowerBrokeTimes") {
|
||||
if (amount < 1 && playerData.xunFlowerGiven === true) {
|
||||
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIcon)(section, i, "revealed");
|
||||
} else if (amount > 0) {
|
||||
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIcon)(section, i, "revealed");
|
||||
} else {
|
||||
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconNone)(section, i);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case "tukDungEgg":
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1335,6 +1335,16 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
|
|||
}
|
||||
}
|
||||
|
||||
if (i === "xunFlowerBrokeTimes") {
|
||||
if (amount < 1 && playerData.xunFlowerGiven === true) {
|
||||
SetIcon(section, i, "revealed");
|
||||
} else if (amount > 0) {
|
||||
SetIcon(section, i, "revealed");
|
||||
} else {
|
||||
SetIconNone(section, i);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case "tukDungEgg":
|
||||
|
|
|
|||
Loading…
Reference in a new issue