Paste #11890: Untitled Paste

Date: 2014/12/07 03:35:25 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10


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@349]> || <player.inventory.contains[i@349:1]> || <player.inventory.contains[i@349:2]> || <player.inventory.contains[i@349:3]> {
                - flag global suroviny:++
                - sign type:wall_sign "<red>Pocet surovin:|<global.flag[suroviny].as_int>" -19,73,46,Tristram2
            }
        }