mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
Merge pull request #25 from farribeiro/repair
Change to core namespace in repair code
This commit is contained in:
commit
2137bd55b4
1 changed files with 2 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
||||||
local S = airutils.S
|
local S = airutils.S
|
||||||
|
|
||||||
-- trike repair
|
-- trike repair
|
||||||
minetest.register_craftitem("airutils:repair_tool",{
|
core.register_craftitem("airutils:repair_tool",{
|
||||||
description = S("Repair Tool"),
|
description = S("Repair Tool"),
|
||||||
inventory_image = "airutils_repair_tool.png",
|
inventory_image = "airutils_repair_tool.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
core.register_craft({
|
||||||
output = "airutils:repair_tool",
|
output = "airutils:repair_tool",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "default:steel_ingot", ""},
|
{"", "default:steel_ingot", ""},
|
||||||
|
@ -14,4 +14,3 @@ minetest.register_craft({
|
||||||
{"default:steel_ingot", "", "default:steel_ingot"},
|
{"default:steel_ingot", "", "default:steel_ingot"},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue