Realistic Flashlight Fixed


More realistic flashlight patterns and some new configuration options

Tweaks
30 days ago
2.0
1.65K

b Crashes on launch

6 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

a month ago

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

a month 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

a month ago

Both enabled is enough to cause the crash upon load

a month 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.

30 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

22 days ago

Wow this is probably one of the first times I've seen few people ask a question that went unanswered by the actual developer but got answered by one of the users!

New response