1
0
mirror of https://github.com/Wyrrrd/Rocket_Turrets.git synced 2026-06-30 18:41:56 +02:00

Changed typo in attacking_speed from 0.9 to 0.09

This commit is contained in:
Duck986
2022-12-30 09:01:50 -07:00
committed by Wyrrrd
parent d8d977fd29
commit 40c385bffb
+391 -391
View File
@@ -1,392 +1,392 @@
-- Sheet definition -- Sheet definition
function rocket_mk2_sheet(inputs) function rocket_mk2_sheet(inputs)
return return
{ {
layers = layers =
{ {
{ {
filename = "__Rocket_Turrets__/graphics/entity/rocket-mk2-sheet.png", filename = "__Rocket_Turrets__/graphics/entity/rocket-mk2-sheet.png",
priority = "medium", priority = "medium",
scale = 1, scale = 1,
width = 72, width = 72,
height = 80, height = 80,
direction_count = inputs.direction_count and inputs.direction_count or 64, direction_count = inputs.direction_count and inputs.direction_count or 64,
frame_count = 1, frame_count = 1,
line_length = inputs.line_length and inputs.line_length or 16, line_length = inputs.line_length and inputs.line_length or 16,
axially_symmetrical = false, axially_symmetrical = false,
run_mode = inputs.run_mode and inputs.run_mode or "forward", run_mode = inputs.run_mode and inputs.run_mode or "forward",
shift = { 0.25, -0.5 }, shift = { 0.25, -0.5 },
hr_version = hr_version =
{ {
filename = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk2-sheet.png", filename = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk2-sheet.png",
priority = "medium", priority = "medium",
scale = 0.5, scale = 0.5,
width = 144, width = 144,
height = 160, height = 160,
direction_count = inputs.direction_count and inputs.direction_count or 64, direction_count = inputs.direction_count and inputs.direction_count or 64,
frame_count = 1, frame_count = 1,
line_length = inputs.line_length and inputs.line_length or 16, line_length = inputs.line_length and inputs.line_length or 16,
axially_symmetrical = false, axially_symmetrical = false,
run_mode = inputs.run_mode and inputs.run_mode or "forward", run_mode = inputs.run_mode and inputs.run_mode or "forward",
shift = { 0.25, -0.5 }, shift = { 0.25, -0.5 },
} }
} }
} }
} }
end end
function rocket_mk3_sheet(inputs) function rocket_mk3_sheet(inputs)
return return
{ {
layers = layers =
{ {
{ {
filename = "__Rocket_Turrets__/graphics/entity/rocket-mk3-sheet.png", filename = "__Rocket_Turrets__/graphics/entity/rocket-mk3-sheet.png",
priority = "medium", priority = "medium",
scale = 1, scale = 1,
width = 72, width = 72,
height = 80, height = 80,
direction_count = inputs.direction_count and inputs.direction_count or 64, direction_count = inputs.direction_count and inputs.direction_count or 64,
frame_count = 1, frame_count = 1,
line_length = inputs.line_length and inputs.line_length or 16, line_length = inputs.line_length and inputs.line_length or 16,
axially_symmetrical = false, axially_symmetrical = false,
run_mode = inputs.run_mode and inputs.run_mode or "forward", run_mode = inputs.run_mode and inputs.run_mode or "forward",
shift = { 0.25, -0.5 }, shift = { 0.25, -0.5 },
hr_version = hr_version =
{ {
filename = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk3-sheet.png", filename = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk3-sheet.png",
priority = "medium", priority = "medium",
scale = 0.5, scale = 0.5,
width = 144, width = 144,
height = 160, height = 160,
direction_count = inputs.direction_count and inputs.direction_count or 64, direction_count = inputs.direction_count and inputs.direction_count or 64,
frame_count = 1, frame_count = 1,
line_length = inputs.line_length and inputs.line_length or 16, line_length = inputs.line_length and inputs.line_length or 16,
axially_symmetrical = false, axially_symmetrical = false,
run_mode = inputs.run_mode and inputs.run_mode or "forward", run_mode = inputs.run_mode and inputs.run_mode or "forward",
shift = { 0.25, -0.5 }, shift = { 0.25, -0.5 },
} }
} }
} }
} }
end end
function rocket_mk4_sheet(inputs) function rocket_mk4_sheet(inputs)
return return
{ {
layers = layers =
{ {
{ {
filename = "__Rocket_Turrets__/graphics/entity/rocket-mk4-sheet.png", filename = "__Rocket_Turrets__/graphics/entity/rocket-mk4-sheet.png",
priority = "medium", priority = "medium",
scale = 1, scale = 1,
width = 72, width = 72,
height = 80, height = 80,
direction_count = inputs.direction_count and inputs.direction_count or 64, direction_count = inputs.direction_count and inputs.direction_count or 64,
frame_count = 1, frame_count = 1,
line_length = inputs.line_length and inputs.line_length or 16, line_length = inputs.line_length and inputs.line_length or 16,
axially_symmetrical = false, axially_symmetrical = false,
run_mode = inputs.run_mode and inputs.run_mode or "forward", run_mode = inputs.run_mode and inputs.run_mode or "forward",
shift = { 0.25, -0.5 }, shift = { 0.25, -0.5 },
hr_version = hr_version =
{ {
filename = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk4-sheet.png", filename = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk4-sheet.png",
priority = "medium", priority = "medium",
scale = 0.5, scale = 0.5,
width = 144, width = 144,
height = 160, height = 160,
direction_count = inputs.direction_count and inputs.direction_count or 64, direction_count = inputs.direction_count and inputs.direction_count or 64,
frame_count = 1, frame_count = 1,
line_length = inputs.line_length and inputs.line_length or 16, line_length = inputs.line_length and inputs.line_length or 16,
axially_symmetrical = false, axially_symmetrical = false,
run_mode = inputs.run_mode and inputs.run_mode or "forward", run_mode = inputs.run_mode and inputs.run_mode or "forward",
shift = { 0.25, -0.5 }, shift = { 0.25, -0.5 },
} }
} }
} }
} }
end end
function rocket_mk5_sheet(inputs) function rocket_mk5_sheet(inputs)
return return
{ {
layers = layers =
{ {
{ {
filename = "__Rocket_Turrets__/graphics/entity/rocket-mk5-sheet.png", filename = "__Rocket_Turrets__/graphics/entity/rocket-mk5-sheet.png",
priority = "medium", priority = "medium",
scale = 1, scale = 1,
width = 72, width = 72,
height = 80, height = 80,
direction_count = inputs.direction_count and inputs.direction_count or 64, direction_count = inputs.direction_count and inputs.direction_count or 64,
frame_count = 1, frame_count = 1,
line_length = inputs.line_length and inputs.line_length or 16, line_length = inputs.line_length and inputs.line_length or 16,
axially_symmetrical = false, axially_symmetrical = false,
run_mode = inputs.run_mode and inputs.run_mode or "forward", run_mode = inputs.run_mode and inputs.run_mode or "forward",
shift = { 0.25, -0.5 }, shift = { 0.25, -0.5 },
hr_version = hr_version =
{ {
filename = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk5-sheet.png", filename = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk5-sheet.png",
priority = "medium", priority = "medium",
scale = 0.5, scale = 0.5,
width = 144, width = 144,
height = 160, height = 160,
direction_count = inputs.direction_count and inputs.direction_count or 64, direction_count = inputs.direction_count and inputs.direction_count or 64,
frame_count = 1, frame_count = 1,
line_length = inputs.line_length and inputs.line_length or 16, line_length = inputs.line_length and inputs.line_length or 16,
axially_symmetrical = false, axially_symmetrical = false,
run_mode = inputs.run_mode and inputs.run_mode or "forward", run_mode = inputs.run_mode and inputs.run_mode or "forward",
shift = { 0.25, -0.5 }, shift = { 0.25, -0.5 },
} }
} }
} }
} }
end end
-- Entity definition -- Entity definition
rocket_mk2_entity = { rocket_mk2_entity = {
type = "ammo-turret", type = "ammo-turret",
name = "rocket-turret-mk2", name = "rocket-turret-mk2",
icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk2-icon.png", icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk2-icon.png",
icon_size = 32, icon_size = 32,
flags = {"placeable-player", "player-creation"}, flags = {"placeable-player", "player-creation"},
minable = {mining_time = 0.7, result = "rocket-turret-mk2"}, minable = {mining_time = 0.7, result = "rocket-turret-mk2"},
max_health = 500, max_health = 500,
corpse = "small-remnants", corpse = "small-remnants",
collision_box = {{-0.7, -0.7 }, {0.7, 0.7}}, collision_box = {{-0.7, -0.7 }, {0.7, 0.7}},
selection_box = {{-1, -1 }, {1, 1}}, selection_box = {{-1, -1 }, {1, 1}},
rotation_speed = 0.008, rotation_speed = 0.008,
preparing_speed = 0.04, preparing_speed = 0.04,
folding_speed = 0.04, folding_speed = 0.04,
dying_explosion = "medium-explosion", dying_explosion = "medium-explosion",
inventory_size = 1, inventory_size = 1,
automated_ammo_count = 10, automated_ammo_count = 10,
attacking_speed = 0.085, attacking_speed = 0.085,
folded_animation = rocket_mk2_sheet{direction_count = 4, line_length = 1}, folded_animation = rocket_mk2_sheet{direction_count = 4, line_length = 1},
preparing_animation = rocket_mk2_sheet{direction_count = 4, line_length = 1}, preparing_animation = rocket_mk2_sheet{direction_count = 4, line_length = 1},
prepared_animation = rocket_mk2_sheet{}, prepared_animation = rocket_mk2_sheet{},
attacking_animation = rocket_mk2_sheet{}, attacking_animation = rocket_mk2_sheet{},
folding_animation = rocket_mk2_sheet{direction_count = 4, line_length = 1, run_mode = "backward"}, folding_animation = rocket_mk2_sheet{direction_count = 4, line_length = 1, run_mode = "backward"},
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 }, vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret", fast_replaceable_group = "turret",
attack_parameters = attack_parameters =
{ {
type = "projectile", type = "projectile",
ammo_category = "rocket", ammo_category = "rocket",
cooldown = 75, cooldown = 75,
projectile_creation_distance = 1.2, projectile_creation_distance = 1.2,
projectile_center = {-0.15625, -0.07812}, projectile_center = {-0.15625, -0.07812},
damage_modifier = 1.25, damage_modifier = 1.25,
shell_particle = shell_particle =
{ {
name = "shell-particle", name = "shell-particle",
direction_deviation = 0.1, direction_deviation = 0.1,
speed = 0.1, speed = 0.1,
speed_deviation = 0.03, speed_deviation = 0.03,
center = {0, 0}, center = {0, 0},
creation_distance = -1.925, creation_distance = -1.925,
starting_frame_speed = 0.2, starting_frame_speed = 0.2,
starting_frame_speed_deviation = 0.1 starting_frame_speed_deviation = 0.1
}, },
range = 34, range = 34,
min_range = 15, min_range = 15,
sound = sound =
{ {
{ {
filename = "__base__/sound/fight/rocket-launcher.ogg", filename = "__base__/sound/fight/rocket-launcher.ogg",
volume = 0.8 volume = 0.8
} }
}, },
}, },
call_for_help_radius = 40 call_for_help_radius = 40
} }
rocket_mk3_entity = { rocket_mk3_entity = {
type = "ammo-turret", type = "ammo-turret",
name = "rocket-turret-mk3", name = "rocket-turret-mk3",
icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk3-icon.png", icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk3-icon.png",
icon_size = 32, icon_size = 32,
flags = {"placeable-player", "player-creation"}, flags = {"placeable-player", "player-creation"},
minable = {mining_time = 0.7, result = "rocket-turret-mk3"}, minable = {mining_time = 0.7, result = "rocket-turret-mk3"},
max_health = 600, max_health = 600,
corpse = "small-remnants", corpse = "small-remnants",
collision_box = {{-0.7, -0.7 }, {0.7, 0.7}}, collision_box = {{-0.7, -0.7 }, {0.7, 0.7}},
selection_box = {{-1, -1 }, {1, 1}}, selection_box = {{-1, -1 }, {1, 1}},
rotation_speed = 0.008, rotation_speed = 0.008,
preparing_speed = 0.04, preparing_speed = 0.04,
folding_speed = 0.04, folding_speed = 0.04,
dying_explosion = "medium-explosion", dying_explosion = "medium-explosion",
inventory_size = 1, inventory_size = 1,
automated_ammo_count = 10, automated_ammo_count = 10,
attacking_speed = 0.09, attacking_speed = 0.09,
folded_animation = rocket_mk3_sheet{direction_count = 4, line_length = 1}, folded_animation = rocket_mk3_sheet{direction_count = 4, line_length = 1},
preparing_animation = rocket_mk3_sheet{direction_count = 4, line_length = 1}, preparing_animation = rocket_mk3_sheet{direction_count = 4, line_length = 1},
prepared_animation = rocket_mk3_sheet{}, prepared_animation = rocket_mk3_sheet{},
attacking_animation = rocket_mk3_sheet{}, attacking_animation = rocket_mk3_sheet{},
folding_animation = rocket_mk3_sheet{direction_count = 4, line_length = 1, run_mode = "backward"}, folding_animation = rocket_mk3_sheet{direction_count = 4, line_length = 1, run_mode = "backward"},
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 }, vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret", fast_replaceable_group = "turret",
attack_parameters = attack_parameters =
{ {
type = "projectile", type = "projectile",
ammo_category = "rocket", ammo_category = "rocket",
cooldown = 75, cooldown = 75,
projectile_creation_distance = 1.2, projectile_creation_distance = 1.2,
projectile_center = {-0.15625, -0.07812}, projectile_center = {-0.15625, -0.07812},
damage_modifier = 1.5, damage_modifier = 1.5,
shell_particle = shell_particle =
{ {
name = "shell-particle", name = "shell-particle",
direction_deviation = 0.1, direction_deviation = 0.1,
speed = 0.1, speed = 0.1,
speed_deviation = 0.03, speed_deviation = 0.03,
center = {0, 0}, center = {0, 0},
creation_distance = -1.925, creation_distance = -1.925,
starting_frame_speed = 0.2, starting_frame_speed = 0.2,
starting_frame_speed_deviation = 0.1 starting_frame_speed_deviation = 0.1
}, },
range = 36, range = 36,
min_range = 15, min_range = 15,
sound = sound =
{ {
{ {
filename = "__base__/sound/fight/rocket-launcher.ogg", filename = "__base__/sound/fight/rocket-launcher.ogg",
volume = 0.8 volume = 0.8
} }
}, },
}, },
call_for_help_radius = 40 call_for_help_radius = 40
} }
rocket_mk4_entity = { rocket_mk4_entity = {
type = "ammo-turret", type = "ammo-turret",
name = "rocket-turret-mk4", name = "rocket-turret-mk4",
icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk4-icon.png", icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk4-icon.png",
icon_size = 32, icon_size = 32,
flags = {"placeable-player", "player-creation"}, flags = {"placeable-player", "player-creation"},
minable = {mining_time = 0.7, result = "rocket-turret-mk4"}, minable = {mining_time = 0.7, result = "rocket-turret-mk4"},
max_health = 700, max_health = 700,
corpse = "small-remnants", corpse = "small-remnants",
collision_box = {{-0.7, -0.7 }, {0.7, 0.7}}, collision_box = {{-0.7, -0.7 }, {0.7, 0.7}},
selection_box = {{-1, -1 }, {1, 1}}, selection_box = {{-1, -1 }, {1, 1}},
rotation_speed = 0.008, rotation_speed = 0.008,
preparing_speed = 0.04, preparing_speed = 0.04,
folding_speed = 0.04, folding_speed = 0.04,
dying_explosion = "medium-explosion", dying_explosion = "medium-explosion",
inventory_size = 2, inventory_size = 2,
automated_ammo_count = 10, automated_ammo_count = 10,
attacking_speed = 0.95, attacking_speed = 0.095,
folded_animation = rocket_mk4_sheet{direction_count = 4, line_length = 1}, folded_animation = rocket_mk4_sheet{direction_count = 4, line_length = 1},
preparing_animation = rocket_mk4_sheet{direction_count = 4, line_length = 1}, preparing_animation = rocket_mk4_sheet{direction_count = 4, line_length = 1},
prepared_animation = rocket_mk4_sheet{}, prepared_animation = rocket_mk4_sheet{},
attacking_animation = rocket_mk4_sheet{}, attacking_animation = rocket_mk4_sheet{},
folding_animation = rocket_mk4_sheet{direction_count = 4, line_length = 1, run_mode = "backward"}, folding_animation = rocket_mk4_sheet{direction_count = 4, line_length = 1, run_mode = "backward"},
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 }, vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret", fast_replaceable_group = "turret",
attack_parameters = attack_parameters =
{ {
type = "projectile", type = "projectile",
ammo_category = "rocket", ammo_category = "rocket",
cooldown = 75, cooldown = 75,
projectile_creation_distance = 1.2, projectile_creation_distance = 1.2,
projectile_center = {-0.15625, -0.07812}, projectile_center = {-0.15625, -0.07812},
damage_modifier = 1.75, damage_modifier = 1.75,
shell_particle = shell_particle =
{ {
name = "shell-particle", name = "shell-particle",
direction_deviation = 0.1, direction_deviation = 0.1,
speed = 0.1, speed = 0.1,
speed_deviation = 0.03, speed_deviation = 0.03,
center = {0, 0}, center = {0, 0},
creation_distance = -1.925, creation_distance = -1.925,
starting_frame_speed = 0.2, starting_frame_speed = 0.2,
starting_frame_speed_deviation = 0.1 starting_frame_speed_deviation = 0.1
}, },
range = 38, range = 38,
min_range = 15, min_range = 15,
sound = sound =
{ {
{ {
filename = "__base__/sound/fight/rocket-launcher.ogg", filename = "__base__/sound/fight/rocket-launcher.ogg",
volume = 0.8 volume = 0.8
} }
}, },
}, },
call_for_help_radius = 40 call_for_help_radius = 40
} }
rocket_mk5_entity = { rocket_mk5_entity = {
type = "ammo-turret", type = "ammo-turret",
name = "rocket-turret-mk5", name = "rocket-turret-mk5",
icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk5-icon.png", icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk5-icon.png",
icon_size = 32, icon_size = 32,
flags = {"placeable-player", "player-creation"}, flags = {"placeable-player", "player-creation"},
minable = {mining_time = 0.7, result = "rocket-turret-mk5"}, minable = {mining_time = 0.7, result = "rocket-turret-mk5"},
max_health = 800, max_health = 800,
corpse = "small-remnants", corpse = "small-remnants",
collision_box = {{-0.7, -0.7 }, {0.7, 0.7}}, collision_box = {{-0.7, -0.7 }, {0.7, 0.7}},
selection_box = {{-1, -1 }, {1, 1}}, selection_box = {{-1, -1 }, {1, 1}},
rotation_speed = 0.008, rotation_speed = 0.008,
preparing_speed = 0.04, preparing_speed = 0.04,
folding_speed = 0.04, folding_speed = 0.04,
dying_explosion = "medium-explosion", dying_explosion = "medium-explosion",
inventory_size = 3, inventory_size = 3,
automated_ammo_count = 10, automated_ammo_count = 10,
attacking_speed = 0.1, attacking_speed = 0.1,
folded_animation = rocket_mk5_sheet{direction_count = 4, line_length = 1}, folded_animation = rocket_mk5_sheet{direction_count = 4, line_length = 1},
preparing_animation = rocket_mk5_sheet{direction_count = 4, line_length = 1}, preparing_animation = rocket_mk5_sheet{direction_count = 4, line_length = 1},
prepared_animation = rocket_mk5_sheet{}, prepared_animation = rocket_mk5_sheet{},
attacking_animation = rocket_mk5_sheet{}, attacking_animation = rocket_mk5_sheet{},
folding_animation = rocket_mk5_sheet{direction_count = 4, line_length = 1, run_mode = "backward"}, folding_animation = rocket_mk5_sheet{direction_count = 4, line_length = 1, run_mode = "backward"},
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 }, vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret", fast_replaceable_group = "turret",
attack_parameters = attack_parameters =
{ {
type = "projectile", type = "projectile",
ammo_category = "rocket", ammo_category = "rocket",
cooldown = 75, cooldown = 75,
projectile_creation_distance = 1.2, projectile_creation_distance = 1.2,
projectile_center = {-0.15625, -0.07812}, projectile_center = {-0.15625, -0.07812},
damage_modifier = 2, damage_modifier = 2,
shell_particle = shell_particle =
{ {
name = "shell-particle", name = "shell-particle",
direction_deviation = 0.1, direction_deviation = 0.1,
speed = 0.1, speed = 0.1,
speed_deviation = 0.03, speed_deviation = 0.03,
center = {0, 0}, center = {0, 0},
creation_distance = -1.925, creation_distance = -1.925,
starting_frame_speed = 0.2, starting_frame_speed = 0.2,
starting_frame_speed_deviation = 0.1 starting_frame_speed_deviation = 0.1
}, },
range = 40, range = 40,
min_range = 15, min_range = 15,
sound = sound =
{ {
{ {
filename = "__base__/sound/fight/rocket-launcher.ogg", filename = "__base__/sound/fight/rocket-launcher.ogg",
volume = 0.8 volume = 0.8
} }
}, },
}, },
call_for_help_radius = 40 call_for_help_radius = 40
} }