
# -> Reset adv trigger
advancement revoke @s only overly_realistic:items/player_use_bandage

# -> Remove bleeding
scoreboard players set @s OverlyRealistic.Player.BleedingTimer 0

# -> Mental health increase RNG
execute if predicate overly_realistic:player/damage/potent_direct_damage_rng run \
    function overly_realistic:players/mental_health/edit_mental_health {type:"add",value:2}

# -> Sound
playsound minecraft:block.wool.step player @a ~ ~ ~ 0.5 2

# -> Remove effect
effect clear @s luck

# -> Remove item
#execute if items entity @s weapon.mainhand poisonous_potato[custom_data~{IsBandage:1b}] run \
    return run \
        item replace entity @s weapon.mainhand with air
#item replace entity @s weapon.offhand with air