Date: 2015/01/21 14:28:21 UTC-08:00
Type: Denizen Script
'fortex':
type: world
events:
on player right clicks with stone:
- narrate "event fired"
- if !<player.has_flag[crystal]> {
- narrate "has flag"
- if !<%value%.has_effect[NIGHT_VISION]> {
- foreach <player.location.find.players.within[50]> {
- if <%value%.has_effect[NIGHT_VISION]> {
- shoot <def[value]> destination:<player.location.direction[<def[value].location.mul[25]>]> speed:1
}
}
}
}