trucks assigned to a box are deconstructing things

Vehicles & Roads
kennyb [ideas] · 2 years ago

0.6.4d (b343)
load bug - trucks assigned to a box are deconstructing things.save and observe that 2 of the trucks assigned to the cp1 box are carrying rubber. (they should be building the copper smelters upstairs, not deconstructing)

2024-07-15 16_50_20-Captain of Industry
notice the third truck assigned to the box is going to deconstruct more belts
2024-07-15 17_07_51-Captain of Industry

watch the truck closest to the shipyard, and after dropping the rubber, he'll freak out a bit trying to figure out where to go (the pausing truck when he can't find a way is a different bug though).

(bonus bug) in the 2nd screenshot, it says "assigned to unit storage II" when the name of that storage is actually "CP1", not "Unit Storage II"

1 attachment only for registered users
poltime poltime · 2 years ago

It's not a bug. They don't have any job because of "No routes assigned". Trucks dismantle buildings in their free time even if they are assigned to a storage.

kennyb [ideas] · 2 years ago

they definitely do have jobs to do. just to the right of the screenshot, there are some copper smelters that should be built with cp1. the priority of construction is 14 and priority of deconstruction is 15 -- so it's not priorities either.

computerneek · 6 months ago

This is definitely a bug, though it seems you've missed the full picture- or perhaps the behavior has changed in the updates since. For trucks participating in deconstruction when assigned to an unrelated storage, even with no explicit routes assigned to that storage... I can see an allow, but the problem is that they do it even when:

  1. There are explicit routes defined, AND
  2. They are a truck type (ex. amphibious) which has construction jobs disabled.

That's two different parameters that insist they should NOT be participating in the demolition. I'd also like to note they don't take it to where it belongs, but always to the shipyard- which creates more work for my other trucks.

Reproduction steps:

  1. Prepare any world with A) something built, B) space in a storage for the components that something will drop, and C) an unrelated storage (slag, for instance) with vehicles assigned to it. Have tested with pickups & trucks.
  2. In vehicles management, ban all vehicles from construction tasks.
  3. Demolish that something.
  4. The storage-assigned trucks will deconstruct it into the shipyard. Unassigned trucks will (correctly) ignore the work.
  5. Finally, unassigned trucks will empty the shipyard into the storage, unless their logistics is disabled. This is correct, but on jobs that should never have been created.

This is a particularly vile problem when you're like me, and want truck logistics to take priority over construction/deconstruction, as these building-assigned trucks won't care about that priority. They'll also cross the entire factory, starving their assigned structure of their service, to do so. Have not tested with logistic zone control.

Encountered on Update 4.1, v0.8.3a (b578).

20 Showing 1–4 of 4