Code: Select all
{
type = "unit-spawner",
name = "shield-effect-alternate-big",
icon = "__base__/graphics/icons/biter-spawner.png",
icon_size = 32,
flags = {"not-repairable", "not-blueprintable", "not-deconstructable", "placeable-off-grid", "not-on-map"},
max_health = 350,
order="b-b-g",
subgroup="enemies",
resistances =
{
{
type = "physical",
decrease = 2,
percent = 15
},
{
type = "explosion",
decrease = 5,
percent = 15,
},
{
type = "fire",
decrease = 3,
percent = 60,
}
},
healing_per_tick = 0.02,
collision_box = {{0, 0}, {0, 0}},
selection_box = {{0, 0}, {0, 0}},
pollution_absorbtion_absolute = 20,
pollution_absorbtion_proportional = 0.01,
--corpse = "biter-spawner-corpse",
--dying_explosion = "blood-explosion-huge",
max_count_of_owned_units = 0,
max_friends_around_to_spawn = 0,
render_layer = "wires",
animations =
{
{
variation_count = 0,
filename = "__Turret-Shields__/graphics/shield-effect-alternate.png",
line_length = 9,
width = 300,
height = 300,
frame_count = 9,
animation_speed = 0.3,
scale = 0.78,
direction_count = 1,
run_mode = "forward",
shift = {0.05, 0.2},
priority = "extra-high",
--shift = {0.140625 - 0.65, -0.234375},
--y = variation * 181
}
},
result_units = (function()
local res = {}
res[1] = {"small-biter", {{0.0, 0.3}, {0.6, 0.0}}}
return res
end)(),
spawning_cooldown = {99999, 99999},
spawning_radius = 10,
spawning_spacing = 3,
max_count_of_owned_units = 0,
max_friends_around_to_spawn = 0,
spawning_radius = 0,
spawning_spacing = 0,
max_spawn_shift = 0,
max_richness_for_spawn_shift = 0,
call_for_help_radius = 0
}