Paste #14315: Edit of P#14314 - Edit of P#14313 - Edit of P#14312 - Edit of P#14311 - Edit of P#14310 - Edit of P#

Date: 2015/03/07 13:52:57 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


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
      }