
# -> If player has a dizzyness value above 0 then operate
execute if score @s OverlyRealistic.Player.Stats.Dizzyness matches 1.. run \
    function overly_realistic:players/dizzyness/dizyness_operate

# --> Ore breaking checks for mining XP

# -> Iron ore
execute if score @s OverlyRealistic.Player.WisdomSpecialized.Mine_IronOre matches 10.. run \
    function overly_realistic:players/wisdom/mining/add_to_skill_xp_c_mine_iron_ore_10
execute if score @s OverlyRealistic.Player.WisdomSpecialized.Mine_DeepslateIronOre matches 10.. run \
    function overly_realistic:players/wisdom/mining/add_to_skill_xp_c_mine_iron_ore_10

# -> Copper ore
execute if score @s OverlyRealistic.Player.WisdomSpecialized.Mine_CopperOre matches 10.. run \
    function overly_realistic:players/wisdom/mining/add_to_skill_xp_c_mine_copper_ore_10
execute if score @s OverlyRealistic.Player.WisdomSpecialized.Mine_DeepslateCopperOre matches 10.. run \
    function overly_realistic:players/wisdom/mining/add_to_skill_xp_c_mine_copper_ore_10

# -> Gold ore
execute if score @s OverlyRealistic.Player.WisdomSpecialized.Mine_GoldOre matches 10.. run \
    function overly_realistic:players/wisdom/mining/add_to_skill_xp_c_mine_gold_ore_10
execute if score @s OverlyRealistic.Player.WisdomSpecialized.Mine_DeepslateGoldOre matches 10.. run \
    function overly_realistic:players/wisdom/mining/add_to_skill_xp_c_mine_gold_ore_10
