diff --git a/init.lua b/init.lua index 6f20d10..aee677b 100644 --- a/init.lua +++ b/init.lua @@ -1,3 +1,4 @@ + local colours = { {"black", "Black", "#000000b0"}, {"blue", "Blue", "#015dbb70"}, @@ -23,6 +24,7 @@ for i = 1, #colours, 1 do minetest.register_node("cblocks:wood_" .. colours[i][1], { description = colours[i][2] .. " Wooden Planks", tiles = {"default_wood.png^[colorize:" .. colours[i][3]}, + paramtype = "light", is_ground_content = false, groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, sounds = default.node_sound_wood_defaults(), @@ -40,6 +42,7 @@ minetest.register_craft({ minetest.register_node("cblocks:stonebrick_" .. colours[i][1], { description = colours[i][2] .. " Stone Brick", tiles = {"default_stone_brick.png^[colorize:" .. colours[i][3]}, + paramtype = "light", is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -73,4 +76,6 @@ minetest.register_craft({ } }) -end \ No newline at end of file +end + +print ("[MOD] Cblocks loaded")