Survival LogWiki
陷阱中心: 在一个窗口里查看家中所有陷阱,按楼层和房间分组,显示每个陷阱的猎物、诱饵、耐久和捕获概率。「巡查陷阱」按钮一趟拾取所有猎物(从你所在的楼层开始),再为所有空陷阱布饵。诱饵预设按顺序排列诱饵,一种用完就换下一种,还能自动为空陷阱布饵,不用你走过去。Trap Hub 只使用你允许的诱饵。点 HUD 中的陷阱按钮打开窗口。还可以把每种陷阱的捕获声音设为正常、只响一次或静音。

首页 / 模组

陷阱中心

在一个窗口里查看家中所有陷阱,按楼层和房间分组,显示每个陷阱的猎物、诱饵、耐久和捕获概率。「巡查陷阱」按钮一趟拾取所有猎物(从你所在的楼层开始),再为所有空陷阱布饵。诱饵预设按顺序排列诱饵,一种用完就换下一种,还能自动为空陷阱布饵,不用你走过去。Trap Hub 只使用你允许的诱饵。点 HUD 中的陷阱按钮打开窗口。还可以把每种陷阱的捕获声音设为正常、只响一次或静音。

版本
0.6.6
游戏版本
1.1.21671
分类
便利
设置
9
快捷键
无
版本数
18
语言
English, 中文
在一个窗口里查看家中所有陷阱:每个陷阱里有什么、下次会放什么诱饵、磨损程度,以及可能捕到什么。点游戏家中陷阱列表里的「巡查陷阱」按钮即可巡查所有陷阱:先拾取所有猎物,再为所有空陷阱布饵。点击屏幕左侧工具栏中的陷阱按钮即可打开窗口。两者也可以设置按键(配置中的 CheckKey 和 PanelKey),默认不绑定。在输入框里打字时,这些按键不起作用。陷阱按钮上的数字是有猎物可拾取或在等待布饵的陷阱数量。

亮点

陷阱一览

家中所有陷阱按房间分组,并标出你所在的楼层。每个陷阱都会显示状态、诱饵、储存的猎物,以及损坏前还能捕获几次。

快速找到陷阱

可以只看需要处理的、已布置的或全部陷阱,也可以按陷阱、房间或猎物搜索。侧栏列出要处理的事,点一下就能看到对应的陷阱。

巡查所有陷阱

先拾取所有猎物(从你所在楼层最近的陷阱开始),再按预设为所有空陷阱布饵。「仅本层」只处理你所在的楼层。「只拾取」和「只布饵」只做其中一步。

游戏的陷阱列表

HUD 中的家中陷阱列表多了三个控件。鼠标移到「巡查陷阱」按钮上,可以看到这次巡查会拾取、布饵和跳过哪些陷阱。「陷阱补饵」按钮只为没有诱饵的陷阱布饵,不拾取猎物。旁边的「布饵」勾选框决定是否为拾取后的陷阱补饵。列表里每个陷阱还会显示诱饵、猎物和剩余可捕获次数。

诱饵预设

预设是按顺序排列的诱饵清单,一种用完就换下一种。每一步都可以保留一定数量,预设还可以在最后改用任意已允许的广谱诱饵。

按陷阱或按类型

每种陷阱有默认预设,任何陷阱也可以单独选择预设。

查看全部 12 项功能

全部功能 12

陷阱一览

家中所有陷阱按房间分组,并标出你所在的楼层。每个陷阱都会显示状态、诱饵、储存的猎物,以及损坏前还能捕获几次。

快速找到陷阱

可以只看需要处理的、已布置的或全部陷阱,也可以按陷阱、房间或猎物搜索。侧栏列出要处理的事,点一下就能看到对应的陷阱。

巡查所有陷阱

先拾取所有猎物(从你所在楼层最近的陷阱开始),再按预设为所有空陷阱布饵。「仅本层」只处理你所在的楼层。「只拾取」和「只布饵」只做其中一步。

游戏的陷阱列表

HUD 中的家中陷阱列表多了三个控件。鼠标移到「巡查陷阱」按钮上,可以看到这次巡查会拾取、布饵和跳过哪些陷阱。「陷阱补饵」按钮只为没有诱饵的陷阱布饵,不拾取猎物。旁边的「布饵」勾选框决定是否为拾取后的陷阱补饵。列表里每个陷阱还会显示诱饵、猎物和剩余可捕获次数。

诱饵预设

预设是按顺序排列的诱饵清单,一种用完就换下一种。每一步都可以保留一定数量,预设还可以在最后改用任意已允许的广谱诱饵。

按陷阱或按类型

