Electric Grid

by 0n0w1c

An overhaul of the electric network, engineer an Electric Grid! The overhaul is optional.

Overhaul
6 days ago
2.0
1.04K
Power

Changelog

Version: 1.9.9
Date: 24.02.2025
  Bugfixes:
    - None
  Changes:
    - Overhaul: Added a small iron electric pole
      Similar to the small electric pole but without the surface restriction
Version: 1.9.8
Date: 15.02.2025
  Bugfixes:
    - None
  Changes:
    - When the even align radar startup option is selected, even align modded radars
Version: 1.9.7
Date: 07.02.2025
  Bugfixes:
    - Load error when Power Overload is active but Quality is not
  Changes:
    - None
Version: 1.9.6
Date: 02.02.2025
  Bugfixes:
    - None
  Changes:
    - Brighter transformator icon for improved item and recipe visibility
Version: 1.9.5
Date: 28.01.2025
  Bugfixes:
    - Power Overload: Hide fuses and transformer when transformator only is selected
  Changes:
    - Power Overload: Hide startup settings for fuses and transformer efficiency
Version: 1.9.4
Date: 27.01.2025
  Bugfixes:
    - Added handler for script raised revive events
  Changes:
    - None
Version: 1.9.3
Date: 26.01.2025
  Bugfixes:
    - Added handler for script raised destroy events
  Changes:
    - Refactored asserts, errors will be logged to factorio-current.log
Version: 1.9.2
Date: 25.01.2025
  Bugfixes:
    - Crash on load
  Changes:
    - IMPORTANT: See 1.9.1 changelog entry below
Version: 1.9.1
Date: 25.01.2025
  Bugfixes:
    - IMPORTANT: Reverting the change to tiered pumps, introduced with 1.6.5
    - Quick on/off via circuit conditions was not functioning properly
  Changes:
    - IMPORTANT: Tiered pumps are being migrated back to a single pump
      Transformators may need to be reset, either set the transformator pump's filter to be 
      disabled, then enabled, or change the transformator rating, and then back
      Transformators which had a circuit network connection, will need to be reconnected
    - Transformator pumps will display as a 1MW Transformator in Factoriopedia and the filter gui
Version: 1.9.0
Date: 21.01.2025
  Bugfixes:
    - None
  Changes:
    - Transformators can be placed on Aquilo
      Like electric poles and substations, they do not freeze
Version: 1.8.6
Date: 19.01.2025
  Bugfixes:
    - None
  Changes:
    - Power Overload: Uses the Power Overload huge electric pole
      Light and maximum wire distance startup options will apply
Version: 1.8.5
Date: 19.01.2025
  Bugfixes:
    - Crash due to widget definiton requiring flib which was not a dependency
  Changes:
    - None
Version: 1.8.4
Date: 19.01.2025
  Bugfixes:
    - Unlock Power Overhaul's high energy interface with electric-energy-distribution-2
  Changes:
    - None
Version: 1.8.3
Date: 19.01.2025
  Bugfixes:
    - None
  Changes:
    - Overhaul: Added support for Power Overload
      Power Overload's huge pole, transformer, fuses and technology are hidden
      The underground substation and circuit pole are hidden
      The High energy interface can connect to transformators only
Version: 1.8.2
Date: 15.01.2025
  Bugfixes:
    - Reverted the change to remove one of the event triggers for on_built
  Changes:
    - Using the pipette [Q] now places the correct rated transformator (ghost image is 1 MW rating)
Version: 1.8.1
Date: 11.01.2025
  Bugfixes:
    - None
  Changes:
    - Reduced the transformator technology research time from 60 to 30 seconds
    - Refactored underground substation placement, removed event triggers and build effect
    - Refactored transformator placement, removed event triggers and redundant build effects
Version: 1.8.0
Date: 09.01.2025
  Bugfixes:
    - None
  Changes:
    - Added support for Factorio+ (factorioplus)
      electrical distributor can connect to big electric poles
      wooden medium electric pole can connect to small and medium electric poles
      factorio+ huge pole replaces the electric grid huge pole (unlocked by energy distribution 1)
