生存日志 数据库English
电力管理: 一个面板管理家里的电力,用 HUD 按钮打开。启动和关闭所有发电机,设置自动启动,并按你定的燃料顺序从家里的储物中添加燃料,先烧没用的纸张。显示蓄电池电量以及耗尽或充满还要多久,可开关各个电器,电量低时自动关闭低优先级电器。蓄电池、电器耗电、停电和太阳能的设置也在这里。

电力管理

一个面板管理家里的电力,用 HUD 按钮打开。启动和关闭所有发电机,设置自动启动,并按你定的燃料顺序从家里的储物中添加燃料,先烧没用的纸张。显示蓄电池电量以及耗尽或充满还要多久,可开关各个电器,电量低时自动关闭低优先级电器。蓄电池、电器耗电、停电和太阳能的设置也在这里。

版本
0.2.2
游戏版本
1.1.20151
分类
便利
设置
15
快捷键
1
版本数
4
语言
English, 中文

管理家里的电力,意味着要走到每台发电机跟前启动、关闭、添加燃料,还要猜蓄电池能撑多久。Power Manager 把这些都放进一个面板,在哪里都能打开。

亮点

电量预测

蓄电池储存了多少电,家里发电和用电各多少,以及还要多久耗尽或充满。

发电机

列出每台燃油发电机和剩余燃料时间。可以单独「启动」「关闭」「加燃料」,也可以「全部启动」「全部关闭」「全部加燃料」。

自动启动

为发电机开启游戏自带的自动开启,并选择电量低于多少时启动,可以单独设置,也可以全部一起设置。

从家中储物加燃料

燃料按你的燃料顺序从家里的储物中取用,不用走过去。

燃料顺序

「燃料」标签页从上往下列出当作燃料的物品,以及你有多少。每个物品都会显示燃烧值。可以上移、下移、移除,或添加其他任何可燃物品,不管你有没有;移除的物品可以马上再加回来。不在列表中的物品永远不会被烧掉。默认先烧便条、信件、传单等没用的纸,再依次烧劣质酒精、普通酒精、烈性酒精,最后烧柴油。

自动加燃料

一个默认关闭的选项,开启后运行中或设为自动启动的发电机剩余燃料少于 60 游戏分钟时会自动加满。分钟数可以修改。

查看全部 12 项功能

全部功能 12

电量预测

蓄电池储存了多少电,家里发电和用电各多少,以及还要多久耗尽或充满。

发电机

列出每台燃油发电机和剩余燃料时间。可以单独「启动」「关闭」「加燃料」,也可以「全部启动」「全部关闭」「全部加燃料」。

自动启动

为发电机开启游戏自带的自动开启,并选择电量低于多少时启动,可以单独设置,也可以全部一起设置。

从家中储物加燃料

燃料按你的燃料顺序从家里的储物中取用,不用走过去。

燃料顺序

「燃料」标签页从上往下列出当作燃料的物品,以及你有多少。每个物品都会显示燃烧值。可以上移、下移、移除,或添加其他任何可燃物品,不管你有没有;移除的物品可以马上再加回来。不在列表中的物品永远不会被烧掉。默认先烧便条、信件、传单等没用的纸,再依次烧劣质酒精、普通酒精、烈性酒精,最后烧柴油。

自动加燃料

一个默认关闭的选项,开启后运行中或设为自动启动的发电机剩余燃料少于 60 游戏分钟时会自动加满。分钟数可以修改。

用电设备

列出家里每个用电设备的耗电量和开关。

负载削减

把设备标为低优先级。停电期间电量低于 20% 时它们会关闭,回升 10 个百分点后重新开启。这个电量可以修改。

电力和太阳能设置

蓄电池容量、设备耗电、市电何时切断或永不切断、「停电恐慌」、太阳能板发电量和恶劣天气下的发电量、发电机发电量和燃料消耗速度。这些设置原本在 Game Rules 和 Machine Speed 中;你在那里设置的数值会在首次带着 Power Manager 启动游戏时自动沿用。

