Paste #29801: Untitled Paste

Date: 2016/02/06 13:12:47 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


Dispenser:
    type: world
    events:
        on block dispenses coal:
        - if <context.location.material.ends_with[1]> {
            - define location <context.location.add[1,0,0]>
            - if <li@stone|cobblestone.contains[<context.location.material.name>]> {
                - break <def[location]>
                } else {
                - narrate "Tak"
                }   
            }