Version: 1.7.7
Date: 07.01.2025
  Bugfixes:
    - Crash: Check if Space Age is active before applying transformator surface_conditions
  Changes:
    - Refactored the definition of the huge electric pole to use deepcopy
    - Scaled quality pip icons to zero for transformator components
Version: 1.7.6
Date: 06.01.2025
  Bugfixes:
    - Replace a test value assigned to the big and medium poles
  Changes:
    - None
Version: 1.7.5
Date: 06.01.2025
  Bugfixes:
    - Replace a test value assigned to the huge electric pole
  Changes:
    - None
Version: 1.7.4
Date: 04.01.2025
  Bugfixes:
    - Cargo Ships: Added wiring rules, permit oil-rig poles to connect to floating electric poles
  Changes:
    - None
Version: 1.7.3
Date: 04.01.2025
  Bugfixes:
    - None
  Changes:
    - Modified some locale strings for consistency
    - Removed an internal component from the electric network
      Both changes help specifically when viewing the electric network statistics gui
Version: 1.7.2
Date: 04.01.2025
  Bugfixes:
    - None
  Changes:
    - Added support for James' Electric Trains Plus
    - Modified the underground substation's recycling recipe to be the same as the substation
Version: 1.7.1
Date: 04.01.2025
  Bugfixes:
    - Crash on load
  Changes:
    - None
Version: 1.7.0
Date: 04.01.2025
  Bugfixes:
    - Refactored the regeneration of the huge pole's recycling recipe when AAI Industry is active
  Changes:
    - The electric network overhaul is compatible with Quality when using Factorio 2.0.29 or later
    - Transformators can not be placed on Fulgora or Aquillo (could change in the future)
      Transformators act as over-powered accumulators on Fulgora due to the internal components
      Transformators lack frozen support for Aquillo
    - Copper wire connections between transmission only poles are permitted on Fulgora and Aquillo
Version: 1.6.8
Date: 29.12.2024
  Bugfixes:
    - None
  Changes:
    - Transformator connection icons are now enabled by default, configurable via startup setting
    - Added support for Unquality, added as hidden optional dependency
    - Added MinimalWire as incompatible
Version: 1.6.7
Date: 28.12.2024
  Bugfixes:
    - Transformators can again be disabled via fluid selection
    - Fixed check of nearby poles when placing underground substations
  Changes:
    - None
Version: 1.6.6
Date: 28.12.2024
  Bugfixes:
    - Refactored and removed unused graphics files
  Changes:
    - Modified the color and contrast of the transformator connection icons
Version: 1.6.5
Date: 27.12.2024
  Bugfixes:
    - Replace pump with tiered pump when changing transformator rating
  Changes:
    - None
Version: 1.6.4
Date: 27.12.2024
  Bugfixes:
    - None
  Changes:
    - Migration of all placed transformator entities, replacing the pumps with tiered pumps
      When viewing the transformator pump, the correct rated transformator image will be displayed
Version: 1.6.3
Date: 26.12.2024
  Bugfixes:
    - Crash running the short circuit check if a transformator were to become invalid
  Changes:
    - When viewing the transformator pump, the 10MW transformator image will be displayed
    - Transformators support 180 degree rotation after placement (flipping the orientation)
Version: 1.6.2
Date: 23.12.2024
  Bugfixes:
    - HOT FIX! Do not use Version 1.6.1 blueprints, delete any that you may have created
  Changes:
    - Rolling-back to version 1.6.0 code
Version: 1.6.1
Date: 23.12.2024
  Bugfixes:
    - None
  Changes:
    - Blueprinting of transformator circuit conditions and wiring is supported
      Unfortunately, transformators require multiple robots and multiple trips to construct
    - When viewing the transformator pump, the 10MW transformator image will be displayed
Version: 1.6.0
Date: 23.12.2024
  Bugfixes:
    - None
  Changes:
    - Copy & Paste and blueprints place the same rated transformator
    - Circuit wire maximum distance increased from 6 to 16 to accommodate quality poles
Version: 1.5.3
Date: 22.12.2024
  Bugfixes:
    - AAI Industry plus Quality only - Use Quality to regenerate the huge pole recycling recipe
  Changes:
    - None
