加大 Pyanodons 中各类流体机器的内部流体缓存。1.1.0 起不再只管抽取流体的机器,而是覆盖四类:抽取输出、抽取输入(含井架下方隐藏的钻井液底座)、耗流体矿机的输入,以及流体燃料(燃气与蒸汽轮机、燃气 / 燃油电厂、玻璃厂、冶炼厂、核反应堆、流体锅炉等)。 原版这些缓存极小:天然气井架与焦油钻探机只有 100,恰好等于一个开采周期的产量;耗流体矿机一律 200;流体燃料箱多为 100~200,而烧得快的机器一两秒甚至更短就见底。机器速度一旦提高,吞吐就被缓存卡死,而不是被速度卡死。 四个启动倍率分别对应四类(默认 20 / 10 / 10 / 10),另有支持通配符的黑名单与白名单,默认排除 pY 未改动过的几个基础游戏原型。只改 fluid_box.volume,不动产量、速度、配方或脚本逻辑;缓存属于原型级别,读档后对已有机器立即生效,无需重建。改完设置重启游戏生效;游戏内 /pyfbb 可查看倍率与原型名单。
Small changes concerning balance, gameplay, or graphics.
Version: 1.1.0
Date: 2026-10-04
Features:
- Mines that consume a fluid but produce no fluid of their own now get their input buffer scaled
as well: pY fluid drills, REE mining drills and the borax / niobium / phosphate / coal / quartz
mines (200 -> 2000 at the default 10x). Controlled by the new startup setting
"Fluid-consuming mine input buffer multiplier".
采固体但吃流体、自身不产流体的矿机现在也会放大输入缓存:pY 流体钻机、稀土矿机,以及硼砂 /
铌 / 磷 / 煤 / 石英矿(默认 10 倍下 200 -> 2000)。由新的启动设置「耗流体矿机输入缓存倍率」控制。
- Fluid fuel buffers are scaled too: gas and steam turbines, gas and oil power plants,
glassworks, smelters, the fluid-burning sulfur / salt / antimony mines, nuclear reactors,
neutron absorbers, fluid boilers and the LRF / solar concentrator molten salt boxes, plus
their spent-fluid output boxes. Controlled by the new startup setting
"Fluid fuel buffer multiplier" (default 10x). A 100 buffer burning 1-1.5 per tick emptied in
roughly one second and made the machine stutter.
流体燃料缓存同样被放大:燃气轮机、蒸汽轮机、燃气 / 燃油电厂、玻璃厂、冶炼厂、烧流体的硫矿 /
盐矿 / 锑矿、核反应堆、中子吸收器、流体锅炉,以及 LRF / 太阳聚光器的熔盐箱,也包括用过的流体
输出箱。由新的启动设置「流体燃料缓存倍率」控制(默认 10 倍)。100 的缓存配上每 tick 1~1.5 的
消耗量,一秒左右就见底,机器因此反复停机。
- New startup settings "Excluded prototypes (blacklist)" and "Included prototypes only
(whitelist)" to keep specific machines out of the boost. Wildcards * and ? are supported,
and a prototype type may be prefixed, for example "generator:steam-*".
新增启动设置「排除的原型(黑名单)」与「仅处理这些原型(白名单)」,用来把特定机器排除在放大
之外。支持 * 与 ? 通配符,也可以加原型类型前缀,例如 "generator:steam-*"。
- The default blacklist pre-excludes pumpjack, steam-engine, steam-turbine and steel-furnace:
base game prototypes that pY itself never touches but that the new generic rules would
otherwise match. Clear the field to boost those as well.
默认黑名单预置了 pumpjack、steam-engine、steam-turbine、steel-furnace:这几个是 pY 自己完全
没碰过的纯基础游戏原型,但新的通用规则能匹配到它们,所以出厂先排除。把这一栏清空即可连它们一起放大。
- New runtime command /pyfbb reports the multipliers and the parsed lists, /pyfbb list prints
every affected prototype and marks the excluded ones, and /pyfbb scan reads the real fluid box
capacity of nearby machines. The mod also exposes a remote interface
"py-fluid-buffer-boost" with stats and scan for other mods and for automated testing.
新增运行时命令:/pyfbb 显示倍率与解析出的名单,/pyfbb list 列出全部受影响的原型并标出被排除的,
/pyfbb scan 读取附近机器的真实流体缓存容量。模组同时暴露名为 "py-fluid-buffer-boost" 的 remote
接口(stats 与 scan),供其他模组和自动化测试调用。
Changes:
- Retitled from "pY 流体抽取机器缓存增强" to "pY 流体缓存增强", since the mod no longer only
covers fluid-extracting machines.
标题由「pY 流体抽取机器缓存增强」改为「pY 流体缓存增强」,因为本模组已不再只覆盖抽取流体的机器。
- Targets are now discovered by scanning prototypes with generic rules instead of a fixed list of
machine names, so machines added by future pY updates are covered automatically. Mining drills
that produce a fluid feed the output / input categories; drills that only consume a fluid feed
the mine input category; anything burning a fluid feeds the fuel category.
目标改为用通用规则扫描原型得出,不再是写死的机器名单,因此 pY 今后新增的同类机器会自动覆盖。
产流体的矿机进入输出 / 输入两类;只吃流体不产流体的矿机进入矿机输入类;任何烧流体的机器进入燃料类。
- registry.lua records every target prototype. It is re-checked on every load and any mismatch is
written to factorio-current.log as a WARNING, so a stale registry after a pY update is visible
immediately.
registry.lua 记录了全部目标原型。每次加载都会重新比对,不一致就以 WARNING 写进
factorio-current.log,因此 pY 更新后登记表一旦过期会立刻暴露。
- 131 fluid boxes are changed with the default settings, across 93 prototypes. The generic rules match 97; the four pre-excluded base game prototypes account for the difference.
默认设置下一共改动 131 个流体箱,覆盖 93 个原型。通用规则实际匹配 97 个,差额即出厂预排除的 4 个基础游戏原型。
Bugfixes:
- Wildcard patterns containing a hyphen never matched, so a blacklist entry such as
"steam-engine" or "oil-derrick-*" silently did nothing. A hyphen is a Lua pattern repetition
operator and has to be escaped.
含连字符的通配符从未匹配成功,因此 "steam-engine" 或 "oil-derrick-*" 这类黑名单条目会静默失效。
连字符在 Lua 模式里是重复量词,必须转义。
- /pyfbb scan looked the surface up by numeric index in game.surfaces, which is keyed by name and
therefore always reported "no such surface".
/pyfbb scan 之前用数字下标去 game.surfaces 里取表面,而该表是按名字索引的,因此永远报「找不到该表面」。
- Reading a fluid box on an entity that has none (trees, cliffs, resource patches) raised
"LuaEntity doesn't contain key fluidbox" and aborted the whole scan.
在没有流体箱的实体(树、悬崖、矿脉)上读取流体箱会抛 "LuaEntity doesn't contain key fluidbox",
导致整次扫描中断。
- The control stage used the removed Factorio 2.1 member entity.fluidbox; it now uses
entity.get_fluid_capacity(index) with a fallback for older versions.
控制阶段使用了 Factorio 2.1 已移除的 entity.fluidbox;现改用 entity.get_fluid_capacity(index),
并保留对旧版本的回退。
Version: 1.0.0
Date: 2026-09-29
Features:
- Multiply the output fluid buffer of oil-derrick-mk01..04, natural-gas-derrick-mk01..04,
tar-extractor-mk01..04 and geothermal-plant-mk01 (startup setting, default 20x).
放大原油井架 mk01..04、天然气井架 mk01..04、焦油钻探机 mk01..04 与地热发电机 mk01 的输出流体
缓存(启动设置,默认 20 倍)。
- Multiply the input fluid buffer of the same machines and their hidden -base buildings
(drilling fluid / pressured water, startup setting, default 10x).
放大同一批机器及其隐藏 -base 底座的输入流体缓存(钻井液 / 加压水,启动设置,默认 10 倍)。
- Log every changed fluid box volume to factorio-current.log for verification.
把每一个被改动的流体箱容量写入 factorio-current.log,便于核对。