Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- type = "ammo-turret",
- name = "rocket-turret",
- icon = krstr_entities_icon_path .. "rocket_turret_icon.png",
- icon_size = 32,
- flags = {"placeable-player", "player-creation"},
- minable = {mining_time = 1, result = "rocket-turret"},
- max_health = 1500,
- corpse = "big-remnants",
- resistances =
- {
- {type = "physical",percent = 50},
- {type = "fire",percent = 75},
- {type = "impact",percent = 75}
- },
- collision_box = {{-1.75, -1.75 }, {1.75, 1.75}},
- selection_box = {{-2, -2 }, {2, 2}},
- rotation_speed = 0.002,
- preparing_speed = 0.04,
- folding_speed = 0.04,
- dying_explosion = "big-explosion",
- inventory_size = 1,
- automated_ammo_count = 10,
- attacking_speed = 0.5,
- folded_animation = rocket_turret_sheet{direction_count = 8, line_length = 1},
- preparing_animation = rocket_turret_sheet{direction_count = 8, line_length = 1},
- prepared_animation = rocket_turret_sheet{},
- attacking_animation = rocket_turret_sheet{},
- folding_animation = rocket_turret_sheet{direction_count = 8, line_length = 1, run_mode = "backward"},
- vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
- attack_parameters =
- {
- type = "projectile",
- ammo_category = "missiles-for-turrets",
- cooldown = 120,
- turn_range = 1/7,
- projectile_creation_distance = 2.65,
- projectile_center = {0, 0.4},
- --damage_modifier = 1.25,
- shell_particle =
- {
- name = "shell-particle",
- direction_deviation = 0.1,
- speed = 0.1,
- speed_deviation = 0.02,
- center = {0, 0},
- creation_distance = -3.5,
- starting_frame_speed = 0.3,
- starting_frame_speed_deviation = 0.1
- },
- range = 80,
- min_range = 35,
- sound =
- {
- {
- filename = "__Krastorio__/sound/rocket-launch.ogg",
- volume = 0.8
- }
- },
- },
- open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.75 },
- close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 },
- call_for_help_radius = 85
- }
Add Comment
Please, Sign In to add comment