## Runs from controller.animation.dungeon_lever.interacted
## Allows/disallows the lever to activate
## @s = ldz:dungeon_lever

execute as @s[family=portal_room_lever] if entity @a[x=102,y=166,z=54,dx=8,dy=5,dz=5] run event entity @s set_triggered_to_true
execute unless entity @s[family=portal_room_lever] run event entity @s set_triggered_to_true