Blueprint & Upgrade Planner Quality Cycler

by MengLei

Cycle qualities inside blueprints, blueprint books, and upgrade planners with the controls bound to quality up/down. 使用控制设置里绑定的品质上/下切换操作快速修改蓝图、蓝图册和绿图中的品质。

Utilities
8 hours ago
2.0
0
Blueprints
Owner:
MengLei
Source:
https://github.com/MengLeiFudge/MLJ_F...
Homepage:
https://github.com/MengLeiFudge/MLJ_F...
License:
MIT
Created:
8 hours ago
Latest Version:
1.0.0 (8 hours ago)
Factorio version:
2.0
Downloaded by:
0 users

下拉以查看中文说明。

Blueprint & Upgrade Planner Quality Cycler

Overview

Blueprint & Upgrade Planner Quality Cycler cycles qualities inside blueprints, blueprint books, and upgrade planners with the controls bound to quality up/down.

Features

  • Changes the quality of blueprint entities whose known properties are affected by quality.
  • Changes the quality of modules and other requested items stored inside blueprint entities.
  • Recursively processes blueprint books and prints one combined result.
  • Changes only the target quality in upgrade planners, so broad rules such as any quality -> legendary keep their source side unchanged.
  • Reads the active quality chain from the game, so expanded quality mods are supported without hard-coded quality names.
  • Skips targets whose known properties are not affected by quality, such as transport belts when quality would not improve them.

Usage

  • Put a blueprint, blueprint book, or upgrade planner in your inventory, or move it to Public blueprints.
  • Hold the item on the cursor or select a writable Public blueprint or upgrade-planner record.
  • Use the controls bound to quality up/down; quality up raises eligible targets by one step, and quality down lowers eligible targets by one step.
  • Records in My blueprints are read-only to mods, so move them to inventory or Public blueprints before using this mod.
  • Opening a blueprint or upgrade-planner window and hovering a single row does not expose enough writable row information to mods, so this mod edits the writable item or record as a whole.

Examples

If a blueprint contains quality-affected machines, quality up raises eligible machines and stored module requests by one quality step. If an upgrade planner contains any quality -> rare, quality up changes only the target side to the next quality and keeps the source side broad.

Acknowledgments

  • Thanks to every player who uses this mod.

If you have any comments or suggestions, please share them in the Factorio discussion or on GitHub.

中文说明

概览

蓝图/绿图品质切换器可以使用控制设置里绑定的品质上/下切换操作快速修改蓝图、蓝图册和绿图中的品质。

功能简介

  • 修改蓝图中已知会受品质影响的建筑品质。
  • 修改蓝图建筑内部保存的插件、模块等物品品质。
  • 递归处理蓝图册,并在完成后输出一条汇总结果。
  • 只修改绿图的目标品质,不修改来源品质,因此 任意品质 -> 传说品质 这类规则仍会保持来源侧的宽泛匹配。
  • 从游戏当前启用的品质链动态读取品质顺序,兼容扩展品质模组。
  • 如果目标对象没有任何已知属性会被品质影响,就跳过不改,例如品质不会提升传送带时不会修改传送带。

使用说明

  • 将蓝图、蓝图册或绿图放在背包中,或移动到公共蓝图。
  • 手持该物品,或选中可写的公共蓝图/绿图记录。
  • 使用控制设置里绑定的品质上/下切换操作;品质上会让可修改目标升一档,品质下会让可修改目标降一档。
  • “我的蓝图”中的记录对模组只读,需要先移动到背包或公共蓝图再使用。
  • 打开蓝图或绿图窗口并悬停单行时,游戏不会向模组暴露足够的可写行信息,因此本模组会整体修改当前可写物品或记录。

例子

如果蓝图里有会受品质影响的机器,品质上会把符合条件的机器和其中保存的插件请求一起升一档。如果绿图里有 任意品质 -> 稀有品质,品质上只会修改目标侧品质,来源侧仍保持任意品质。

致谢

  • 感谢所有使用此模组的玩家。

如果有任何意见或建议,欢迎在 Factorio 讨论区GitHub 反馈。