Paste #33195: Untitled Paste

Date: 2016/04/29 16:41:00 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


MenuPiggyCl:
  type: inventory
  inventory: chest
  title: <&2>Farmer
  size: 9
  slots: 
    - "[] [] [] [] [i@infopcl] [] [] [] []" 
infopcl:
    type: item
    material: paper
    display name: <&6>Info
    lore:
    - "<&a>Quest Concluida"
    - "<&7>Repetir em:<&f> <player.flag[QuestPiggy].expiration.formatted>"
PiggyEvents:
  type: world
  events:
    on player clicks in in@MenuPiggyCl:
    - if <context.item.simple> == "i@infopcl" {
      - adjust <in@MenuPiggyCl.slot[5]> "lore:Teste" save:itwm
      - inventory set o:<entry[item].result> d:<in@MenuPiggyCl> slot:5
    }