Paste #13056: Untitled Paste

Date: 2015/01/17 22:02:08 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


wardrobe_task:
  type: task
  script:
    - ^define unknown "i@black_stained_glass_pane"
    - ^if <player.has_flag[UNLOCK.apple]> ^flag <player> "unlockable_1:i@gold_head"
      else ^flag <player> "unlockable_1:%unknown%"
    - ^inventory open d:in@wardrobe player:<player>
wardrobe:
  type: inventory
  inventory: CHEST
  size: 36
  title: test
  definitions:
    unknown: "i@black_stained_glass_pane"
  slots:
  - "[leath_1] [chain_1] [iron_1] [dia_1] [gold_1] [i@air] [<player.flag[unlockable_1]>] [unknown] [unknown]"