summaryrefslogtreecommitdiff
path: root/textures
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-18 00:19:13 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-18 03:26:05 -0400
commit726bb75e1d0daa36d4c95fb675bc672badad7a77 (patch)
treeaa0117fed293e0770239080ce5f15f3d5c2a28a5 /textures
parent8fc5468212ca873a2ea686c26c0de4082501c1fa (diff)
downloadunifieddyes-726bb75e1d0daa36d4c95fb675bc672badad7a77.tar
unifieddyes-726bb75e1d0daa36d4c95fb675bc672badad7a77.tar.gz
unifieddyes-726bb75e1d0daa36d4c95fb675bc672badad7a77.tar.bz2
unifieddyes-726bb75e1d0daa36d4c95fb675bc672badad7a77.tar.xz
unifieddyes-726bb75e1d0daa36d4c95fb675bc672badad7a77.zip
add recolor-on-place helper
if you add `after_place_node = unifieddyes.recolor_on_place,` to your node def, UD will automatically colorize the node when placed, using the last dye you colored that kind of node with. If you switch to some other colorable node, or you run out of whatever color dye you were using at the time, a warning message will be printed and the autocolor will be reset back to neutral. If a player signs off, autocolor for him/her is reset to neutral (this also helps prevent a minor memory leak) also get rid of one or two debug prints.
Diffstat (limited to 'textures')
0 files changed, 0 insertions, 0 deletions