CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.26k stars 4.12k forks source link

Zone Manager places wooden spare parts in the wood zone #32584

Open Greysa opened 5 years ago

Greysa commented 5 years ago

Describe the bug

When using the Zone manager to sort items, having a spare parts zone and a wood zone places wood spare parts such as wooden panels and planks, into the wood zone and not the spare parts zone. This happens regardless whether the spare parts zone is listed higher or lower in the Zone manager UI. This is an issue if the wood zone is set as a firewood source and planks and wooden panels are automatically burned.

Steps To Reproduce

Steps to reproduce the behaviour:

  1. Create Zone for wood items and another for spare parts. also create Unsorted area.
  2. Drop wooden panels and/or planks onto unsorted area.
  3. Sort loot.
  4. Change order of spare parts and wood in Zone Manager.
  5. Repeat 2 and 3.

Expected behaviour

Loot should be sorted based on priority in the Zone Manager UI. If it sorts wood first, then spare parts, I should be able to adjust the priority so that it sorts spare parts first, then wood.

Versions and configuration

bandti45 commented 5 years ago

I believe that is intentional because when you bring back a large haul it's helpful to put the wood into your wood source for your fire. changing that would mean you'd need to remove wood from your other and spare parts stockpiles to put it into your fire source. if you want your wood to not be in the wood stockpile you should remove the wood stockpile.

Greysa commented 5 years ago

Or it could be done with a priority system. You can already move zones up and down the zone manager list, why not have that set the priority of what items go into what zones. So having wood zone higher than spare parts would send all wooden spare parts to the wood zone, and having spare parts higher would send them to the spare parts zone. That way you can still have both zones and a wood stockpile and set your priorities accordingly.

Also, I'm not just talking about logs and such, I'm talking about wooden panels etc, those items are marked as 'spare parts', but because they are wood, they are placed in the wood zone. I want to be able to have my wood zone and my spare parts zone and have the wooden spare parts sent to whichever has priority.

alkemann commented 5 years ago

Wood stockpile takes Wood panels regardless of priority, when there is a Spare parts zone. If the wood zone is disabled, the Wood panels goes correctly.