HUD 按钮

左下角工具栏最上方的闪电按钮可以打开面板。

提示信息

每次按下按钮后会有一行说明结果。面板关闭时,自动加燃料和负载削减的提示会以弹出通知显示。

界面大小

本模组自己的 UiScale 设置可以调整面板大小,也可以跟随 Exiled's Toolkit 的界面大小。

设置 15

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

Controls

[Controls]

The value is a Unity key name, for example F2, F11, Insert or Keypad5. None, the default, leaves it unbound. The key does nothing while you type in a text box. Esc always closes the open panel and cannot be changed.

PanelKey
按键
默认 None
打开和关闭 Power Manager 面板的按键。默认不绑定:屏幕左下角的闪电按钮可以打开面板。在这里设置按键后,也可以用键盘打开。
Key that opens and closes the panel. Unbound by default: the lightning button in the bottom-left corner of the screen opens the panel. Set a key here to open it from the keyboard too.

Fuel

[Fuel]

The default list starts with notes, letters, flyers and other paper with no other use, then Poor-Quality Alcohol, Common Alcohol and High-Proof Alcohol, then Diesel, so the best fuel is kept for last. Scrap Paper, Newspaper, Entertaining Magazine, Wood Chips and Cardboard are not on it; add them on the Fuel tab if you want them burned. The Fuel tab can add any item that burns, and shows each item's burn value.

Order
文本
默认 42001,42002,42003,42006,42007,42008,42011,42012,42013,42014,42015,42016,42017,42018,42019,42020,42021,42026,42028,42032,42033,42034,42035,42036,42039,42040,42042,42044,42045,42046,11045,15505,15504,15506,40000
用来给发电机添加燃料的物品(物品编号),排在前面的先用。不在列表中的物品永远不会被使用。在面板中修改最方便。
The items used to refuel generators, by item id, first used first. Items not on the list are never used. Easiest to change on the panel's Fuel tab.

Generators

[Generators]
AutoRefuel
开 / 关
默认 关
发电机燃料低于 AutoRefuelMinutes 时,自动按燃料顺序从家里的储物中添加燃料。默认关闭。
Refuels a running generator, or one set to auto-start, from home storage when it has less than AutoRefuelMinutes of fuel left, using the fuel order.
AutoRefuelMinutes
数值
默认 60
开启 AutoRefuel 时,剩余燃料少于这么多游戏分钟的发电机会被添加燃料。默认 60,可设为 10 到 1440。
范围 10 到 1440
With AutoRefuel on, a generator with less than this many in-game minutes of fuel is refuelled. 10 to 1440.
GeneratorEfficiency
数值
默认 1
燃油发电机消耗相同燃料时的发电量:2 为每份燃料发出两倍电力,0.5 为一半。燃料消耗速度由 FuelBurn 设置。范围 0.1 到 100:0 或更小按 1 计算,0 到 0.1 之间按 0.1 计算,大于 100 按 100 计算。
How much power fuel generators make from the same fuel: 2 is twice the power from each unit of fuel. 0.1 to 100.
FuelBurn
数值
默认 1
燃油发电机消耗燃料的速度:2 为两倍消耗,0.5 让燃料多用一倍时间。范围 0.25 到 100000,0 或更小按 1 计算。
How fast fuel generators burn fuel: 2 burns it twice as fast, 0.5 makes it last twice as long. 0.25 to 100000. The fuel time the game and the panel show changes to match.

Interface

[Interface]
UiScale
数值
默认 0
Power Manager 自己的窗口、面板和提示的显示大小(百分比),范围 75 到 200。设为 0 时跟随 Exiled's Toolkit 的界面大小设置(它的 UiScale)。需要 Exiled's Toolkit 0.11.0 或更新版本。
范围 0 到 200
Size of the panel and its messages, in percent, from 75 to 200. At 0 it follows Exiled's Toolkit's UI size.

