// priority: 0

console.info('Starting recipe modification scripts...')

onEvent('item.registry', event => {
	// Register new items here
	// event.create('example_item').displayName('Example Item')

event.create('medal').displayName('Blank Mark').tooltip('Exchange for a §3Specialization§r in the quest book!').glow(true)

event.create('mark_miner').displayName('I. Mark of the Miner').glow(true)
event.create('mark_farmer').displayName('I. Mark of the Farmer').glow(true)
event.create('mark_warrior').displayName('I. Mark of the Warrior').glow(true)
event.create('mark_archer').displayName('I. Mark of the Archer').glow(true)
event.create('mark_wizard').displayName('I. Mark of the Wizard').glow(true)
event.create('mark_pirate').displayName('I. Mark of the Pirate').glow(true)
event.create('mark_thief').displayName('I. Mark of the Thief').glow(true)
event.create('mark_huntsman').displayName('I. Mark of the Huntsman').glow(true)
event.create('mark_healer').displayName('I. Mark of the Healer').glow(true)
event.create('mark_pitfighter').displayName('I. Mark of the Pitfighter').glow(true)
event.create('mark_tamer').displayName('I. Mark of the Tamer').glow(true)

event.create('mark_spelunker').displayName('II. Mark of the Spelunker').glow(true)
event.create('mark_rancher').displayName('II. Mark of the Rancher').glow(true)
event.create('mark_mercenary').displayName('II. Mark of the Mercenary').glow(true) 
event.create('mark_arbalester').displayName('II. Mark of the Arbalester').glow(true) 
event.create('mark_alchemist').displayName('II. Mark of the Alchemist').glow(true) 
event.create('mark_corsair').displayName('II. Mark of the Corsair').glow(true)
event.create('mark_bandit').displayName('II. Mark of the Bandit').glow(true)
event.create('mark_tracker').displayName('II. Mark of the Tracker').glow(true) 
event.create('mark_spiritualist').displayName('II. Mark of the Spiritualist').glow(true) 
event.create('mark_fighter').displayName('II. Mark of the Fighter').glow(true)
event.create('mark_summoner').displayName('II. Mark of the Summoner').glow(true)

event.create('mark_cavemaster').displayName('III. Mark of the Cavemaster').glow(true)
event.create('mark_agrarian').displayName('III. Mark of the Agrarian').glow(true)
event.create('mark_champion').displayName('III. Mark of the Champion').glow(true)
event.create('mark_artillerist').displayName('III. Mark of the Artillerist').glow(true)
event.create('mark_thaumaturge').displayName('III. Mark of the Thaumaturge').glow(true)
event.create('mark_captain').displayName('III. Mark of the Captain').glow(true)
event.create('mark_rogue').displayName('III. Mark of the Rogue').glow(true)
event.create('mark_pursuer').displayName('III. Mark of the Pursuer').glow(true)
event.create('mark_shaman').displayName('III. Mark of the Shaman').glow(true)
event.create('mark_underdog').displayName('III. Mark of the Underdog').glow(true)
event.create('mark_beastmaster').displayName('III. Mark of the Beastmaster').glow(true)

event.create('arrow_down').displayName('Green Arrow Down Icon')
event.create('arrow_down_yellow').displayName('Yellow Arrow Down Icon')
event.create('arrow_up').displayName('Arrow Up Icon')
event.create('arrow_left').displayName('Arrow Left Icon')

event.create('copper_coin').displayName('Copper Coin').tooltip('Acquired from quests, coin shop exchange, and defeating Tier 1 & 2 Champions')
event.create('iron_coin').displayName('Iron Coin').tooltip('Acquired from quests, coin shop exchange, and defeating Tier 2 & 3 Champions')
event.create('gold_coin').displayName('Gold Coin').tooltip('Acquired from quests, coin shop exchange, and defeating Tier 4, 5 & 6 Champions')
event.create('diamond_coin').displayName('Diamond Coin').tooltip('Acquired from quests and coin shop exchange')
event.create('netherite_coin').displayName('Netherite Coin').tooltip('Not yet implemented.')
event.create('monster_coin').displayName('Monster Coin').tooltip('Acquired from spawner quests and defeating Tier 2, 3, 4, 5 & 6 Champions. Using Bane of Arthropods or its Ameliorated version increases the chances.')
event.create('nether_coin').displayName('Nether Coin').tooltip('Acquired from defeating Champions in the Nether')
//event.create('end_coin').displayName('End Coin').tooltip('Acquired from defeating Champions in the End')

event.create('diamond_nugget').displayName('Diamond Nugget')
event.create('emerald_nugget').displayName('Emerald Nugget')
event.create('emerald_ingot').displayName('Emerald Ingot')
  
event.create('coin_01').displayName('Coin')
event.create('coin_02').displayName('Couple of Coins')
event.create('coin_03').displayName('Stack of Coins')
event.create('coin_04').displayName('Pile of Coins')
event.create('coin_05').displayName('Dozen of Coins')

event.create('coin_q_1').displayName('Quest Coin')

event.create('star').displayName('Star').glow(true)
event.create('heart').displayName('Heart')
event.create('heart-half').displayName('Half Heart')
event.create('caution').displayName('Caution')
event.create('chest').displayName('Chest')
event.create('chest2').displayName('Chest 2')
event.create('fire').displayName('Fire')
event.create('forbid').displayName('Stop')
event.create('help').displayName('Help')
event.create('key').displayName('Key')
event.create('key_01d').displayName('Old Key')
event.create('lightning').displayName('Lightning')
event.create('lock').displayName('Lock')
event.create('lock-2').displayName('Lock Unlocked')
event.create('mark').displayName('Mark')
event.create('skull').displayName('Skull')
event.create('skull2').displayName('Skull')
event.create('skull3').displayName('Skull')
event.create('ace').displayName('Ace of Spades')
event.create('armour').displayName('Kit')
event.create('bleed').displayName('Bleed')
event.create('book2').displayName('Book')
event.create('book3').displayName('Book')
event.create('book4').displayName('Book')
event.create('book_02f').displayName('Book')
event.create('book_04g').displayName('Book')
event.create('campfire').displayName('Fake Campfire')
event.create('dice').displayName('Dice')
event.create('letter').displayName('Letter')
event.create('magnifier').displayName('Magnifying Glass')
event.create('manuscript').displayName('Manuscript')
event.create('map').displayName('Treasure Map')
event.create('mine').displayName('Mine')
event.create('ruby').displayName('Fake Ruby')
event.create('scroll').displayName('Scroll')
event.create('scroll2').displayName('Scroll')
event.create('scroll_01c').displayName('Scroll')
event.create('magicscroll').displayName('Magic Scroll')
event.create('spellbook_01d').displayName('Spellbook')
event.create('spyglass').displayName('Spyglass')
event.create('levelup').displayName('Level Up')
event.create('shield').displayName('Shield')
event.create('ring').displayName('Ring')
event.create('amulet').displayName('Amulet')
event.create('rucksack').displayName('Rucksack')

})
onEvent('block.registry', event => {
	// Register new blocks here
	// event.create('example_block').material('wood').hardness(1.0).displayName('Example Block')

  event.create('glass_stairs')
	.type('stairs')
  	   .material('glass')
       .hardness(0.3)
       .resistance(0.3)
       .opaque(false)
	 .renderType('cutout')
       .displayName('Glass Stairs')
	 .textureAll('minecraft:blocks/glass')
	.transparent(true)
	.defaultTranslucent()
	.waterlogged()

  event.create('glass_slab')
	.type('slab')
  	   .material('glass')
       .hardness(0.3)
       .resistance(0.3)
       .opaque(false)
	 .renderType('cutout')
       .displayName('Glass Slab')
	 .textureAll('minecraft:blocks/glass')
	.transparent(true)
	.defaultTranslucent()
	.waterlogged()

	event.create('ccc1').displayName('Compressed Copper Coin').material('metal').hardness(1.0).harvestTool('pickaxe', 1)
	event.create('ccc2').displayName('Double Compressed Copper Coin').material('metal').hardness(1.5).harvestTool('pickaxe', 1)
	event.create('ccc3').displayName('Triple Compressed Copper Coin').material('metal').hardness(2.0).harvestTool('pickaxe', 1)
	event.create('ccc4').displayName('Quadruple Compressed Copper Coin').material('metal').hardness(2.5).harvestTool('pickaxe', 1)
	event.create('ccc5').displayName('Quintuple Compressed Copper Coin').material('metal').hardness(3.0).harvestTool('pickaxe', 1)
	event.create('ccc6').displayName('Sextuple Compressed Copper Coin').material('metal').hardness(3.5).harvestTool('pickaxe', 1)
	event.create('ccc7').displayName('Septuple Compressed Copper Coin').material('metal').hardness(4.0).harvestTool('pickaxe', 1)
	event.create('ccc8').displayName('Octuple Compressed Copper Coin').material('metal').hardness(4.5).harvestTool('pickaxe', 1)
})
