

# -> If it is raining then do rain operations
execute if score #or.is_raining_thundering OverlyRealistic.General.ArbitraryData matches 1 \
    if predicate overly_realistic:world/weather/rain_operate_rng \
    at @p[sort=random] run \
        function overly_realistic:general/weather/randomized_weather_operate

# -> Schedule shooting star loop
execute unless score #or.shooting_star_can_loop OverlyRealistic.General.ArbitraryData matches 1 run \
    function overly_realistic:general/celestial_bodies/shooting_star/shooting_star_loop

# -> Function tag
function #overly_realistic:general_loops/main_101t

# -> Loop (5 sec)
schedule function overly_realistic:general/main_loops/main_loop_101t 101t