Simple World Trap


Author: danton1983
Created: 2013-05-12T23:24:07-0400
Edited: 2013-11-29T17:39:52-0500
Denizen Version: 0.93
Views: 27
Downloads: 801
Likes: 0


WGET
Description: #Updated for Denizen 0.93

All you need to do is set up the "Blind" location and when players walk over it, the effects in the action will occur.

/notable add Blind



'Blind':
  type: world
  events:  
    on walked over Blind:
    - if !<flag.player[cooldown]> run BlindAction queue
      else queue clear
'BlindAction':
    type: task
    script:
    - ^if <flag.player[cooldown]> queue clear
    - flag cooldown duration:30s
    - cast blindness duration:15 power:1
    - playsound location:<player.location> sound:BREATH volume:1 pitch:1
    - narrate "<&c><&l>You have become very afraid.."




Comments
No one has posted a comment! Post one below: