Paste #11892: Untitled Paste

Date: 2014/12/07 03:45:16 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


WallSignEvent:
    type: world
    events:
        on player right clicks block:
        - if <context.location> = l@-19.0,73.0,46.0,Tristram2 {
            - if <player.inventory.contains[i@oakwood]> {
                - take oakwood qty:1
                - flag global suroviny:++
                - sign type:wall_sign "<red>Pocet surovin:|<global.flag[suroviny].as_int>" -19,73,46,Tristram2
            }
        }