Paste #33546: Untitled Paste

Date: 2016/05/17 08:27:35 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11


SpawnTest:
  type: world
  debug: false
  events:
    on Zombie spawns because NATURAL in SURVIVAL:
    - if <util.random.int[1].to[30]> == 10 && <context.location.is_within[cu@-400,0,400,survival|-700,300,900,survival]> == false {
      - execute as_server 'msg headlessjoe t <context.location>'
      - spawn TestZombie <context.location> save:testzomb
      - equip <entry[testzomb].spawned_entities> hand:gold_sword offhand:i@shield[base_color=YELLOW;patterns=li@WHITE/STRAIGHT_CROSS]
      - determine cancelled passively
      }