Version: 1.5.2
Date: 19.12.2024
  Bugfixes:
    - None
  Changes:
    - Transformator maximum wire distance increased from 6 to 16 to accommodate quality poles
      Do not place a transformator in the supply area of an electric pole
    - Transformators now sort after substations in player inventory and recipes
    - Overhaul - Moved the electric poles into their own subgroup
Version: 1.5.1
Date: 17.12.2024
  Bugfixes:
    - None
  Changes:
    - Added No More Quality mod as an optional dependency
    - Changed No Quality to be a hidden optional depencency
Version: 1.5.0
Date: 17.12.2024
  Bugfixes:
    - None
  Changes:
    - The electric network overhaul requires either the No More Quality or No Quality mod
    - Decreased the intensity of the pole lights
Version: 1.4.4
Date: 16.12.2024
  Bugfixes:
    - None
  Changes:
    - Adjusted the transformator colors
Version: 1.4.3
Date: 16.12.2024
  Bugfixes:
    - Properly handle the [E] and [Esc] key presses to close the transformator gui
  Changes:
    - Added sound to the opening and closing of the transformator gui
Version: 1.4.2
Date: 16.12.2024
  Bugfixes:
    - More modifications to the transformator gui
  Changes:
    - None
Version: 1.4.1
Date: 16.12.2024
  Bugfixes:
    - Improved the transformator gui
  Changes:
    - None
Version: 1.4.0
Date: 15.12.2024
  Bugfixes:
    - Refactored and removed unused graphics files
  Changes:
    - Modified the transformator gui
Version: 1.3.1
Date: 13.12.2024
  Bugfixes:
    - Refactored and re-added the missing wiring rule checks while placing underground substations
    - Added proper localised strings for the startup settings
  Changes:
    - None
Version: 1.3.0
Date: 13.12.2024
  Bugfixes:
    - None
  Changes:
    - Underground substations now place properly while pole dragging
      More tricks are played here to account for other tricks, but the results should work fine
    - Added Factorioplus as an incompatible mod
Version: 1.2.3
Date: 10.12.2024
  Bugfixes:
    - Implemented proper localised strings, added en/locale.cfg
    - Refactored the short circuit check
  Changes:
    - None
Version: 1.2.2
Date: 9.12.2024
  Bugfixes:
    - Underground substations can now be copied and blueprinted
  Changes:
    - None
Version: 1.2.1
Date: 9.12.2024
  Bugfixes:
    - Modified the huge pole recipe to be more appropriate for 2.0
  Changes:
    - Added a modified huge pole recipe for AAI Industry
Version: 1.2.0
Date: 8.12.2024
  Bugfixes:
    - None
  Changes:
    - Added startup setting to disable the electric network overhaul, becomes transformator only
Version: 1.1.5
Date: 8.12.2024
  Bugfixes:
    - None
  Changes:
    - Added support for Cargo Ships' floating electric pole, can connect to huge poles
Version: 1.1.4
Date: 8.12.2024
  Bugfixes:
    - Removed on_nth_tick() event registration that violated multi-player requirements
  Changes:
    - None
Version: 1.1.3
Date: 7.12.2024
  Bugfixes:
    - Refactored the transformator displayer picture defintions, use the entity picture defintions
  Changes:
    - Transformator Factoriopedia entry displays the correct image
Version: 1.1.2
Date: 7.12.2024
  Bugfixes:
    - Improved some Factoriopedia entries
  Changes:
    - Startup settings to enable/disable the lights on transmission only poles (default: enabled)
Version: 1.1.1
Date: 7.12.2024
  Bugfixes:
    - Circuit pole copper wire connections were visable
  Changes:
    - None
Version: 1.1.0
Date: 7.12.2024
  Bugfixes:
    - None
  Changes:
    - Added the Circuit pole, for visible circuit wires when using underground substations
    - Added a new wiring rule: Circuit poles can connect to circuit poles and big electric poles
    - Removed the optional dependency and support for ConnectionBox
Version: 1.0.5
Date: 7.12.2024
  Bugfixes:
    - Huge electric pole displays properly in Factoriopedia
  Changes:
    - Modified the rocket capacity for huge poles, increased from 32 to 50, same as other poles
