added clay to the lot

master
maikerumine 2016-03-31 19:25:11 -04:00
parent 503232b154
commit d95428c7b4
2 changed files with 16 additions and 0 deletions

View File

@ -9,3 +9,4 @@ Released under WTFPL
0.1 - Initial release
0.2 - Added coloured glass and fixed violet
0.3 - Added stair and slabs -maikerumine 20160321
0.4 - Added clay to the mix -maikerumine 20160331

View File

@ -78,6 +78,21 @@ minetest.register_craft({
}
})
--Clay
minetest.register_node( "cblocks:clay_" .. colours[i][1], {
description = colours[i][2] .. " Clay",
tiles = {"default_clay.png^[colorize:" .. colours[i][3]},
is_ground_content = false,
groups = {crumbly = 2, oddly_breakable_by_hand = 2},
sounds = default.node_sound_glass_defaults(),
})
minetest.register_craft({
output = "cblocks:clay_".. colours[i][1] .. " 2",
recipe = {
{"default:clay","default:clay", "dye:" .. colours[i][1]},
}
})
--LET US REGISTER STAIRS!
--maikerumine 20160321