From 19133ff3275ee318f5a696c8508a01ad4ea98e70 Mon Sep 17 00:00:00 2001 From: Eric Wald Date: Sun, 3 Aug 2014 16:40:03 -0600 Subject: [PATCH] Documenting the new Stockflow option. --- Readme.rst | 6 ++++++ plugins/stockflow.cpp | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Readme.rst b/Readme.rst index 93ce8526c..8e3fb14b1 100644 --- a/Readme.rst +++ b/Readme.rst @@ -1486,12 +1486,15 @@ Usage: Enable the plugin. ``stockflow disable`` Disable the plugin. + ``stockflow fast`` + Enable the plugin in fast mode. ``stockflow list`` List any work order settings for your stockpiles. ``stockflow status`` Display whether the plugin is enabled. While enabled, the 'q' menu of each stockpile will have two new options: + * j: Select a job to order, from an interface like the manager's screen. * J: Cycle between several options for how many such jobs to order. @@ -1499,6 +1502,9 @@ Whenever the bookkeeper updates stockpile records, new work orders will be placed on the manager's queue for each such selection, reduced by the number of identical orders already in the queue. +In fast mode, new work orders will be enqueued once per day, instead of +waiting for the bookkeeper. + workflow -------- Manage control of repeat jobs. diff --git a/plugins/stockflow.cpp b/plugins/stockflow.cpp index 4efab7dd3..d061f02d5 100644 --- a/plugins/stockflow.cpp +++ b/plugins/stockflow.cpp @@ -38,6 +38,8 @@ const char *usage = ( " Enable the plugin.\n" " stockflow disable\n" " Disable the plugin.\n" + " stockflow fast\n" + " Enable the plugin in fast mode.\n" " stockflow list\n" " List any work order settings for your stockpiles.\n" " stockflow status\n" @@ -50,6 +52,9 @@ const char *usage = ( "Whenever the bookkeeper updates stockpile records, new work orders will\n" "be placed on the manager's queue for each such selection, reduced by the\n" "number of identical orders already in the queue.\n" + "\n" + "In fast mode, new work orders will be enqueued once per day, instead of\n" + "waiting for the bookkeeper.\n" ); /* @@ -352,7 +357,7 @@ static command_result stockflow_cmd(color_ostream &out, vector & parame } } - out.print("Stockflow is %s %s.\n", (desired == enabled)? "currently": "now", desired? "enabled": "disabled"); + out.print("Stockflow is %s %s%s.\n", (desired == enabled)? "currently": "now", desired? "enabled": "disabled", fast? ", in fast mode": ""); enabled = desired; return CR_OK; }