Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control panel orders-reevaluate option #837

Merged
merged 7 commits into from
Sep 29, 2023
Merged
3 changes: 3 additions & 0 deletions gui/control-panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ local REPEATS = {
['orders-sort']={
desc='Sort manager orders by repeat frequency so one-time orders can be completed.',
command={'--time', '1', '--timeUnits', 'days', '--command', '[', 'orders', 'sort', ']'}},
['orders-reevaluate']={
desc='Invalidates manager orders making it necessary to recheck conditions.',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would specifically say "once a month" here. otherwise people might be afraid that their orders will be in a constant reevaluation loop

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

command={'--time', '1', '--timeUnits', 'months', '--command', '[', 'orders', 'reset', ']'}},
['warn-starving']={
desc='Show a warning dialog when units are starving or dehydrated.',
command={'--time', '10', '--timeUnits', 'days', '--command', '[', 'warn-starving', ']'}},
Expand Down