Add glow feature to signs, with three brightness levels

This commit is contained in:
tenplus1
2021-05-27 17:33:20 +00:00
committed by Vanessa Dannenberg
parent b0fac5ef9f
commit 16b9251511
2 changed files with 41 additions and 4 deletions

View File

@ -16,6 +16,10 @@ signs_lib.register_sign("default:sign_wall_wood", {
allow_onpole_horizontal = true,
allow_yard = true,
use_texture_alpha = "clip",
on_punch = function(pos, node, puncher, pointed_thing)
signs_lib.glow(pos, node, puncher)
return signs_lib.update_sign
end
})
signs_lib.register_sign("default:sign_wall_steel", {