返回提交历史
Modified
static/webui/script.js
+1
-0
XFEstudio/XFESpaceNinjaServer
chore(webui): give simulacrum key with "add missing simulacrum scenes" (#3696)
Closes #3486 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3696 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
ed291143
代码差异
1 个文件
+1
-0
@@ -2993,6 +2993,7 @@ function addMissingDangerRooms() {
2993
2993
const allItemKeys = Object.entries(itemMap)
2994
2994
.filter(([_key, item]) => item.parentName === "/Lotus/Types/Items/DangerRoom/DangerRoomTile")
2995
2995
.map(([key]) => key);
2996
allItemKeys.push("/Lotus/Types/Items/MiscItems/DangerRoomKey"); // also give access to the simulacrum itself
2996
2997
const existingItems = new Set(
2997
2998
data.MiscItems.filter(item => item.ItemCount > 0).map(item => item.ItemType)
2998
2999
);