Skip to content
Snippets Groups Projects
Commit 6e521689 authored by brickode's avatar brickode
Browse files

Nursery stuff

parent 4a3d8181
No related branches found
No related tags found
1 merge request!2620Nursery
...@@ -91,6 +91,13 @@ window.RAFacilityRemove = function RAFacilityRemove(slave, rule) { ...@@ -91,6 +91,13 @@ window.RAFacilityRemove = function RAFacilityRemove(slave, rule) {
} }
break; break;
case "work as a nanny":
if (slave.assignment === rule.setAssignment) {
r += `<br>${slave.slaveName} has been removed from ${V.nurseryName} and has been assigned to ${rule.removalAssignment}.`;
assignJob(slave, rule.removalAssignment);
}
break;
case "get treatment in the clinic": case "get treatment in the clinic":
if (slave.assignment === rule.setAssignment) { if (slave.assignment === rule.setAssignment) {
r += `<br>{slave.slaveName} has been removed from ${V.clinicName} and has been assigned to ${rule.removalAssignment}.`; r += `<br>{slave.slaveName} has been removed from ${V.clinicName} and has been assigned to ${rule.removalAssignment}.`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment