生存日志 数据库English
Exiled 工具包: 我的 Survival Log 模组共用的库,负责在 HUD 旁显示它们的简短通知,管理它们加入背包「Mods」下拉菜单的条目,让它们立即应用改动过的设置,并让它们的按钮和手机应用排列整齐。单独安装时没有任何可见效果;当其他模组说需要它时再安装。

Exiled 工具包

我的 Survival Log 模组共用的库,负责在 HUD 旁显示它们的简短通知,管理它们加入背包「Mods」下拉菜单的条目,让它们立即应用改动过的设置,并让它们的按钮和手机应用排列整齐。单独安装时没有任何可见效果;当其他模组说需要它时再安装。

版本
0.9.2
游戏版本
1.1.19611
分类
工具
设置
4
快捷键
无
版本数
10
语言
English, 中文

Exiled's Toolkit 是我的 Survival Log 模组共用的部分。目前它为这些模组提供五样东西。第一样是通知。通知是一条简短的提示,出现在手机、防御和其他工具按钮旁边,停留几秒后自动消失。使用 Toolkit 的模组都用这种方式显示消息,而不是各自绘制。第二样是即时设置:模组可以在游戏进行中应用改动过的设置,因此在 Mod Manager 里改设置无需重启游戏。第三样是背包的「Mods」下拉菜单:各个模组把自己的条目加到这一个按钮下。第四样是让 HUD 的工具按钮保持整齐,每列最多四个。第五样是把模组加到手机上的应用放进底部的程序栏,每行四个。模组作者请看 README 中的 For mod authors 一节(英文)。

亮点

位于 HUD 旁边

通知位于工具按钮的右侧、行动队列的上方。也可以改到屏幕的某个角落。

小巧整洁

紧凑的暖棕色卡片,采用游戏的金色风格;边缘的色条表示信息、成功、警告或错误,底部的细条显示通知还剩多久。

层叠显示

多条通知叠放在一起,最新的在最前面。把鼠标停在后面的通知上,它会移到最前面并显示更多文字;如果模组列出了相关物品,也会一并显示。

不碍事

通知不会抢走键盘焦点;鼠标停在工具按钮上或打开全屏窗口时,通知会隐藏。

悬停保留,点击打开

鼠标停在通知上时,通知不会消失。如果模组为通知设置了可打开的内容,点击通知就会打开它;小 x 只关闭通知。

重复合并

再次发送相同的通知时,会计数(x2、x3 等),而不会新增一个方框。

查看全部 9 项功能

全部功能 9

位于 HUD 旁边

通知位于工具按钮的右侧、行动队列的上方。也可以改到屏幕的某个角落。

小巧整洁

紧凑的暖棕色卡片,采用游戏的金色风格;边缘的色条表示信息、成功、警告或错误,底部的细条显示通知还剩多久。

层叠显示

多条通知叠放在一起,最新的在最前面。把鼠标停在后面的通知上,它会移到最前面并显示更多文字;如果模组列出了相关物品,也会一并显示。

不碍事

通知不会抢走键盘焦点;鼠标停在工具按钮上或打开全屏窗口时,通知会隐藏。

悬停保留,点击打开

鼠标停在通知上时,通知不会消失。如果模组为通知设置了可打开的内容,点击通知就会打开它;小 x 只关闭通知。

重复合并

再次发送相同的通知时,会计数(x2、x3 等),而不会新增一个方框。

不会堆积

默认最多同时显示 4 条通知,其余的排队等候。

工具按钮整齐排列

HUD 左侧的按钮列最多四个高,其余的按从上到下的顺序排到右边的新列;手机和背包保持原位。

手机应用整齐排列

模组加到手机上的应用放进底部的程序栏,排在游戏自带应用之后,每行四个。

Toolkit 不会往存档里写入任何内容,也不会修改游戏文件。

支持英文和中文。

设置 4

保存在BepInEx\config\com.dev.survivallog.exiledtoolkit.cfg在 Mod Manager 的「模组」界面修改,或在游戏关闭时编辑这个文件。

