diff options
| author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-18 06:27:59 -0400 | 
|---|---|---|
| committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-18 06:27:59 -0400 | 
| commit | 600fc6ff7e964fcf270ec36088ab9e05283b1d08 (patch) | |
| tree | 79ac2dffb5c8d544eff030d1d1eddbf600daa63f /extranodes | |
| parent | f420aa4d37babb44758c3e670a79c50c491cbe17 (diff) | |
use unified dyes auto-color feature
Diffstat (limited to 'extranodes')
| -rw-r--r-- | extranodes/init.lua | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/extranodes/init.lua b/extranodes/init.lua index c3de5ab..eb54067 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -149,13 +149,17 @@ local iclipfence_def = {  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  | 
