Paste #27989: Untitled Paste

Date: 2016/01/07 15:47:23 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8


on player consumes golden_apple,1:
        - if <player.has_flag[applecooldown]> {
          - narrate "<&c>Sorry, you cannot eat this yet. <fl@applecooldown.expiration> left!"
          - determine cancelled
        } else {
          - narrate "<&c>You've consumed a super golden apple, please wait 5 minutes for the cooldown to be disabled."
          - flag player applecooldown duration:5m
        }