Toasts

[Toasts]

Toasts lie on top of each other, newest in front. A toast stays while the pointer rests on it, for up to about 15 seconds, then leaves as normal; resting on one of the toasts behind brings it to the front.

Toasts step aside rather than cover the game: they hide for a few seconds while the pointer is on the tool buttons or the speed buttons (with Hud), and while an open window takes the whole screen or has a button where they would be. Their time keeps running while hidden.

Values outside a range are moved to the nearest end of it.

Position
选项
默认 Hud
通知出现的位置。Hud:手机和工具按钮的右侧、行动队列的上方。TopRight(右上)、TopLeft(左上)、BottomRight(右下)或 BottomLeft(左下):屏幕的对应角落。通知是模组显示几秒钟的简短提示。默认 Hud。
TopRightTopLeftBottomRightBottomLeftHud
Where toasts appear. Hud: to the right of the phone and tool buttons, above the action queue. TopRight, TopLeft, BottomRight or BottomLeft: that corner of the screen.
Seconds
数值
默认 7
通知在屏幕上停留的秒数,范围 1 到 120。模组可以为自己的通知指定别的时长。鼠标停在通知上时,通知不会消失。默认 7。
How long a toast stays on screen, from 1 to 120 seconds. A mod can pick its own time for its toasts.
MaxVisible
数值
默认 4
屏幕上同时显示的通知数量上限,范围 1 到 4。多出的通知会排队,等前面的通知关闭后再出现。排队的通知超过 30 条时,最早排队的通知不会再显示,但会记录通知的模组仍会收到它们。默认 4。
The most toasts on screen at once, from 1 to 4. Further toasts wait and appear as earlier ones close. If more than 30 are waiting, the oldest waiting ones are never shown, though mods that keep a list of toasts still get them.
Enabled
开 / 关
默认 开
在屏幕上显示通知。关闭后不再显示任何通知,但会记录通知的模组(例如通知历史)仍会收到每一条。默认开启。
Show toasts on screen. When false, nothing is drawn, but mods that keep a list of toasts (such as a notification history) still get every one.

安装

  1. 安装 BepInEx (如果之前没有装过其他模组,先启动一次游戏,让 BepInEx 完成初始化,然后退出)。
  2. 在 Nexus 的「文件」页下载压缩包。
  3. 把压缩包解压到游戏目录(SurvivalLog.exe 所在的文件夹)。压缩包里带有 BepInEx 文件夹,DLL 会自动放到正确位置。如果提示合并文件夹,选择合并。解压后应为:
    C:\Program Files (x86)\Steam\steamapps\common\Survival Log\BepInEx\plugins\ExiledToolkit.dll

文件位置

Survival Log\
├─ SurvivalLog.exe
└─ BepInEx\
   ├─ plugins\
   │  └─ ExiledToolkit.dll
   └─ config\
      └─ com.dev.survivallog.exiledtoolkit.cfg   (首次启动时生成)

卸载

从 BepInEx\plugins 文件夹中删除 ExiledToolkit.dll。删除前,请先移除所有需要 Toolkit 的模组,否则它们无法加载。

设置

如需移动通知、修改停留时间或显示数量,或关闭通知,可以在游戏内 Mod Manager 的「模组」界面修改,改动立即生效;也可以在游戏关闭时编辑 BepInEx\config\com.dev.survivallog.exiledtoolkit.cfg。配置文件中每项设置都有中文说明,完整说明见 CONFIG.md(英文)。

更新日志 10 个版本

