added dirt path slabs

This commit is contained in:
kaadmy 2015-10-23 12:19:57 -07:00
parent 2f39603ec8
commit 371ec2a65e
2 changed files with 27 additions and 4 deletions

View File

@ -279,7 +279,7 @@ minetest.register_craft(
minetest.register_craft(
{
output = "default:dirt_path 4",
output = "default:dirt_path 8",
recipe = {
{"default:dirt", "default:dirt", "default:dirt"},
{"default:gravel", "default:gravel", "default:gravel"},
@ -289,11 +289,18 @@ minetest.register_craft(
minetest.register_craft(
{
output = "default:heated_dirt_path 8",
output = "default:path_slab 3",
recipe = {
{"default:ingot_steel", "default:dirt_path", "default:ingot_steel"},
{"default:dirt_path", "default:dirt_path", "default:dirt_path"},
{"default:gravel", "default:gravel", "default:gravel"},
}
})
minetest.register_craft(
{
output = "default:heated_dirt_path",
recipe = {
{"default:dirt_path"},
{"default:ingot_steel"},
}
})

View File

@ -233,6 +233,22 @@ minetest.register_node(
sounds = default.node_sound_dirt_defaults(),
})
minetest.register_node(
"default:path_slab",
{
description = "Dirt Path Slab",
drawtype = "nodebox",
paramtype = "light",
node_box = {
type = "fixed",
fixed = {-0.5, -0.5 - (2/16), -0.5, 0.5, 2/16, 0.5}
},
tiles ={"default_dirt.png"},
groups = {crumbly=3, fall_damage_add_percent=-10},
is_ground_content = true,
sounds = default.node_sound_dirt_defaults(),
})
minetest.register_node(
"default:heated_dirt_path",
{