circuit_connector_definitions and led_light_offset
Posted: Sun Nov 25, 2018 9:02 pm
hi. i am having hard time finding where this entry got moved... it doesn't look like it is still within the sprites table, its part of the return of make_circuit_connector_sprites, but i am not sure where exactly that gets assigned to....
i tried;
local sprite = table.deepcopy(circuit_connector_definitions["inserter"].sprites)
sprite.blue_led_light_offset[1] = sprite.blue_led_light_offset[1] + dx
but that entry doesn't exists. any help would be appreciated, since i am lost withing the demo-circuit-connector-sprites.lua
edit; i think i narrowed my problem whch is correctly implementing
require ("circuit-connector-sprites")
from my entities.lua
edit 2;
local sprite = table.deepcopy(data.raw["inserter"]["fast-inserter"].circuit_connector_sprites)
doesn't work neither
i tried;
local sprite = table.deepcopy(circuit_connector_definitions["inserter"].sprites)
sprite.blue_led_light_offset[1] = sprite.blue_led_light_offset[1] + dx
but that entry doesn't exists. any help would be appreciated, since i am lost withing the demo-circuit-connector-sprites.lua
edit; i think i narrowed my problem whch is correctly implementing
require ("circuit-connector-sprites")
from my entities.lua
edit 2;
local sprite = table.deepcopy(data.raw["inserter"]["fast-inserter"].circuit_connector_sprites)
doesn't work neither