1 2 3 4 5 6 7
function node_function(node) local power = Find("power") if power == "generator" then Layer("power") end end