Paste #28527: 1231231

Date: 2016/01/15 20:08:58 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


cosmetics_inv:
  type: inventory
  title: "<&e>Gadgets"
  size: 9
  slots:
  - "[] [i@cosmetics_inv_1] [] [i@cosmetics_inv_2] [] [i@cosmetics_inv_3] [] [i@cosmetics_inv_4] []"

cosmetics_inv_handler:
  type: world
  events:
    on player clicks in cosmetics_inv:
    - determine cancelled
    on player drags in cosmetics_inv:
    - determine cancelled
    on player clicks cosmetics_inv_2 in cosmetics_inv:
    - inventory close d:in@cosmetics_inv
    - inventory open d:in@armor_inv
    - playsound <player> sound:ORB_PICKUP volume:0.1

armor_inv_handler:
  type: world
  events:
    on player clicks in armor_inv:
    - determine cancelled
    on player drags in armor_inv:
    - determine cancelled
    on player clicks armor_red_helmet in armor_inv:
    - equip <player> head:i@armor_red_helmet
    on player clicks armor_red_chestplate in armor_inv:
    - equip <player> head:i@armor_red_chestplate
    on player clicks armor_red_legs in armor_inv:
    - equip <player> head:i@armor_red_legs
    on player clicks armor_red_boots in armor_inv:
    - equip <player> head:i@armor_red_boots
    on player clicks armor_no_helmet in armor_inv:
    - equip <player> head:i@armor_nope_helmet
    on player clicks armor_no_chestplate in armor_inv:
    - equip <player> head:i@armor_nope_chestplate
    on player clicks armor_no_legs in armor_inv:
    - equip <player> head:i@armor_nope_legs
    on player clicks armor_no_boots in armor_inv:
    - equip <player> head:i@armor_nope_boots

Cosmetics:
  type: assignment
  actions:
    on assignment:
    - trigger name:click state:true
    on click:
    - inventory open d:in@cosmetics_inv
    - playsound <player> sound:ORB_PICKUP volume:0.1

cosmetics_inv_1:
  type: item
  material: nether_star
  display name: "<&a><&l>Particle Effect"
  lore:
  - ""
  - "<&c>Coming Soon"

cosmetics_inv_2:
  type: item
  material: 307
  display name: "<&b><&l>Armor"
  lore:
  - ""
  - "<&c>Coming Soon"

cosmetics_inv_3:
  type: item
  material: "397:4"
  display name: "<&2><&l>Morphs"
  lore:
  - ""
  - "<&c>Coming Soon"

cosmetics_inv_4:
  type: item
  material: "383:95"
  display name: "<&d><&l>Pets"
  lore:
  - ""
  - "<&c>Coming Soon"

armor_inv:
  type: inventory
  title: "<&b>Armor"
  size: 36
  slots:
  - "[] [i@armor_red_helmet] [i@armor_purple_helmet] [i@armor_blue_helmet] [i@armor_green_helmet] [i@armor_yellow_helmet] [] [i@armor_no_helmet] []"
  - "[] [i@armor_red_chestplate] [i@armor_purple_chestplate] [i@armor_blue_chestplate] [i@armor_green_chestplate] [i@armor_yellow_chestplate] [] [i@armor_no_chestplate] []"
  - "[] [i@armor_red_legs] [i@armor_purple_legs] [i@armor_blue_legs] [i@armor_green_legs] [i@armor_yellow_legs] [] [i@armor_no_legs] []"
  - "[] [i@armor_red_boots] [i@armor_purple_boots] [i@armor_blue_boots] [i@armor_green_boots] [i@armor_yellow_boots] [] [i@armor_no_boots] []"

armor_red_helmet:
  type: item
  material: 298
  color: 255,0,0 
  display name: "<&c><&l>Red Armor"

armor_purple_helmet:
  type: item
  material: 298
  color: 255,0,255 
  display name: "<&d><&l>Purple Armor"

armor_blue_helmet:
  type: item
  material: 298
  color: 0,0,255
  display name: "<&b><&l>Blue Armor"

armor_green_helmet:
  type: item
  material: 298
  color: 0,255,0 
  display name: "<&a><&l>Green Armor"

armor_yellow_helmet:
  type: item
  material: 298
  color: 255,255,0 
  display name: "<&e><&l>Yellow Armor"

armor_no_helmet:
  type: item
  material: 166
  display name: "<&4><&l>Remove Armor"

armor_red_chestplate:
  type: item
  material: 299
  color: 255,0,0 
  display name: "<&c><&l>Red Armor"

armor_purple_chestplate:
  type: item
  material: 299
  color: 255,0,255 
  display name: "<&d><&l>Purple Armor"

armor_blue_chestplate:
  type: item
  material: 299
  color: 0,0,255
  display name: "<&b><&l>Blue Armor"

armor_green_chestplate:
  type: item
  material: 299
  color: 0,255,0 
  display name: "<&a><&l>Green Armor"

armor_yellow_chestplate:
  type: item
  material: 299
  color: 255,255,0 
  display name: "<&e><&l>Yellow Armor"

armor_no_chestplate:
  type: item
  material: 166
  display name: "<&4><&l>Remove Armor"

armor_red_legs:
  type: item
  material: 300
  color: 255,0,0 
  display name: "<&c><&l>Red Armor"

armor_purple_legs:
  type: item
  material: 300
  color: 255,0,255 
  display name: "<&d><&l>Purple Armor"

armor_blue_legs:
  type: item
  material: 300
  color: 0,0,255
  display name: "<&b><&l>Blue Armor"

armor_green_legs:
  type: item
  material: 300
  color: 0,255,0 
  display name: "<&a><&l>Green Armor"

armor_yellow_legs:
  type: item
  material: 300
  color: 255,255,0 
  display name: "<&e><&l>Yellow Armor"

armor_no_legs:
  type: item
  material: 166
  display name: "<&4><&l>Remove Armor"

armor_red_boots:
  type: item
  material: 301
  color: 255,0,0 
  display name: "<&c><&l>Red Armor"

armor_purple_boots:
  type: item
  material: 301
  color: 255,0,255 
  display name: "<&d><&l>Purple Armor"

armor_blue_boots:
  type: item
  material: 301
  color: 0,0,255
  display name: "<&b><&l>Blue Armor"

armor_green_boots:
  type: item
  material: 301
  color: 0,255,0 
  display name: "<&a><&l>Green Armor"

armor_yellow_boots:
  type: item
  material: 301
  color: 255,255,0 
  display name: "<&e><&l>Yellow Armor"

armor_no_boots:
  type: item
  material: 166
  display name: "<&4><&l>Remove Armor"

armor_nope_helmet:
  type: item
  material: air

armor_nope_chestplate:
  type: item
  material: air

armor_nope_legs:
  type: item
  material: air

armor_nope_boots:
  type: item
  material: air