每种陷阱有默认预设,任何陷阱也可以单独选择预设。

诱饵来源

只从背包取,或先背包再家中储物。还可以优先使用最快变质的食物。

自动布饵

预设可以自动为空陷阱布饵,不用你走过去。可选「关闭」、「在我所在楼层」或「始终」。

允许的诱饵

Trap Hub 只会使用你允许的诱饵。所有诱饵默认都是禁止的。可以一键允许预设中的全部诱饵,或你拥有的全部广谱诱饵。每种诱饵都会显示吸引的猎物、适用的陷阱,以及使用它的预设。

捕获概率

按游戏的捕获率显示每个陷阱可能捕到的猎物,已计入房间和天赋加成。

捕获声音

每种陷阱声音可以正常播放、只响一次或静音。安装了 Quiet Traps 时,由它来处理声音。

界面大小

可以用 Exiled's Toolkit 的界面大小设置放大或缩小窗口,最大放到窗口仍能完整显示在屏幕上为止。也可以用 Trap Hub 的 UiScale 设置单独调整本模组的大小。

诱饵预设和允许的诱饵保存在 BepInEx\config\trap-hub.json,所有存档共用。Trap Hub 不会向存档添加任何内容,也不会修改游戏文件,可以随时移除。

Trap Hub 包含 Trapline 的功能,两者请只装一个。安装前如已装有 Trapline,请从 BepInEx\plugins 文件夹中删除 Trapline.dll。

设置 9

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

General

[General]
PanelKey
按键
默认 None
打开和关闭 Trap Hub 窗口的按键。PanelKeyShift 为 true 时需同时按住 Shift。默认不绑定:HUD 工具栏中的陷阱按钮可以打开窗口。在这里设置按键后,也可以用键盘打开。
Opens and closes the Trap Hub window, pressed with Shift while PanelKeyShift is true. Unbound by default: the trap button in the tool column on the left of the screen opens the window. Set a key here to open it from the keyboard too.
PanelKeyShift
开 / 关
默认 开
设为 true 时,需同时按住 Shift 和 PanelKey 才会打开窗口,单按 PanelKey 留给巡查陷阱。设为 false 则单按 PanelKey 即可打开窗口。
When true, the window opens with Shift and PanelKey, so the same key alone can be CheckKey. When false, PanelKey alone opens the window. If it is the same key as CheckKey, that key opens the window instead of checking traps.
CheckKey
按键
默认 None
一键巡查所有陷阱的按键:先拾取所有猎物,再按预设为空陷阱布饵。默认不绑定:HUD 家中陷阱列表里的巡查按钮可以做同样的事。在这里设置按键后,也可以用键盘巡查。
Checks every trap at once: collects every catch, then baits every empty trap from its bait preset. Unbound by default: the Check traps button in the HUD's Home Traps list does the same. Set a key here to check traps from the keyboard too.
RebaitOnCheck
开 / 关
默认 开
设为 true 时,巡查陷阱会在同一趟中为拾取后的陷阱补饵。设为 false 时,只为本来就空着的陷阱布饵。HUD 家中陷阱列表里巡查按钮旁的「布饵」勾选框也会修改此项。
When true, Check traps also baits every trap it empties, in the same trip. When false, it baits only traps that are already empty. The Re-bait box beside the Check traps button in the HUD's Home Traps list sets this too.

Sounds

[Sounds]

The sound a trap plays while it holds a catch. Normal plays it like it normally does, Once plays it for 3 seconds and then stops, and Muted never plays it. These are also in the window's Settings tab. While Quiet Traps is installed, these settings are not used.

LiveCaptureCage
选项
默认 Normal
「活捉笼」捕获猎物后发出的声音。Normal:正常播放。Once:播放 3 秒后停止。Muted:不播放。安装了 Quiet Traps 时不生效。
NormalOnceMuted
Live Capture Cage
SimpleBirdNet
选项
默认 Normal
「简易捕鸟网」捕获猎物后发出的声音。Normal:正常播放。Once:播放 3 秒后停止。Muted:不播放。安装了 Quiet Traps 时不生效。
NormalOnceMuted
Simple Bird Net
OtherTraps
选项
默认 Normal
「简易捕鼠夹」、「铁制捕兽夹」和「自动诱捕笼」(游戏中这三种陷阱使用同一个声音)捕获猎物后发出的声音。Normal:正常播放。Once:播放 3 秒后停止。Muted:不播放。安装了 Quiet Traps 时不生效。
NormalOnceMuted
Simple Mousetrap, Iron Animal Trap and Auto Trap Cage. The game gives all three the same sound, so they share one setting.

Interface

