realtest_mt5/mods/concrete/init.lua

47 lines
1.5 KiB
Lua
Raw Normal View History

2020-03-30 22:41:58 +02:00
minetest.register_node("concrete:concrete_block", {
description = "Solid Concrete Block",
drawtype = "normal",
tiles = {"concrete_block.png"},
paramtype = "light",
drop = "concrete:concrete_block",
groups = {cracky=1},
2020-03-31 17:17:59 +02:00
sounds = default.node_sound_stone_defaults(),
2020-03-30 22:41:58 +02:00
})
realtest.register_stair("concrete:concrete_block",nil,nil,nil,
"Concrete Block Stair",nil,nil)
realtest.register_slab("concrete:concrete_block",nil,nil,nil,
"Concrete Block Slab",nil,nil)
minetest.register_node("concrete:concrete_stripe", {
description = "Solid Concrete Block with Warning Stripes",
drawtype = "normal",
tiles = {"concrete_block.png",
"concrete_block.png",
"concrete_block.png^concrete_stripe.png"},
paramtype = "light",
drop = "concrete:concrete_stripe",
groups = {cracky=1},
2020-03-31 17:17:59 +02:00
sounds = default.node_sound_stone_defaults(),
2020-03-30 22:41:58 +02:00
})
realtest.register_stair("concrete:concrete_stripe",nil,nil,nil,
"Concrete Block with Warning Stripes Stair",nil,nil)
realtest.register_slab("concrete:concrete_stripe",nil,nil,nil,
"Concrete Block with Warning Stripes Slab",nil,nil)
minetest.register_craft({
output = "concrete:concrete_block 5",
recipe = {
{"default:stone", "metals:steel_ingot", "default:stone"},
{"metals:steel_ingot","default:stone","metals:steel_ingot"},
{"default:stone","metals:steel_ingot","default:stone"},
}
})
minetest.register_craft({
type = 'shapeless',
output = 'concrete:concrete_stripe',
recipe = {'dye:yellow', 'dye:black', 'concrete:concrete_block'},
})