Paste #25107: Untitled Paste

Date: 2015/12/21 04:29:34 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9


Adjust_Item:
  type: task
  script:
  - if <player.item_in_hand.material.name> == air {
    - narrate "<&c>Can't adjust air!"
    - queue clear
  }
  - adjust <player.item_in_hand> "display_name:My Compass" save:item
  - inventory set o:<entry[item].result> slot:<player.item_in_hand.slot>