diff --git a/init.lua b/init.lua index e1a03cb..ceb8052 100644 --- a/init.lua +++ b/init.lua @@ -34,6 +34,9 @@ else dofile(MP.."/basis/consumer.lua") -- consumer base model dofile(MP.."/basis/firebox_lib.lua") -- common firebox functions + -- Overrides + dofile(MP.."/overrides/signs_bot.lua") + -- Tools dofile(MP.."/tools/trowel.lua") dofile(MP.."/tools/repairkit.lua") diff --git a/mod.conf b/mod.conf index f85cd5e..90496f6 100644 --- a/mod.conf +++ b/mod.conf @@ -1,4 +1,4 @@ name = techage depends = default,tubelib2,basic_materials,bucket -optional_depends = unified_inventory,wielded_light +optional_depends = unified_inventory,wielded_light,signs_bot description = Hello World! \ No newline at end of file diff --git a/overrides/signs_bot.lua b/overrides/signs_bot.lua new file mode 100644 index 0000000..d38876a --- /dev/null +++ b/overrides/signs_bot.lua @@ -0,0 +1,10 @@ +if minetest.global_exists("signs_bot") then + minetest.register_craft({ + output = "signs_bot:box", + recipe = { + {"default:steel_ingot", "group:wood", "default:steel_ingot"}, + {"basic_materials:motor", "techage:wlanchip", "basic_materials:gear_steel"}, + {"default:tin_ingot", "", "default:tin_ingot"} + } + }) +end