Paste #13515: Edit of P#13514 - Untitled Paste

Date: 2015/01/31 04:18:28 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


"BlockSheepGrenade":
    type: world
    debug: on
    events:
        on player right clicks e@sheep:
            - if <player.item_in_hand> contains i@grenade {
              - define colour <context.entity.color>
              - determine cancelled passively
              - wait 1t
              - adjust <context.entity> color:<def[colour]>
              }