
# -> If player is wearing heavy armor then return and apply extra exhaustion
execute if items entity @s armor.* *[custom_data~{"or_is_heavy_armor":1b}] run \
    return run \
        item modify entity @s armor.body overly_realistic:hunger/apply_exhaustion_2_0

# -> Apply generic exhaustion
item modify entity @s armor.body overly_realistic:hunger/apply_exhaustion_0_5
