Hazard Lights Redux


A mod that adds customizable lights to the corners of common buildings in darkness.

Tweaks
a day ago
2.0
100

Changelog

Version: 18.1.4
Date: 2024-11-13
  Changes:
    - Lightbulbs are now set to render as a "glow", making them a bit brighter during the night, and more dynamic as lighting changes around them
    - Sizes of Normal and Small lightbulbs have been adjusted to accommodate, and to be less obtrusive when in full light
    - Console commands now give feedback when they finish their tasks
  Bugfixes:
    - Substation was incorrectly being included as its own type. It is now included properly, giving it functioning lights.
Version: 18.1.3
Date: 2024-11-13
  Features:
    - Added a runtime option to change the mode of lights and lightbulbs: Variable (default), Normal, and Small.
      Variable: Smaller entities have smaller lights and lightbulbs.
      Normal: Entities always have normal-sized lights. Small: Entities always have smaller-sized lights
  Changes:
    - Skip Space Platforms during the initialization phase to very slightly speed up the lights generation
    - When rotating entities, the lights and lightbulbs now update their positions instead of being completely recreated
    - Renamed command `/HazardLightsRedux initialize` to `/HazardLightsRedux reinitialize` to indicate its use-case more clearly
    - Removed the explicit "Air Filtering" optional dependency, as the new type-based inclusion system covers their buildings by default
  Bugfixes:
    - Lights and lightbulbs now also update their positions when flipping entities, if necessary
    - Potentially prevented a race condition when using `/HazardLightsRedux reinitialize`
Version: 18.1.1
Date: 2024-11-12
  Features:
    - Added `/HazardLightsRedux uninitialize` and `/HazardLightsRedux initialize` commands to safely remove or re-create light entities
  Bugfixes:
    - Paranoid sanity check accidentally removed turrets from acceptable entity types
Version: 18.1.0
Date: 2024-11-12
  Features:
    - Updated to Factorio 2.0 API
    - Added a startup option to remove "lightbulbs" around entities
    - Added startup options to include or exclude entities by name
  Changes:
    - Added Space Age entities
    - Does not attach lights or lightbulbs to entities on Space Platforms
    - Lights are emitted only when in shadows/darkness
    - Removed "scanning" and "removal" runtime options; no longer necessary
    - Changed the way the mod accepts entities to attach lights to - entities are added by their types, then additional entities can be added (or excluded) by their names
    - No longer compatible with 1.1 saves (if it was), and requires Factorio 2.0
    - Removed the "Reserved Entities" logic; implementation was confusing, and use-case unclear. Not very compatible with the new startup options
      (May be re-implemented in the future if needed)
    - Compatibility with Picker Dollies was not changed, nor tested; supply your fixes in the discussions if it's broken
  Bugfixes:
    - Runtime settings apply without crashes
    - Properly gets surfaces of entities to attach lights to
    - Tidied up some code, possibly squashing (or spawning) bugs
  Info:
    - Updated by silverd_
    - original author: patrick-irvold@hotmail.com
Version: 18.0.10
Date: 2024-11-02
  Info:
    - Updated by Fr_Dae
  Changes:
    - 2.0 update
    - patrick-irvold@hotmail.com original author
Version: 18.0.8
Date: 2021-07-09
  Changes:
    - 1.1 update
    - add compatibility to Air Filtering
Version: 18.0.7
Date: 2020-06-13
  Bugfixes:
    - Small changelog change
Version: 18.0.6
Date: 2020-06-13
  Bugfixes:
    - Fixed crash when changing colors with invalid entities
Version: 18.0.5
Date: 2020-04-29
  Changes:
    - Added more color customization
Version: 18.0.4
Date: 2020-04-25
  Bugfixes:
    - made rotated entities have correct light positions
    - made reserved entities update their light attributes
Version: 18.0.3
Date: 2020-03-23
  Bugfixes:
    - fixed issue in pickerdollies handler where if an entity was unregistered the game would crash
Version: 18.0.2
Date: 2020-03-15
  Changes:
    - Made the optimization from 17.0.6 work

  Bugfixes:
    - fixed issue that if an API function was called before init it could cause a crash
Version: 18.0.1
Date: 2020-1-29
  Major Features:
    - updated to 0.18
Version: 17.0.10
Date: 2020-1-29
  Changes:
    - Added options to change settings for lights

  Known Issues:
    - Light settings will not be updated if the light is Reserved
Version: 17.0.9
Date: 2020-1-17
  Bugfixes:
    - Made PickerDollies work with entities that have no lights
Version: 17.0.8
Date: 2020-1-15
  Bugfixes:
    - Fixed Dependancy Issue
Version: 17.0.7
Date: 2020-1-15
  Bugfixes:
    - Added support for PickerDollies
Version: 17.0.6
Date: 2019-12-29
  Changes:
    - Added option for other mods to do extra optimisation
  Bugfixes:
    - Fixed Crash when other mods fuck up
Version: 17.0.5
Date: 2019-11-30
  Changes:
    - Fixed another possible reason for lingering lights
  Bugfixes:
    - Fixed a possible Save Game Incompatibility
Version: 17.0.4
Date: 2019-11-30
  Changes:
    - Added a Setting to rescan the world so that no lights would be lingering around
Version: 17.0.3
Date: 2017-5-10
  Changes:
    - Fixed Issue with creating or loading a world. (grumble grumble require grumble grumble)
Version: 17.0.2
Date: 2019-5-9
  Scripting:
    - Made CommonEntities into a global table (saved in savefile).
  Bugfixes:
    - Fixed Issues with PVP Event.
    - Fixed Issues with internal function GetSurfaceOfEnity.
Version: 17.0.1
Date: 2017-5-4
  Changes:
    - The name of the mod was changed from Hazerd Lights to Hazard Lights
Version: 17.0.0
Date: 2017-5-4
  Major Features:
    - Initial release