Would be nice to have. Here a little starter for the gun/sniper turrets:
control.lua line 10
from:
if entity.name == "gun-turret" then
to:
if string.match(entity.name,"^.*[sniper|gun]*%-turret.*$") ~= nil then
regex in lua is a bit funny, but google helps a lot ^^