Paste #76628: Untitled Paste

Date: 2020/10/20 17:13:02 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


jetpack_gui:
  type: inventory
  inventory: chest
  title: Jetpack Pannel
  size: 45
  slots:
    - [glass] [glass] [glass] [] [] [] [glass] [glass] [glass]
    - [glass] [] [] [] [stats] [] [] [] [glass]
    - [glass] [] [upgrades] [] [] [] [fuel] [] [glass]
    - [glass] [] [] [] [jetpack] [] [] [] [glass]
    - [glass] [glass] [glass] [] [] [] [glass] [glass] [glass]

fuel_gui:
  type: inventory
  inventory: chest
  title: Fuel
  size: 9
  slots:
    - [glass] [glass] [glass] [glass] [] [glass] [glass] [glass] [glass]

open_gui:
  Type: world
  Debug: true
  Events:
    on player right clicks mark_1_jetpack in inventory:
      - if <player.item_in_hand.has_nbt[gui]> && <inventory[<player.item_in_hand.nbt[gui]||null>]||null> == null:
        - note <inventory[jetpack_gui]> as:<player.item_in_hand.nbt[gui]>
      - inventory open d:<player.item_in_hand.nbt[gui]>
    on player clicks gkass in jetpack_gui priority:1:
      - determine cancelled
    on player drags glass in jetpack_gui priority:1:
      - determine cancelled

glass:
  type: item
  material: black_stained_glass_pane
  display name: ' '

stats:
  type: item
  material: ENCHANTED_BOOK
  display name: <&9>Stats
  lore:
  - <&l><&8>-----------<&r> <&b>Info <&l><&8>-----------
  enchantments:
  - unbreaking:1

upgrades:
  type: item
  material: campfire
  display name: <&9>Upgrades
  lore:
  - <&l><&8>-----------<&r> <&b>Info <&l><&8>-----------
  enchantments:
  - unbreaking:1

fuel:
  type: item
  material: water_bucket
  display name: '<&9>Grade I Rocket Fuel'
  lore:
  - <&l><&8>-----------<&r> <&b>Info <&l><&8>-----------
  - '<&b>> <&7>Type: <&f>Jetpack Combo'
  - '<&b>> <&7>Grade: <&f>II'
  - '<&b>> <&7>Hydrogen: <&a><&l>30% <&r><&8>| <&7>Oxygen: <&c><&l>70%'
  - <empty>
  - <&l><&8>-----------<&r> <&b>Description <&l><&8>-----------
  - <&c>Weak <&7>jetpack fuel
  - <&7>Commonly used to fuel the <&6>Mark I Jetpack
  enchantments:
  - unbreaking:1

jetpack:
  type: item
  debug: false
  material: elytra
  display name: <&9>Mark I Jetpack
  lore:
  - <&l><&8>-----------<&r> <&b>Info <&l><&8>-----------
  - <&b><&gt> <&7>Type: <&f>Jetpack
  - <&b><&gt> <&7>Mark: <&f>I
  - <&b><&gt> <&7>Minimum fuel grade: <&c>I
  - <empty>
  - <&l><&8>-----------<&r> <&b>Description <&l><&8>-----------
  - <&7>The <&a>first <&7>working prototype jetpack
  - <&7>Commonly known as the <&6>Mark I Jetpack
  enchantments:
  - unbreaking:1