Lightorio


Adds a little 'glow' to assembling machines, chem plants and oil refineriers, to make the factory more visible at night. Not intended as an complete replacement for lamps.

Tweaks
2 years ago
0.16 - 1.1
33.0K

Changelog

Version: 1.1.6
Date: 2022.08.11

  Minor update:
    - Added intensity setting for the active light given off by assembly machines.
Version: 1.1.5
Date: 2022.08.11

  Bugfix:
    - It was still possible to trigger damage alerts for lightorio lamps. Lightorio lamps now have 100% resistance to all damage types, vanilla and modded.
Version: 1.1.4
Date: 2022.06.15

  Bugfix:
    - It was possible to damage or destory lightorio lamps independent of their parent entity. Lightorio lamps can no longer be attacked - they will disappear when their parent entity is killed or otherwise removed.
Version: 1.1.2
Date: 2020.04.09

  Bugfix:
    - Changing mods might break links to various settings for lamp colours added by this mod. This has been fixed.
Version: 1.1.1
Date: 2020.12.26

  Bugfix:
    - Core miners in Space Exploration could lose the the link to their lights and cause a crash on rotation, this has been fixed.
Version: 1.1.0
Date: 2020.11.29

  Minor update:
    - Update for 1.1
Version: 1.0.1
Date: 2020.09.05

  Bugfixes:
    - Fixed the change history not rendering in-game...
Version: 1.0.0
Date: 2020.09.04

  Bugfixes:
    - Fixed another issue causing crashes on rotation. For some reason the unminable property is being ignored when another entity is mined from the same tile. This is causing unexpected removal of assemblerlamps which then causes a crash due to out of sync data in the background. This has been fixed.
Version: 0.18.5
Date: 2020.05.03

  Bugfixes:
    - Fixed an issue on entity removal which caused spikes in UPS drops.
Version: 0.18.4
Date: 2020.05.03

  Bugfixes:
    - Fixed an issue when used with Factorio Extended Machines
Version: 0.18.3
Date: 2020.04.26

  Bugfixes:
    - Fixed another loophole
Version: 0.18.2
Date: 2020.04.26

  Bugfixes:
    - Fixed a loophole in orphaned assemblerlamp cleanup logic which would cause a crash.
Version: 0.18.1
Date: 2020.04.19

  Bugfixes:
    - Made a more stable fix for lamps added to miner drills for modded drills. Hopefully this is the end of drill-related rotation crashes.
    - Previously it was possible to set the assember-light switch on light level to be less than the switch off light level, which is disallowed at the prototype level, and will cause the mod to crash on load. This has been fixed - configurations of this type will default the darkness for all lamps on to be 1, so the mod will still load.
Version: 0.18.0
  Minor update:
    - Update for 0.18
Version: 0.17.8
  Bugfixes:
    - Fixed an issue where this was attempting to access an invalid entity
Version: 0.17.7 
  Bugfixes:
    - Fixed conflict with additional chemical plant tiers
Version: 0.17.6
  Bugfixes:
    - Fixed issue introduced in 0.17.5 causing a crash when building non-miner simple-entity-with-force entities
Version: 0.17.5
  Bugfixes:
    - Fixed various modded miners crashing and not creating lamps
    - Fixed lamps not being recreated on mod initialization
Version: 0.17.4
  Bugfixes:
    - Fixed chemical plant lighting breaking the new Chemical Plant animations in Factorio 0.17.67
    - Added support for scripted cloning (on_entity_cloned)
    - Added support for script_raised_built
    - Added support for script_raised_destroy
Version: 0.17.3
  Bugfixes:
    - Removed debugging prompts (added in 0.17.2 in error)
Version: 0.17.2
  Bugfixes:
    - Added bodge fix for core-miners in the Space Exploration mod
Version: 0.17.1
  Bugfixes:
    - Fixed non-HR version of assemblerlamp still having 0 width causing a crash on startup
Version: 0.17.0
  Minor update:
    - Updated to 0.17

  Bugfixes:
    - The dim "ambient" lamps from buildings now costs a tiny amount of power (seems it can no longer be zero as of 0.17 - I will investigate)
    - Rough and ready support for Angel/Bob's buildings impacted by this mod. Might break as mods are updated.
Version: 0.16.4
  New feature:
    - Added assemblerlights to electric miners. There's now a lamp on the output point! Miners currently DON'T glow when active.

  Bugfixes:
    - Fixed an issue with settings not being generated in certain mod configurations.
Version: 0.16.3
  Bugfixes:
    - Fixed an issue where the oil refinery animation flame wasn't playing anymore. This now works alongside the colour modifications.
    - Fixed an issue where the chemical plant animation wasn't playing anymore. This now works alongside the colour modifications.
Version: 0.16.2
  New Features:
    - 1) Added an active glow for chemical plants
    - Also supports Bob's chemical plants 2-4
    - 2) Added an active glow for oil refineries 
    - Also supports Bob's oil refineriers 2-4
    - 3) Added a Lightorio section to the Mod Settings menu (Available in Options)
    - All of the settings effect prototypes, so are only available on startup on the main menu.
    - The following settings can be configured:
    - a) The colour of the idle glow of all assembling machines
    - b) The intensity of the idle glow of all assembling machines
    - c) The size of the idle glow of all assembling machines
    - d) The colour of the active glow for assembling machine 1s
    - e) The colour of the active glow for assembling machine 2s
    - f) The colour of the active glow for assembling machine 3s
    - g) The colour of the active glow for chemical plants
    - h) The colour of the active glow for oil refineries
    - With Bob's Assemblers:
    - i) The colour of the active glow for assembling machine 4s
    - j) The colour of the active glow for assembling machine 5s
    - k) The colour of the active glow for assembling machine 6s
    - l) The colour of the active glow for chemical plant 2s
    - m) The colour of the active glow for chemical plant 3s
    - n) The colour of the active glow for chemical plant 4s
    - o) The colour of the active glow for oil refinery 2s
    - p) The colour of the active glow for oil refinery 3s
    - q) The colour of the active glow for oil refinery 4s

    - With Bob's Electronics:
    - r) The colour of the active glow for electronic assembling machine 1s
    - s) The colour of the active glow for electronic assembling machine 2s
    - t) The colour of the active glow for electronic assembling machine 3s
Version: 0.16.1 
  Bugfixes:
    - Renamed internal folder name to be consistent with zip and .json to avoid a crash for anyone who manually unzips their mods.