Realistic Flashlight Fixed


More realistic flashlight patterns and some new configuration options

Tweaks
2 months ago
2.0
1.82K

b Crashes on launch

7 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

7 months ago

Same issue here.

4 months ago

+1

3 months ago

+1

2 months ago

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

2 months 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

2 months ago

Both enabled is enough to cause the crash upon load

2 months 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.

2 months 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

2 months 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