Date: 2018/07/21 01:57:55 UTC-07:00
Type: Denizen Script
"Menu":
type: assignment
debug: false
actions:
on assignment:
- trigger name:click toggle:true state:true
interact scripts:
- 1 Menu_interact
Menu_interact:
type: interact
steps:
1:
click trigger:
script:
- playeffect <npc.location.add[0,1,0]> effect:MOBSPAWNER_FLAMES quantity:1
- playsound <player> sound:ENTITY_VILLAGER_YES pitch:1
- execute as_player "menu"
Menu_effect:
type: world
debug: false
events:
on system time minutely:
- repeat 60 {
- playeffect <n@6.location.add[0,1,0]> effect:PORTAL quantity:30
- playeffect <n@6.location.add[0,-1,0]> effect:FLAME quantity:10
- wait 1s
}