超级工厂插件(插件模块 + 覆盖塔)

by sh901

新增可放入机器插件槽的模块物品:超级速度插件 +1000% 制造速度、超级生产插件 +300% 生产加成;开局即解锁,每个只需 2 块铁板。另新增类似信标的大范围覆盖塔,范围内所有机器都能获得塔内插件效果。兼容 Pyanodons 等大型模组,全程零脚本,不造成卡顿。

6 hours ago
2.1
6
Cheats

Changelog

Version: 2.1.11
Date: 2026-11-09
  Changes:
    - Tower distribution effectivity default lowered from 400% to 100%, so the tower forwards
      plugin effects at face value (fp-tower-effectivity, adjustable 10-1000).
  Bugfixes:
    - Fixed dedicated Pyanodons bio machines (plantations, breeding pools, ...) accepting the
      generic speed / productivity plugins. Machines whose allowed module category list
      contains no standard category (speed / efficiency / productivity / quality) are now
      treated as dedicated machines: their category whitelist is left untouched, so only
      their own dedicated plugins fit, exactly as before this mod was installed.
    - Dedicated machines still receive the needed effect whitelist entries (speed and
      productivity only), so coverage tower bonuses keep working on them.
Version: 2.1.10
Date: 2026-11-09
  Changes:
    - The Super Coverage Tower now has 6 module slots by default (adjustable 1-10) and 400%
      distribution effectivity, so tower-supplied plugin effects are multiplied by 4.
    - Added a new startup setting "Tower distribution effectivity (%)" (fp-tower-effectivity,
      default 400) to control how strongly the tower forwards plugin effects.
  Removals:
    - Removed the extra module slot feature entirely. Machines are no longer given additional
      module slots; slots are left exactly as the base game and other mods defined them.
    - Removed the corresponding startup setting "Extra machine module slots" and all related
      locale strings and documentation.
  Notes:
    - The mod now only makes existing machine module slots accept and apply the plugins.
      Machines that never had module slots (stone furnace, electric furnace, ...) cannot hold
      plugins; use the coverage tower for those cases.
Version: 2.1.9
Date: 2026-11-09
  Changes:
    - Machines that have no module slots are no longer given any. Slots are only added to machines that
      already support modules, so the extra slots can never turn a valid prototype into an invalid one.
  Bugfixes:
    - Fixed the startup crash that 2.1.8 still triggered: "Module inventory size is > 0 (or module slots
      count is affected by quality) but no effects are allowed" for entity prototype "electric-furnace".
    - allowed_effects and uses_module_effects are now inspected on BOTH the prototype root and inside
      effect_receiver. 2.1.8 only looked at effect_receiver, so prototypes that keep these fields on the
      root (including the base furnace family) were never repaired.
    - Added a final sweep that scans every crafting machine and repairs any remaining prototype that has
      slots but no allowed module effects, logging the entity name when it does.
Version: 2.1.8
Date: 2026-11-09
  Bugfixes:
    - Fixed startup crash: "Module inventory size is > 0 (or module slots count is affected by quality)
      but no effects are allowed. This makes no sense." reported for entity prototype "electric-furnace".
    - Root cause: machines shipped with 0 module slots AND an empty allowed_effects list are self-consistent,
      but adding slots without filling the effect whitelist makes the prototype illegal. Any machine that
      receives extra slots now also gets a non-empty allowed_effects list.
    - uses_module_effects = false is now reset to true on machines that can hold modules, since it disables
      module effects entirely and triggers the same validation error.
    - The coverage tower no longer leaves an empty allowed_effects table behind when the source beacon
      declared an empty list.
    - Added a final consistency sweep over every crafting machine so no "slots but no effects" prototype
      can slip through.
Version: 2.1.7
Date: 2026-11-09
  Bugfixes:
    - Fixed "In RecipePrototype, 'category' and 'additional_categories' got merged
      into 'categories' table. Please use that instead." The three added recipes used
      the removed category field; they now use the categories array. The module
      prototype category field is unrelated to this change and is kept as a string.
