Realistic Flashlight Fixed


More realistic flashlight patterns and some new configuration options

Tweaks
10 months ago
2.0
2.65K

b Crashes on launch

1 year, 3 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

1 year, 3 months ago

Same issue here.

a year ago

+1

11 months ago

+1

10 months ago

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

10 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

10 months ago

Both enabled is enough to cause the crash upon load

10 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.

10 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

10 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