[Interface]
UiScale
数值
默认 0
Trap Hub 的窗口、面板和提示的大小(百分比),范围 75 到 200。设为 0 时改用 Exiled's Toolkit 的 UiScale 设置。
范围 0 到 200
The size of Trap Hub's windows, panels and messages, in percent, from 75 to 200. At 0 they use the UI size set in Exiled's Toolkit (its UiScale).

Diagnostics

[Diagnostics]
LogToFile
开 / 关
默认 关
设为 true 时,Trap Hub 的操作也会写入 BepInEx\trap-hub.log,该文件在重启游戏后保留。报告问题时再打开。
Also writes what Trap Hub does to BepInEx\trap-hub.log, which is kept between game starts. Turn it on when reporting a problem.

安装

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

文件位置

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

直接下载

与 Nexus 上相同的压缩包,从本站下载,无需账号。解压到游戏文件夹即可。

TrapHub-0.6.6.zip (111 KB)

SHA-256 6f5d857167c210b438aca2a27c9d2a6ad06e6cdd2969abc2240cfaae71659ed7

卸载

从 BepInEx\plugins 文件夹中删除 TrapHub.dll。如需同时删除诱饵预设,再删除 BepInEx\config\trap-hub.json。

设置

如需修改按键、捕获声音,或巡查陷阱时是否为拾取后的陷阱补饵,请在游戏关闭时编辑 BepInEx\config\com.dev.survivallog.traphub.cfg,或在 Mod Manager 的「模组」界面修改。配置文件中每项设置都有中文说明,完整说明见 CONFIG.md(英文)。诱饵预设和允许的诱饵在 Trap Hub 窗口里设置。

更新日志 18 个版本

