diff --git a/mods/mcl_colorblocks/init.lua b/mods/mcl_colorblocks/init.lua index ef0fc8542c..27a285d08f 100644 --- a/mods/mcl_colorblocks/init.lua +++ b/mods/mcl_colorblocks/init.lua @@ -41,25 +41,55 @@ for _, row in ipairs(block.dyes) do local desc = row[2] local craft_color_group = row[3] -- Node Definition - minetest.register_node("mcl_colorblocks:hardened_clay_"..name, { - description = desc.." Hardened Clay", - tiles = {"hardened_clay_stained_"..name..".png"}, - groups = {cracky=3,hardened_clay=1,building_block=1}, - stack_max = 64, - sounds = mcl_sounds.node_sound_stone_defaults(), - }) + minetest.register_node("mcl_colorblocks:hardened_clay_"..name, { + description = desc.." Hardened Clay", + tiles = {"hardened_clay_stained_"..name..".png"}, + groups = {cracky=3,hardened_clay=1,building_block=1}, + stack_max = 64, + sounds = mcl_sounds.node_sound_stone_defaults(), + }) + + minetest.register_node("mcl_colorblocks:concrete_powder_"..name, { + description = desc.." Concrete Powder", + tiles = {"mcl_colorblocks_concrete_powder_"..name..".png"}, + groups = {crumbly=3,concrete_powder=1,building_block=1,falling_node=1}, + stack_max = 64, + is_ground_content = false, + sounds = mcl_sounds.node_sound_sand_defaults(), + }) + + minetest.register_node("mcl_colorblocks:concrete_"..name, { + description = desc.." Concrete", + tiles = {"mcl_colorblocks_concrete_"..name..".png"}, + groups = {cracky=3,conrete=1,building_block=1}, + stack_max = 64, + is_ground_content = false, + sounds = mcl_sounds.node_sound_stone_defaults(), + }) + + -- Crafting recipes if craft_color_group then minetest.register_craft({ - output = 'mcl_colorblocks:'..name..' 8', + output = 'mcl_colorblocks:hardened_clay_'..name..' 8', recipe = { {'mcl_colorblocks:hardened_clay', 'mcl_colorblocks:hardened_clay', 'mcl_colorblocks:hardened_clay'}, {'mcl_colorblocks:hardened_clay', 'mcl_dye:'..craft_color_group, 'mcl_colorblocks:hardened_clay'}, {'mcl_colorblocks:hardened_clay', 'mcl_colorblocks:hardened_clay', 'mcl_colorblocks:hardened_clay'}, }, }) + minetest.register_craft({ + output = 'mcl_colorblocks:concrete_powder_'..name..' 8', + recipe = { + {'mcl_core:sand', 'mcl_core:gravel', 'mcl_core:sand'}, + {'mcl_core:gravel', 'mcl_dye:'..craft_color_group, 'mcl_core:gravel'}, + {'mcl_core:sand', 'mcl_core:gravel', 'mcl_core:sand'}, + }, + }) end end +-- TODO: ABM: Concrete Powder + Water = Concrete + local time_to_load= os.clock() - init print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load)) diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_black.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_black.png new file mode 100644 index 0000000000..a510f903e4 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_black.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_blue.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_blue.png new file mode 100644 index 0000000000..42e469784d Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_blue.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_brown.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_brown.png new file mode 100644 index 0000000000..a78f37ea72 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_brown.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_cyan.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_cyan.png new file mode 100644 index 0000000000..8438f9c902 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_cyan.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_green.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_green.png new file mode 100644 index 0000000000..17fd50cb8a Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_green.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_grey.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_grey.png new file mode 100644 index 0000000000..a912178d44 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_grey.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_light_blue.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_light_blue.png new file mode 100644 index 0000000000..cd586f03c5 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_light_blue.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_lime.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_lime.png new file mode 100644 index 0000000000..3053a1a324 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_lime.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_magenta.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_magenta.png new file mode 100644 index 0000000000..cae70c1e5f Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_magenta.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_orange.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_orange.png new file mode 100644 index 0000000000..82cefaf7c3 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_orange.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_pink.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_pink.png new file mode 100644 index 0000000000..5595ead626 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_pink.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_black.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_black.png new file mode 100644 index 0000000000..503b8b8acc Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_black.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_blue.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_blue.png new file mode 100644 index 0000000000..b96868f3b3 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_blue.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_brown.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_brown.png new file mode 100644 index 0000000000..bfca459162 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_brown.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_cyan.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_cyan.png new file mode 100644 index 0000000000..ae920e8ffe Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_cyan.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_green.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_green.png new file mode 100644 index 0000000000..dc016a88f3 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_green.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_grey.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_grey.png new file mode 100644 index 0000000000..04a982fef2 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_grey.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_light_blue.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_light_blue.png new file mode 100644 index 0000000000..c7f7c8cd50 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_light_blue.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_lime.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_lime.png new file mode 100644 index 0000000000..3297dcaef1 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_lime.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_magenta.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_magenta.png new file mode 100644 index 0000000000..30e835c856 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_magenta.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_orange.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_orange.png new file mode 100644 index 0000000000..e4a340286d Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_orange.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_pink.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_pink.png new file mode 100644 index 0000000000..dac02a4887 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_pink.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_purple.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_purple.png new file mode 100644 index 0000000000..05c6c213a4 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_purple.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_red.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_red.png new file mode 100644 index 0000000000..1b1a104922 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_red.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_silver.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_silver.png new file mode 100644 index 0000000000..80af32a6c7 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_silver.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_white.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_white.png new file mode 100644 index 0000000000..fea636bc1c Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_white.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_yellow.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_yellow.png new file mode 100644 index 0000000000..68a19c8443 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_powder_yellow.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_purple.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_purple.png new file mode 100644 index 0000000000..da661ecf2b Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_purple.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_red.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_red.png new file mode 100644 index 0000000000..c51e1c913a Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_red.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_silver.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_silver.png new file mode 100644 index 0000000000..af92b3c0d5 Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_silver.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_white.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_white.png new file mode 100644 index 0000000000..f3d2b3ffbe Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_white.png differ diff --git a/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_yellow.png b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_yellow.png new file mode 100644 index 0000000000..2bd75a1e8c Binary files /dev/null and b/mods/mcl_colorblocks/textures/mcl_colorblocks_concrete_yellow.png differ