
{
attack_parameters = 
{
ammo_category = "bullet", cooldown = 6, projectile_center = 
{
0, -0.0875
},
 projectile_creation_distance = 1.39375, range = 18, shell_particle = 
{
center = 
{
-0.0625, 0
},
 creation_distance = -1.925, direction_deviation = 0.1, name = "shell-particle", speed = 0.1, speed_deviation = 0.03, starting_frame_speed = 0.2, starting_frame_speed_deviation = 0.1
},
 sound = 
{

{
filename = "__base__/sound/fight/heavy-gunshot-1.ogg", volume = 0.45
},
 
{
filename = "__base__/sound/fight/heavy-gunshot-2.ogg", volume = 0.45
},
 
{
filename = "__base__/sound/fight/heavy-gunshot-3.ogg", volume = 0.45
},
 
{
filename = "__base__/sound/fight/heavy-gunshot-4.ogg", volume = 0.45
}
},
 type = "projectile"
},
 attacking_animation = 
{
layers = 
{

{
axially_symmetrical = false, direction_count = 64, frame_count = 2, height = 64, shift = 
{
0, -0.875
},
 stripes = 
{

{
filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-1.png", height_in_frames = 32, width_in_frames = 2
},
 
{
filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-2.png", height_in_frames = 32, width_in_frames = 2
}
},
 width = 66
},
 
{
apply_runtime_tint = true, axially_symmetrical = false, direction_count = 64, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-mask.png", flags = 
{
"mask"
},
 frame_count = 2, height = 27, line_length = 2, shift = 
{
0.015625, -1.01563
},
 width = 29
},
 
{
axially_symmetrical = false, direction_count = 64, draw_as_shadow = true, frame_count = 2, height = 50, shift = 
{
1.23438, 0
},
 stripes = 
{

{
filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-shadow-1.png", height_in_frames = 32, width_in_frames = 2
},
 
{
filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-shadow-2.png", height_in_frames = 32, width_in_frames = 2
}
},
 width = 91
}
}
},
 attacking_speed = 0.5, automated_ammo_count = 10, base_picture = 
{
layers = 
{

{
axially_symmetrical = false, direction_count = 1, filename = "__base__/graphics/entity/gun-turret/gun-turret-base.png", frame_count = 1, height = 75, priority = "high", shift = 
{
0, -0.046875
},
 width = 90
},
 
{
apply_runtime_tint = true, axially_symmetrical = false, direction_count = 1, filename = "__base__/graphics/entity/gun-turret/gun-turret-base-mask.png", flags = 
{
"mask"
},
 frame_count = 1, height = 47, line_length = 1, shift = 
{
0, -0.234375
},
 width = 52
}
}
},
 call_for_help_radius = 40, collision_box = 
{

{
-0.7, -0.7
},
 
{
0.7, 0.7
}
},
 corpse = "medium-remnants", dying_explosion = "medium-explosion", flags = 
{
"placeable-player", "player-creation"
},
 folded_animation = 
{
layers = 
{

{
axially_symmetrical = false, direction_count = 4, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-extension.png", frame_count = 1, height = 63, line_length = 1, priority = "medium", run_mode = "forward", shift = 
{
0.015625, -0.859375
},
 width = 65
},
 
{
apply_runtime_tint = true, axially_symmetrical = false, direction_count = 4, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-extension-mask.png", flags = 
{
"mask"
},
 frame_count = 1, height = 31, line_length = 1, run_mode = "forward", shift = 
{
0, -0.890625
},
 width = 24
},
 
{
axially_symmetrical = false, direction_count = 4, draw_as_shadow = true, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-extension-shadow.png", frame_count = 1, height = 49, line_length = 1, run_mode = "forward", shift = 
{
1.20313, 0.015625
},
 width = 89
}
}
},
 folding_animation = 
{
layers = 
{

{
axially_symmetrical = false, direction_count = 4, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-extension.png", frame_count = 5, height = 63, line_length = 0, priority = "medium", run_mode = "backward", shift = 
{
0.015625, -0.859375
},
 width = 65
},
 
{
apply_runtime_tint = true, axially_symmetrical = false, direction_count = 4, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-extension-mask.png", flags = 
{
"mask"
},
 frame_count = 5, height = 31, line_length = 0, run_mode = "backward", shift = 
{
0, -0.890625
},
 width = 24
},
 
{
axially_symmetrical = false, direction_count = 4, draw_as_shadow = true, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-extension-shadow.png", frame_count = 5, height = 49, line_length = 0, run_mode = "backward", shift = 
{
1.20313, 0.015625
},
 width = 89
}
}
},
 folding_speed = 0.08, icon = "__base__/graphics/icons/gun-turret.png", inventory_size = 1, max_health = 400, minable = 
{
mining_time = 0.5, result = "gun-turret"
},
 name = "gun-turret", prepared_animation = 
{
layers = 
{

{
axially_symmetrical = false, direction_count = 64, frame_count = 1, height = 64, shift = 
{
0, -0.875
},
 stripes = 
{

{
filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-1.png", height_in_frames = 32, width_in_frames = 1
},
 
{
filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-2.png", height_in_frames = 32, width_in_frames = 1
}
},
 width = 66
},
 
{
apply_runtime_tint = true, axially_symmetrical = false, direction_count = 64, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-mask.png", flags = 
{
"mask"
},
 frame_count = 1, height = 27, line_length = 1, shift = 
{
0.015625, -1.01563
},
 width = 29
},
 
{
axially_symmetrical = false, direction_count = 64, draw_as_shadow = true, frame_count = 1, height = 50, shift = 
{
1.23438, 0
},
 stripes = 
{

{
filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-shadow-1.png", height_in_frames = 32, width_in_frames = 1
},
 
{
filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-shadow-2.png", height_in_frames = 32, width_in_frames = 1
}
},
 width = 91
}
}
},
 preparing_animation = 
{
layers = 
{

{
axially_symmetrical = false, direction_count = 4, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-extension.png", frame_count = 5, height = 63, line_length = 0, priority = "medium", run_mode = "forward", shift = 
{
0.015625, -0.859375
},
 width = 65
},
 
{
apply_runtime_tint = true, axially_symmetrical = false, direction_count = 4, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-extension-mask.png", flags = 
{
"mask"
},
 frame_count = 5, height = 31, line_length = 0, run_mode = "forward", shift = 
{
0, -0.890625
},
 width = 24
},
 
{
axially_symmetrical = false, direction_count = 4, draw_as_shadow = true, filename = "__base__/graphics/entity/gun-turret/gun-turret-gun-extension-shadow.png", frame_count = 5, height = 49, line_length = 0, run_mode = "forward", shift = 
{
1.20313, 0.015625
},
 width = 89
}
}
},
 preparing_speed = 0.08, rotation_speed = 0.015, selection_box = 
{

{
-1, -1
},
 
{
1, 1
}
},
 type = "ammo-turret", vehicle_impact_sound = 
{
filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65
}
}