FoodCrates don't get delivered #31

Open
opened 2016-02-15 03:37:21 +00:00 by bryceharrington · 0 comments
bryceharrington commented 2016-02-15 03:37:21 +00:00 (Migrated from gitlab.com)

To reproduce, build a garden room with a bunch of plants, and set up botanists to tend them. Don't build any refrigerators yet. Let the plants grow to 100%. The botanists will harvest them, but with no fridges they'll leave the food at their feet in a FoodCrate.

Now build one or more fridges in a nearby pub room. The botanists will harvest newly grown crops and deliver them to the fridge, but will never pick up those initial FoodCrates and deliver them.

From staring at the code, I believe this is because at the time the harvest job is under way, a search is made for a fridge in order to create a followup delivery job. If there are no fridges then it creates the food crate instead. But I don't see any code to create delivery jobs from stray FoodCrates.

What would be awesome would be if janitors would put the crates on (or under) spare shelves. And then if a fridge becomes empty, have that generate a job to pull one of those crates in. Or something...

To reproduce, build a garden room with a bunch of plants, and set up botanists to tend them. Don't build any refrigerators yet. Let the plants grow to 100%. The botanists will harvest them, but with no fridges they'll leave the food at their feet in a FoodCrate. Now build one or more fridges in a nearby pub room. The botanists will harvest newly grown crops and deliver them to the fridge, but will never pick up those initial FoodCrates and deliver them. From staring at the code, I believe this is because at the time the harvest job is under way, a search is made for a fridge in order to create a followup delivery job. If there are no fridges then it creates the food crate instead. But I don't see any code to create delivery jobs from stray FoodCrates. What would be awesome would be if janitors would put the crates on (or under) spare shelves. And then if a fridge becomes empty, have that generate a job to pull one of those crates in. Or something...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ald_productions/spacebase-v2-updated-code#31
No description provided.