Paste #29746: Untitled Paste

Date: 2016/02/05 05:41:19 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
14
15


CUISSON_TETES:
    type: world
    events:
      on player right clicks furnace:
      - if <player.item_in_hand.display> == <i@cire.display> {
        - determine passively cancelled
        - RUN COOKING_TIME
        - cooldown 5s p:<context.player> s:s@COOKING_TIME
        }
COOKING_TIME:
    type: task
    script:
    - take iteminhand qty:1 
    - narrate "<&e>temps de cuisson: 5 secondes"
    - drop i@cire1 <context.location> qty:1