Use Unified Dyes on_dig where needed (#3)

Requires Unified Dyes commit 9ff40a7f or later
This commit is contained in:
Vanessa Dannenberg 2019-07-21 06:35:17 -04:00 committed by SmallJoker
parent fee6e6194b
commit b7e9614ab4

View File

@ -78,6 +78,7 @@ minetest.register_node("framedglass:steel_framed_obsidian_glass", {
airbrush_replacement_node = "framedglass:steel_framed_obsidian_glass_tinted",
groups = {cracky=3, oddly_breakable_by_hand=3, ud_param2_colorable = 1},
sounds = default.node_sound_glass_defaults(),
on_dig = unifieddyes.on_dig,
})
minetest.register_node("framedglass:steel_framed_obsidian_glass_tinted", {
@ -96,6 +97,7 @@ minetest.register_node("framedglass:steel_framed_obsidian_glass_tinted", {
use_texture_alpha = true,
groups = {cracky=3, oddly_breakable_by_hand=3, ud_param2_colorable = 1, not_in_creative_inventory = 1},
sounds = default.node_sound_glass_defaults(),
on_dig = unifieddyes.on_dig,
})
-- crafts!