Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minetest.register_abm({
- nodenames = {"castle:light_on"},
- interval = 30,
- chance = 1,
- action = function(pos, node)
- if t> 0.25 and t< 0.75 then
- minetest.add_node(pos, {name="castle:light_off"})
- end
- end
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement