
# -> Operate on players
execute if score #or.setting.generate_foostep_markings OverlyRealistic.Settings.ArbitrarySetting matches 1 \
    as @a[tag=!OverlyRealistic.Player.IsGhost,predicate=overly_realistic:player/footstep_markings/footstep_creatable] \
    at @s \
    unless block ~ ~ ~ snow run \
        function overly_realistic:players/misc/ground_markings/footstep_markings/create_footstep

# -> Operate on TNT
execute as @e[type=tnt,tag=!OverlyRealistic.CheckedTnt] at @s run \
    function overly_realistic:general/explosions/tnt_check

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

# -> Loop
schedule function overly_realistic:general/main_loops/main_loop_23t 23t