
# -> If puddle was removed then remove marker
execute unless block ~ ~ ~ water run \
    return run \
        kill @s

# -> Add to lifetime
scoreboard players add @s OverlyRealistic.General.ArbitraryData 1

# -> Function tag
function #overly_realistic:mechanics/misc_weather_marker_operations

# -> If lifetime is not over limit then return
execute unless score @s OverlyRealistic.General.ArbitraryData matches 3800.. run \
    return fail

# -> Replace puddle with air
setblock ~ ~ ~ air strict

# -> Remove marker
kill @s