
# -> Filter corpse
scoreboard players set #or.player_corpse_filter_hit OverlyRealistic.General.ArbitraryData 0
execute on attacker \
    if entity @s[tag=OverlyRealistic.Player.TempPlayerHitCorpse] run \
        scoreboard players set #or.player_corpse_filter_hit OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_corpse_filter_hit OverlyRealistic.General.ArbitraryData matches 0 run \
    return fail

# -> Operate on mannequin
execute on vehicle run \
    function overly_realistic:general/downing/player_corpse/corpse_interactions/corpse_hit/mannequin_hit
