Paste #45235: Untitled Paste

Date: 2017/10/26 15:06:31 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


ItemCrusher: 

  type: item 

  material: i@351,8

  display name: <&6>Item Crusher

  lore: 
  - <&7>Put tiered items into this menu
  - <&7>Click here to crush the items
  - <&7>into Essence.
  no_id: true

Crusher: 

  type: inventory 

  inventory: CHEST

  title: Item Crusher

  size: 27 

  slots: 
    - "[] [] [] [] [] [] [] [] []" 
    - "[] [] [] [] [] [] [] [] []" 
    - "[] [] [] [] [] [] [] [] [i@ItemCrusher]"
CrusherHandler: 
  type: world 
  events: 
    on player clicks ItemCrusher in Crusher:
    - narrate "Yo"
    - if <context.slot> == 30 {
       - narrate "Yo"
       - determine CANCELLED
       }