Paste #13198: Edit of P#13197 - Edit of P#13196 - Edit of P#13195 - Untitled Paste

Date: 2015/01/21 14:28:21 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


'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 
            }  
          }
        }
      }