From bdd13beeff5045a34042439e39620b9ca550b214 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> Date: Tue, 27 Nov 2018 21:24:52 +0100 Subject: [PATCH] fix brass block->ingot recipe (clearing basic_materials' copper/silver recipe killed this one also) --- technic/init.lua | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/technic/init.lua b/technic/init.lua index 70ad848..0d97319 100644 --- a/technic/init.lua +++ b/technic/init.lua @@ -5,7 +5,7 @@ local load_start = os.clock() technic = rawget(_G, "technic") or {} -technic.creative_mode = minetest.setting_getbool("creative_mode") +technic.creative_mode = minetest.settings:get_bool("creative_mode") local modpath = minetest.get_modpath("technic") @@ -35,6 +35,9 @@ -- Register functions dofile(modpath.."/register.lua") +-- Radiation +dofile(modpath.."/radiation.lua") + -- Machines dofile(modpath.."/machines/init.lua") @@ -44,7 +47,7 @@ -- Aliases for legacy node/item names dofile(modpath.."/legacy.lua") -if minetest.setting_getbool("log_mods") then +if minetest.settings:get_bool("log_mods") then print(S("[Technic] Loaded in %f seconds"):format(os.clock() - load_start)) end -- Gitblit v1.8.0