Power

[Power]
BatteryMultiplier
数值需重启
默认 1
蓄电池的容量为游戏原本的这么多倍:2 为两倍。1 为游戏原本的数值。下次启动游戏时生效。
范围 0.1 到 10
Batteries hold this many times the game's power. 0.1 to 10. Takes effect at the next game start.
DevicePowerUse
数值
默认 1
开启的电器消耗的电量,为游戏原本的倍数:0.5 为一半。烹饪和粉碎工作、压缩机、防御设施开火和信号站的耗电与游戏原本相同。1 为游戏原本的数值。
范围 0 到 3
Power that switched-on devices use, times the game's. 0 to 3. Cooking and shredding jobs, the compressor, defenses firing and the signal station are unchanged.
PowerCutDelay
数值
默认 0
市电被切断(剧情事件「停电开始」)比游戏原本推迟的天数。0 为游戏原本的数值。已经停电的不会恢复。
范围 0 到 100
Days later than in the game that the city power is cut. 0 to 100.
NoPowerCut
开 / 关
默认 关
市电永远不会被切断(剧情事件「停电开始」不会出现),房子整局都有市电。停电之后的剧情事件不会出现,柴油发电机也无法启动。已经停电的不会恢复。关闭后与游戏原本相同。
The city power is never cut. The events that follow the cut, and the diesel generator start, never come. A cut that already happened is not undone.
NoBlackoutPanic
开 / 关
默认 关
夜间停电不会再带来「停电恐慌」及其心态下降。已有的停电恐慌会在游戏内十分钟内消除。关闭后与游戏原本相同。
Power cuts at night no longer bring Blackout panic; a panic already running clears within ten in-game minutes.

Shedding

[Shedding]

No device is low priority until you mark it in the panel, so nothing is switched off until you do.

ShedBelow
数值
默认 20
蓄电池电量低于这个百分比时,在面板中标为低优先级的电器会被关闭,电量回升到高出 10 个百分点后重新打开。0 为关闭此功能。默认 20,可设为 0 到 90。
范围 0 到 90
During a power cut, devices you mark low priority in the panel switch off when the battery falls below this percent, and back on once it is 10 points above. 0 turns this off. 0 to 90.

Solar

[Solar]
SolarMultiplier
数值
默认 1
太阳能板的发电量为游戏原本的这么多倍。1 为游戏原本的数值。
范围 0.1 到 10
Solar panels make this many times the game's power. 0.1 to 10.
BadWeatherOutput
数值
默认 0
在暴雨等恶劣天气中,游戏原本的太阳能板不发电。此项让它们发出阴天发电量的一部分:0.5 为一半,1 为与阴天相同。0 为游戏原本的数值。
范围 0 到 1
In storms and heavy rain the game's panels make nothing. This gives them a share of a cloudy day's power: 0.5 is half, 1 is a full cloudy day. 0 to 1. The multiplier applies on top.

快捷键 1

Esc

关闭面板。

面板按键默认不绑定,用 HUD 按钮打开面板。在配置中设置 PanelKey 后也可以用键盘打开;在输入框里打字时按键不起作用。面板打开时游戏自己的快捷键不起作用。

所有操作都是游戏自己的:和游戏菜单里的启动、关闭、自动开启、加燃料和开关完全一样,加燃料也会真的消耗物品。模组不会往存档里写入任何数据。你可以随时移除它;发电机和设备保持原样。

支持英文和中文。

安装

  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\PowerManager.dll

如果你在用 Game Rules 或 Machine Speed,请一并更新到 0.7.0 或更新版本:它们的电力设置已经移到这里。更新之前,Power Manager 会把这些设置留给旧版本处理,并提示你更新。

文件位置

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

卸载

从 BepInEx\plugins 文件夹中删除 PowerManager.dll。模组为节省电量而关闭的设备会保持关闭;可以在游戏自己的电力面板中重新打开。

