Paste #38171: Untitled Paste

Date: 2016/12/06 10:03:24 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
13


"get64coal":
    type: world
    events:
        on player picks up coal_ore:
        - if <player.flag[kol2]> {
            - flag player kolstartcount2:++
            - narrate "<&e><player.flag[kolstartcount2].asint> antal kol hittade"
            - if <player.flag[kolstartcount2].asint> >=64 {
                - narrate "<&e>Du har tillräkligt med kol för ditt uppdrag!"
                - narrate "<&e> tillbaka till <player.flag[kolnpc]>"
                - zap script:kol2script step:kol2end
            }
        }