Paste #44840: Untitled Paste

Date: 2017/10/07 14:11:57 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


CustomRecipes:
  type: world
  debug: false

  events:

    # | /recipes command - Open Recipe Menu
    on recipes command:

    # Command Action:
    - determine passively cancelled
    - inventory open d:in@RecipeList

    on player clicks creeperegg in RecipeList:
    - determine passively cancelled
    - inventory open d:in@RecipeCreeperEgg
    on player clicks molotov in RecipeList:
    - determine passively cancelled
    - inventory open d:in@RecipeMolotov
    - narrate "Shapeless Recipe"
    on player clicks bomb in RecipeList:
    - determine passively cancelled
    - inventory open d:in@RecipeBomb
    on player clicks flashbomb in RecipeList:
    - determine passively cancelled
    - inventory open d:in@RecipeFlashBomb
    on player clicks nuclearbomb in RecipeList:
    - determine passively cancelled
    - inventory open d:in@RecipeNuclearBomb
    on player clicks in RecipeCreeperEgg:
    - determine passively cancelled
    - inventory open d:in@RecipeList
    on player clicks in RecipeMolotov:
    - determine passively cancelled
    - inventory open d:in@RecipeList
    on player clicks in RecipeBomb:
    - determine passively cancelled
    - inventory open d:in@RecipeList
    on player clicks in RecipeFlashBomb:
    - determine passively cancelled
    - inventory open d:in@RecipeList
    on player clicks in RecipeNuclearBomb:
    - determine passively cancelled
    - inventory open d:in@RecipeList

######RECIPES#######
RecipeCreeperEgg:
  type: inventory
  inventory: workbench
  title: CreeperEgg
  slots:
  - "[i@air]"
  - "[i@tnt] [i@41] [i@tnt]"
  - "[i@289] [i@egg] [i@289]"
  - "[i@41] [i@tnt] [i@41]"

RecipeMolotov:
  type: inventory
  inventory: workbench
  title: Molotov
  slots:
  - "[i@air]"
  - "[i@i@potion[potion_effects=FIRE_RESISTANCE,false,false]] [i@air] [i@air]"
  - "[i@air] [i@i@potion[potion_effects=INSTANT_DAMAGE,false,false]] [i@air]"
  - "[i@air] [i@air] [i@flint_and_steel]"

RecipeBomb:
  type: inventory
  inventory: workbench
  title: Bomb
  slots:
  - "[i@air]"
  - "[i@i@obsidian] [i@tnt] [i@obsidian]"
  - "[i@tnt] [i@i@diamond_block] [i@tnt]"
  - "[i@obsidian] [i@tnt] [i@obsidian]"

RecipeFlashBomb:
  type: inventory
  inventory: workbench
  title: FlashBomb
  slots:
  - "[i@air]"
  - "[i@i@glowstone_dust] [i@tnt] [i@glowstone_dust]"
  - "[i@tnt] [i@i@381] [i@tnt]"
  - "[i@glowstone_dust] [i@tnt] [i@glowstone_dust]"

RecipeNuclearBomb:
  type: inventory
  inventory: workbench
  title: NuclearBomb
  slots:
  - "[i@air]"
  - "[i@i@gold_block] [i@tnt] [i@gold_block]"
  - "[i@tnt] [i@i@nether_star] [i@tnt]"
  - "[i@gold_block] [i@tnt] [i@gold_block]"

#####RECIPES MENU#####
RecipeList:
  type: inventory
  inventory: CHEST
  size: 36
  title: Custom Items
  slots:
  - "[160:7] [160:7] [160:7] [160:7] [160:7] [160:7] [160:7] [160:7] [160:7]"
  - "[molotov] [creeperegg] [] [] [] [] [] [] []"
  - "[160:7] [160:7] [160:7] [160:7] [160:7] [160:7] [160:7] [160:7] [160:7]"
  - "[bomb] [flashbomb] [nuclearbomb] [] [] [] [] [] []"

BackPaper:
  type: item
  material: 339
  display name: <&8>Close Menu

#####CRAFTING RECIPES######
bomb:
  type: item
  material: i@sponge
  display name: <&o>Bomb
  lore:
  - <&5><&o>Damage Radius: 8

flashbomb:
  type: item
  material: 19
  display name: <&o>Flash Bomb
  lore:
  - <&5><&o>Damage Radius: 32

nuclearbomb:
  type: item
  material: 19
  display name: <&o>Nuclear Bomb
  lore:
  - <&5><&o>Damage Radius: 120
  - <&5><&o>This can change the world.
  - <&5><&o>Be Careful!