DiseaseRollerHealer = {}

function DiseaseRollerHealer.prerequisitesPresent(specs)
    return SpecializationUtil.hasSpecialization(Roller, specs)
end

function DiseaseRollerHealer.initSpecialization() end

function DiseaseRollerHealer.registerEventListeners(vehicleType)
    SpecializationUtil.registerEventListener(vehicleType, "onEndWorkAreaProcessing", DiseaseRollerHealer)
end

function DiseaseRollerHealer:onEndWorkAreaProcessing(dt, hasProcessed)
    local spec = self.spec_roller
    local worked = hasProcessed or (spec ~= nil and spec.isWorking == true)
    DiseaseCareUtil.handleCareAction(self, "roller", spec, worked)
end
