shovel - cleaup and recipe
parent
80fe72feb0
commit
a82d4b76e9
15
init.lua
15
init.lua
|
@ -479,7 +479,7 @@ minetest.register_tool("obsidianmese:shovel", {
|
|||
-- dirt path
|
||||
if under.name == "default:dirt" and
|
||||
under.name ~= "obsidianmese:dirt_path" then
|
||||
print("set_node DIRT path")
|
||||
-- print("set_node DIRT path")
|
||||
minetest.set_node(pt.under, {name = "obsidianmese:path_dirt"})
|
||||
|
||||
-- grass path
|
||||
|
@ -490,7 +490,7 @@ minetest.register_tool("obsidianmese:shovel", {
|
|||
under.name == "default:dirt_with_snow" or
|
||||
under.name == "default:dirt_with_rainforest_litter") and
|
||||
under.name ~= "obsidianmese:grass_path" then
|
||||
print("set_node GRASS path")
|
||||
-- print("set_node GRASS path")
|
||||
minetest.set_node(pt.under, {name = "obsidianmese:path_grass"})
|
||||
|
||||
-- sand path
|
||||
|
@ -498,7 +498,7 @@ minetest.register_tool("obsidianmese:shovel", {
|
|||
under.name == "default:desert_sand" or
|
||||
under.name == "default:silver_sand") and
|
||||
under.name ~= "obsidianmese:sand_path" then
|
||||
print("set_node SAND path")
|
||||
-- print("set_node SAND path")
|
||||
minetest.set_node(pt.under, {name = "obsidianmese:path_sand"})
|
||||
|
||||
else
|
||||
|
@ -606,6 +606,15 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "obsidianmese:shovel",
|
||||
recipe = {
|
||||
{"default:mese_crystal"},
|
||||
{"default:obsidian_shard"},
|
||||
{"default:obsidian_shard"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "obsidianmese:pick_engraved",
|
||||
recipe = {
|
||||
|
|
Loading…
Reference in New Issue