设置

自动加燃料、它的分钟数、负载削减的电量和燃料顺序可以在面板里修改。其他设置,例如按键以及电力和太阳能设置,可以在游戏内 Mod Manager 的「模组」界面修改(立即生效,蓄电池容量在下次启动游戏时生效),也可以在游戏关闭时编辑 BepInEx\config\com.dev.survivallog.powermanager.cfg。配置文件中每项设置都有中文说明,完整说明见 CONFIG.md(英文)。

更新日志 4 个版本

更新日志只有英文版。

  1. 0.2.2Nexus 页面游戏 1.1.20151
    • Warning: needs Exiled's Toolkit 0.12.0 or newer. Update the Toolkit first.
    • With Game Rules or Machine Speed older than 0.7.0 installed, Power Manager now leaves their power settings to them and a message asks you to update them. Before, both mods applied the same settings, so device power, battery size and generator settings counted twice.
    • A carried-over setting the mod could not read is now logged as not carried.
    • Made for Survival Log 1.1.20151.
  2. 0.2.1游戏 1.1.20151
    • The panel key is now unbound by default; use the HUD button, or set a key in the settings.
    • The panel key no longer opens or closes the panel while you type in a text box.
    • Exiled's Toolkit 0.12.0 or newer is now required.
    • Made for Survival Log 1.1.20151.
  3. 0.2.0游戏 1.1.20151
    • The default fuel order no longer burns Scrap Paper, Newspaper, Entertaining Magazine, Wood Chips or Cardboard. It now burns Poor-Quality Alcohol, Common Alcohol and High-Proof Alcohol, weakest first, before Diesel. If you already play with Power Manager, your saved fuel order stays as it is.
    • You can now add any item that burns to the fuel order, not only items in your storage. Items already on the fuel order are not offered again.
    • An item you remove from the fuel order shows up in the add list right away, so you can add it back without closing the panel.
    • Every item on the Fuel tab shows its burn value, so you can see which fuel lasts longest.
    • Made for Survival Log 1.1.20151.
  4. 0.1.0游戏 1.1.19611
    • First release: one panel for your home's power, on F2 or a lightning button in the bottom-left corner of the screen.
    • Start and stop every fuel generator from the panel, one at a time or all at once, and set each one's auto-start.
    • Refuel generators from home storage in a fuel order you set, junk paper first. Items left off the list are never burned.
    • Auto-refuel, off by default, tops up a running generator, or one set to auto-start, when its fuel runs low.
    • A battery forecast shows how long until the battery is empty or full at the current use.
    • Load shedding: devices you mark low priority switch off when the battery runs low during a power cut, and back on once it recovers.
    • The power and solar settings from Game Rules and the generator settings from Machine Speed now live here. Values you changed in those mods are carried over the first time the game starts with Power Manager.
    • Made for Survival Log 1.1.19611.

帮助

已知问题

  • 关闭发电机时,它的自动启动也会关闭。这是游戏自己的规则,可以在面板里重新开启。
  • 某些剧情事件期间游戏会锁定电源开关,此时无法切换任何东西。
  • 由 Defense Manager 控制供电的设备会显示出来,但不能在这里切换或标为低优先级。
  • 电量仍然偏低时,你手动重新打开的低优先级设备会再次被关闭。想让它保持开启,把它改回普通优先级。
  • 设备优先级按存档保存,所以新游戏要先保存一次才能标记低优先级设备。
  • 蓄电池容量的修改在下次启动游戏时生效。

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

发现问题?

发现 bug 或有好点子?欢迎来 Core Directive Discord 打个招呼,或在Nexus 页面的「Posts」标签里发帖。报告 bug 时,请附上 BepInEx\LogOutput.log 和 BepInEx\power-manager.log。
想直接联系我,可以在 Discord 上给 exiled.dev 发消息,我在 Survival Log 官方 Discord 里。也可以在 X 上找我:@AnExiledDev。