Version: 1.0.4
Date: 7.12.2024
  Bugfixes:
    - None
  Changes:
    - Modified internal volumes to decrease the power-off delay when "On tick interval" is set to 0
Version: 1.0.3
Date: 6.12.2024
  Bugfixes:
    - Modified pumping_speed and added scale_fluid_usage
  Changes:
    - None
Version: 1.0.2
Date: 6.12.2024
  Bugfixes:
    - Set max_power_output
  Changes:
    - None
Version: 1.0.1
Date: 6.12.2024
  Bugfixes:
    - AAI Industry's small iron electric pole was transmission only, restored to distribution pole
  Changes:
    - Transformators are more distingishable at night
Version: 1.0.0
Date: 4.12.2024
  Bugfixes:
    - Connection Box recycling recipe was not updated for the change to iron sticks
  Changes:
    - First stable release, the basics are in place
    - Refactored data-updates.lua
    - Updated the optional dependencies, mod home page and readme.md
Version: 0.4.4
Date: 2.12.2024
  Bugfixes:
    - None
  Changes:
    - Startup setting to even-align radars, improves alignment with roboports, rails, and turrets
      Effectively makes them 4x4 entities, no graphical or functional change, placement only
    - Modified the Connection Box recipe ingredients and locked it until circuit-network researched
    - Adjusted and scaled the light on transmission only poles
Version: 0.4.3
Date: 1.12.2024
  Bugfixes:
    - None
  Changes:
    - Substations can be upgraded to underground substations via the upgrade planner
Version: 0.4.2
Date: 1.12.2024
  Bugfixes:
    - None
  Changes:
    - Added the No Quality mod as an optional dependency
      Resolves the issue with Quailty and Transmission Only poles
Version: 0.4.1
Date: 1.12.2024
  Bugfixes:
    - None
  Changes:
    - Reversed making Quality incompatible
      Rather than be incompatible, it is up to the engineer to decide which poles to use
      Higher than normal quality "transmission only poles" have a small supply area
Version: 0.4.0
Date: 1.12.2024
  Bugfixes:
    - None
  Changes:
    - Removed Space Age as an optional dependency
    - Added the Quality mod as incompatible
      Unfortunately, the Quality bonuses as they are implemented for electric poles, are breaking
Version: 0.3.7
Date: 30.11.2024
  Bugfixes:
    - Transformator death was not properly handled
  Changes:
    - None
Version: 0.3.6
Date: 30.11.2024
  Bugfixes:
    - None
  Changes:
    - Added support for aai-industry's small iron electric pole, same as small electric pole
Version: 0.3.5
Date: 30.11.2024
  Bugfixes:
    - Underground substation's collision mask modified to water, resource, cliff, meltable, doodad
      Now it collides for placement but does not collide once placed
  Changes:
    - Removed the startup setting for the big electric pole's maximum wire connection distance
    - Enforce wiring rules on nearby poles when an electric pole is placed (auto-connect)
Version: 0.3.4
Date: 30.11.2024
  Bugfixes:
    - Crash when rating changed for new transformator
  Changes:
    - Transformator components now use transformator icon and localized string
Version: 0.3.3
Date: 29.11.2024
  Bugfixes:
    - Manually disabled transformators remain disabled when rating is changed
  Changes:
    - Implemented raise_built and raise_destory
Version: 0.3.2
Date: 29.11.2024
  Bugfixes:
    - None
  Changes:
    - Electric Grid Enforcer mod dependency changed from incompatible to optional
Version: 0.3.1
Date: 29.11.2024
  Bugfixes:
    - None
  Changes:
    - Transformator circuit and logistic connections and conditions remain when rating is changed
Version: 0.3.0
Date: 29.11.2024
  Bugfixes:
    - None
  Changes:
    - Refactored for performance enhancements
      If quick on/off is not a priority, set "On tick interval" to 0 for near zero UPS impact
    - Short circuit alerts are now promptly cleared
    - Enforce wiring rules on nearby poles when an electric pole is mined (auto-reconnects)