更新日志只有英文版。

  1. 0.9.2Nexus 页面游戏 1.1.19611
    • Fixed: the phone was very laggy since 0.9.1. Mod apps still go into the dock as soon as the phone opens.
    • The HUD buttons, the toasts and the Mods button do much less work while you play, so the game runs more smoothly with several mods installed.
    • Made for Survival Log 1.1.19611.
  2. 0.9.1游戏 1.1.19611
    • Mod apps on the phone are in the dock the moment the phone opens, instead of showing up a moment later.
    • Made for Survival Log 1.1.19611.
  3. 0.9.0游戏 1.1.19611
    • The Mods button is now also in the bag panel of the workbench, stove, ration press, greenhouse, drone hub, brewing barrel, dye vat, rat cage, material rack and shop screens, not just the inventory. It lists the actions that work there. The shredder and the drone trade are left out.
    • For mod authors: page-script entries in the shared menu can ask to be listed on those screens too (stations: true). Entries added with ModsMenu stay on the inventory.
    • Made for Survival Log 1.1.19611.
  4. 0.8.0游戏 1.1.19131游戏 1.1.19611
    • New: mod apps on the phone go into the dock at the bottom, after the game's own apps, instead of stacking in the middle of the home screen over the notifications. Past four apps the dock shows rows of four.
    • For mod authors: mark a phone app with data-etk-phone="<order>" to have it placed in the dock.
    • Made for Survival Log 1.1.19131; works on 1.1.19611.
  5. 0.7.0游戏 1.1.19131
    • New look for every mod's toasts, in the gold style of the newer mod windows: warm brown cards, a coloured edge for the kind of notice, a gold count badge, and a thin bar along the bottom that shows how long the toast has left. The bar stops while the pointer rests on the toast.
    • For mod authors: ToastRequest.Items lists the items a toast is about. They show as small chips with picture, name and amount on the toast the pointer rests on, and as one line of text on the cards behind it. Two toasts merge only when their items match too.
    • Made for Survival Log 1.1.19131.
  6. 0.6.0游戏 1.1.19131
    • New: the HUD's tool buttons stay four high. When mods add enough buttons that the column on the left would grow past four, the rest go into a second column to its right, filled top to bottom. The phone and bag stay in place, and toasts move right to clear the wider column.
    • For mod authors: mark a HUD button with data-etk-dock="<order>" to set its place in the layout.
    • After a game update, Mod Manager can tell you if this mod may need an update.
    • Made for Survival Log 1.1.19131.
  7. 0.5.0游戏 1.1.18902游戏 1.1.19131
    • New: the inventory's "Mods" dropdown. Mods that need it, such as Loot All Pre-Disaster, add their entries to it through the Toolkit. It shares the one button with Storage Hub's and Unpack All's own entries.
    • For mod authors: ModsMenu.Add puts an entry in the dropdown, with English and Chinese text, an icon, and a rule for when it shows.
    • Toast settings apply at once when changed in the Mod Manager: the position, the time on screen, how many show at once, and the off switch.
    • The Mod Manager shows the Toolkit with its name in Chinese, a description and its GitHub page, in the Libraries group.
  8. 0.4.0
    • For mod authors: LiveSettings.Watch applies a mod's settings while the game runs, once per frame on the main thread, and tells the Mod Manager the setting needs no restart. The Mod Manager 0.4.0 needs this version.
    • For mod authors: ItemValues reads and writes the item list and item amount strings behind the Mod Manager's item pickers.
  9. 0.3.0
    • No visible change. Mod Manager needs this version.
  10. 0.2.2
    • First release.
    • A shared library for my Survival Log mods.
    • It shows their short notices (toasts) beside the HUD.
    • On its own it does nothing you can see. Install it when another mod says it needs it.

帮助

已知问题

  • 通知会挡住下面的内容。通知下方的游戏按钮要等通知消失后才能点击。如果通知挡路,可以用 Position 设置移动它们。
  • 因面板打开而隐藏的通知仍在倒计时,所以时间短的通知可能在面板关闭前就已结束。

获取 Mod Manager,在游戏里设置所有模组。打开 Survival Log 维基,物品、配方、地图一查就有。

发现问题?

发现 bug 或有好点子?欢迎来 Core Directive Discord 打个招呼,或在这里留言。报告 bug 时,请附上 BepInEx\LogOutput.log 和 BepInEx\exiled-toolkit.log。
想直接联系我,可以在 Discord 上给 exiled.dev 发消息,我在 Survival Log 官方 Discord 里。也可以在 X 上找我:@AnExiledDev。