Vanessa Dannenberg
2019-07-21 d1bf386b80aea6d70b6a015198a77fd40ced04fe
Use Unified Dyes on_dig where needed (#506)

Requires Unified Dyes commit 9ff40a7f or later
1 files modified
3 ■■■■■ changed files
extranodes/init.lua 3 ●●●●● patch | view | raw | blame | history
extranodes/init.lua
@@ -177,17 +177,20 @@
        unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing)
    end
    iclip_def.groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1, ud_param2_colorable = 1}
    iclip_def.on_dig = unifieddyes.on_dig
    iclipfence_def.paramtype2 = "color"
    iclipfence_def.palette = "unifieddyes_palette_extended.png"
    iclipfence_def.on_construct = unifieddyes.on_construct
    iclipfence_def.groups = {fence=1, choppy=1, snappy=1, oddly_breakable_by_hand=1, ud_param2_colorable = 1}
    iclipfence_def.on_dig = unifieddyes.on_dig
    sclip_def.paramtype2 = "colorwallmounted"
    sclip_def.palette = "unifieddyes_palette_colorwallmounted.png"
    sclip_def.after_place_node = function(pos, placer, itemstack, pointed_thing)
        unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing)
    end
    sclip_def.on_dig = unifieddyes.on_dig
    sclip_def.groups = {choppy=1, cracky=1, ud_param2_colorable = 1}
end