Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- type = "furnace",
- name = "test-electric-furnace",
- icon = "__base__/graphics/icons/electric-furnace.png",
- flags = {"placeable-neutral", "placeable-player", "player-creation"},
- minable = {mining_time = 1, result = "test-electric-furnace"},
- max_health = 350,
- corpse = "big-remnants",
- dying_explosion = "medium-explosion",
- light = {intensity = 1, size = 10},
- resistances =
- {
- {
- type = "fire",
- percent = 80
- }
- },
- fluid_boxes =
- {
- {
- production_type = "input",
- pipe_picture = assembler2pipepictures(),
- pipe_covers = pipecoverspictures(),
- base_area = 10,
- base_level = -1,
- pipe_connections = {{ type="input", position = {0, -2} }},
- secondary_draw_orders = { north = -1 }
- },
- {
- production_type = "output",
- pipe_picture = assembler2pipepictures(),
- pipe_covers = pipecoverspictures(),
- base_area = 10,
- base_level = 1,
- pipe_connections = {{ type="output", position = {-1, 2} }},
- secondary_draw_orders = { north = -1 }
- },
- {
- production_type = "output",
- pipe_picture = assembler2pipepictures(),
- pipe_covers = pipecoverspictures(),
- base_area = 10,
- base_level = 1,
- pipe_connections = {{ type="output", position = {1, 2} }},
- secondary_draw_orders = { north = -1 }
- },
- off_when_no_fluid_recipe = false
- },
- collision_box = {{-1.2, -1.2}, {1.2, 1.2}},
- selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
- module_specification =
- {
- module_slots = 2,
- module_info_icon_shift = {0, 0.8}
- },
- allowed_effects = {"consumption", "speed", "productivity", "pollution"},
- crafting_categories = {"smelting"},
- result_inventory_size = 1,
- crafting_speed = 2,
- energy_usage = "180kW",
- source_inventory_size = 1,
- target_temperature = 350,
- energy_source =
- {
- type = "heat",
- max_temperature = 350,
- specific_heat = "1MJ",
- max_transfer = "2GW",
- connections =
- {
- {
- position = {0, -1},
- direction = defines.direction.north
- },
- {
- position = {1, 0},
- direction = defines.direction.east
- },
- {
- position = {0, 1},
- direction = defines.direction.south
- },
- {
- position = {-1, 0},
- direction = defines.direction.west
- },
- },
- pipe_covers =
- make_4way_animation_from_spritesheet(
- {
- filename = "__base__/graphics/entity/heat-exchanger/heatex-endings.png",
- line_length = 4,
- width = 32,
- height = 32,
- direction_count = 4,
- hr_version = {
- filename = "__base__/graphics/entity/heat-exchanger/hr-heatex-endings.png",
- line_length = 4,
- width = 64,
- height = 64,
- direction_count = 4,
- scale = 0.5
- }
- })
- },
- vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
- working_sound =
- {
- sound =
- {
- filename = "__base__/sound/electric-furnace.ogg",
- volume = 0.7
- },
- apparent_volume = 1.5
- },
- animation =
- {
- layers = {
- {
- filename = "__base__/graphics/entity/electric-furnace/electric-furnace-base.png",
- priority = "high",
- width = 129,
- height = 100,
- frame_count = 1,
- shift = {0.421875, 0},
- hr_version = {
- filename = "__base__/graphics/entity/electric-furnace/hr-electric-furnace.png",
- priority = "high",
- width = 239,
- height = 219,
- frame_count = 1,
- shift = util.by_pixel(0.75, 5.75),
- scale = 0.5
- }
- },
- {
- filename = "__base__/graphics/entity/electric-furnace/electric-furnace-shadow.png",
- priority = "high",
- width = 129,
- height = 100,
- frame_count = 1,
- shift = {0.421875, 0},
- draw_as_shadow = true,
- hr_version = {
- filename = "__base__/graphics/entity/electric-furnace/hr-electric-furnace-shadow.png",
- priority = "high",
- width = 227,
- height = 171,
- frame_count = 1,
- draw_as_shadow = true,
- shift = util.by_pixel(11.25, 7.75),
- scale = 0.5
- }
- }
- }
- },
- working_visualisations =
- {
- {
- animation =
- {
- filename = "__base__/graphics/entity/electric-furnace/electric-furnace-heater.png",
- priority = "high",
- width = 25,
- height = 15,
- frame_count = 12,
- animation_speed = 0.5,
- shift = {0.015625, 0.890625},
- hr_version = {
- filename = "__base__/graphics/entity/electric-furnace/hr-electric-furnace-heater.png",
- priority = "high",
- width = 60,
- height = 56,
- frame_count = 12,
- animation_speed = 0.5,
- shift = util.by_pixel(1.75, 32.75),
- scale = 0.5
- }
- },
- light = {intensity = 0.4, size = 6, shift = {0.0, 1.0}, color = {r = 1.0, g = 1.0, b = 1.0}}
- },
- {
- animation =
- {
- filename = "__base__/graphics/entity/electric-furnace/electric-furnace-propeller-1.png",
- priority = "high",
- width = 19,
- height = 13,
- frame_count = 4,
- animation_speed = 0.5,
- shift = {-0.671875, -0.640625},
- hr_version = {
- filename = "__base__/graphics/entity/electric-furnace/hr-electric-furnace-propeller-1.png",
- priority = "high",
- width = 37,
- height = 25,
- frame_count = 4,
- animation_speed = 0.5,
- shift = util.by_pixel(-20.5, -18.5),
- scale = 0.5
- }
- }
- },
- {
- animation =
- {
- filename = "__base__/graphics/entity/electric-furnace/electric-furnace-propeller-2.png",
- priority = "high",
- width = 12,
- height = 9,
- frame_count = 4,
- animation_speed = 0.5,
- shift = {0.0625, -1.234375},
- hr_version = {
- filename = "__base__/graphics/entity/electric-furnace/hr-electric-furnace-propeller-2.png",
- priority = "high",
- width = 23,
- height = 15,
- frame_count = 4,
- animation_speed = 0.5,
- shift = util.by_pixel(3.5, -38),
- scale = 0.5
- }
- }
- }
- },
- fast_replaceable_group = "furnace"
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement