Date: 2014/12/07 03:45:16 UTC-08:00
Type: Denizen Script
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
}
}