Finish cave generation refactor #1

Merged
Bram merged 6 commits from refactor-end into main 2024-04-30 15:15:05 +00:00

6 Commits (main)

Author SHA1 Message Date
Bram van den Heuvel 2809346af8 Prevent cave generation in the air 2024-04-29 18:26:59 +02:00
Bram van den Heuvel d111364b0f Bug fixes 2024-04-29 18:19:23 +02:00
Bram van den Heuvel 588ed956b1 Clean timer code 2024-04-29 18:08:37 +02:00
Bram van den Heuvel 851cb19cd2 Finish initial refactor design 2024-04-29 17:33:46 +02:00
Bram van den Heuvel 78fea8405c Add timer module 2024-04-29 17:31:03 +02:00
Bram van den Heuvel 7b29f68ffa Move initial parts over to init.lua
Since `dofile` is a global variable, it cannot be securely trusted for imports.

Additionally, I learnt recently that local functions can be referenced more clearly in a file by adding them as methods to a local table.

https://social.noordstar.me/notes/9sfk6273ao
2024-04-29 12:27:39 +02:00