repair tool added

This commit is contained in:
Alexsandro Percy 2021-12-12 11:24:42 -03:00
parent d186cdfa4c
commit 6979cbe027
3 changed files with 18 additions and 0 deletions

17
airutils_repair.lua Normal file
View File

@ -0,0 +1,17 @@
local S = minetest.get_translator("airutils")
-- trike repair
minetest.register_craftitem("airutils:repair_tool",{
description = "Repair Tool",
inventory_image = "airutils_repair_tool.png",
})
minetest.register_craft({
output = "airutils:repair_tool",
recipe = {
{"", "default:steel_ingot", ""},
{"", "default:steel_ingot", ""},
{"default:steel_ingot", "", "default:steel_ingot"},
},
})

View File

@ -4,6 +4,7 @@ airutils = {}
dofile(minetest.get_modpath("airutils") .. DIR_DELIM .. "airutils_papi.lua")
dofile(minetest.get_modpath("airutils") .. DIR_DELIM .. "airutils_tug.lua")
dofile(minetest.get_modpath("airutils") .. DIR_DELIM .. "airutils_repair.lua")
function airutils.remove(pos)
local meta = core.get_meta(pos)

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB