repair tool added
This commit is contained in:
parent
d186cdfa4c
commit
6979cbe027
17
airutils_repair.lua
Normal file
17
airutils_repair.lua
Normal 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"},
|
||||
},
|
||||
})
|
||||
|
1
init.lua
1
init.lua
@ -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)
|
||||
|
BIN
textures/airutils_repair_tool.png
Normal file
BIN
textures/airutils_repair_tool.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
Loading…
x
Reference in New Issue
Block a user