Date: 2019/08/21 20:22:19 UTC-07:00
Type: Denizen Script
CruiseFortressDoors:
type: world
events:
on player right clicks block:
- define door:l@51,65,-86,world
- narrate "location tag <context.state>"
- if <context.location> == l@51,65,-86,world && [door] state:off {
- switch state:on target:l@51,65,-86,world
} else {
- switch state:off target:<context.location>
}