Configurable Solar Panels and Accumulators


Freely change energy parameters of the Solar panel and the Accumulator.

Tweaks
a month ago
1.1 - 2.0
1.22K
Power Cheats

Changelog

Version: 1.0.1
Date: 2024-11-04
  Changes:
    - NB: This update will reset the mod's Startup Settings to default values.
    - Compacted code and variable names, updated formatting, added some explanation, tidied up.
    - Removed unneeded use of data:extend().
Version: 1.0.0
Date: 2024-10-26
  Changes:
    - Updated to work with Factorio 2.0.
Version: 0.3.1
Date: 2024-05-15
  Changes:
    - Now properly using data-final-fixes rather than settings-final-fixes to ensure that prototype
      changes happen at the last mod load stage.
    - Appended energy unit to several variable names for the sake of clarity.
    - Updated compatibility list:
      - ! Solar Productivity: Will not work as expected, but will override values for Solar Panels
        on tech upgrade.
Version: 0.3.0
Date: 2024-05-13
  Changes:
    - Increased version number to 0.3.0.
    - Changed all settings to the double-setting type and added non-zero lower bounds to them all,
      to prevent potential crash.
    - Made internal names of settings more distinct, to lower risk of mod conflict.
    - Tidied up code, improved formatting, added explanations.
    - Removed an optional dependency, not important.
    - Updated thumbnail with a simpler version.
Version: 0.2.0
Date: 2023-07-07
  Changes:
    - Increased version number to 0.2.0.
    - Made charge and discharge rates for the Accumulator individually configurable.
    - Cleaned up code, removing unnecessary parts.
Version: 0.1.1
Date: 2023-06-29
  Info:
    - Fixed changelog to be readable in-game again.
Version: 0.1.0
Date: 2023-06-29
  Changes:
    - Increased version number to 0.1.0.
  Compatibility:
    - Added settings-final-fixes.lua similar to settings.lua, in order to override settings of
      other mods, as much as possible. Internal activation/deactivation.
    - Added "Rebalanced solar energy and laser turrets" ver. 0.0.3+ as optional dependency
      to info file (to signify improved compatibility).
    - Added warning of override to setting of same mod, when my mod is installed.
  To-do:
    - Maybe create better compatibility for other mods, making them more configurable.
    - Maybe add setting for whether or not to override settings of other mods (seems impossible...).
      Perhaps it should just override, given the small scope and the purpose of the mod.
  Info:
    - Changelog language corrected.
Version: 0.0.6
Date: 2023-06-28
  Info:
    - Improved changelog format to be readable in-game (for the sake of learning).
    - Made other small corrections to changelog.
  To-do:
    - Maybe add checkboxes to enable/disable features, for resolving possible mod conflicts.
    - Maybe add some other solar power mods as optional dependencies and making them more
      configurable too.
Version: 0.0.5
Date: 2023-06-28
  Locale:
    - Changes to description of settings.
  Info:
    - Changelog corrected.
Version: 0.0.4
Date: 2023-06-28
  Locale:
    - Fixed a typo in description of setting.
Version: 0.0.3
Date: 2023-06-28
  Features:
    - Settings now allows any string value. Unit (kW, MJ etc.) must still be specified!
    - Whitespaces in input are also trimmed.
    - Settings have been sorted manually with solar panels first.
Version: 0.0.2
Date: 2023-06-27
  Info:
    - Changelog corrected, otherwise no changes.
Version: 0.0.1
Date: 2023-06-27
  Modding:
    - Created mod
    - Stole code from "Rebalanced solar energy and laser turrets" ver. 0.0.3 by ZeroAinz.
      Removed all code and settings related to energy turrets (not my main interest).
  Features:
    - Changed allowed values for solar panel energy production (60-180kW, in 15kW increments).
    - Added option to change values for accumulator energy capacity (5-15MJ, in 1.25MJ increments).
    - Added option to change values for accumulator energy input/output (300-900kW, in 75kW increments).
    - Note: The allowed values are meant to easily allow keeping the normal panel/accumulator ratio.
  Info:
    - Added a .png thumbnail (300x300).
  To-do:
    - Maybe add checkboxes to enable/disable features, for resolving possible mod conflicts.
    - Maybe expand allowed values.
    - Maybe instead add option to select values more precisely (if even possible).
    - Might add back in code for laser turrets, with my own settings and configuration options.
    - Might add configuration options for other power structures.
  Misc.:
    - This is my first Factorio mod! Very much a novice at this.
    - As for licensing, there seems to be no issues. Credit goes to ZeroAinz for the original mod.