Date: 2015/03/07 13:52:57 UTC-08:00
Type: Denizen Script
schematicbuild:
type: world
events:
on player places i@buildchest:
- if <schematic[build].cuboid[<context.location>].has_town> {
- if <[schematic[build].cuboid[<context.location>].cuboid.get_blocks].location.in_region> {
- narrate "You cannot place that here!"
- determined cancelled
}
else {
- schematic load name:building
- schematic paste name:building <context.location> noair
}
}
else {
- narrate "You cannot place that here!"
- determined cancelled
}