
# -> Ill
execute if entity @s[tag=OverlyRealistic.Player.IsSick] run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 3

# -> Bleeding
execute if score @s OverlyRealistic.Player.BleedingTimer matches 1.. run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 6

# -> Burning
execute if score @s OverlyRealistic.Player.Stats.Temperature matches 100 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 11

# -> Freezing
execute if score @s OverlyRealistic.Player.Stats.Temperature matches 0 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 12

# -> Low proteins
execute if score @s OverlyRealistic.Player.Stats.Proteins matches ..0 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 8

# -> Low fats
execute if score @s OverlyRealistic.Player.Stats.Fats matches ..0 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 9

# -> Low carbs
execute if score @s OverlyRealistic.Player.Stats.Carbs matches ..0 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 10

# -> Hurt
execute if score @s OverlyRealistic.Player.Health matches 10..17 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 1

# -> Seriously hurt
execute if score @s OverlyRealistic.Player.Health matches 0..9 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 2

# -> Cold
execute if score @s OverlyRealistic.Player.Stats.Temperature matches 1..20 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 15

# -> Hot
execute if score @s OverlyRealistic.Player.Stats.Temperature matches 80..99 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 16

# -> Dehydrated
execute if score @s OverlyRealistic.Player.Stats.Thirst matches 0..25 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 4

# -> Starving
execute if score @s OverlyRealistic.Player.Hunger matches ..6 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 13

# -> Hurt
execute if score @s OverlyRealistic.Player.Health matches 10..17 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 1

# -> Hungry
execute if score @s OverlyRealistic.Player.Hunger matches 7..15 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 14

# -> Dirty
execute if score @s OverlyRealistic.Player.Stats.Hygiene matches 0..15 run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 5

# -> Wet
execute if score @s OverlyRealistic.Player.WetTime matches 1.. run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Status 7

# -> Healthy
scoreboard players set @s OverlyRealistic.Player.Stats.Status 0