DiseasePlowHealer = {}

function DiseasePlowHealer.prerequisitesPresent(specs)
    return SpecializationUtil.hasSpecialization(Plow, specs)
end

function DiseasePlowHealer.initSpecialization() end

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

function DiseasePlowHealer:onEndWorkAreaProcessing(dt)
    local spec = self.spec_plow
    local worked = spec ~= nil and spec.isWorking == true
    DiseaseCareUtil.handleCareAction(self, "plow", spec, worked)
end
