Skip to content

Commit

Permalink
fix enum definitions of hauler_type
Browse files Browse the repository at this point in the history
while implementing the --hauler-type param for the prioritize script, I
noticed that the job->item_subtype field, which is tagged as being a
hauler_type enum, did not match up with the type of item being hauled. I
fixed this enum based on observation of which enum values resulted in
which types of items were hauled.

I was unabled to verify the "Bin" enum. I could not get any hauling jobs
of this type to be generated in my fort, even when explicitly building
bins and enabling bins for stockpiles.
  • Loading branch information
myk002 committed Aug 22, 2021
1 parent 581c0be commit 0607fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions df.stockpile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<enum-item name='Any'/>
<enum-item name='Stone'/>
<enum-item name='Wood'/>
<enum-item name='Item'/>
<enum-item name='Bin'/>
<enum-item name='Body'/>
<enum-item name='Food'/>
<enum-item name='Refuse'/>
<enum-item name='Item'/>
<enum-item name='Furniture'/>
<enum-item name='Animal'/>
<enum-item name='Bin'/>
</enum-type>

<enum-type type-name='furniture_type'>
Expand Down

0 comments on commit 0607fd4

Please sign in to comment.