Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Template for new versions:
## New Features

## Fixes
- `autoclothing`, `autoslab`, `tailor`: orders will no longer be created with a repetition frequency of ``NONE``

## Misc Improvements

Expand Down
1 change: 1 addition & 0 deletions plugins/autoclothing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ static void add_clothing_orders() {
newOrder->material_category = clothingOrder.material_category;
newOrder->amount_left = amount;
newOrder->amount_total = amount;
newOrder->frequency = df::workquota_frequency_type::OneTime;
world->manager_orders.all.push_back(newOrder);
}
}
Expand Down
1 change: 1 addition & 0 deletions plugins/autoslab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ static void createSlabJob(df::unit *unit)
order->specdata.hist_figure_id = unit->hist_figure_id;
order->amount_left = 1;
order->amount_total = 1;
order->frequency = df::workquota_frequency_type::OneTime;
world->manager_orders.all.push_back(order);
}

Expand Down
1 change: 1 addition & 0 deletions plugins/tailor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ class Tailor {
order->amount_total = c;
order->status.bits.validated = false;
order->status.bits.active = false;
order->frequency = df::workquota_frequency_type::OneTime;
order->id = world->manager_orders.manager_order_next_id++;

world->manager_orders.all.push_back(order);
Expand Down