XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 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
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -0
Modified static/webui/script.js +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 );