Date: 2016/05/17 08:27:35 UTC-07:00
Type: Denizen Script
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
}