Anyway, when I tried to use this function on my object which is assembling-machine, and then.. nothing happens. Command lines looks like (for example):
Code: Select all
{
type = "assembling-machine",
name = "example_object",
icon = "icon.png",
icon_size = 64, icon_mipmaps = 4,
flags = {"placeable-neutral", "placeable-player", "player-creation"},
minable = {mining_time = 0.5, result = "example_object"},
max_health = 300,
corpse = "object-remnants",
dying_explosion = "object-explosion",
working_sound =
{
sound =
{
{
filename = "__base__/sound/object.ogg",
volume = 0.46
}
},
max_sounds_per_type = 4,
audible_distance_modifier = 0.37,
fade_in_ticks = 4,
fade_out_ticks = 20
},
resistances =
{
{
type = "fire",
percent = 100
}
},
collision_box = {{-2, -2}, {2, 2}},
selection_box = {{-2, -2}, {2, 2}},
crafting_speed = 1,
source_inventory_size = 0,
energy_source =
{
type = "void",
},
--I tried use this command here:
-----------------------------------------------------------
integration_patch_render_layer = "transport-belt",
-----------------------------------------------------------
and_all_that_animation_section = {
--or here
-----------------------------------------------------------
integration_patch_render_layer = "transport-belt",
-----------------------------------------------------------
}
}
So.. am I understand something wrong with inherit this function, or maybe it work different than I expect? Or am I stupid..??
Anyway, I hope someone understand it better than me and explain where am I doing bad.