2 Commits

2 changed files with 24 additions and 16 deletions

View File

@@ -358,6 +358,12 @@ if industrialtest.mclAvailable then
mcl_armor.register_set({
name=material,
description=materialDisplayName,
descriptions = {
head = "Helmet",
torso = "Chestplate",
legs = "Leggings",
feet = "Boots",
},
durability=config.uses,
points=config.armorPoints,
craft_material="industrialtest:"..material,

View File

@@ -379,6 +379,7 @@ if not industrialtest.mods.mclRubber then
end
end
})
if mcl_dye.register_on_bone_meal_apply then
mcl_dye.register_on_bone_meal_apply(function(pointed)
local node=minetest.get_node(pointed.under)
if node.name~="industrialtest:rubber_sapling" then
@@ -397,6 +398,7 @@ if not industrialtest.mods.mclRubber then
end
end)
end
end
definition.groups.attached_node=1
definition.groups.dig_immediate=3
definition.groups.sapling=1