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
- `orders`: added search overlay to find and navigate to matching manager orders with arrow indicators
- `orders`: exported orders now include a human-readable ``name`` field
- `sort`: added ``Uniformed`` filter to squad assignment screen to filter dwarves with mining, woodcutting, or hunting labors
- `sort`: Add death cause button to dead/missing tab in the creatures screen

Expand Down
2 changes: 2 additions & 0 deletions plugins/orders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "PluginManager.h"

#include "modules/Filesystem.h"
#include "modules/Job.h"
#include "modules/Materials.h"
#include "modules/World.h"

Expand Down Expand Up @@ -376,6 +377,7 @@ static command_result orders_export_command(color_ostream & out, const std::stri
order["art"] = art;
}

order["name"] = Job::getManagerOrderName(it);
order["amount_left"] = it->amount_left;
order["amount_total"] = it->amount_total;
order["is_validated"] = bool(it->status.bits.validated);
Expand Down
Loading