From dc9a5d148e6ce6a23353e8032ae36127edd55a99 Mon Sep 17 00:00:00 2001 From: TheOnlyJoeEnderman Date: Wed, 23 Nov 2022 02:56:33 +0000 Subject: [PATCH] add init file --- init.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 init.lua diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..3876a01 --- /dev/null +++ b/init.lua @@ -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")