Code: Select all
data:extend(
{
-- Assembling Machine 2 PLUS
{
type = "item",
name = "assembling-machine-2-plus",
flags = {"goes-to-quickbar"},
icon = "__base__/graphics/icons/assembling-machine-2.png",
order = "i[assembling-machine-2-plus]",
place_result = "assembling-machine-2-plus",
stack_size = 50,
subgroup = "production-machine",
},
{
type = "assembling-machine",
name = "assembling-machine-2-plus",
icon = "__base__/graphics/icons/assembling-machine-2.png",
flags = {"placeable-neutral", "placeable-player", "player-creation"},
crafting_categories = {"crafting", "advanced-crafting", "crafting-with-fluid"},
crafting_speed = 1.0,
ingredient_count = 4,
energy_usage = "150kW",
energy_source = {
emissions = 0.016000000000000001,
type = "electric",
usage_priority = "secondary-input"
},
max_health = 300,
corpse = "big-remnants",
dying_explosion = "medium-explosion",
resistances = {
{
percent = 70,
type = "fire"
}
},
minable = {
hardness = 0.2,
mining_time = 0.5,
result = "assembling-machine-2-plus"
},
collision_box = {{-1.2, -1.2}, {1.2, 1.2}},
selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
fast_replaceable_group = "assembling-machine",
animation = {
filename = "__base__/graphics/entity/assembling-machine-2/assembling-machine-2.png",
priority = "high",
frame_count = 32,
height = 114,
width = 108,
line_length = 8,
shift = {0, 0.0625},
},
open_sound = {
filename = "__base__/sound/machine-open.ogg", volume = 0.85 },
close_sound = {
filename = "__base__/sound/machine-close.ogg", volume = 0.75 },
working_sound = {
sound = {
{
filename = "__base__/sound/assembling-machine-t2-1.ogg",
volume = 0.8
},
{
filename = "__base__/sound/assembling-machine-t2-2.ogg",
volume = 0.8
},
},
idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
apparent_volume = 1.5,
}
},
fluid_boxes = {
{
production_type = "input",
pipe_picture = assembler2pipepictures(),
pipe_covers = pipecoverspictures(),
base_area = 10,
base_level = -1,
pipe_connections = {{ type="input", position = {0, -2} }}
},
{
production_type = "output",
pipe_picture = assembler2pipepictures(),
pipe_covers = pipecoverspictures(),
base_area = 10,
base_level = 1,
pipe_connections = {{ type="output", position = {0, 2} }}
},
off_when_no_fluid_recipe = true
},
module_specification = {
module_slots = 2
},
allowed_effects = {
"consumption",
"speed",
"productivity",
"pollution"
},
{
type = "recipe",
name = "assembling-machine-2-plus",
enabled = "true",
ingredients =
{
{"iron-plate", 10},
},
result = "assembling-machine-2-plus"
},
}
)