Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey I'm having this issue trying to open a chest in a forest on the third island, every time I try I get this error


Error

overworld/events/hell_opens.lua:8: bad argument #1 to 'next' (table expected, got nil)

Traceback

[love "callbacks.lua"]:228: in function 'handler'

[C]: in function 'next'

overworld/events/hell_opens.lua:8: in function 'event'

overworldview.lua:863: in function 'update'

main.lua:113: in function 'update'

[love "callbacks.lua"]:162: in function <[love "callbacks.lua"]:144>

[C]: in function 'xpcall'

(+1)

So after looking through the logic of how that could have happened, you must have gotten to a forest, had an event that wasn't the hell opens event, then entered the forest.

I'll add a clause preventing it from happening in subworlds. In the meantime a workaround is to avoid level 4+ nodes in subworlds until the hell opens event has actually happened. Hopefully you can either get through or get to another place where it's safe to trigger it.