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
circuit_connector_definitions and led_light_offset
-
- Long Handed Inserter
- Posts: 92
- Joined: Sun Jun 18, 2017 2:21 pm
- Contact:
-
- Long Handed Inserter
- Posts: 92
- Joined: Sun Jun 18, 2017 2:21 pm
- Contact:
Re: circuit_connector_definitions and led_light_offset
thanks a ton, this is going to be very useful
this is the problem;
["fast-inserter"] = {
circuit_connector_sprites = nil,
-cheers![Wink ;)](./images/smilies/icon_e_wink.gif)
this is the problem;
["fast-inserter"] = {
circuit_connector_sprites = nil,
-cheers
![Wink ;)](./images/smilies/icon_e_wink.gif)
Re: circuit_connector_definitions and led_light_offset
circuit_connector_sprites are an array of https://wiki.factorio.com/Types/CircuitConnectorSprites.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.