
# -> Reset reiterations
scoreboard players set #or.recursive_iterations OverlyRealistic.General.ArbitraryData 0

# -> Randomized position
function overly_realistic:general/random_events/random_event_global/get_location

# -> If all iterations failed then return and remove marker
execute if score #or.recursive_iterations OverlyRealistic.General.ArbitraryData matches -1 run \
    return run \
        kill @s

# -> Perform checks in new position
execute at @s run \
    function overly_realistic:general/random_events/random_event_2400t/general_checks

# -> Remove marker
kill @s
