Survival LogWiki
Trap Hub: See every trap at home in one window, grouped by floor and room, with each trap's catch, bait, wear and catch odds. The Check traps button collects every catch in one trip, starting on your floor, then baits every empty trap. Bait presets list baits in order, so when one runs out the next one is used, and they can re-bait empty traps without you walking over. Trap Hub only uses bait you allow. Open the window with the trap button in the HUD. You can also set each trap's catch sound to play normally, chime once or stay muted.

Home / Mods

Trap Hub

See every trap at home in one window, grouped by floor and room, with each trap's catch, bait, wear and catch odds. The Check traps button collects every catch in one trip, starting on your floor, then baits every empty trap. Bait presets list baits in order, so when one runs out the next one is used, and they can re-bait empty traps without you walking over. Trap Hub only uses bait you allow. Open the window with the trap button in the HUD. You can also set each trap's catch sound to play normally, chime once or stay muted.

Version
0.6.6
Game build
1.1.21671
Category
Quality of life
Settings
9
Hotkeys
None
Versions
18
Languages
English, 中文

See every trap at home in one window: what each one holds, what bait it gets next, how worn it is and what it is likely to catch. Press Check traps in the game's Home Traps list to check every trap. It collects every catch, then baits every empty trap. Press the trap button in the tool column on the left of the screen to open the window. You can also set a key for each (CheckKey and PanelKey in the config). Both are unbound by default, and they do nothing while you type in a text box. The trap button shows how many traps have a catch to collect or are waiting for bait.

Highlights

All traps at a glance

every trap at home, grouped by room with your floor marked. Each one shows its state, its bait, the catches it has stored and how many catches it has left before it breaks.

Find a trap fast

show the traps that need you, the armed ones or all of them, and search by trap, room or prey. The side panel lists what needs doing. Press a line to see those traps.

Check all traps

collects every catch, starting on your floor with the nearest trap, then baits every empty trap from its preset. This floor only does the same for the floor you are on. Collect only and Bait only do just one of the two.

In the game's trap list

the Home Traps list in the HUD gets three new controls. The Check traps button shows what the check will collect, bait and skip when you hover over it. The Re-bait traps button baits every trap that has no bait without collecting anything. The Re-bait box turns refilling emptied traps on or off. Each trap in the list shows its bait, its catch and the catches it has left.

Bait presets

a preset is an ordered list of baits, so when one runs out the next one is used. Each step can keep some back, and the preset can fall back to any allowed universal bait.

Per trap or per type

each trap type has a default preset, and any trap can have its own.

See all 12 features

Everything it does 12

All traps at a glance

every trap at home, grouped by room with your floor marked. Each one shows its state, its bait, the catches it has stored and how many catches it has left before it breaks.

Find a trap fast

show the traps that need you, the armed ones or all of them, and search by trap, room or prey. The side panel lists what needs doing. Press a line to see those traps.

Check all traps

collects every catch, starting on your floor with the nearest trap, then baits every empty trap from its preset. This floor only does the same for the floor you are on. Collect only and Bait only do just one of the two.

In the game's trap list

the Home Traps list in the HUD gets three new controls. The Check traps button shows what the check will collect, bait and skip when you hover over it. The Re-bait traps button baits every trap that has no bait without collecting anything. The Re-bait box turns refilling emptied traps on or off. Each trap in the list shows its bait, its catch and the catches it has left.

Bait presets

a preset is an ordered list of baits, so when one runs out the next one is used. Each step can keep some back, and the preset can fall back to any allowed universal bait.

Per trap or per type

each trap type has a default preset, and any trap can have its own.

Where bait comes from

bag only, or bag first and then home storage. You can also use the food closest to spoiling first.

Auto re-bait

a preset can bait its empty traps without you walking to them. Set it to Off, On my floor or Always.

Allowed bait

Trap Hub only puts bait you allow in your traps. Everything starts blocked. Allow every bait in your presets, or every universal bait you own, in one press. Each bait shows what it attracts, which traps take it and which presets use it.

Catch odds

each trap shows what it is likely to catch with its bait. The odds use the game's catch rates, including room and talent bonuses.

Catch sounds

each trap sound can play normally, chime once or stay muted. When Quiet Traps is installed, it handles the sounds instead.

UI size

Exiled's Toolkit's UI size setting makes the window bigger or smaller, up to the largest size that still fits on the screen. Trap Hub's UiScale setting can set a size for this mod alone.

