add init file

This commit is contained in:
TheOnlyJoeEnderman 2022-11-23 02:56:33 +00:00
parent 2f565d27ea
commit dc9a5d148e
1 changed files with 20 additions and 0 deletions

20
init.lua Normal file
View File

@ -0,0 +1,20 @@
-- Minetest 5.0 mod: too many stones
-- See README.txt for licensing and other information.
-- Load support for MT game translation.
local S = minetest.get_translator("too_many_stones")
-- Definitions made by this mod that other mods can use too
too_many_stones = {}
default.LIGHT_MAX = 14
default.get_translator = S
-- Load files
local default_path = minetest.get_modpath("too_many_stones")
dofile(default_path.."/nodes.lua")
dofile(default_path.."/crafting.lua")
dofile(default_path.."/mapgen.lua")
dofile(default_path.."/wall.lua")
dofile(default_path.."/stairs.lua")