
# -> Time checks
execute if score #or.WorldTime OverlyRealistic.General.ArbitraryData matches 5000..8000 run \
    scoreboard players add @s OverlyRealistic.Player.Stats.Temperature 6
execute if score #or.WorldTime OverlyRealistic.General.ArbitraryData matches 13000..23460 run \
    scoreboard players remove @s OverlyRealistic.Player.Stats.Temperature 6

# -> Rain/snow check
execute if predicate overly_realistic:world/weather/is_raining_thundering run \
    scoreboard players remove @s OverlyRealistic.Player.Stats.Temperature 8