Paste #14240: Edit of P#14239 - Edit of P#14238 - Edit of P#14237 - Untitled Paste

Date: 2015/03/04 21:56:34 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
16
17
18
19
20


QuestInv:
  type: world
  events:
    on qinv command:
    - define uuid <player.uuid>
    - if !<in@%uuid%_quest||true> {  
      - note in@quest_inv as:%uuid%_quest
      }
    - inventory open d:in@%uuid%_quest

    on player clicks in inventory:
    - if <context.inventory> == in@<player.uuid>_quest {
      - narrate "Yippie"
      }

quest_inv:
  type: inventory
  inventory: chest
  size: 27
  title: Quest Inventory