Version: 2.1.6
Date: 2026-11-09
  Bugfixes:
    - Fixed "Value must be a string in property tree at
      ROOT.assembling-machine.assembling-machine-1.allowed_module_categories.speed".
      In 2.1 allowed_module_categories and allowed_effects are string arrays, but the
      previous patch wrote boolean entries into them, producing an invalid mixed table.
      Both fields are now inspected first and rewritten as plain string arrays, which
      also handles the single-string and boolean-map forms some mods use.
Version: 2.1.5
Date: 2026-11-09
  Bugfixes:
    - Fixed "Value must be a number in property tree at ROOT.module.fp-speed-module.effect.speed".
      In 2.1 the module effect fields (speed/productivity) are plain numbers instead of
      tables with a bonus member. A helper now detects whether the base module uses the
      number form or the table form, and detects whether numbers are stored as fractions
      or percentages, so the requested bonus is produced correctly in every case. This also
      keeps working if another mod (e.g. Pyanodons) changes the vanilla module values.
Version: 2.1.4
Date: 2026-11-09
  Bugfixes:
    - Fixed a locale parse error that stopped the mod from loading. The mod-name
      and mod-description sections contained a bare line of text instead of the
      required key=value pair, so the game reported a missing parameter value in
      locale/zh-CN/info.cfg. Both sections now use the mod internal name as key.
    - Added the missing fp-tower item description entry.
Version: 2.1.3
Date: 2026-11-09
  Bugfixes:
    - Added the missing fp-tower item prototype. The coverage tower entity was
      copied from the vanilla beacon entity, but beacons are entities and not
      items, so no item named fp-tower existed while both the entity minable
      results and the recipe pointed at it. pypostprocessing halted the load
      with "Item fp-tower does not exist" while validating next upgrades.
Version: 2.1.2
Date: 2026-11-08
  Info:
    - Rewrote changelog.txt into the canonical Version/Date format required by the game,
      so the mod no longer produces a changelog parse error in factorio-current.log.
    - No gameplay changes.
Version: 2.1.1
Date: 2026-11-08
  Bugfixes:
    - Coverage tower allowed_effects is now filled in at both possible locations (entity level for 2.0,
      and inside effect_receiver for 2.1) instead of assuming one layout. Unknown prototype fields are
      no longer created, which could trigger prototype validation errors.
    - supply_area_distance, distribution_effectivity and module_slots are only modified when the source
      prototype actually has them.
    - Icon handling unified: supports both the icon/icon_size pair and the icons array.
Version: 2.1.0
Date: 2026-11-08
  Bugfixes:
    - Fill in allowed_module_categories on production machines so the plugin modules can be inserted.
    - Fill in effect_receiver.allowed_effects so inserted modules actually grant a bonus.
  Info:
    - Startup log now reports how many machines had categories/effects patched.
Version: 2.0.3
Date: 2026-11-08
  Bugfixes:
    - Same field-safety fixes as 2.1.1, packaged for the 2.0 branch.
Version: 2.0.2
Date: 2026-11-08
  Bugfixes:
    - Same module category and allowed effect compatibility fixes as 2.1.0.
Version: 2.0.0
Date: 2026-11-08
  Major Features:
    - Reworked from editing machine stats into insertable plugin module items.
    - Added the Super Speed Module (+1000% crafting speed).
    - Added the Super Productivity Module (+300% productivity).
    - Added the Super Coverage Tower, a beacon-like device broadcasting module effects without falloff.
  Changes:
    - All three recipes are unlocked from the start and cost 2 iron plates each.
    - No control.lua and no event handlers; tower falloff profile flattened for performance.
    - Machine module slot patch moved to data-final-fixes.lua so py machines are covered.
Version: 1.1.1
Date: 2026-11-08
  Bugfixes:
    - Moved the patch from data.lua to data-final-fixes.lua, fixing py machines being missed.
Version: 1.1.0
Date: 2026-11-08
  Changes:
    - Renamed to a Chinese title and fully localized the interface.
    - Target game version raised to 2.1.
    - Added Pyanodons support and 5 extra module slots per machine.
Version: 1.0.0
Date: 2026-11-08
  Changes:
    - Initial release with +1000% speed and +300% productivity.