Paste #68257: mob

Date: 2020/04/28 15:53:20 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


mobarena_shop:
  type: inventory
  inventory: chest
  title: MobCoin Shop
  size: 54
  slots:
  - "[glass_border] [glass_border] [glass_border] [glass_border] [glass_border] [glass_border] [glass_border] [glass_border] [glass_border]"
  - "[] [aott] [] [boulder_sword] [] [golem_sword] [] [gemspark_sword] []"
  - "[] [] [] [] [] [] [] [] []"
  - "[] [] [] [] [] [] [] [] []"
  - "[] [] [] [] [] [] [] [] []"
  - "[glass_border] [glass_border] [glass_border] [glass_border] [glass_border] [glass_border] [glass_border] [glass_border] [glass_border]"



aott:
  type: item
  material: wood_sword
  display name: Aspect of the Tree
  lore:
  - Created with strong oak branches
  mechanisms:
    unbreakable: true
  enchantments:
  - sharpness: 2

glass_border:
  type: item
  material: black_stained_glass_pane
  display name: <empty>

boulder_sword:
  type: item
  material: stone_sword
  display name: Boulder Sword
  lore:
  - A Sword made from ancient boulders
  mechanisms:
    unbreakable: true
  enchantments:
  - sharpness: 3

golem_sword:
  type: item
  material: iron_sword
  display name: Golem Sword
  lore:
  - A Sword forged from Iron Golem hearts
  mechanisms:
    unbreakable: true
  enchantments:
  - sharpness: 3

gemspark_sword:
  type: item
  material: diamond_sword
  display name: Gemspark Sword
  lore:
  - A Sword forged in the fires of Nidavellir
  mechanisms:
    unbreakable: true
  enchantments:
  - sharpness: 4

shop_handler:
  type: world
  events:
   on player breaks grass:
   - inventory open d:mobarena_shop
   on player clicks in my_inventory priority:100:
   - determine cancelled
   on player drags in my_inventory priority:100:
   - determine cancelled