Add 4 Minecraft material groups

So they can be used by the noteblock
This commit is contained in:
Wuzzy 2017-03-11 05:34:58 +01:00
parent 620eb34f9e
commit 549f541877
23 changed files with 143 additions and 131 deletions

View file

@ -31,7 +31,7 @@ minetest.register_node("mcl_colorblocks:hardened_clay", {
_doc_items_longdesc = "Hardened clay is natural to deserts and a basic building material.",
tiles = {"hardened_clay.png"},
stack_max = 64,
groups = {pickaxey=1, hardened_clay=1,building_block=1},
groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 21,
_mcl_hardness = 1.25,
@ -56,7 +56,7 @@ for _, row in ipairs(block.dyes) do
description = desc.." Hardened Clay",
_doc_items_longdesc = hc_desc,
tiles = {"hardened_clay_stained_"..name..".png"},
groups = {pickaxey=1, hardened_clay=1,building_block=1},
groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1},
stack_max = 64,
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 21,
@ -67,7 +67,7 @@ for _, row in ipairs(block.dyes) do
description = desc.." Concrete Powder",
_doc_items_longdesc = cp_desc,
tiles = {"mcl_colorblocks_concrete_powder_"..name..".png"},
groups = {handy=1,shovely=1, concrete_powder=1,building_block=1,falling_node=1},
groups = {handy=1,shovely=1, concrete_powder=1,building_block=1,falling_node=1, material_sand=1},
stack_max = 64,
is_ground_content = false,
sounds = mcl_sounds.node_sound_sand_defaults(),
@ -82,7 +82,7 @@ for _, row in ipairs(block.dyes) do
description = desc.." Concrete",
_doc_items_longdesc = conc_desc,
tiles = {"mcl_colorblocks_concrete_"..name..".png"},
groups = {handy=1,pickaxey=1, concrete=1,building_block=1},
groups = {handy=1,pickaxey=1, concrete=1,building_block=1, material_stone=1},
stack_max = 64,
is_ground_content = false,
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -97,7 +97,7 @@ for _, row in ipairs(block.dyes) do
description = desc.." Glazed Terracotta",
_doc_items_longdesc = gt_desc,
tiles = texes,
groups = {handy=1,pickaxey=1, glazed_terracotta=1,building_block=1},
groups = {handy=1,pickaxey=1, glazed_terracotta=1,building_block=1, material_stone=1},
paramtype2 = "facedir",
stack_max = 64,
is_ground_content = false,