Paste #1121: Untitled Paste

Date: 2014/01/06 08:53:37 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


AntiMine: 
  type: world 
  events:  
    on player breaks block: 
    - if <context.material> == clay {
      - run ReplaceBlock def:<context.location>|<context.material>
      } else {
      - narrate "You cannot mine this type of block"
      }

ReplaceBlock: 
   Type: Task 
   Script: 
   - modifyblock %1% %2%