RynthSuite as of 2026-12-02 (internal 152e13d): release 2026.12.1.1
This commit is contained in:
parent
e8e4228d15
commit
6b5a9c7e99
65 changed files with 3920 additions and 237 deletions
|
|
@ -21,9 +21,9 @@ internal static class DefCommandParser
|
|||
"/rdef [use <slot or item name> | set <slot> [item name] | spell <slot> <spell name> | clear <slot> | bind <slot> <key> | unbind <slot> | "
|
||||
+ "weapons [search] | fav | slots <count> | list | status | settings | panels (the game panel buttons) | selection | appraisal [pin|unpin|again|popout|dock] | corpses [clear] | "
|
||||
+ "bars [add | remove <bar> | slots <bar> <count> | show <bar>] | shortcuts clearbusy [on|off] | "
|
||||
+ "qty [number|max|half] | split [number] [into <pack>] | give [number] | buy [number] [item name] | daynight [show|hide]]";
|
||||
+ "qty [number|max|half] | split [number] [into <pack>] | give [number] | buy [number] [item name] | daynight [show|hide|clear|box]]";
|
||||
|
||||
public const string DayNightUsage = "Usage: /rdef daynight [show|hide], e.g. /rdef daynight show (the Day/Night timer: real minutes to the next dawn or dusk)";
|
||||
public const string DayNightUsage = "Usage: /rdef daynight [show|hide|clear|box], e.g. /rdef daynight show (the Day/Night timer: real minutes to the next dawn or dusk; clear = no background, box = its dark box)";
|
||||
|
||||
public const string ClearBusyUsage =
|
||||
"Usage: /rdef shortcuts clearbusy on|off, e.g. /rdef shortcuts clearbusy on (a press held only by a stuck busy count clears it first; off by default)";
|
||||
|
|
@ -59,14 +59,16 @@ internal static class DefCommandParser
|
|||
case "selection": case "target":
|
||||
// "/rdef selection 0x80001234": select that object (a test hook for the Selection window).
|
||||
return new DefCommand(DefVerb.Selection, Text: rest);
|
||||
// The Day/Night timer (2026-11-04): Text "show", "hide" or "" (toggle).
|
||||
// The Day/Night timer (2026-11-04): Text "show", "hide" or "" (toggle); "clear" or "box" (2026-12-01) its background.
|
||||
case "daynight":
|
||||
return rest.ToLowerInvariant() switch
|
||||
{
|
||||
"" or "toggle" => new DefCommand(DefVerb.DayNight),
|
||||
"show" or "on" or "open" => new DefCommand(DefVerb.DayNight, Text: "show"),
|
||||
"hide" or "off" or "close" => new DefCommand(DefVerb.DayNight, Text: "hide"),
|
||||
_ => Fail($"'{rest}' isn't show or hide. {DayNightUsage}"),
|
||||
"clear" or "transparent" or "nobox" => new DefCommand(DefVerb.DayNight, Text: "clear"),
|
||||
"box" or "background" => new DefCommand(DefVerb.DayNight, Text: "box"),
|
||||
_ => Fail($"'{rest}' isn't show, hide, clear or box. {DayNightUsage}"),
|
||||
};
|
||||
case "fav": case "favourite": case "favorite": return new DefCommand(DefVerb.Favourite);
|
||||
case "weapons": case "weapon": case "picker": return new DefCommand(DefVerb.Weapons, Text: rest);
|
||||
|
|
|
|||
Loading…
Reference in a new issue