Realistic Flashlight Fixed


More realistic flashlight patterns and some new configuration options

Tweaks
7 days ago
2.0
1.50K

b Crashes on launch

5 months ago

Can't really understand which mod is causing it though.

Failed to load mods: ...istic-flashlight-fixed__/script/realistic-flashlight.lua:93: attempt to index field 'graphics_set' (a nil value)
stack traceback:
...istic-flashlight-fixed__/script/realistic-flashlight.lua:93: in main chunk
[C]: in function 'require'
realistic-flashlight-fixed/data.lua:2: in main chunk

5 months ago

Same issue here.

2 months ago

+1

a month ago

+1

15 days ago

For me this happens when combining with https://mods.factorio.com/mod/radar-equipment

14 days ago

But when you are using it or if you just have both enabled? Cause I have it too and it might be the fix

14 days ago

Both enabled is enough to cause the crash upon load

13 days ago

This crash is because on that line the code for Realisitic Flashlight assumes spidertron.graphics_set exists, while it's actually optional (docs). This means this mod will crash with any other mod which creates invisible spiders.

8 days ago

I honestly completely forgot I even made this and noticed it on my github randomly lol, I'll see if I can fix it, thanks for the lead stringweasel

New response