Paste #33965: Untitled Paste

Date: 2016/06/02 15:11:02 UTC-07: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


cauldron_rightclick: 
  type: world 
  events: 
    on player clicks block:
    - define loc <context.location.block> 
    - if <def[loc].world.name> != world {
    - queue clear
    } else {
     - if <def[loc].material.name.ends_with[cauldron]> { 
        - execute as_server 'simulateclick 28 <player.name>' 
      } 
    }
    - narrate <def[loc].world.name>