Turret Range Research


Adds research technologies to increase the range of gun turrets, laser turrets, and flamethrower turrets.

Content
3 days ago
2.0
1.95K
Combat

Changelog

Version: 1.1.1
Date: 20. 02. 2026
  Bugfixes:
    - Fixed crash on init when Space Age is not installed (unknown entity name error in find_entities_filtered)
Version: 1.1.0
Date: 11. 02. 2026
  Features:
    - Added Space Age support for rocket turrets and tesla turrets
    - Rocket turrets now have 5 levels of range research
    - Tesla turrets now have 5 levels of range research
  Bugfixes:
    - Fixed unknown entity names appearing in damage research technology tooltips for all turret variants
    - Fixed turrets losing damage_dealt statistics when upgraded by research
    - Added script_raised_revive event handler for better compatibility with space platform construction and scripted building
  Changes:
    - Optimized turret upgrade performance for large maps (uses single entity search instead of multiple searches)
    - Suppressed upgrade notifications when no turrets needed upgrading
Version: 1.0.8
Date: 31. 01. 2026
  Bugfixes:
    - Actually fixed turrets losing damage research bonuses after range research completion
    - Fixed fast_replaceable_group conflicts with mods like Bob's Warfare
  Changes:
    - Added data-final-fixes.lua to extend damage research technologies to include turret variants
    - Damage technologies now explicitly target variant turrets with turret-attack effects
    - Fast_replaceable_group now reads from base turret instead of overwriting it for better mod compatibility
Version: 1.0.7
Date: 31. 01. 2026
  Bugfixes:
    - Fixed turrets losing damage research bonuses after range research completion (Space Age compatibility issue)
  Changes:
    - Added explicit effect_receiver preservation to ensure variants inherit damage bonuses from research
    - Added optional dependencies for bobplates, bobwarfare, and lilys-incendiaries for better mod compatibility
    - Initial attempt to fix damage research bonus issue with effect_receiver preservation
Version: 1.0.6
Date: 25. 01. 2026
  Bugfixes:
    - Fixed incorrect API usage for prototype checking (was causing crashes on research completion)
    - Fixed incorrect fast_replace parameter usage (was passing entity instead of boolean)
    - Fixed circuit-controlled turrets becoming permanently disabled after upgrade
  Changes:
    - Added preservation of entity tags and labels for mod compatibility
    - Now raises script_raised_built events after replacement so other mods can react
    - Added comprehensive remote interface for mod developers
    - Added warning messages if turret upgrade fails
    - Enhanced Space Age compatibility with better science pack detection
Version: 1.0.5
Date: 25. 01. 2026
  Bugfixes:
    - Fixed circuit network connections being lost when turrets are upgraded
    - Fixed control behavior settings (circuit conditions, logistic conditions) not being preserved
    - Fixed target selection settings (force_attack_parameters) not being retained after upgrade
  Changes:
    - Improved turret state preservation to be more compatible with other mods that add custom properties
    - Turret swapping now uses fast_replace mechanism (like upgrading assembling machines) for more reliable state transfer
    - Significantly simplified code by leveraging Factorio's built-in upgrade system
    - Turret replacement now safer - won't lose turrets if replacement fails
Version: 1.0.4
Date: 23. 01. 2026
  Bugfixes:
    - Fixed turrets losing quality tier when upgraded by research or when placed with research completed
Version: 1.0.2
Date: 14. 01. 2026
  Changes:
    - Added safety check in case quality is disabled
Version: 1.0.1
Date: 13. 01. 2026
  Changes:
    - Added quality parameter support
Version: 1.0.0
Date: 12. 01. 2026
  Features:
    - Initial release
    - Adds research technologies to increase the range of gun turrets, laser turrets, and flamethrower turrets
    - Turrets automatically upgrade when research completes
    - Preserves turret state (ammo, health, kills, fluids) during upgrades