diff --git a/docs/game_data/spel2.lua b/docs/game_data/spel2.lua index 1c06048ca..3d4dc4ed3 100644 --- a/docs/game_data/spel2.lua +++ b/docs/game_data/spel2.lua @@ -40,6 +40,11 @@ exports = nil ---@type Json json = nil +io.open_data = io.open +io.open_mod = io.open +os.remove_data = os.remove +os.remove_mod = os.remove + -- Functions diff --git a/docs/generate_emmylua.py b/docs/generate_emmylua.py index 16bebb248..665ea88df 100644 --- a/docs/generate_emmylua.py +++ b/docs/generate_emmylua.py @@ -227,6 +227,11 @@ def main(): ---@field encode fun(tbl: table): string @Encode a table into a json string ---@type Json json = nil + +io.open_data = io.open +io.open_mod = io.open +os.remove_data = os.remove +os.remove_mod = os.remove """) print("\n-- Functions\n")