forked from mtcontrib/signs_lib
Add glow feature to signs, with three brightness levels
This commit is contained in:
committed by
Vanessa Dannenberg
parent
b0fac5ef9f
commit
16b9251511
@ -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", {
|
||||
|
Reference in New Issue
Block a user