Caves


Adds a cave system to the game that contains the resources instead of the normal surface.

Content
6 years ago
0.15
19
Mining

g Bugs

6 years ago

Error while running the on_init: LuaSurface doesn't contain key freeze_daytime.
stack traceback:
Caves/control.lua:70: in function 'init_globals'
Caves/control.lua:75: in function <Caves/control.lua:74>

runing only this mod

6 years ago
(updated 6 years ago)

it seems like freeze_daytime was changed from a function to a property in 0.15.13, could it be that your version is below that?
if so, updating factorio would fix that.
i didn't realize the api changed; i will have to change the mod info so that it requires the right version
(i am currently running 0.15.26)

6 years ago
6 years ago

I think the "{e.area, type= "resource"}" bug was causing some stuttering as well, changing it to "{area = e.area, type= "resource"}" seems to result in a smoother game. Makes sense since it doesn't have to scan the entire surface each time anymore.

6 years ago

thanks for pointing that bug out, i fixed it in 0.1.5

New response