def METHOD_NAME(vanilla_logic, level: int) -> StardewRule:
    if level >= 6:
        return vanilla_logic.can_cook() & vanilla_logic.can_fish() & vanilla_logic.can_reach_region(Region.saloon) & \
            vanilla_logic.has_building(Building.coop) & vanilla_logic.has_building(Building.barn)
    else:
        return vanilla_logic.can_cook()