Alright, I got something mildly.. Well, cludgey working, but hey, it's working!
All I did was replace, in TurretGenerator.lua, this:
return GenerateTurretTemplate(seed, weaponType, dps, tech, rarity, material)
with this:
local TurretTemplate T = GenerateTurretTemplate(seed, weaponType, dps, tech, rarity, material)
T.automatic = true
return T
And then, in factions.lua, under the player initialization, I added
turret.automatic = true
in the appropriate places.
Sadly, I had no luck finding the actual GenerateTurretTemplate code, but this works, from what I'm seeing, otherwise I would have modified that.