acid_tint_medium = {r = 0.35, g = 0.56, b = 0.04, a = 1} acid_tint_big = {r = 0.35, g = 0.56, b = 0.04, a = 1} capsule_smoke = { { name = "smoke-fast", deviation = {0.15, 0.15}, frequency = 1, position = {0, 0}, starting_frame = 3, starting_frame_deviation = 5, starting_frame_speed_deviation = 5 } } data:extend( { { type = "projectile", name = "laser", flags = {"not-on-map"}, acceleration = 0.03, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "laser-bubble" }, { type = "damage", damage = { amount = 5, type = "laser"} } } } }, light = {intensity = 0.5, size = 10}, animation = { filename = "__base__/graphics/entity/laser/laser-to-tint-medium.png", tint = {r=1.0, g=0.0, b=0.0}, frame_count = 1, width = 12, height = 33, priority = "high", blend_mode = "additive" } }, { type = "projectile", name = "blue-laser", flags = {"not-on-map"}, acceleration = 0.02, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "laser-bubble" }, { type = "damage", damage = {amount = 10, type = "laser"} } } } }, light = {intensity = 0.5, size = 10}, animation = { filename = "__base__/graphics/entity/blue-laser/blue-laser.png", frame_count = 1, width = 7, height = 14, priority = "high" } }, { type = "projectile", name = "rocket", flags = {"not-on-map"}, acceleration = 0.005, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "explosion" }, { type = "damage", damage = {amount = 200, type = "explosion"} }, { type = "create-entity", entity_name = "small-scorchmark", check_buildability = true } } } }, light = {intensity = 0.5, size = 4}, animation = { filename = "__base__/graphics/entity/rocket/rocket.png", frame_count = 8, line_length = 8, width = 9, height = 35, shift = {0, 0}, priority = "high" }, shadow = { filename = "__base__/graphics/entity/rocket/rocket-shadow.png", frame_count = 1, width = 7, height = 24, priority = "high", shift = {0, 0} }, smoke = { { name = "smoke-fast", deviation = {0.15, 0.15}, frequency = 1, position = {0, -1}, slow_down_factor = 1, starting_frame = 3, starting_frame_deviation = 5, starting_frame_speed = 0, starting_frame_speed_deviation = 5 } } }, trivial_smoke { name = "nuclear-smoke", spread_duration = 0, duration = 120, fade_away_duration = 120, start_scale = 0.5, end_scale = 1, affected_by_wind = false }, { type = "projectile", name = "atomic-rocket", flags = {"not-on-map"}, acceleration = 0.005, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { repeat_count = 100, type = "create-trivial-smoke", smoke_name = "nuclear-smoke", offset_deviation = {{-1, -1}, {1, 1}}, starting_frame = 3, starting_frame_deviation = 5, starting_frame_speed = 0, starting_frame_speed_deviation = 5, speed_from_center = 0.5 }, { type = "create-entity", entity_name = "explosion" }, { type = "damage", damage = {amount = 400, type = "explosion"} }, { type = "create-entity", entity_name = "small-scorchmark", check_buildability = true }, { type = "nested-result", action = { type = "area", target_entities = false, trigger_from_target = true, repeat_count = 2000, radius = 35, action_delivery = { type = "projectile", projectile = "atomic-bomb-wave", starting_speed = 0.5 } } } } } }, light = {intensity = 0.8, size = 15}, animation = { filename = "__base__/graphics/entity/rocket/rocket.png", frame_count = 8, line_length = 8, width = 9, height = 35, shift = {0, 0}, priority = "high" }, shadow = { filename = "__base__/graphics/entity/rocket/rocket-shadow.png", frame_count = 1, width = 7, height = 24, priority = "high", shift = {0, 0} }, smoke = { { name = "smoke-fast", deviation = {0.15, 0.15}, frequency = 1, position = {0, -1}, slow_down_factor = 1, starting_frame = 3, starting_frame_deviation = 5, starting_frame_speed = 0, starting_frame_speed_deviation = 5 } } }, { type = "projectile", name = "explosive-rocket", flags = {"not-on-map"}, acceleration = 0.005, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "big-explosion" }, { type = "damage", damage = {amount = 50, type = "explosion"} }, { type = "create-entity", entity_name = "small-scorchmark", check_buildability = true }, { type = "nested-result", action = { type = "area", radius = 6.5, action_delivery = { type = "instant", target_effects = { { type = "damage", damage = {amount = 100, type = "explosion"} }, { type = "create-entity", entity_name = "explosion" } } } } } } } }, light = {intensity = 0.5, size = 4}, animation = { filename = "__base__/graphics/entity/rocket/rocket.png", frame_count = 8, line_length = 8, width = 9, height = 35, shift = {0, 0}, priority = "high" }, shadow = { filename = "__base__/graphics/entity/rocket/rocket-shadow.png", frame_count = 1, width = 7, height = 24, priority = "high", shift = {0, 0} }, smoke = { { name = "smoke-fast", deviation = {0.15, 0.15}, frequency = 1, position = {0, -1}, slow_down_factor = 1, starting_frame = 3, starting_frame_deviation = 5, starting_frame_speed = 0, starting_frame_speed_deviation = 5 } } }, { type = "projectile", name = "shotgun-pellet", flags = {"not-on-map"}, collision_box = {{-0.05, -0.25}, {0.05, 0.25}}, acceleration = 0, direction_only = true, action = { type = "direct", action_delivery = { type = "instant", target_effects = { type = "damage", damage = {amount = 5, type = "physical"} } } }, animation = { filename = "__base__/graphics/entity/bullet/bullet.png", frame_count = 1, width = 3, height = 50, priority = "high" } }, { type = "projectile", name = "piercing-shotgun-pellet", flags = {"not-on-map"}, collision_box = {{-0.05, -0.25}, {0.05, 0.25}}, acceleration = 0, direction_only = true, action = { type = "direct", action_delivery = { type = "instant", target_effects = { type = "damage", damage = {amount = 8, type = "physical"} } } }, animation = { filename = "__base__/graphics/entity/piercing-bullet/piercing-bullet.png", frame_count = 1, width = 3, height = 50, priority = "high" } }, { type = "projectile", name = "cannon-projectile", flags = {"not-on-map"}, collision_box = {{-0.3, -1.1}, {0.3, 1.1}}, acceleration = 0, direction_only = true, piercing_damage = 300, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "damage", damage = {amount = 200 , type = "physical"} }, { type = "damage", damage = {amount = 100 , type = "explosion"} }, { type = "create-entity", entity_name = "explosion" } } } }, final_action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "small-scorchmark", check_buildability = true } } } }, animation = { filename = "__base__/graphics/entity/bullet/bullet.png", frame_count = 1, width = 3, height = 50, priority = "high" } }, { type = "artillery-projectile", name = "artillery-projectile", flags = {"not-on-map"}, acceleration = 0, direction_only = true, reveal_map = true, map_color = {r=1, g=1, b=0}, picture = { filename = "__base__/graphics/entity/artillery-projectile/hr-shell.png", width = 64, height = 64, scale = 0.5 }, shadow = { filename = "__base__/graphics/entity/artillery-projectile/hr-shell-shadow.png", width = 64, height = 64, scale = 0.5 }, chart_picture = { filename = "__base__/graphics/entity/artillery-projectile/artillery-shoot-map-visualization.png", flags = { "icon" }, frame_count = 1, width = 64, height = 64, priority = "high", scale = 0.25 }, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "nested-result", action = { type = "area", radius = 4.0, action_delivery = { type = "instant", target_effects = { { type = "damage", damage = {amount = 500 , type = "physical"} }, { type = "damage", damage = {amount = 500 , type = "explosion"} } } } } }, { type = "create-trivial-smoke", smoke_name = "artillery-smoke", initial_height = 0, speed_from_center = 0.05, speed_from_center_deviation = 0.005, offset_deviation = {{-4, -4}, {4, 4}}, max_radius = 3.5, repeat_count = 4 * 4 * 15 }, { type = "create-entity", entity_name = "big-artillery-explosion" }, { type = "show-explosion-on-chart", scale = 8/32 } } } }, final_action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "small-scorchmark", check_buildability = true } } } }, animation = { filename = "__base__/graphics/entity/bullet/bullet.png", frame_count = 1, width = 3, height = 50, priority = "high" }, height_from_ground = 280 / 64 }, { type = "projectile", name = "uranium-cannon-projectile", flags = {"not-on-map"}, collision_box = {{-0.3, -1.1}, {0.3, 1.1}}, acceleration = 0, direction_only = true, piercing_damage = 600, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "damage", damage = {amount = 400 , type = "physical"} }, { type = "damage", damage = {amount = 200 , type = "explosion"} }, { type = "create-entity", entity_name = "uranium-cannon-explosion" } } } }, final_action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "small-scorchmark", check_buildability = true } } } }, animation = { filename = "__base__/graphics/entity/bullet/bullet.png", frame_count = 1, width = 3, height = 50, priority = "high" } }, { type = "projectile", name = "explosive-uranium-cannon-projectile", flags = {"not-on-map"}, collision_box = {{-0.3, -1.1}, {0.3, 1.1}}, acceleration = 0, piercing_damage = 150, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "damage", damage = {amount = 350 , type = "physical"} }, { type = "create-entity", entity_name = "uranium-cannon-explosion" } } } }, final_action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "uranium-cannon-shell-explosion" }, { type = "nested-result", action = { type = "area", radius = 4.25, action_delivery = { type = "instant", target_effects = { { type = "damage", damage = {amount = 315, type = "explosion"} }, { type = "create-entity", entity_name = "uranium-cannon-explosion" } } } } }, { type = "create-entity", entity_name = "small-scorchmark", check_buildability = true } } } }, animation = { filename = "__base__/graphics/entity/bullet/bullet.png", frame_count = 1, width = 3, height = 50, priority = "high" } }, { type = "projectile", name = "explosive-cannon-projectile", flags = {"not-on-map"}, collision_box = {{-0.3, -1.1}, {0.3, 1.1}}, acceleration = 0, piercing_damage = 100, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "damage", damage = {amount = 180, type = "physical"} }, { type = "create-entity", entity_name = "explosion" } } } }, final_action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "big-explosion" }, { type = "nested-result", action = { type = "area", radius = 4, action_delivery = { type = "instant", target_effects = { { type = "damage", damage = {amount = 300, type = "explosion"} }, { type = "create-entity", entity_name = "explosion" } } } } } } } }, animation = { filename = "__base__/graphics/entity/bullet/bullet.png", frame_count = 1, width = 3, height = 50, priority = "high" } }, { type = "projectile", name = "grenade", flags = {"not-on-map"}, acceleration = 0.005, action = { { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "medium-explosion" }, { type = "create-entity", entity_name = "small-scorchmark", check_buildability = true } } } }, { type = "area", radius = 6.5, action_delivery = { type = "instant", target_effects = { { type = "damage", damage = {amount = 35, type = "explosion"} }, { type = "create-entity", entity_name = "explosion" } } } } }, light = {intensity = 0.5, size = 4}, animation = { filename = "__base__/graphics/entity/grenade/grenade.png", frame_count = 1, width = 24, height = 24, priority = "high" }, shadow = { filename = "__base__/graphics/entity/grenade/grenade-shadow.png", frame_count = 1, width = 24, height = 24, priority = "high" } }, { type = "projectile", name = "cluster-grenade", flags = {"not-on-map"}, acceleration = 0.005, action = { { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "explosion" }, { type = "create-entity", entity_name = "small-scorchmark", check_buildability = true } } } }, { type = "cluster", cluster_count = 7, distance = 4, distance_deviation = 3, action_delivery = { type = "projectile", projectile = "grenade", direction_deviation = 0.6, starting_speed = 0.25, starting_speed_deviation = 0.3 } } }, light = {intensity = 0.5, size = 4}, animation = { filename = "__base__/graphics/entity/cluster-grenade/cluster-grenade.png", frame_count = 1, width = 24, height = 24, priority = "high" }, shadow = { filename = "__base__/graphics/entity/grenade/grenade-shadow.png", frame_count = 1, width = 24, height = 24, priority = "high" } }, { type = "projectile", name = "defender-capsule", flags = {"not-on-map"}, acceleration = 0.005, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", show_in_tooltip = true, entity_name = "defender" } } } }, light = {intensity = 0.5, size = 4}, enable_drawing_with_mask = true, animation = { layers = { { filename = "__base__/graphics/entity/combat-robot-capsule/defender-capsule.png", flags = { "no-crop" }, frame_count = 1, width = 28, height = 20, priority = "high" }, { filename = "__base__/graphics/entity/combat-robot-capsule/defender-capsule-mask.png", flags = { "no-crop" }, frame_count = 1, width = 28, height = 20, priority = "high", apply_runtime_tint = true } } }, shadow = { filename = "__base__/graphics/entity/combat-robot-capsule/defender-capsule-shadow.png", flags = { "no-crop" }, frame_count = 1, width = 26, height = 20, priority = "high" }, smoke = capsule_smoke }, { type = "projectile", name = "distractor-capsule", flags = {"not-on-map"}, acceleration = 0.005, action = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", show_in_tooltip = true, entity_name = "distractor", offsets = {{0.5, -0.5},{-0.5, -0.5},{0, 0.5}} } } } }, light = {intensity = 0.5, size = 4}, enable_drawing_with_mask = true, animation = { layers = { { filename = "__base__/graphics/entity/combat-robot-capsule/distractor-capsule.png", flags = { "no-crop" }, frame_count = 1, width = 36, height = 30, priority = "high" }, { filename = "__base__/graphics/entity/combat-robot-capsule/distractor-capsule-mask.png", flags = { "no-crop" }, frame_count = 1, width = 36, height = 30, priority = "high", apply_runtime_tint = true } } }, shadow = { filename = "__base__/graphics/entity/combat-robot-capsule/distractor-capsule-shadow.png", flags = { "no-crop" }, frame_count = 1, width = 40, height = 26, priority = "high" }, smoke = capsule_smoke }, { type = "projectile", name = "destroyer-capsule", flags = {"not-on-map"}, acceleration = 0.005, action = { type = "direct", action_delivery = { type = "instant", target_effects = { type = "create-entity", show_in_tooltip = true, entity_name = "destroyer", offsets = {{-0.7, -0.7},{-0.7, 0.7},{0.7, -0.7},{0.7, 0.7},{0, 0}} } } }, light = {intensity = 0.5, size = 4}, enable_drawing_with_mask = true, animation = { layers = { { filename = "__base__/graphics/entity/combat-robot-capsule/destroyer-capsule.png", flags = { "no-crop" }, frame_count = 1, width = 42, height = 34, priority = "high" }, { filename = "__base__/graphics/entity/combat-robot-capsule/destroyer-capsule-mask.png", flags = { "no-crop" }, frame_count = 1, width = 42, height = 34, priority = "high", apply_runtime_tint = true } } }, shadow = { filename = "__base__/graphics/entity/combat-robot-capsule/destroyer-capsule-shadow.png", flags = { "no-crop" }, frame_count = 1, width = 48, height = 32, priority = "high" }, smoke = capsule_smoke }, { type = "projectile", name = "poison-capsule", flags = {"not-on-map"}, acceleration = 0.005, action = { type = "direct", action_delivery = { type = "instant", target_effects = { type = "create-entity", show_in_tooltip = true, entity_name = "poison-cloud" } } }, light = {intensity = 0.5, size = 4}, animation = { filename = "__base__/graphics/entity/poison-capsule/poison-capsule.png", frame_count = 1, width = 32, height = 32, priority = "high" }, shadow = { filename = "__base__/graphics/entity/poison-capsule/poison-capsule-shadow.png", frame_count = 1, width = 32, height = 32, priority = "high" }, smoke = capsule_smoke }, { type = "projectile", name = "slowdown-capsule", flags = {"not-on-map"}, acceleration = 0.005, action = { type = "area", radius = 9, force = "enemy", action_delivery = { type = "instant", target_effects = { type = "create-sticker", sticker = "slowdown-sticker" } } }, light = {intensity = 0.5, size = 4}, animation = { filename = "__base__/graphics/entity/slowdown-capsule/slowdown-capsule.png", frame_count = 1, width = 32, height = 32, priority = "high" }, shadow = { filename = "__base__/graphics/entity/slowdown-capsule/slowdown-capsule-shadow.png", frame_count = 1, width = 32, height = 32, priority = "high" }, smoke = capsule_smoke }, { type = "projectile", name = "atomic-bomb-wave", flags = {"not-on-map"}, acceleration = 0, action = { { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "explosion" } } } }, { type = "area", radius = 3, action_delivery = { type = "instant", target_effects = { type = "damage", damage = {amount = 400, type = "explosion"} } } } }, animation = { filename = "__core__/graphics/empty.png", frame_count = 1, width = 1, height = 1, priority = "high" }, shadow = { filename = "__core__/graphics/empty.png", frame_count = 1, width = 1, height = 1, priority = "high" } }, { type = "projectile", name = "cliff-explosives", flags = {"not-on-map"}, acceleration = 0.005, action = { { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-entity", entity_name = "ground-explosion" }, { type = "create-entity", entity_name = "small-scorchmark", check_buildability = true }, { type = "destroy-cliffs", radius = 1.5, explosion = "explosion" } } } } }, light = {intensity = 0.5, size = 4}, animation = { filename = "__base__/graphics/icons/cliff-explosives.png", frame_count = 1, width = 24, height = 24, priority = "high" }, shadow = { filename = "__base__/graphics/entity/grenade/grenade-shadow.png", frame_count = 1, width = 24, height = 24, priority = "high" } } } )