I try by code, but I no have idea about of the funtion create, in the space age
Error al cargar el mod: robotarmy/prototypes/entity.lua:21: attempt to call field 'create' (a nil value)
stack traceback:
robotarmy/prototypes/entity.lua:21: in main chunk
[C]: in function 'require'
robotarmy/data.lua:5: in main chunk
line 21:
circuit_connector_definitions["loot_box"] = circuit_connector_definitions.create
(
universal_connector_template,
{
{
variation = 18,
main_offset = util.by_pixel(2.5, 18.0),
shadow_offset = util.by_pixel(2.0, 18.0),
show_shadow = false
}
}
)
Any prompt for the version 2.0 in change by the code, thanks