data:extend( { { type = "sticker", name = "wooden-barbed-spike-slowdown-sticker_ke", flags = { "not-on-map" }, animation = { filename = "__Poisonous_barbed_spikes__/graphics/barbed-spikes-wooden/clear.png", priority = "extra-high", width = 2, height = 2, frame_count = 1 }, duration_in_ticks = 200, target_movement_modifier = 0.2 } }) local hit_effects = require("__base__.prototypes.entity.hit-effects") local sounds = require("__base__.prototypes.entity.sounds") data:extend( { { type = "land-mine", name = "wooden-barbed-spike", icon = "__base__/graphics/icons/land-mine.png", flags = { "placeable-player", "placeable-enemy", "player-creation", "placeable-off-grid", "not-on-map" }, minable = {mining_time = 1, result = "wooden-barbed-spike"}, fast_replaceable_group = "land-mine", mined_sound = sounds.deconstruct_small(1.0), max_health = 56, corpse = "land-mine-remnants", dying_explosion = "wall-explosion", selection_box = {{-1, -1 }, {1, 1}}, collision_box = {{-0.8, -0.8}, {0.8, 0.8}}, damaged_trigger_effect = hit_effects.entity(), open_sound = sounds.machine_open, close_sound = sounds.machine_close, force_die_on_attack = false, picture_safe = { filename = "__Poisonous_barbed_spikes__/graphics/barbed-spikes-wooden/base.png", priority = "medium", width = 172, height = 172, scale = 0.5 }, picture_set = { filename = "__Poisonous_barbed_spikes__/graphics/barbed-spikes-wooden/base.png", priority = "medium", width = 172, height = 172, scale = 0.5 }, picture_set_enemy = { filename = "__Poisonous_barbed_spikes__/graphics/barbed-spikes-wooden/base.png", priority = "medium", width = 172, height = 172, }, trigger_radius = 2.0, ammo_category = "bullet", action = { type = "area", radius = 2.0, force = "enemy", action_delivery = { type = "instant", target_effects = { { type = "damage", damage = {amount = 2.1, type = "physical"} }, { type = "damage", damage = {amount = 4.2, type = "poison"} }, { type = "create-sticker", sticker = "slowdown-sticker" }, { type = "create-sticker", sticker = "wooden-barbed-spike-slowdown-sticker_ke" } } } } } })