HeroTurrets_Redux (Langmans Fork)


Your turrets carry salvaged, self-learning AI from your ship. The more they fight, the deadlier they get — kill enough enemies (or optionally deal enough damage) and a turret automatically promotes itself, in place, into a stronger version of itself, no rebuilding required.

Tweaks
3 months ago
2.1
219
Combat

b Upgraded tesla turret error

14 days ago
(updated 12 days ago)

Modded tesla turret mk1 [https://mods.factorio.com/mod/upgraded-tesla-turrets] causing error when gaining rank

Error while running event HeroTurretsReduxFork::on_entity_died (ID 4)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__HeroTurretsReduxFork
/prototypes/scripts/turrets.lua:362: in function 'local_replace_turret'
HeroTurretsReduxFork/prototypes/scripts/turrets.lua:730: in function 'v'
HeroTurretsReduxFork/control.lua:392: in function 'local_on_standard_entity_event'
HeroTurretsReduxFork/control.lua:424: in function <HeroTurretsReduxFork/control.lua:423>

P.S. Other turret types (mk+) as gun or laser aren't causing any problems ranking up to supreme commander

New response