time set 5000
experience set @a 0 levels
experience set @a 0 points
gamerule doDaylightCycle false
gamerule announceAdvancements true
gamerule commandBlockOutput false
gamerule naturalRegeneration false
gamerule universalAnger true
gamerule doFireTick false
gamerule mobGriefing false
gamerule showDeathMessages false

#p
data modify storage dinnerbone dinnerbone set value Dinnerbone
data modify storage enemy enemy set value Enemy
execute as @a run attribute @s minecraft:safe_fall_distance base set 1000
execute as @a run attribute @s minecraft:sneaking_speed base set 1
execute as @a run attribute @s movement_speed base set 0.1
execute as @a run attribute @s step_height base set 1
execute as @a run attribute @s minecraft:gravity base set 0.07
execute as @a run attribute @s knockback_resistance base set 10
execute as @a run attribute @s minecraft:jump_strength base set 0.55
execute as @a run attribute @s minecraft:entity_interaction_range base set 10

#i
team add iframes ""
team modify iframes collisionRule never
team modify iframes friendlyFire false
team modify iframes nametagVisibility never
#n
team add enemy ""
team modify enemy color red
team modify enemy collisionRule never
team modify enemy friendlyFire false
team modify enemy nametagVisibility never
#k
team add target ""
team modify target color blue
team modify target collisionRule never
team modify target friendlyFire false
team modify target nametagVisibility never
#i
team add player ""
team modify player color dark_green
team modify player collisionRule never
team modify player friendlyFire false
team modify player nametagVisibility always
team modify player seeFriendlyInvisibles false
#u
team add green_color "Green Color"
team add red_color "Red Color"
team add blue_color "Blue Color"
team add purple_color "Purple Color"
team add gold_color "Gold Color"
team add yellow_color "Yellow Color"
team add gray_color "Gray Color"
team modify green_color color green
team modify blue_color color aqua
team modify red_color color red
team modify purple_color color light_purple
team modify gold_color color gold
team modify yellow_color color yellow
team modify gray_color color gray
team modify green_color seeFriendlyInvisibles false
team modify blue_color seeFriendlyInvisibles false
team modify red_color seeFriendlyInvisibles false
team modify purple_color seeFriendlyInvisibles false
team modify gold_color seeFriendlyInvisibles false
team modify yellow_color seeFriendlyInvisibles false
team modify gray_color seeFriendlyInvisibles false

#s
scoreboard players set .artifact_random_roll arena 1
execute store result storage artifact_random value int 1 run scoreboard players get .artifact_random_roll arena

tag @s remove upgrade_1
tag @s remove upgrade_2
tag @s remove upgrade_3
tag @s add player