mirror of
https://github.com/minetest-mods/stained_glass.git
synced 2025-01-09 07:10:23 +01:00
use Unified Dyes on_dig where needed - requires Unified Dyes commit 9ff40a7f or later
This commit is contained in:
parent
3d7ab900a0
commit
d1cdbbd5bc
2
init.lua
2
init.lua
@ -59,6 +59,7 @@ minetest.register_node("stained_glass:stained_glass", {
|
|||||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
|
on_dig = unifieddyes.on_dig,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.override_item("moreblocks:super_glow_glass", {
|
minetest.override_item("moreblocks:super_glow_glass", {
|
||||||
@ -84,6 +85,7 @@ minetest.register_node("stained_glass:stained_trap_glass", {
|
|||||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
|
on_dig = unifieddyes.on_dig,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.override_item("moreblocks:trap_super_glow_glass", {
|
minetest.override_item("moreblocks:trap_super_glow_glass", {
|
||||||
|
Loading…
Reference in New Issue
Block a user