Date: 2014/10/22 13:01:02 UTC-07:00
Type: Denizen Script
UberforstPluginReplaced:
type: world
debug: false
events:
on structure grows:
- if <context.location.add[<util.random.int[1].to[10]>,0,<util.random.int[1].to[10]>].light.sky> == 15 {
- random {
- modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> oak_sapling
- modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [oak_sapling]
- modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [treesapling]
- modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [logsapling]
- modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [trunksapling]
- modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [woodsapling]
- modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [oaklogsapling]
- modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [oaktrunksapling]
- modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [oakwoodsapling]
}
}