Version: 0.2.0
Date: 27.11.2024
  Bugfixes:
    - None
  Changes:
    - Added support for Connection Box: circuit wires and transmission only, no supply area
      For performance, it is better to connect a copper wire
Version: 0.1.14
Date: 26.11.2024
  Bugfixes:
    - Added Space Age as an optional dependency
    - Refactored the recipe category
  Changes:
    - None
Version: 0.1.13
Date: 26.11.2024
  Bugfixes:
    - Crash when the Space Age mod is not active
  Changes:
    - None
Version: 0.1.12
Date: 25.11.2024
  Bugfixes:
    - None
  Changes:
    - Big pole maximum wire distance is now adjustable via startup setting (default 18)
      Consider carefully changing this value, ramifications caused by auto-connect of copper wires
Version: 0.1.11
Date: 24.11.2024
  Bugfixes:
    - Underground substations did not properly support quality
    - Corrected dates in changelog.txt
  Changes:
    - Huge pole maximum wire distance is now adjustable via startup setting (default 36)
    - Startup setting for "On tick interval" now accepts 0, to disable runtime checks
Version: 0.1.10
Date: 23.11.2024
  Bugfixes:
    - Changed transformator recipe name, migration created
    - Modified Factoriopedia related settings
  Changes:
    - Transformator rating selection changed from (ctrl) + (left click) to (left click)
Version: 0.1.9
Date: 23.11.2024
  Bugfixes:
    - Refactored transformator placement
    - Significant reduction in the number of entities defined
  Changes:
    - Transformators no longer display "No power" alerts
Version: 0.1.8
Date: 22.11.2024
  Bugfixes:
    - Transformators can now be placed in adjacent positions
  Changes:
    - None
Version: 0.1.7
Date: 21.11.2024
  Bugfixes:
    - General refactoring: structure, comments, null checks, and clean-up.
  Changes:
    - Added startup setting to change the on tick interval, between 1 and 10 seconds (default = 1)
Version: 0.1.6
Date: 20.11.2024
  Bugfixes:
    - Incorrect selection area displayed when transformator was placed in south or west directions
    - Internal component positional issue when changing transformator rating or enabling/disabling
    - Crash if a transformator was removed (voided) with Big Pink Eraser
  Changes:
    - Added Big Pink Eraser as an optional dependency, a hidden entity clean-up tool
Version: 0.1.5
Date: 20.11.2024
  Bugfixes:
    - None
  Changes:
    - Modified selection areas for the transformator, divided into four 1x2 areas
      Circuit wires now connect to the middle (high-voltage) side, blue triangle when selected
      Mining and changing the transformator's rating is now the middle (low-voltage) side
Version: 0.1.4
Date: 19.11.2024
  Bugfixes:
    - Reverted previous design decision to index transformators based on the pump, back to the unit
    - Robot deconstruction did not remove the hidden composite entities
    - Copying transformators works properly
    - Transformator blueprints works properly
    - Underground pole blueprints work properly
  Changes:
    - None
Version: 0.1.3
Date: 19.11.2024
  Bugfixes:
    - Per player memory structures moved to storage
  Changes:
    - Added event handlers for space platforms, script and cloned events
Version: 0.1.2
Date: 18.11.2024
  Bugfixes:
    - None
  Changes:
    - Significantly improved the perceived "power off" response time (circuit and logistic control)
      Do not select "Set Filter" when setting circuit conditions
Version: 0.1.1
Date: 17.11.2024
  Bugfixes:
    - None
  Changes:
    - Added fluids to manually enable/disable a transformator
    - Medium and big electric poles are lighted (might make lights an optional setting)
Version: 0.1.0
Date: 16.11.2024
  Bugfixes:
    - None
  Changes:
    - IMPORTANT: The internal structure of a transformator has changed and is not compatible.
      Remove the previous version, start game and save, exit and then re-activate the mod.
    - Transformators can now be controlled via the circuit and/or logistic networks.
      Connect the circuit wire to the middle of the transformator.
Version: 0.0.2
Date: 12.11.2024
  Bugfixes:
    - Changed description and added a thumbnail
  Changes:
    - None
Version: 0.0.1
Date: 12.11.2024
  Bugfixes:
    - None
  Changes:
    - Initial release