1
0
mirror of https://github.com/mt-mods/coloredwood.git synced 2024-12-23 17:30:21 +01:00

use Unified Dyes on_dig where needed - requires Unified Dyes commit 9ff40a7f or later

This commit is contained in:
Vanessa Dannenberg 2019-07-18 02:22:52 -04:00
parent cbb407e863
commit f2f5e5f73e

View File

@ -88,6 +88,7 @@ for _, color in ipairs(unifieddyes.HUES_WITH_GREY) do
after_place_node = function(pos, placer, itemstack, pointed_thing)
minetest.rotate_node(itemstack, placer, pointed_thing)
end,
on_dig = unifieddyes.on_dig,
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2, not_in_creative_inventory=1, ud_param2_colorable = 1},
}
)
@ -167,7 +168,8 @@ default.register_fence("coloredwood:fence", {
palette = "unifieddyes_palette_extended.png",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, ud_param2_colorable = 1, not_in_creative_inventory=1},
sounds = default.node_sound_wood_defaults(),
material = "coloredwood:wood_block"
material = "coloredwood:wood_block",
on_dig = unifieddyes.on_dig,
})
groups = table.copy(minetest.registered_items["default:fence_wood"].groups)