BIG LIGHT

by Ritn

Change light size from 1x to 5x (default: 3x) - Trainstop - Electric mining drill - Power switch - Rail signal & rail chain signal (from 1x to 3x [default: 2]) ----- Change la taille de la lumière de 1x à 5x (par défaut : 3x) - Arrêt de train - Foreuse électrique - Commutateur d'alimentation électrique - Signaux ferroviaires (de 1x à 3x [par défaut : 2])

Utilities
2 months ago
1.1 - 2.0
7.30K

i bob mods

2 years ago

hi support for bob mods is not planned?
when working with bob mining - error https://mods.factorio.com/mod/bobmining
Failed to load the following mods: __BigLight__lualib/mining-driIl/bigLight.lua3: attempt to index local 'LuaEntityProtorype' (a nil value) stack traceback:
__BigLight__lualib/mining-driIl/bigLight.lua3: in function 'electric_mining_drill'
__BigLight__lualib/data-updates.lua:47: in main chunk

2 years ago

Hm... Looking at some of the code, it feels like the mod should try to be a bit more opportunistic and less static in processing some of the mining drills etc.

When fetching optional prototype settings, it should carry-out checks on whether something is nil or not - this way it could apply changes if it can, otherwise just skip over an entity.

Looking at some of Krastorio-specific code, it would be better to try to iterate over the working_visualizations and try to match against the draw_as_light = true instead of hard-coding the index.

@Ritn Are you still active with this mod, would you accept patches on Github? :)

1 year, 9 months ago

Hello,
I just realized that I was unsubscribed from all the discussion threads of my own mods.
Sorry for the delay.
I will look into it to see what I can do.

@azaghal, yes if you have any fixes to suggest on Github, it could help me, no problem.

Thank you.

1 year, 9 months ago

@Ritn Can't guarantee anything, but I might have a look at this if I get some time - I've started working a bit more on Factorio mods in the last couple of weeks again :)

1 year, 9 months ago

Actually, I don't have this loading error on my side.
I would need the list of loaded mods.

1 year, 9 months ago

Hm... I think the original poster might need to provide that list - I can't recall if I had any issues back then or if it was just a drive-by comment from me. :/

New response