require("prototype/particle") local med_explosion_sound = { variations = { { filename = "__gore__/sound/weapons/exp-big-1.ogg", volume = 0.8 }, { filename = "__gore__/sound/weapons/exp-big-2.ogg", volume = 0.8 }, { filename = "__gore__/sound/weapons/exp-big-3.ogg", volume = 0.8 }, { filename = "__gore__/sound/weapons/exp-big-4.ogg", volume = 0.8 }, { filename = "__gore__/sound/weapons/exp-big-5.ogg", volume = 0.8 }, { filename = "__gore__/sound/weapons/exp-big-6.ogg", volume = 0.8 } }, aggregation = { max_count = 2, remove = true }, audible_distance_modifier = 1.95, } local electric_arc_sound = { variations = { { filename = "__gore__/sound/weapons/zap-1.ogg", volume = 0.5}, { filename = "__gore__/sound/weapons/zap-2.ogg", volume = 0.5}, { filename = "__gore__/sound/weapons/zap-3.ogg", volume = 0.5}, { filename = "__gore__/sound/weapons/zap-4.ogg", volume = 0.5}, { filename = "__gore__/sound/weapons/zap-5.ogg", volume = 0.5}, { filename = "__gore__/sound/weapons/zap-6.ogg", volume = 0.5} }, aggregation = { max_count = 2, remove = true, count_already_playing = true }, audible_distance_modifier = 1.35, } --------------------------------------------------------------------------------------- data.raw["explosion"]["explosion-hit"] = { type = "explosion", name = "explosion-hit", localised_name = {"entity-name.explosion-hit"}, flags = {"not-on-map", "hidden"}, subgroup = "explosions", animations = { { filename = "__base__/graphics/entity/explosion/hr-explosion-1.png", draw_as_glow = true, priority = "high", line_length = 6, width = 48, height = 42, frame_count = 17, animation_speed = 0.55, shift = util.by_pixel(4.5,6), scale = 0.64, }, { filename = "__base__/graphics/entity/explosion/hr-explosion-1.png", draw_as_glow = true, priority = "high", line_length = 6, width = 48, height = 42, frame_count = 17, animation_speed = 0.55, shift = util.by_pixel(4.5,6), scale = 0.45, }, { filename = "__base__/graphics/entity/explosion/hr-explosion-1.png", draw_as_glow = true, priority = "high", line_length = 6, width = 48, height = 42, frame_count = 17, animation_speed = 0.5, shift = util.by_pixel(4.5,6), scale = 0.25, }, { filename = "__gore__/graphics/weapons/spark-hit.png", blend_mode = "additive-soft", priority = "high", line_length = 8, width = 128, height = 128, frame_count = 24, animation_speed = 0.64, scale = 0.3, }, }, light = {intensity = 0.5, size = 5, color = {r=1, g=0.66, b=0.1}}, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 6, repeat_count_deviation = 5, probability = 1, particle_name = "dirt-particle", offset_deviation = { { -0.1, -0.25 }, { 0.15, 0.2 } }, initial_height = 0.5, initial_height_deviation = 1.5, initial_vertical_speed = 0.025, initial_vertical_speed_deviation = 0.25, speed_from_center = 0.075, speed_from_center_deviation = 0.25, frame_speed = 0.35, frame_speed_deviation = 0, tail_length = 25, tail_length_deviation = 25, tail_width = 2 }, { type = "create-particle", repeat_count = 4, repeat_count_deviation = 3, probability = 0.35, particle_name = "spark-orange-add", offset_deviation = { { -0.1, -0.25 }, { 0.15, 0.2 } }, initial_height = 0.5, initial_height_deviation = 0.75, initial_vertical_speed = 0.025, initial_vertical_speed_deviation = 0.05, speed_from_center = 0.08, speed_from_center_deviation = 0.25, frame_speed = 0.25, frame_speed_deviation = 0, tail_length = 25, tail_length_deviation = 25, tail_width = 2 }, { type = "create-particle", repeat_count = 2, repeat_count_deviation = 4, probability = 0.25, particle_name = "explosion-stone-particle-medium", offset_deviation = { { -0.5, -0.5 }, { 0.5, 0.5 } }, initial_height = 0.07, initial_height_deviation = 0.1, initial_vertical_speed = 0.025, initial_vertical_speed_deviation = 0.1, speed_from_center = 0.05, speed_from_center_deviation = 0.1 }, { type = "create-entity", entity_name = "cluster-nuke-explosion", probability = 0.25, repeat_count = 1 } }}} } ------------------------------------------------------------------------------------------------------------------------- ----------------------------------------- EKUSUPUROSCHON ANIMS ---------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------- data:extend({ { type = "explosion", name = "muzzleflash", flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/muzzleflash.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, frame_count = 2, animation_speed = 1.5, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 2, frame_count = 2, animation_speed = 1.5, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 4, frame_count = 3, animation_speed = 1.5, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 7, frame_count = 3, animation_speed = 1.5, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 10, frame_count = 3, animation_speed = 1.5, shift = {0, 0} } }, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 5, repeat_count_deviation = 2, probability = 0.25, particle_name = "spark-orange-add", offset_deviation = { { -0.15, -0.15 }, { 0.15, 0.15 } }, initial_height = 1, initial_height_deviation = 0.25, initial_vertical_speed = 0, initial_vertical_speed_deviation = 0, speed_from_center = 0.085, speed_from_center_deviation = 0.05, frame_speed_deviation = 0, tail_length = 15, tail_length_deviation = 5, tail_width = 1, source_offset = {-0, -0.9} } } } }, rotate = true, light = {intensity = 2, size = 12, color = {r=1, g=0.25, b=0.1}}, }, -------------------------------------------------------------------- { type = "explosion", name = "rail-beam", flags = {"not-on-map", "hidden"}, subgroup = "explosions", rotate = true, beam = true, animations = { { filename = "__gore__/graphics/weapons/beam-1.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive-soft", width = 20, height = 6, frame_count = 10, line_length = 10, animation_speed = 0.6, } }, light = {intensity = 1, size = 10, color = {r=0.1, g=0.6, b=1}}, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 6, repeat_count_deviation = 3, probability = 0.5, particle_name = "spark-blue", offset_deviation = { { -0.1, -0.25 }, { 0.15, 0.2 } }, initial_height = 0.5, initial_height_deviation = 0.75, initial_vertical_speed = 0.025, initial_vertical_speed_deviation = 0.05, speed_from_center = 0.08, speed_from_center_deviation = 0.25, frame_speed = 0.25, frame_speed_deviation = 0, tail_length = 25, tail_length_deviation = 25, tail_width = 2 } }}} }, ----------------------------------------------------------------------- { type = "explosion", name = "fire-burst", flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/fire-burst-1.png", priority = "extra-high", draw_as_glow = true, line_length = 16, width = 128, height = 128, frame_count = 24, scale = 0.36, animation_speed = 0.69, --blend_mode = "additive-soft" }, { filename = "__gore__/graphics/weapons/fire-burst-1b.png", priority = "extra-high", draw_as_glow = true, line_length = 16, width = 128, height = 128, frame_count = 24, scale = 0.4, animation_speed = 0.66, --blend_mode = "additive-soft" }, { filename = "__gore__/graphics/weapons/fire-burst-2.png", priority = "extra-high", draw_as_glow = true, line_length = 16, width = 128, height = 128, frame_count = 42, scale = 0.45, animation_speed = 0.7, --blend_mode = "additive-soft" }, { filename = "__gore__/graphics/weapons/fire-burst-2.png", priority = "extra-high", draw_as_glow = true, line_length = 16, width = 128, height = 128, y = 128 * 3, frame_count = 28, scale = 0.45, animation_speed = 0.66, --blend_mode = "additive-soft" }, { filename = "__gore__/graphics/weapons/fire-burst-2.png", priority = "extra-high", draw_as_glow = true, line_length = 16, width = 128, height = 128, y = 128 * 6, frame_count = 23, scale = 0.42, animation_speed = 0.64, --blend_mode = "additive-soft" } }, rotate = true, light = {intensity = 1, size = 6, color = {r=1, g=0.3, b=0.1}} }, -------------------------------------------------------------------- { type = "explosion", name = "plasma-impact", flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/plasma-hit.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, frame_count = 2, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/plasma-hit.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 2, frame_count = 2, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/plasma-hit.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 4, frame_count = 3, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/plasma-hit.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 7, frame_count = 3, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/plasma-hit.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 10, frame_count = 3, animation_speed = 0.9, shift = {0, 0} } }, rotate = true, smoke = "smoke-fast", smoke_count = 7, smoke_slow_down_factor = 0.25, light = {intensity = 2, size = 12, color = {r=0.1, g=0.4, b=1}} }, -------------------------------------------------------------------- { type = "explosion", name = "plasma-muzzle", flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/muzzleflash-blue.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, frame_count = 2, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash-blue.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 2, frame_count = 2, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash-blue.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 4, frame_count = 3, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash-blue.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 7, frame_count = 3, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash-blue.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 10, frame_count = 3, animation_speed = 0.9, shift = {0, 0} } }, rotate = true, smoke = "smoke-fast", smoke_count = 7, smoke_slow_down_factor = 0.25, light = {intensity = 2, size = 12, color = {r=0.1, g=0.4, b=1}} }, -------------------------------------------------------------------- { type = "explosion", name = "radio-muzzle", flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/muzzleflash-green.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, frame_count = 2, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash-green.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 2, frame_count = 2, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash-green.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 4, frame_count = 3, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash-green.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 7, frame_count = 3, animation_speed = 0.9, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/muzzleflash-green.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 10, frame_count = 3, animation_speed = 0.9, shift = {0, 0} } }, rotate = true, light = {intensity = 2, size = 12, color = {r=0.5, g=1, b=0.1}} }, -------------------------------------------------------------------- { type = "explosion", name = "radio-impact", flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/radio-hit.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, frame_count = 2, animation_speed = 1.5, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/radio-hit.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 2, frame_count = 2, animation_speed = 1.5, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/radio-hit.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 4, frame_count = 3, animation_speed = 1.5, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/radio-hit.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 7, frame_count = 3, animation_speed = 1.5, shift = {0, 0} }, { filename = "__gore__/graphics/weapons/radio-hit.png", priority = "extra-high", draw_as_glow = true, blend_mode = "additive", width = 51, height = 57, x = 51 * 10, frame_count = 3, animation_speed = 1.5, shift = {0, 0} } }, rotate = true, light = {intensity = 2, size = 12, color = {r=0.3, g=1, b=0.1}}, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 5, repeat_count_deviation = 2, probability = 0.25, particle_name = "spark-green", offset_deviation = { { -0.15, -0.15 }, { 0.15, 0.15 } }, initial_height = 0.5, initial_height_deviation = 0.2, initial_vertical_speed = 0, initial_vertical_speed_deviation = 0, speed_from_center = 0.085, speed_from_center_deviation = 0.05, frame_speed_deviation = 0, tail_length = 15, tail_length_deviation = 5, tail_width = 1 } } }} }, -------------------------------------------------------------------- { type = "explosion", name = "fire-impact", flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/muzzleflash00.png", priority = "extra-high", draw_as_glow = true, --blend_mode = "additive", width = 51, height = 57, frame_count = 2, scale = 1.4, animation_speed = 0.9, }, { filename = "__gore__/graphics/weapons/muzzleflash00.png", priority = "extra-high", draw_as_glow = true, --blend_mode = "additive", width = 51, height = 57, x = 51 * 2, frame_count = 2, scale = 1.4, animation_speed = 0.9, }, { filename = "__gore__/graphics/weapons/muzzleflash00.png", priority = "extra-high", draw_as_glow = true, --blend_mode = "additive", width = 51, height = 57, x = 51 * 4, frame_count = 3, scale = 1.4, animation_speed = 0.9, }, { filename = "__gore__/graphics/weapons/muzzleflash00.png", priority = "extra-high", draw_as_glow = true, --blend_mode = "additive", width = 51, height = 57, x = 51 * 7, frame_count = 3, scale = 1.4, animation_speed = 0.9, }, { filename = "__gore__/graphics/weapons/muzzleflash00.png", priority = "extra-high", draw_as_glow = true, --blend_mode = "additive", width = 51, height = 57, x = 51 * 10, frame_count = 3, scale = 1.4, animation_speed = 0.9, } }, rotate = true, light = {intensity = 0.8, size = 6.9, color = {r=1, g=0.4, b=0.1}} }, -------------------------------------------------------------- { type = "explosion", name = "yellow-explosion", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/fire-exp-v1.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 32, line_length = 8, draw_as_glow = true, animation_speed = 0.6, scale = 0.6 }, { filename = "__gore__/graphics/weapons/fire-exp-v2.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 32, line_length = 8, draw_as_glow = true, animation_speed = 0.66, scale = 0.6 }, }, light = {intensity = 1, size = 12, color = {r=1, g=0.5, b=0.1}}, sound = med_explosion_sound, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 5, repeat_count_deviation = 4, probability = 0.42, particle_name = "stone-furnace-stone-particle-big", initial_height = 0.5, speed_from_center = 0.08, speed_from_center_deviation = 0.1, initial_vertical_speed = 0.08, initial_vertical_speed_deviation = 0.15, offset_deviation = { { -0.8984, -0.5 }, { 0.8984, 0.5 } } }, { type = "create-particle", repeat_count = 8, repeat_count_deviation = 5, probability = 1, particle_name = "spark-orange", offset_deviation = { { -0.25, -1 }, { 0.25, 1 } }, initial_height = 1, initial_height_deviation = 1, initial_vertical_speed = 0.05, initial_vertical_speed_deviation = 0.1, speed_from_center = 0.025, speed_from_center_deviation = 0.05, frame_speed = 0.15, frame_speed_deviation = 0, tail_length = 36, tail_length_deviation = 42, tail_width = 1 }, { type = "create-particle", repeat_count = 10, repeat_count_deviation = 10, probability = 1, particle_name = "explosion-stone-particle-medium", offset_deviation = { { -0.5, -0.5 }, { 0.5, 0.5 } }, initial_height = 0.25, initial_height_deviation = 0.5, initial_vertical_speed = 0.075, initial_vertical_speed_deviation = 0.15, speed_from_center = 0.075, speed_from_center_deviation = 0.25 }}}} }, -------------------------------------------------------------- { type = "explosion", name = "yellow-explosion-big", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/fire-exp-v1.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 32, line_length = 8, draw_as_glow = true, animation_speed = 0.64, scale = 0.69 }, { filename = "__gore__/graphics/weapons/fire-exp-v2.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 32, line_length = 8, draw_as_glow = true, animation_speed = 0.64, scale = 0.69 }, }, light = {intensity = 1, size = 15, color = {r=1, g=0.5, b=0.1}}, sound = med_explosion_sound, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 5, repeat_count_deviation = 4, probability = 0.42, particle_name = "stone-furnace-stone-particle-big", initial_height = 0.5, speed_from_center = 0.08, speed_from_center_deviation = 0.1, initial_vertical_speed = 0.08, initial_vertical_speed_deviation = 0.15, offset_deviation = { { -0.8984, -0.5 }, { 0.8984, 0.5 } } }, { type = "create-particle", repeat_count = 10, repeat_count_deviation = 5, probability = 1, particle_name = "spark-orange", offset_deviation = { { -1.5, -2 }, { 1.5, 2 } }, initial_height = 1, initial_height_deviation = 2, initial_vertical_speed = 0.01, initial_vertical_speed_deviation = 0.05, speed_from_center = 0.1, speed_from_center_deviation = 0.1, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 64, tail_length_deviation = 69, tail_width = 2 }, { type = "create-particle", repeat_count = 10, repeat_count_deviation = 5, probability = 1, particle_name = "spark-orange", offset_deviation = { { -0.25, -1 }, { 0.25, 1 } }, initial_height = 1, initial_height_deviation = 1, initial_vertical_speed = 0.05, initial_vertical_speed_deviation = 0.1, speed_from_center = 0.025, speed_from_center_deviation = 0.1, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 36, tail_length_deviation = 42, tail_width = 1 }, { type = "create-particle", repeat_count = 10, repeat_count_deviation = 5, probability = 1, particle_name = "explosion-stone-particle-medium", offset_deviation = { { -0.5, -0.5 }, { 0.5, 0.5 } }, initial_height = 0.25, initial_height_deviation = 0.5, initial_vertical_speed = 0.075, initial_vertical_speed_deviation = 0.15, speed_from_center = 0.075, speed_from_center_deviation = 0.25 }}}} }, -------------------------------------------------------------------- { type = "explosion", name = "plasma-exp-small", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { filename = "__gore__/graphics/weapons/plasma-exp-small.png", draw_as_glow = true, priority = "high", line_length = 6, width = 102, height = 88, frame_count = 17, animation_speed = 0.55, shift = util.by_pixel(-1,1.5), scale = 0.66 }, light = {intensity = 1, size = 12, color = {r=0.1, g=0.35, b=1}}, sound = { aggregation = { max_count = 2, remove = true }, audible_distance_modifier = 1.4, variations = { { filename = "__gore__/sound/weapons/plasma-hit-1.ogg", volume = 0.6 }, { filename = "__gore__/sound/weapons/plasma-hit-2.ogg", volume = 0.6 }, { filename = "__gore__/sound/weapons/plasma-hit-3.ogg", volume = 0.6 } } }, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 5, repeat_count_deviation = 5, probability = 0.7, particle_name = "pole-spark-particle", offset_deviation = { { -0.15, -0.5 }, { 0.15, 0.5 } }, initial_height = 0.6, initial_height_deviation = 1.5, initial_vertical_speed = 0.01, initial_vertical_speed_deviation = 0.01, speed_from_center = 0.15, speed_from_center_deviation = 0.3, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 25, tail_length_deviation = 45, tail_width = 15 }, { type = "create-particle", repeat_count = 5, repeat_count_deviation = 5, probability = 1, particle_name = "pole-spark-particle", offset_deviation = { { -0, -0.25 }, { 0, 0.25 } }, initial_height = 0.5, initial_height_deviation = 0.5, initial_vertical_speed = 0.01, initial_vertical_speed_deviation = 0.01, speed_from_center = 0.1, speed_from_center_deviation = 0.25, frame_speed = 0.025, frame_speed_deviation = 0, tail_length = 25, tail_length_deviation = 50, tail_width = 10 }, { type = "create-particle", repeat_count = 5, repeat_count_deviation = 10, probability = 0.5, particle_name = "explosion-stone-particle-medium", offset_deviation = { { -0.05, -0.5 }, { 0.05, 0.5 } }, initial_height = 0.25, initial_height_deviation = 0.5, initial_vertical_speed = 0.05, initial_vertical_speed_deviation = 0.05, speed_from_center = 0.075, speed_from_center_deviation = 0.1 }}}} }, ---------------------------------------------------------------------------- { type = "explosion", name = "fire-exp", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { filename = "__gore__/graphics/weapons/fire-explosion.png", draw_as_glow = true, priority = "high", line_length = 6, width = 102, height = 88, frame_count = 17, animation_speed = 0.55, shift = util.by_pixel(-1,1.5), scale = 0.66 }, light = {intensity = 1, size = 8, color = {r=1, g=0.66, b=0.1}}, sound = { aggregation = { max_count = 4, remove = true, count_already_playing = false }, variations = { { filename = "__gore__/sound/weapons/plasma-hit-1.ogg", volume = 0.5 }, { filename = "__gore__/sound/weapons/plasma-hit-2.ogg", volume = 0.5 }, { filename = "__gore__/sound/weapons/plasma-hit-3.ogg", volume = 0.5 } } }, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 5, repeat_count_deviation = 3, probability = 0.5, particle_name = "spark-orange-add", offset_deviation = { { -0.1, -0.25 }, { 0.15, 0.2 } }, initial_height = 0.5, initial_height_deviation = 0.75, initial_vertical_speed = 0.025, initial_vertical_speed_deviation = 0.05, speed_from_center = 0.08, speed_from_center_deviation = 0.25, frame_speed = 0.25, frame_speed_deviation = 0, tail_length = 25, tail_length_deviation = 25, tail_width = 2 } }}} }, ---------------------------------------------------------------------------- { type = "explosion", name = "plasma-exp-norm", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { filename = "__gore__/graphics/weapons/plasma-exp-small.png", draw_as_glow = true, priority = "high", line_length = 6, width = 102, height = 88, frame_count = 17, animation_speed = 0.525, shift = util.by_pixel(-1,1.5), scale = 1 }, light = {intensity = 1, size = 10, color = {r=0.1, g=0.4, b=1}}, sound = { aggregation = { max_count = 1, remove = true, count_already_playing = true }, audible_distance_modifier = 1.4, variations = { { filename = "__gore__/sound/weapons/plasma-hit-1.ogg", volume = 0.5 }, { filename = "__gore__/sound/weapons/plasma-hit-2.ogg", volume = 0.5 }, { filename = "__gore__/sound/weapons/plasma-hit-3.ogg", volume = 0.5 } } }, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 5, repeat_count_deviation = 5, probability = 1, particle_name = "pole-spark-particle", offset_deviation = { { -0, -0.25 }, { 0, 0.25 } }, initial_height = 0.5, initial_height_deviation = 0.5, initial_vertical_speed = 0.01, initial_vertical_speed_deviation = 0.01, speed_from_center = 0.1, speed_from_center_deviation = 0.25, frame_speed = 0.025, frame_speed_deviation = 0, tail_length = 25, tail_length_deviation = 50, tail_width = 10 }, { type = "create-particle", repeat_count = 5, repeat_count_deviation = 10, probability = 0.5, particle_name = "explosion-stone-particle-medium", offset_deviation = { { -0.05, -0.5 }, { 0.05, 0.5 } }, initial_height = 0.25, initial_height_deviation = 0.5, initial_vertical_speed = 0.05, initial_vertical_speed_deviation = 0.05, speed_from_center = 0.075, speed_from_center_deviation = 0.1 }}}} }, ---------------------------------------------------------------------------- { type = "explosion", name = "green-impact", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { filename = "__gore__/graphics/weapons/green-impact.png", draw_as_glow = true, priority = "high", line_length = 9, width = 225, height = 225, frame_count = 80, animation_speed = 1, shift = util.by_pixel(0,0), scale = 0.4 }, light = {intensity = 2, size = 12, color = {r=0.1, g=0.35, b=1}}, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 1, repeat_count_deviation = 1, probability = 0.1, particle_name = "spark-green", offset_deviation = { { -0.15, -0.5 }, { 0.15, 0.5 } }, initial_height = 0.6, initial_height_deviation = 1.5, initial_vertical_speed = 0.01, initial_vertical_speed_deviation = 0.01, speed_from_center = 0.15, speed_from_center_deviation = 0.3, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 25, tail_length_deviation = 45, tail_width = 15 }}}} }, -------------------------------------------------------------- { type = "explosion", name = "plasma-exp", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { filename = "__gore__/graphics/weapons/plasma-explosion.png", flags = { "compressed" }, width = 300, height = 300, frame_count = 47, line_length = 8, shift = {0.1875, -0.75}, draw_as_glow = true, animation_speed = 0.55, scale = 1.25 }, light = {intensity = 1, size = 15, color = {r=0.1, g=0.4, b=1}}, sound = { aggregation = { max_count = 2, remove = true }, audible_distance_modifier = 1.95, variations = { { filename = "__gore__/sound/weapons/exp-lsr-1.ogg", volume = 0.77 }, { filename = "__gore__/sound/weapons/exp-lsr-2.ogg", volume = 0.77 }, { filename = "__gore__/sound/weapons/exp-lsr-3.ogg", volume = 0.77 }, { filename = "__gore__/sound/weapons/exp-lsr-4.ogg", volume = 0.77 }, { filename = "__gore__/sound/weapons/exp-lsr-5.ogg", volume = 0.77 }, { filename = "__gore__/sound/weapons/exp-lsr-6.ogg", volume = 0.77 } } }, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 5, repeat_count_deviation = 4, probability = 0.42, particle_name = "stone-furnace-stone-particle-big", initial_height = 0.5, speed_from_center = 0.08, speed_from_center_deviation = 0.1, initial_vertical_speed = 0.08, initial_vertical_speed_deviation = 0.15, offset_deviation = { { -0.8984, -0.5 }, { 0.8984, 0.5 } } }, { type = "create-particle", repeat_count = 40, repeat_count_deviation = 10, probability = 1, particle_name = "pole-spark-particle", offset_deviation = { { -1.5, -2 }, { 1.5, 2 } }, initial_height = 1, initial_height_deviation = 2, initial_vertical_speed = 0.01, initial_vertical_speed_deviation = 0.05, speed_from_center = 0.15, speed_from_center_deviation = 0.15, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 64, tail_length_deviation = 69, tail_width = 2 }, { type = "create-particle", repeat_count = 20, repeat_count_deviation = 5, probability = 1, particle_name = "pole-spark-particle", offset_deviation = { { -0.25, -1 }, { 0.25, 1 } }, initial_height = 1, initial_height_deviation = 1, initial_vertical_speed = 0.05, initial_vertical_speed_deviation = 0.1, speed_from_center = 0.025, speed_from_center_deviation = 0.1, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 36, tail_length_deviation = 42, tail_width = 1 }, { type = "create-particle", repeat_count = 10, repeat_count_deviation = 20, probability = 1, particle_name = "explosion-stone-particle-medium", offset_deviation = { { -0.5, -0.5 }, { 0.5, 0.5 } }, initial_height = 0.25, initial_height_deviation = 0.5, initial_vertical_speed = 0.075, initial_vertical_speed_deviation = 0.15, speed_from_center = 0.075, speed_from_center_deviation = 0.25 }}}} }, --------------------------------------------------------------------------------------- { type = "explosion", name = "plasma-exp-med", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/plasma-exp-med.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 32, line_length = 8, shift = {0, 0}, draw_as_glow = true, animation_speed = 0.66, scale = 0.64 }, { filename = "__gore__/graphics/weapons/plasma-exp-med-2.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 32, line_length = 8, shift = {0, 0}, draw_as_glow = true, animation_speed = 0.64, scale = 0.55 }, { filename = "__gore__/graphics/weapons/plasma-exp-med-3.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 32, line_length = 8, shift = {0, 0}, draw_as_glow = true, animation_speed = 0.63, scale = 0.6 }, }, light = {intensity = 1, size = 15, color = {r=0.1, g=0.4, b=1}}, sound = nil, --med_explosion_sound, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 8, repeat_count_deviation = 4, probability = 0.1, particle_name = "stone-furnace-stone-particle-big", initial_height = 0.5, speed_from_center = 0.08, speed_from_center_deviation = 0.1, initial_vertical_speed = 0.08, initial_vertical_speed_deviation = 0.15, offset_deviation = { { -0.8984, -0.5 }, { 0.8984, 0.5 } } }, { type = "create-particle", repeat_count = 10, repeat_count_deviation = 5, probability = 0.3, particle_name = "pole-spark-particle", offset_deviation = { { -1.5, -2 }, { 1.5, 2 } }, initial_height = 1, initial_height_deviation = 2, initial_vertical_speed = 0.01, initial_vertical_speed_deviation = 0.05, speed_from_center = 0.15, speed_from_center_deviation = 0.15, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 64, tail_length_deviation = 69, tail_width = 2 }, { type = "create-particle", repeat_count = 10, repeat_count_deviation = 5, probability = 0.25, particle_name = "pole-spark-particle", offset_deviation = { { -0.25, -1 }, { 0.25, 1 } }, initial_height = 1, initial_height_deviation = 1, initial_vertical_speed = 0.05, initial_vertical_speed_deviation = 0.1, speed_from_center = 0.025, speed_from_center_deviation = 0.1, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 36, tail_length_deviation = 42, tail_width = 1 } }}} }, --------------------------------------------------------------------------------------- { type = "explosion", name = "blue-arc-big", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/arc-big.png", flags = { "compressed" }, width = 512, height = 512, frame_count = 1, line_length = 1, shift = {0, 0}, draw_as_glow = true, blend_mode = "additive", animation_speed = 0.25, scale = 0.4 }, { filename = "__gore__/graphics/weapons/arc-med.png", flags = { "compressed" }, width = 420, height = 420, frame_count = 1, line_length = 1, shift = {0, 0}, draw_as_glow = true, blend_mode = "additive", animation_speed = 0.25, scale = 0.5 } }, sound = electric_arc_sound, light = {intensity = 1, size = 12, color = {r=0.15, g=0.5, b=1}}, }, --------------------------------------------------------------------------------------- { type = "explosion", name = "blue-arc-small", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/arc1.png", flags = { "compressed" }, width = 128, height = 128, frame_count = 1, draw_as_glow = true, blend_mode = "additive", animation_speed = 0.25, scale = 0.45 }, { filename = "__gore__/graphics/weapons/arc2.png", flags = { "compressed" }, width = 128, height = 128, frame_count = 1, draw_as_glow = true, blend_mode = "additive", animation_speed = 0.25, scale = 0.44 }, { filename = "__gore__/graphics/weapons/arc3.png", flags = { "compressed" }, width = 128, height = 128, frame_count = 1, draw_as_glow = true, blend_mode = "additive", animation_speed = 0.25, scale = 0.42 } }, sound = electric_arc_sound, light = {intensity = 0.75, size = 8, color = {r=0.15, g=0.5, b=1}}, }, --------------------------------------------------------------------------------------- { type = "explosion", name = "blue-arc", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/arc1.png", flags = { "compressed" }, width = 128, height = 128, frame_count = 1, line_length = 1, shift = {0, 0}, draw_as_glow = true, blend_mode = "additive", animation_speed = 0.25, scale = 0.85 }, { filename = "__gore__/graphics/weapons/arc2.png", flags = { "compressed" }, width = 128, height = 128, frame_count = 1, line_length = 1, shift = {0, 0}, draw_as_glow = true, blend_mode = "additive", animation_speed = 0.25, scale = 0.85 }, { filename = "__gore__/graphics/weapons/arc3.png", flags = { "compressed" }, width = 128, height = 128, frame_count = 1, line_length = 1, shift = {0, 0}, draw_as_glow = true, blend_mode = "additive", animation_speed = 0.25, scale = 0.85 } }, sound = electric_arc_sound, light = {intensity = 1, size = 8, color = {r=0.15, g=0.5, b=1}}, }, --------------------------------------------------------------------------------------- { type = "explosion", name = "shockwave", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { filename = "__gore__/graphics/weapons/shockwave-med.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 20, line_length = 10, draw_as_glow = true, blend_mode = "additive-soft", animation_speed = 0.66, scale = 0.5 }, light = {intensity = 0.5, size = 6, color = {r=0.05, g=0.45, b=0.7}}, }, --------------------------------------------------------------------------------------- { type = "explosion", name = "green-exp", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { { filename = "__gore__/graphics/weapons/green-exp.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 32, line_length = 8, shift = {0, 0}, draw_as_glow = true, animation_speed = 0.66, scale = 0.6 }, { filename = "__gore__/graphics/weapons/green-exp-2.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 32, line_length = 8, shift = {0, 0}, draw_as_glow = true, animation_speed = 0.88, scale = 0.7 }, { filename = "__gore__/graphics/weapons/green-exp-med.png", flags = { "compressed" }, width = 256, height = 256, frame_count = 32, line_length = 8, shift = {0, 0}, draw_as_glow = true, animation_speed = 0.74, scale = 0.8 } }, light = {intensity = 1, size = 18, color = {r=0.2, g=1, b=0.1}}, sound = { variations = { { filename = "__gore__/sound/weapons/exp-big-1.ogg", volume = 0.7 }, { filename = "__gore__/sound/weapons/exp-big-2.ogg", volume = 0.7 }, { filename = "__gore__/sound/weapons/exp-big-3.ogg", volume = 0.7 }, { filename = "__gore__/sound/weapons/exp-big-4.ogg", volume = 0.7 }, { filename = "__gore__/sound/weapons/exp-big-5.ogg", volume = 0.7 }, { filename = "__gore__/sound/weapons/exp-big-6.ogg", volume = 0.7 } }, aggregation = { max_count = 1, remove = true, count_already_playing = false }, audible_distance_modifier = 1.25 }, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 5, repeat_count_deviation = 4, probability = 0.42, particle_name = "stone-furnace-stone-particle-big", initial_height = 0.5, speed_from_center = 0.08, speed_from_center_deviation = 0.1, initial_vertical_speed = 0.08, initial_vertical_speed_deviation = 0.15, offset_deviation = { { -0.8984, -0.5 }, { 0.8984, 0.5 } } }, { type = "create-particle", repeat_count = 14, repeat_count_deviation = 7, probability = 1, particle_name = "spark-green", offset_deviation = { { -0.25, -1 }, { 0.25, 1 } }, initial_height = 1, initial_height_deviation = 2, initial_vertical_speed = 0.0, initial_vertical_speed_deviation = 0, speed_from_center = 0.15, speed_from_center_deviation = 0.1, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 36, tail_length_deviation = 25, tail_width = 1 }, { type = "create-particle", repeat_count = 10, repeat_count_deviation = 20, probability = 1, particle_name = "explosion-stone-particle-medium", offset_deviation = { { -0.5, -0.5 }, { 0.5, 0.5 } }, initial_height = 0.25, initial_height_deviation = 0.5, initial_vertical_speed = 0.075, initial_vertical_speed_deviation = 0.15, speed_from_center = 0.075, speed_from_center_deviation = 0.25 }}}} }, --------------------------------------------------------------------------------------- { type = "explosion", name = "radio-exp", icon = "__base__/graphics/item-group/effects.png", icon_size = 64, flags = {"not-on-map"}, subgroup = "explosions", animations = { filename = "__gore__/graphics/weapons/radio-exp.png", flags = { "compressed" }, width = 300, height = 300, frame_count = 47, line_length = 8, shift = {0.1875, -0.75}, draw_as_glow = true, animation_speed = 0.5, scale = 1.2 }, sound = med_explosion_sound, created_effect = { type = "direct", action_delivery = { type = "instant", target_effects = { { type = "create-particle", repeat_count = 6, repeat_count_deviation = 12, probability = 1, particle_name = "stone-furnace-stone-particle-big", initial_height = 0.5, speed_from_center = 0.08, speed_from_center_deviation = 0.1, initial_vertical_speed = 0.08, initial_vertical_speed_deviation = 0.15, offset_deviation = { { -0.8984, -0.5 }, { 0.8984, 0.5 } } }, { type = "create-particle", repeat_count = 15, repeat_count_deviation = 10, probability = 1, particle_name = "spark-particle", tint = { r = 0.35, g = 1, b = 0.1, a = 1}, offset_deviation = { { -1.5, -2 }, { 1.5, 2 } }, initial_height = 1, initial_height_deviation = 2, initial_vertical_speed = 0.05, initial_vertical_speed_deviation = 0.1, speed_from_center = 0.1, speed_from_center_deviation = 0.2, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 64, tail_length_deviation = 69, tail_width = 2 }, { type = "create-particle", repeat_count = 20, repeat_count_deviation = 5, probability = 1, particle_name = "spark-particle", tint = { r = 0.35, g = 1, b = 0.1, a = 1}, offset_deviation = { { -0.25, -1 }, { 0.25, 1 } }, initial_height = 1, initial_height_deviation = 1, initial_vertical_speed = 0.05, initial_vertical_speed_deviation = 0.1, speed_from_center = 0.05, speed_from_center_deviation = 0.1, frame_speed = 0.01, frame_speed_deviation = 0, tail_length = 36, tail_length_deviation = 42, tail_width = 1 }, { type = "create-particle", repeat_count = 10, repeat_count_deviation = 20, probability = 1, particle_name = "explosion-stone-particle-medium", offset_deviation = { { -0.5, -0.5 }, { 0.5, 0.5 } }, initial_height = 0.25, initial_height_deviation = 0.5, initial_vertical_speed = 0.075, initial_vertical_speed_deviation = 0.15, speed_from_center = 0.075, speed_from_center_deviation = 0.25 } }}}} })