From e4c5a785928243780f38325726412f41ed074237 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 3 Dec 2018 16:15:22 +0100 Subject: [PATCH] Use group:purpur to craft purpur stair/slab --- mods/HELP/mcl_craftguide/init.lua | 1 + mods/ITEMS/mcl_end/building.lua | 4 ++-- mods/ITEMS/mcl_stairs/register.lua | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mods/HELP/mcl_craftguide/init.lua b/mods/HELP/mcl_craftguide/init.lua index bc6a8af910..80d167ae7d 100644 --- a/mods/HELP/mcl_craftguide/init.lua +++ b/mods/HELP/mcl_craftguide/init.lua @@ -58,6 +58,7 @@ local group_stereotypes = { quartz_block = "mcl_nether:quartz_block", banner = "mcl_banners:banner_item_white", mesecon_conductor_craftable = "mesecons:wire_00000000_off", + purpur = "mcl_end:purpur_block", compass = mcl_compass.stereotype, clock = mcl_clock.sterotype, } diff --git a/mods/ITEMS/mcl_end/building.lua b/mods/ITEMS/mcl_end/building.lua index 2e7c425237..c3da88b1f6 100644 --- a/mods/ITEMS/mcl_end/building.lua +++ b/mods/ITEMS/mcl_end/building.lua @@ -29,7 +29,7 @@ minetest.register_node("mcl_end:purpur_block", { tiles = {"mcl_end_purpur_block.png"}, is_ground_content = false, stack_max = 64, - groups = {pickaxey=1, building_block=1, material_stone=1}, + groups = {pickaxey=1, building_block=1, material_stone=1, purpur=1}, sounds = mcl_sounds.node_sound_stone_defaults(), _mcl_blast_resistance = 30, _mcl_hardness = 1.5, @@ -43,7 +43,7 @@ minetest.register_node("mcl_end:purpur_pillar", { is_ground_content = false, on_place = mcl_util.rotate_axis, tiles = {"mcl_end_purpur_pillar_top.png", "mcl_end_purpur_pillar_top.png", "mcl_end_purpur_pillar.png"}, - groups = {pickaxey=1, building_block=1, material_stone=1}, + groups = {pickaxey=1, building_block=1, material_stone=1, purpur=1}, sounds = mcl_sounds.node_sound_stone_defaults(), _mcl_blast_resistance = 30, _mcl_hardness = 1.5, diff --git a/mods/ITEMS/mcl_stairs/register.lua b/mods/ITEMS/mcl_stairs/register.lua index 8311d14bf6..bc9cd2c821 100644 --- a/mods/ITEMS/mcl_stairs/register.lua +++ b/mods/ITEMS/mcl_stairs/register.lua @@ -95,13 +95,13 @@ mcl_stairs.register_stair_and_slab("nether_brick", "mcl_nether:nether_brick", 2, "Double Nether Brick Slab") -mcl_stairs.register_stair("purpur_block", "mcl_end:purpur_block", +mcl_stairs.register_stair("purpur_block", "group:purpur", {pickaxey=1, material_stone=1}, {"mcl_end_purpur_block.png"}, "Purpur Stairs", mcl_sounds.node_sound_stone_defaults(), 1.5) -mcl_stairs.register_slab("purpur_block", "mcl_end:purpur_block", +mcl_stairs.register_slab("purpur_block", "group:purpur", {pickaxey=1, material_stone=1}, {"mcl_end_purpur_block.png"}, "Purpur Slab",