tellraw @s ["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"]

##UPGRADES
tellraw @s [{"bold":false,"color":"white","text":"-------"},{"bold":true,"color":"gold","text":"Upgrades"},{"bold":false,"color":"white","text":"-------"}]

tellraw @s[tag=upgrade_1] ["",{"color":"white","text":"Upgrade: "},{"color":"yellow","bold":true,"text":"Boltgun","hoverEvent":{"action":"show_text","contents":["",{"color":"yellow","text":"Widow Maker"},{"text":" is now changed: increases the fire rate, but now it now shoots a fast moving projectile, dealing 40 LC damage, piercing up to 2 targets and restoring "},{"color":"yellow","text":"20 Scrap"},{"text":"."}]}}]
tellraw @s[tag=upgrade_2] ["",{"hoverEvent":{"action":"show_text","contents":["",{"color":"white","text":"If "},{"color":"yellow","text":"Sentry Gun"},{"color":"white","text":" is destroyed, your "},{"color":"yellow","text":"Problem Solver"},{"color":"white","text":" cooldown is reduced by 4 seconds."}]},"text":"","extra":[{"color":"white","text":"Upgrade: "},{"color":"yellow","bold":true,"text":"Gun Flinger"}]}]
tellraw @s[tag=upgrade_3] ["",{"hoverEvent":{"action":"show_text","contents":["",{"color":"yellow","text":"Tesla Charged"},{"color":"white","text":" mode has a 20% chance to "},{"color":"gold","text":"Stun"},{"color":"white","text":" enemies around for 1 second."}]},"text":"","extra":[{"color":"white","text":"Upgrade: "},{"color":"yellow","bold":true,"text":"Electro-charged"}]}]

tellraw @s[tag=upgrade_4] ["",{"hoverEvent":{"action":"show_text","contents":["",{"color":"white","text":"Hitting all "},{"color":"yellow","text":"Window Maker"},{"color":"white","text":" shots will create an explosion, dealing 75 LC damage in a small AOE. "},{"color":"yellow","text":"Boltgun"},{"color":"white","text":" upgrade requires 5 hits to trigger the explosion."}]},"text":"","extra":[{"color":"white","text":"Upgrade: "},{"color":"yellow","bold":true,"text":"Meatshot"}]}]
tellraw @s[tag=upgrade_5] ["",{"hoverEvent":{"action":"show_text","contents":["",{"color":"yellow","text":"Sniper Mode"},{"color":"white","text":" now focuses the enemies you shoot with "},{"color":"yellow","text":"Window Maker"},{"color":"white","text":", dealing 25 extra Q damage to them."}]},"text":"","extra":[{"color":"white","text":"Upgrade: "},{"color":"yellow","bold":true,"text":"Tinkering"}]}]
tellraw @s[tag=upgrade_6] ["",{"hoverEvent":{"action":"show_text","contents":["",{"color":"white","text":"Hitting "},{"color":"yellow","text":"Sentries "},{"color":"white","text":"with "},{"color":"yellow","text":"Jagged Hit"},{"color":"white","text":" will explode them instead, dealing 200% AOE Q damage, reducing its cooldown by 2 seconds."}]},"text":"","extra":[{"color":"white","text":"Upgrade: "},{"color":"yellow","bold":true,"text":"Detonation"}]}]

tellraw @s[tag=upgrade_7] ["",{"hoverEvent":{"action":"show_text","contents":["",{"color":"yellow","text":"Jagged Hit "},{"color":"white","text":"consumes up to 100 "},{"color":"yellow","text":"Scrap"},{"color":"white","text":" on cast. Gets 1 RC damage and 0.5% additional healing per"},{"color":"yellow","text":"Scrap"},{"color":"white","text":"."}]},"text":"","extra":[{"color":"white","text":"Upgrade: "},{"color":"yellow","bold":true,"text":"Frontloaded Justice"}]}]
tellraw @s[tag=upgrade_8] ["",{"hoverEvent":{"action":"show_text","contents":["",{"color":"white","text":"Hitting your "},{"color":"yellow","text":"Sentry Gun"},{"color":"white","text":" with "},{"color":"yellow","text":"Jagged Hit"},{"color":"white","text":" will boost their Attack Speed by 50% for 4 seconds."}]},"text":"","extra":[{"color":"white","text":"Upgrade: "},{"color":"yellow","bold":true,"text":"Level Three"}]}]
tellraw @s[tag=upgrade_9] ["",{"hoverEvent":{"action":"show_text","contents":["",{"color":"yellow","text":"Sentry Guns"},{"color":"white","text":" also inherit 50% of your "},{"color":"aqua","text":"Max Shield"},{"color":"white","text":" . Tesla Charged restores 2% "},{"color":"aqua","text":"Max Shield"},{"color":"white","text":" instead."}]},"text":"","extra":[{"color":"white","text":"Upgrade: "},{"color":"yellow","bold":true,"text":"Rescue Ranger"}]}]

#close
tellraw @a {"bold":true,"clickEvent":{"action":"run_command","value":"/function main:characters/engineer/info/info"},"color":"white","hoverEvent":{"action":"show_text","value":[{"text":"Click to go back.","color":"white"}]},"text":">>>Back<<<"}

#close
tellraw @a {"bold":true,"clickEvent":{"action":"run_command","value":"/function main:characters/info_close"},"color":"gray","hoverEvent":{"action":"show_text","value":[{"text":"Click to close.","color":"white"}]},"text":">>>Close<<<"}