Will-o'-the-Wisps updated

by mk-fg
A glowing enigmatic life form was found to inhabit alien forests at night. Based on the original mod by Betep3akata, updated to work with 0.16.x. Singleplayer only.
4 months ago
0.16
2447

Changelog

Version: 0.0.53
Date: 10. 11. 2018
  Bugfixes:
    - Fix some issues with spawn zones tracking in presence of map-changing mods.
  Changes:
    - Add testing "/wisp zone rescan" command to force-rescan all forest chunks in one go.
    - Change wisp_uv_expire_chance_func for wisps to vanish at a slightly slower rate.
    - Make wisp spawn zone maintenance routines less frequent.
              

Version: 0.0.52
Date: 02. 10. 2018
  Features:
    - Add option for wisps and biters to attack each other.
              

Version: 0.0.51
Date: 02. 10. 2018
  Changes:
    - Allow setting R range signal on the wisp detector itself.
    - Do not override or shuffle non-wisp signals that are set on detectors, only add/update.
    - Allow same 18 slots on wisp detector as on constant combinator.
    - Don't update detector signals when they are switched off.
              

Version: 0.0.50
Date: 21. 08. 2018
  Changes:
    - Add "wisp aggression factor" option (default=0) for a more challenging game mode.
    - Add "/wisp radicalize" command to simulate random aggression in one place.
    - Add "/wisp incidents" command and logging to display last aggression spots on the map.
              

Version: 0.0.49
Date: 07. 07. 2018
  Bugfixes:
    - Fix removing trigger-created entities that are not red wisps.
              

Version: 0.0.48
Date: 02. 07. 2018
  Bugfixes:
    - Fix cache invalidation error which can randomly happen when players cut forests fast.
              

Version: 0.0.47
Date: 01. 07. 2018
  Bugfixes:
    - Fix lua error when wisp detector finds all 4 kinds of wisps (due to item_slot_count=3).
              

Version: 0.0.46
Date: 28. 06. 2018
  Changes:
    - Improve wisp-congregation target finding algo a bit.
              

Version: 0.0.45
Date: 28. 06. 2018
  Bugfixes:
    - Fix lua error when green wisp group fails to find chunk with player structures.
              

Version: 0.0.44
Date: 26. 06. 2018
  Bugfixes:
    - Fix control network enabled/disabled state check on UV lamps - again!
              

Version: 0.0.43
Date: 26. 06. 2018
  Bugfixes:
    - Fix control network enabled/disabled state check on UV lamps.
              

Version: 0.0.42
Date: 23. 06. 2018
  Features:
    - Add harmless green wisps to safely explore players stuff without attacking anything.
    - Enable green wisp groups to spawn and roam around player's stuff.
              

Version: 0.0.41
Date: 18. 06. 2018
  Features:
    - Implement wisp groups exploring player's base, but not enabled yet due to what looks like a bug.
    - Add "/wisp congregate" console command.
  Bugfixes:
    - Fix "/wisp zone labels" positioning - were offset to left-top by a chunk or so.
              

Version: 0.0.40
Date: 17. 06. 2018
  Changes:
    - Use one /wisp command-prefix for all mod commands, to avoid polluting /h too much.
  Features:
    - Add "zone labels" console command to add map labels for all scanned spawn zones.
              

Version: 0.0.39
Date: 16. 06. 2018
  Bugfixes:
    - Fix minor bug with attacking wisps not being tracked correctly.
              

Version: 0.0.38
Date: 16. 06. 2018
  Features:
    - Make yellow/red wisps flee from UV lamps, not just die to them.
    - Add /wisp-stats command to print counts of wisps on the map.
              

Version: 0.0.37
Date: 15. 06. 2018
  Features:
    - Add /wisp-attack and /wisp-peace commands to set current wisp aggression.
  Changes:
    - Increase lantern drone light radius 60 -> 100.
              

Version: 0.0.36
Date: 15. 06. 2018
  Bugfixes:
    - Fix wisp group tactics, was disabled after latest changes.
              

Version: 0.0.35
Date: 14. 06. 2018
  Bugfixes:
    - Fix surface.find_entities_filtered() not working with arrays on stable factorio versions yet.
              

Version: 0.0.34
Date: 14. 06. 2018
  Features:
    - Wisps are now split into two factions - peaceful and aggressive one.
    - All wisps start as peaceful, and only move to aggressive faction when provoked.
    - Peaceful wisps are not targeted by default, while aggressive ones always are.
    - Add "Wisp retaliation radius" mod option, with 0 value there for old all-for-one behavior.
              

Version: 0.0.33
Date: 14. 06. 2018
  Changes:
    - Break/re-establish turret/player cease-fire wrt wisps when their aggression state changes.
    - Turrets no longer shoot wisps by default, unless changed in mod options.
  Bugfixes:
    - Fix wisps aggression being set-off by UV lamps damage - should not be.
    - Consider all players' forces when changing aggression stuff, not just game.forces.player.
              

Version: 0.0.32
Date: 14. 06. 2018
  Changes:
    - Make purple wisps damage refineries and centrifuges, usually concentrated, instead of tanks.
              

Version: 0.0.31
Date: 13. 06. 2018
  Changes:
    - Make purple wisps less of a nuisance by not targeting power poles of any kind.
    - Bump UV lamp energy use 80 -> 160kW, as there should be less things to surround now.
              

Version: 0.0.30
Date: 13. 06. 2018
  Bugfixes:
    - Fix lua error on forest scans for replaced chunks that are already in ChunkSpreadQueue.
              

Version: 0.0.29
Date: 13. 06. 2018
  Bugfixes:
    - Fix item name missing for Will-o-Wisp Lantern due to incorrect section.
              

