require ("prototypes.entity.demo-gunshot-sounds") data:extend( { { type = "gun", name = "pistol", icon = "__base__/graphics/icons/pistol.png", icon_size = 32, subgroup = "gun", order = "a[basic-clips]-a[pistol]", attack_parameters = { type = "projectile", ammo_category = "bullet", cooldown = 15, movement_slow_down_factor = 0.2, shell_particle = { name = "shell-particle", direction_deviation = 0.1, speed = 0.1, speed_deviation = 0.03, center = {0, 0.1}, creation_distance = -0.5, starting_frame_speed = 0.4, starting_frame_speed_deviation = 0.1 }, projectile_creation_distance = 1.125, range = 15, sound = make_light_gunshot_sounds() }, stack_size = 5 }, { type = "gun", name = "submachine-gun", icon = "__base__/graphics/icons/submachine-gun.png", icon_size = 32, subgroup = "gun", order = "a[basic-clips]-b[submachine-gun]", attack_parameters = { type = "projectile", ammo_category = "bullet", cooldown = 6, movement_slow_down_factor = 0.7, shell_particle = { name = "shell-particle", direction_deviation = 0.1, speed = 0.1, speed_deviation = 0.03, center = {0, 0.1}, creation_distance = -0.5, starting_frame_speed = 0.4, starting_frame_speed_deviation = 0.1 }, projectile_creation_distance = 1.125, range = 18, sound = make_light_gunshot_sounds() }, stack_size = 5 } } )