execute as @a run function main:mechanics/upgrades/choose_random
execute store result score .upgrade_1 mechanics run scoreboard players get .upgrade mechanics

execute as @a run function main:mechanics/upgrades/choose_random
execute store result score .upgrade_2 mechanics run scoreboard players get .upgrade mechanics