Version: 0.0.28
Date: 13. 06. 2018
  Features:
    - Add "Forest pollution factor" mod option to tweak how pollution affects wispy areas.
    - Add /wisp-zone-update, /wisp-zone-stats and /wisp-zone-spawn admin console commands.
  Changes:
    - Use print/log instead of file logger with conf.debug_log.
  Bugfixes:
    - Fix map UV level not being saved correctly.
    - Minor fixes in wisp spawn zones load distribution algos.
              

Version: 0.0.27
Date: 12. 06. 2018
  Changes:
    - Bunch of minor tweaks to lantern drone sprite.
              

Version: 0.0.26
Date: 12. 06. 2018
  Changes:
    - Change color of lantern drone from violet to blue - looks too much like purple wisps otherwise.
              

Version: 0.0.25
Date: 12. 06. 2018
  Features:
    - Add personal companion wisp lantern (alien-bio + combat-robotics research).
    - Make max wisp spawn count configurable via mod options.
  Changes:
    - Lower damage from UV lamps to wisps ~15 -> ~10.
    - Add blue science-pack-3 cost to Alien Biotech research.
    - Disable wild red/yellow/purple recipies, not sure why they were in the mod at all.
              

Version: 0.0.24
Date: 11. 06. 2018
  Bugfixes:
    - Fix UV lamp damage to wisps, including killing spores.
              

Version: 0.0.23
Date: 11. 06. 2018
  Changes:
    - Change UV lamp sprite and lighing to a "black uv" sprite from old Color Coding mod version.
    - Add light around wisp detectors.
  Bugfixes:
    - Fix new purple wisps corroding stuff after save load, when it's disabled in mod opts.
              

Version: 0.0.22
Date: 10. 06. 2018
  Bugfixes:
    - Fix wisp detector icon to be in line with last sprite update.
              

Version: 0.0.21
Date: 10. 06. 2018
  Changes:
    - Catch and put baby red wisp on top of wisp detector sprite.
              

Version: 0.0.20
Date: 10. 06. 2018
  Changes:
    - Recolor wisp detectors blue and rebase on factorio 0.16.x sprites.
              

Version: 0.0.19
Date: 10. 06. 2018
  Bugfixes:
    - Fix lua error with unconnected wisp detectors.
              

Version: 0.0.18
Date: 10. 06. 2018
  Features:
    - Make wisp type spawn chances (when spawned in random forests) controllable via mod options.
  Bugfixes:
    - Fix wisp spawning zones' pollution tracking being reset after mod updates.
              

Version: 0.0.17
Date: 10. 06. 2018
  Changes:
    - Update wisp daylight expire algo to only take darkness changes into account, not ticks.
  Bugfixes:
    - Fix wisp detector to only show non-zero signals on it in Alt-mode.
    - Fix wisps never switching to back to peaceful mode during day.
              

Version: 0.0.16
Date: 09. 06. 2018
  Bugfixes:
    - Fix migration for saves from pre-0.0.3 versions.
              

Version: 0.0.15
Date: 08. 06. 2018
  Changes:
    - Add range and signal info to wisp detector description, shorten most of them.
              

Version: 0.0.14
Date: 08. 06. 2018
  Changes:
    - Disable debug logging module by default.
    - Add readme/license files to archive.
  Bugfixes:
    - Fix regression in .13 causing lua error when enabling mod in a new game.
              

Version: 0.0.13
Date: 08. 06. 2018
  Changes:
    - Spawning system rewrite, wisps should start appearing in forests at night in a day or few.
    - Slightly brighter/larger lights for some wisps.
    - Adjusted recipe costs for wisps and detector to be a bit more reasonable.
    - Remove attached wisp and sabotage stuff for now - needs some fixes and testing.
              

Version: 0.0.12
Date: 07. 06. 2018
  Changes:
    - Purple wisps don't spawn from killed ones during full day.
  Bugfixes:
    - Fix lifespan of red wisps.
              

Version: 0.0.11
Date: 06. 06. 2018
  Bugfixes:
    - Fix skipped entity updates in several tasks due to iteration bugs with table.remove.
    - Fix technology requirements for lamps/detectors, which were likely broken since 0.0.10.
              

Version: 0.0.10
Date: 06. 06. 2018
  Changes:
    - Smooth-out wisp expiration probabilities a bit.
    - Make on_tick scheduling never miss workloads, keeping backlog of these instead.
    - Replace (likely broken) dynamic lighting with random but constant light type per wisp.
  Bugfixes:
    - Fix runtime options not being applied on savegame load.
              

Version: 0.0.9
Date: 04. 06. 2018
  Changes:
    - Add ingame changelog file (this one).
              

Version: 0.0.8
Date: 04. 06. 2018
  Changes:
    - Pacify in-combat wisps when disabling aggressiveness via menu.
              

Version: 0.0.7
Date: 03. 06. 2018
  Features:
    - Add colored/flickering lighting mod option, off by default.
  Changes:
    - Remove "fake day" mode - not sure how it works, and needs testing.
              

Version: 0.0.6
Date: 03. 06. 2018
  Changes:
    - Add mod options for disabling wisp/turret aggression and spore corrosion damage.
              

Version: 0.0.5
Date: 03. 06. 2018
  Bugfixes:
    - Fix memory leak on game/mod changes due to chunk info duplication in save files.
              

Version: 0.0.4
Date: 02. 06. 2018
  Changes:
    - Lower red wisps health significantly (180 -> 30).
    - Purple wisps do more damage to boilers/reactors in addition to solar panels.
              

Version: 0.0.2
Date: 02. 06. 2018
  Changes:
    - Adjust UV lamps' electricity usage down 400kW -> 80kW.
              

Version: 0.0.1
Date: 02. 06. 2018
  Features:
    - 0.16.x compatibility update and related fixes (events, entity names, etc).