更新日志只有英文版。

  1. 0.6.6Nexus 页面游戏 1.1.21671
    • In the trap list, a long bait name no longer hides the catch odds next to it.
    • "Use the food closest to spoiling first" now picks the older of two stacks of the same food. It used to treat them as the same and could pick the fresh one.
    • The catches left on each trap now go up with your trapping skill right away, and loading another save uses that save's skill. Before, a trap could be shown as about to break when it wasn't, or auto re-bait could keep trying bait the game refuses.
    • If trap-hub.json can't be read, for example while another program has it open, Trap Hub now changes nothing and says so. Before, the next change replaced all your presets.
    • Made for Survival Log 1.1.21671.
  2. 0.6.5游戏 1.1.20719游戏 1.1.21271游戏 1.1.21671
    • Clearer wording in the Trap Hub window, the messages and the settings, in English and Chinese.
    • Made for Survival Log 1.1.20719.
  3. 0.6.4游戏 1.1.20719
    • Clearer wording in the Trap Hub window, the Home Traps list, the settings and the mod's pages, in English and Chinese.
    • A full Auto Trap Cage now shows as "Full" in the Trap Hub window, the same as in the Home Traps list.
    • In the preset editor's list of traps using a preset, a trap picked for that preset by hand now shows "Custom".
    • Messages and the Check traps tip now say "1 trap" and "1 floor" where they said "trap(s)" or "1 floors".
    • Made for Survival Log 1.1.20719.
  4. 0.6.3游戏 1.1.20719
    • Fixed the "Default for" row in the preset editor, where the trap names covered the label.
    • Made for Survival Log 1.1.20719.
  5. 0.6.2游戏 1.1.20719
    • Trap Hub now needs Exiled's Toolkit 0.19.0 or newer.
    • Made for Survival Log 1.1.20719.
  6. 0.6.1游戏 1.1.20151
    • The window key and the Check traps key are now unbound by default. Use the trap button and the Check traps button in the HUD, or set keys in the settings.
    • The window key and the Check traps key no longer do anything while you type in a text box in any mod's window.
    • Exiled's Toolkit 0.12.0 or newer is now required.
    • Made for Survival Log 1.1.20151.
  7. 0.6.0游戏 1.1.20151
    • New: a Re-bait traps button beside the Check traps button in the HUD's Home Traps list. It puts bait in every trap that has none, without collecting any catches. Hover over it to see which bait goes into which room's traps.
    • Fixed: the Check traps tip and the open Home Traps list are no longer hidden behind the tool buttons on the left of the screen.
    • Made for Survival Log 1.1.20151.
  8. 0.5.2游戏 1.1.20151
    • Fixed: on Survival Log 1.1.20151, typing Trap Hub's keys in the item search no longer opens the Trap Hub window or checks your traps.
    • Made for Survival Log 1.1.20151.
  9. 0.5.1游戏 1.1.19611
    • With the window closed, Trap Hub's messages now show as Exiled's Toolkit toasts. Those toasts also go to the Notifications history.
    • Exiled's Toolkit 0.11.0 or newer is now required.
    • Made for Survival Log 1.1.19611.
  10. 0.5.0游戏 1.1.19611
    • New setting: UiScale under Interface sets the size of Trap Hub's windows from 75% to 200%, separate from Exiled's Toolkit's UI size. At 0, the default, they use the Toolkit's size. Needs Exiled's Toolkit 0.11.0 or newer.
    • Made for Survival Log 1.1.19611.
  11. 0.4.3游戏 1.1.19611
    • The Trap Hub window and its pop-up messages can be made bigger or smaller with the UI size setting of Exiled's Toolkit 0.10.0 or newer. Changes show right away, and the window only grows as far as it still fits on the screen.
    • The HUD button and what Trap Hub adds to the game's trap list stay at the game's size, like the buttons and text around them.
    • Made for Survival Log 1.1.19611.
  12. 0.4.2游戏 1.1.19611
    • Fixed: the search boxes and text boxes in Trap Hub now accept Chinese and other typing that needs an input method.
    • Made for Survival Log 1.1.19611.
  13. 0.4.1游戏 1.1.19611
    • Fixed a short freeze the first time Trap Hub read your traps after a save loaded. The trap list now loads a little at a time over the first few moments of play.
    • While the trap list is still loading, the Trap Hub window says so.
    • The game runs more smoothly with Trap Hub installed. The Trap Hub window and the HUD's trap list are now redrawn only when something in them has changed, and only the lines that changed.
    • With every catch sound set to Normal, Trap Hub no longer adds any work to the sounds the game plays.
  14. 0.4.0游戏 1.1.19611
    • The game's Home Traps list in the HUD gets a Check traps button and a Re-bait box next to the list's title, like the Tend Garden button and Replant box on the plants list.
    • Hover over the Check traps button to see what it will do: what it collects and where, what it baits with, how many traps on how many floors, and which traps it skips and why.
    • Each trap in the list gets a second line with its bait or the bait it gets next, its catch, and how many catches it has left with a wear bar. The list opens wider to fit them. A line at the top counts the catches to collect, the traps to bait and the traps about to break, with a link to the Trap Hub window.
    • A full Auto Trap Cage now reads "full, collect to restart", and the English status "Deploying Defenses" now reads "Armed".
    • After a check, the game's popup shows how many traps it handled ("Check x5").
    • New setting RebaitOnCheck, on by default, sets whether Check traps also baits the traps it empties. The Re-bait box changes it too. With it off, Check traps baits only traps that were already empty.
  15. 0.3.0游戏 1.1.19611
    • A new window with three tabs (Traps, Bait, Settings). Traps are grouped by room with your floor marked, and you can switch between Needs you, Armed and All or search.
    • Check all traps collects every catch, then baits every empty trap from its bait preset, including the traps it just emptied. This floor only, Collect only and Bait only are next to it.
    • J now checks every trap, and Shift+J opens the window (new settings CheckKey and PanelKeyShift).
    • Picking a trap shows its catch odds, its bait preset, the next bait, its wear, and the Take, Re-bait and Dismantle buttons.
    • The Bait tab shows the preset list, the preset editor and the allowed bait list side by side.
    • Removed: picking several traps to give them a preset together, the filter and group-by side panel, and the separate Take this floor button (use This floor only).
    • Updated for Survival Log 1.1.19611.
  16. 0.2.0游戏 1.1.19131
    • The window has a new look, with trap cards that show catch chance and wear bars, and a side panel to filter by state, trap type and room.
    • You can group the trap list by floor, room, type or state. Your floor is marked.
    • With no trap picked, the window lists the traps that need you. Press one to open it.
    • A trap's details show its bait preset, the bait order, the catch odds and its wear in one place.
    • The allowed bait tab shows the bait you own first, quick picks (every bait in your presets, every universal bait you own) and, for each bait, what it attracts, which traps take it and which presets use it.
    • The window responds faster, since picking a trap or a bait no longer redraws the whole window.
    • After a game update, Mod Manager can tell you if this mod may need an update.
  17. 0.1.1
    • With Exiled's Toolkit 0.6.0 or later, the HUD button lines up neatly with other mods' buttons.
  18. 0.1.0
    • First release.
    • A window lists every trap at home with its state, bait, wear and catch odds.
    • Take all collects every catch, and Re-bait all baits every empty trap.
    • Bait presets give each trap a list of baits to fall back on, and can re-bait a trap by themselves.
    • An allowed bait list sets which bait the mod may use.
    • Each catch sound has its own setting.

帮助

已知问题

暂无。

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

发现问题?

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