core -> minetest and fix some formating/style (#16)

Co-authored-by: Sheriff_U3 <sheriff_u3@noreply.codeberg.org>
This commit is contained in:
Sheriff_U3
2026-06-28 19:12:30 -05:00
committed by GitHub
parent 6d3e303c9a
commit 33f7331eb9
8 changed files with 69 additions and 64 deletions
+2 -6
View File
@@ -1,14 +1,10 @@
spacesuit = {
armor_use = tonumber(minetest.settings:get("spacesuit.armor_use")) or 70,
armor_use = tonumber(core.settings:get("spacesuit.armor_use")) or 70,
}
local MP = minetest.get_modpath("spacesuit")
local MP = core.get_modpath("spacesuit")
dofile(MP.."/suit.lua")
dofile(MP.."/crafts.lua")
dofile(MP.."/hud.lua")
dofile(MP.."/drowning.lua")
print("[OK] Spacesuit")