Presets and allowed bait are kept in BepInEx\config\trap-hub.json, shared by every save. Trap Hub adds nothing to your save and does not edit game files. You can remove it at any time.

Trap Hub does everything Trapline does, so install only one of them.

Works in English and Chinese.

Settings 9

Saved inBepInEx\config\com.dev.survivallog.traphub.cfgChange them on the Mod Manager's Mods screen, or edit the file with the game closed.

General

[General]
PanelKey
Key
Default None
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.
打开和关闭 Trap Hub 窗口的按键。PanelKeyShift 为 true 时需同时按住 Shift。默认不绑定:HUD 工具栏中的陷阱按钮可以打开窗口。在这里设置按键后,也可以用键盘打开。
PanelKeyShift
On / off
Default On
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.
设为 true 时,需同时按住 Shift 和 PanelKey 才会打开窗口,单按 PanelKey 留给巡查陷阱。设为 false 则单按 PanelKey 即可打开窗口。
CheckKey
Key
Default None
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.
一键巡查所有陷阱的按键:先拾取所有猎物,再按预设为空陷阱布饵。默认不绑定:HUD 家中陷阱列表里的巡查按钮可以做同样的事。在这里设置按键后,也可以用键盘巡查。
RebaitOnCheck
On / off
Default On
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.
设为 true 时,巡查陷阱会在同一趟中为拾取后的陷阱补饵。设为 false 时,只为本来就空着的陷阱布饵。HUD 家中陷阱列表里巡查按钮旁的「布饵」勾选框也会修改此项。

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

Interface

[Interface]
UiScale
Number
Default 0
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).
From 0 to 200
Trap Hub 的窗口、面板和提示的大小(百分比),范围 75 到 200。设为 0 时改用 Exiled's Toolkit 的 UiScale 设置。

Diagnostics

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

Install

  1. Install BepInEx (if no other mods were installed before, start the game once so BepInEx finishes setup, then quit).
  2. If Trapline is installed, delete Trapline.dll from the BepInEx\plugins folder.
  3. Install Exiled's Toolkit the same way: download its zip and extract it into the game folder.
  4. Download the zip from the Files tab on Nexus.
  5. Extract it into the game folder (the folder with SurvivalLog.exe). The zip holds a BepInEx folder, so the DLL lands in the right place. When asked, merge the folders. The result should be:
    C:\Program Files (x86)\Steam\steamapps\common\Survival Log\BepInEx\plugins\TrapHub.dll

Where it goes

Survival Log\
├─ SurvivalLog.exe
└─ BepInEx\
   ├─ plugins\
   │  └─ TrapHub.dll
   └─ config\
      └─ com.dev.survivallog.traphub.cfg   (made on first start)

Direct download

The same zip as on Nexus, from this site, with no account. Extract it into the game folder.

TrapHub-0.6.6.zip (111 KB)

SHA-256 6f5d857167c210b438aca2a27c9d2a6ad06e6cdd2969abc2240cfaae71659ed7

Uninstall

Delete TrapHub.dll from the BepInEx\plugins folder. To also delete your presets, delete BepInEx\config\trap-hub.json.

Settings

To change the keys, the catch sounds or whether Check traps refills emptied traps, edit BepInEx\config\com.dev.survivallog.traphub.cfg while the game is closed, or use the Mod Manager's Mods screen. CONFIG.md lists every setting, and the cfg file explains each one in English and Chinese. Presets and allowed bait are set in the Trap Hub window.

Changelog 18 versions

  1. 0.6.6On NexusGame 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.5Game 1.1.20719Game 1.1.21271Game 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.4Game 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.3Game 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.2Game 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.1Game 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.0Game 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.2Game 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.1Game 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.0Game 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.3Game 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.2Game 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.1Game 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.0Game 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.0Game 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.0Game 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.

Help

Known issues

None known.

Get Mod Manager to set up all your mods in game | Open the Survival Log wiki for items, recipes and maps

Found a bug?

Found a bug or have an idea? Come say hi in the unofficial modding Discord for Survival Log, or post in the Posts tab on Nexus. For bugs, please include BepInEx\LogOutput.log and, if you turned on LogToFile, BepInEx\trap-hub.log.
To reach me directly, message exiled.dev on Discord. You can find me in the unofficial modding Discord and the official Survival Log Discord. I'm also on X as @AnExiledDev.