# HG changeset patch # User Matti Hamalainen # Date 1366376768 -10800 # Node ID d8c04a55d1d440b91d0dc67f297246a9861dc1c2 # Parent 998654bf0b6c0c5227e38aca716f215552bf1721 Move reagent pouch command documentation to tfdoc inline docs. diff -r 998654bf0b6c -r d8c04a55d1d4 docs/manual.sgml --- a/docs/manual.sgml Fri Apr 19 16:05:53 2013 +0300 +++ b/docs/manual.sgml Fri Apr 19 16:06:08 2013 +0300 @@ -2725,6 +2725,12 @@ +The module also supports merchant belt's 'weigh' command for catching +the item's weight, if the belt is worn and /havebelt +setting of the merchant module is enabled. + + + Example of output: @@ -2800,51 +2806,7 @@ this module. -§macros_2; - - /rpouch - Prints a short help text with basic syntaxes of the commands. - - - /rpouch check <dst pouch> from <src pouch> [in <container>] - Checks and shows a list of reagents to be stocked into "dst pouch" - from "src pouch" with current settings. Source pouch can optionally be - in container (such as a chest). - - - /rpouch fill <dst pouch> from <src pouch> [in <container>] - Like 'check' but instead of a list, moves reagents to "dst pouch" - to match the current settings. - - - /rpouch move <dst pouch> from <src pouch> [in <container>] - Moves ALL power reagents from "src pouch" to "dst pouch". - - - /rpouch set <spell> <amount> - Set amount of reagents to stock for given spell. (Like "rset", - but takes spell name instead.) - - - /rpouch rset <reagent> <amount> - Set amount of given reagent to be stocked. (Like "set", but takes - reagent name instead.) - - - /rpouch adjust <amount> - ??? - - - /rpouch all <amount> - Unconditionally sets number of ALL reagents to be stocked to - given amount. - - - /rpouch list - Shows a list of current settings (e.g. how many of each reagent to - stock.) - -§macros_end; + diff -r 998654bf0b6c -r d8c04a55d1d4 gm-rpouch.tf --- a/gm-rpouch.tf Fri Apr 19 16:05:53 2013 +0300 +++ b/gm-rpouch.tf Fri Apr 19 16:06:08 2013 +0300 @@ -265,6 +265,40 @@ /endif +;@command /rpouch +;@desc Prints a short help text with basic syntaxes of the commands. + +;@command /rpouch check from [in ] +;@desc Checks and shows a list of reagents to be stocked into "dst pouch" +;@desc from "src pouch" with current settings. Source pouch can optionally be +;@desc in container (such as a chest). + +;@command /rpouch fill <dst pouch> from <src pouch> [in <container>] +;@desc Like 'check' but instead of a list, moves reagents to "dst pouch" +;@desc to match the current settings. + +;@command /rpouch move <dst pouch> from <src pouch> [in <container>] +;@desc Moves ALL power reagents from "src pouch" to "dst pouch". + +;@command /rpouch set <spell> <amount> +;@desc Set amount of reagents to stock for given spell. (Like "rset", +;@desc but takes spell name instead.) + +;@command /rpouch rset <reagent> <amount> +;@desc Set amount of given reagent to be stocked. (Like "set", but takes +;@desc reagent name instead.) + +;@command /rpouch adjust <amount> +;@desc ??? + +;@command /rpouch all <amount> +;@desc Unconditionally sets number of ALL reagents to be stocked to +;@desc given amount. + +;@command /rpouch list +;@desc Shows a list of current settings (e.g. how many of each reagent to stock.) + + ;; Main command interface /def -i rpouch =\ /let _args=$[tolower({*})]%;\