if settings.startup["enable-radars"].value == true then W93_UpdateTechRadar() end if settings.startup["enable-hardened-inserter"].value == true then table.insert(data.raw["technology"]["w93-modular-turrets"].effects, {type = "unlock-recipe", recipe = "w93-hardened-inserter" }) end if settings.startup["enable-extra-ammo"].value == true then table.insert(data.raw["technology"]["w93-modular-turrets-gatling"].effects, {type = "unlock-recipe", recipe = "w93-slowdown-magazine" }) table.insert(data.raw["technology"]["w93-modular-turrets-rocket"].effects, {type = "unlock-recipe", recipe = "w93-turret-rocket" }) table.insert(data.raw["technology"]["w93-modular-turrets-rocket"].effects, {type = "unlock-recipe", recipe = "w93-turret-explosive-rocket" }) table.insert(data.raw["technology"]["w93-modular-turrets-rocket"].effects, {type = "unlock-recipe", recipe = "w93-turret-slowdown-rocket" }) table.insert(data.raw["technology"]["w93-modular-turrets-dcannon"].effects, {type = "unlock-recipe", recipe = "w93-turret-slowdown-shells" }) table.insert(data.raw["technology"]["w93-modular-turrets-hcannon"].effects, {type = "unlock-recipe", recipe = "w93-turret-cannon-shells" }) if data.raw["technology"]["uranium-ammo" ] then table.insert(data.raw["technology"]["uranium-ammo" ].effects, {type = "unlock-recipe", recipe = "w93-uranium-shotgun-shell"}) table.insert(data.raw["technology"]["uranium-ammo" ].effects, {type = "unlock-recipe", recipe = "w93-turret-light-uranium-cannon-shells"}) table.insert(data.raw["technology"]["uranium-ammo" ].effects, {type = "unlock-recipe", recipe = "w93-turret-uranium-cannon-shells"}) end if data.raw["ammo"]["w93-turret-light-cannon-shells"] then data.raw["ammo"]["w93-turret-light-cannon-shells"].subgroup = "modular-turrets3-combat" data.raw["ammo"]["w93-turret-light-cannon-shells"].order = "l[modular-turrets3-combat]-b[w93-turret-light-cannon-shells]" end end if settings.startup["cannon-ammo-range-disable"].value == true then if data.raw["ammo"]["cannon-shell"] then data.raw["ammo"]["cannon-shell"].ammo_type.target_type = "position" data.raw["ammo"]["cannon-shell"].ammo_type.action.action_delivery.max_range = 80 end if data.raw["ammo"]["explosive-cannon-shell"] then data.raw["ammo"]["explosive-cannon-shell"].ammo_type.target_type = "position" data.raw["ammo"]["explosive-cannon-shell"].ammo_type.action.action_delivery.max_range = 80 end if data.raw["ammo"]["uranium-cannon-shell"] then data.raw["ammo"]["uranium-cannon-shell"].ammo_type.target_type = "position" data.raw["ammo"]["uranium-cannon-shell"].ammo_type.action.action_delivery.max_range = 80 end if data.raw["ammo"]["explosive-uranium-cannon-shell"] then data.raw["ammo"]["explosive-uranium-cannon-shell"].ammo_type.target_type = "position" data.raw["ammo"]["explosive-uranium-cannon-shell"].ammo_type.action.action_delivery.max_range = 80 end end if settings.startup["enable-pretargeting"].value == true then data.raw["ammo-turret"]["w93-hmg-turret"].prepare_range = 35 data.raw["ammo-turret"]["w93-hmg-turret2"].prepare_range = 40 data.raw["ammo-turret"]["w93-gatling-turret"].prepare_range = 30 data.raw["ammo-turret"]["w93-gatling-turret2"].prepare_range = 35 data.raw["ammo-turret"]["w93-lcannon-turret"].prepare_range = 50 data.raw["ammo-turret"]["w93-lcannon-turret2"].prepare_range = 55 data.raw["ammo-turret"]["w93-dcannon-turret"].prepare_range = 65 data.raw["ammo-turret"]["w93-dcannon-turret2"].prepare_range = 70 data.raw["ammo-turret"]["w93-hcannon-turret"].prepare_range = 80 data.raw["ammo-turret"]["w93-hcannon-turret2"].prepare_range = 85 data.raw["ammo-turret"]["w93-rocket-turret"].prepare_range = 95 data.raw["ammo-turret"]["w93-rocket-turret2"].prepare_range = 100 data.raw["electric-turret"]["w93-plaser-turret"].prepare_range = 45 data.raw["electric-turret"]["w93-plaser-turret2"].prepare_range = 50 data.raw["electric-turret"]["w93-tlaser-turret"].prepare_range = 60 data.raw["electric-turret"]["w93-tlaser-turret2"].prepare_range = 65 data.raw["electric-turret"]["w93-beam-turret"].prepare_range = 38 data.raw["electric-turret"]["w93-beam-turret2"].prepare_range = 55 end