Vanessa Ezekowitz
2017-03-18 600fc6ff7e964fcf270ec36088ab9e05283b1d08
use unified dyes auto-color feature
1 files modified
6 ■■■■ changed files
extranodes/init.lua 6 ●●●● patch | view | raw | blame | history
extranodes/init.lua
@@ -149,13 +149,17 @@
if minetest.get_modpath("unifieddyes") then
    iclip_def.paramtype2 = "colorwallmounted"
    iclip_def.palette = "unifieddyes_palette_colorwallmounted.png"
    iclip_def.after_place_node = unifieddyes.fix_rotation
    iclip_def.after_place_node = function(pos, placer, itemstack, pointed_thing)
        unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing)
        unifieddyes.recolor_on_place(pos, placer, itemstack, pointed_thing)
    end
    iclip_def.after_dig_node = unifieddyes.after_dig_node
    iclip_def.groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1, ud_param2_colorable = 1}
    iclipfence_def.paramtype2 = "color"
    iclipfence_def.palette = "unifieddyes_palette_extended.png"
    iclipfence_def.on_construct = unifieddyes.on_construct
    iclipfence_def.after_place_node = unifieddyes.recolor_on_place
    iclipfence_def.after_dig_node = unifieddyes.after_dig_node
    iclipfence_def.groups = {fence=1, choppy=1, snappy=1, oddly_breakable_by_hand=1, ud_param2_colorable = 1}
    iclipfence_def.place_param2 = 171 -- medium amber, low saturation, closest color to default:wood