mirror of
https://github.com/minetest-mods/unifiedbricks.git
synced 2024-11-22 15:33:47 +01:00
Use Unified Dyes on_dig where needed (#7)
Requires Unified Dyes commit 9ff40a7f or later
This commit is contained in:
parent
4ef1892dbe
commit
ef92eceeb6
5
init.lua
5
init.lua
@ -107,6 +107,7 @@ minetest.register_node("unifiedbricks:brickblock", {
|
|||||||
groups = {cracky=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
groups = {cracky=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
|
on_dig = unifieddyes.on_dig,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.override_item("default:brick", {
|
minetest.override_item("default:brick", {
|
||||||
@ -128,6 +129,7 @@ minetest.register_node("unifiedbricks:clayblock", {
|
|||||||
footstep = "",
|
footstep = "",
|
||||||
}),
|
}),
|
||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
|
on_dig = unifieddyes.on_dig,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.override_item("default:clay", {
|
minetest.override_item("default:clay", {
|
||||||
@ -151,6 +153,7 @@ minetest.register_node("unifiedbricks:brickblock_multicolor_dark", {
|
|||||||
groups = {cracky=3, ud_param2_colorable = 1},
|
groups = {cracky=3, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
|
on_dig = unifieddyes.on_dig,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("unifiedbricks:brickblock_multicolor_medium", {
|
minetest.register_node("unifiedbricks:brickblock_multicolor_medium", {
|
||||||
@ -168,6 +171,7 @@ minetest.register_node("unifiedbricks:brickblock_multicolor_medium", {
|
|||||||
groups = {cracky=3, ud_param2_colorable = 1},
|
groups = {cracky=3, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
|
on_dig = unifieddyes.on_dig,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("unifiedbricks:brickblock_multicolor_light", {
|
minetest.register_node("unifiedbricks:brickblock_multicolor_light", {
|
||||||
@ -185,6 +189,7 @@ minetest.register_node("unifiedbricks:brickblock_multicolor_light", {
|
|||||||
groups = {cracky=3, ud_param2_colorable = 1},
|
groups = {cracky=3, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
|
on_dig = unifieddyes.on_dig,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
|
Loading…
Reference in New Issue
Block a user