Date: 2015/08/18 18:49:49 UTC-07:00
Type: Denizen Script
bomb:
type: world
events:
on entity explodes:
- define blocks <context.blocks.alphanumeric>
- define materials <def[Blocks].parse[material]>
- wait <util.random.decimal[1].to[3]>
- foreach %blocks% {
- modifyblock <%value%> <def[materials].get[<def[loop_index]>]>
- wait 1t
}