RynthSuite as of 2026-12-02 (internal a58302e): hotfix 2026.12.2.1

This commit is contained in:
Tom Bohar 2026-12-02 08:38:40 -05:00
commit ba4ea691fe
18 changed files with 263 additions and 148 deletions

View file

@ -136,7 +136,6 @@ public sealed partial class RynthDefectivePlugin : RynthPluginBase
_qty.Reset();
_qtyWorld?.Reset();
_barView = RynthCore.Plugin.RynthDefective.ShortcutBar.BarSnapshot.NotReady;
_dayNightView = Clock.DayNightView.NotReady;
foreach (UiWindow? w in new[] { _barWindow, _pickerWindow, _settingsWindow })
if (w != null) { w.Visible = false; w.NeedsPass = true; }
_session.DeclineCopy();
@ -234,22 +233,10 @@ public sealed partial class RynthDefectivePlugin : RynthPluginBase
else PrintFail("This RynthCore can't show the corpses window (it needs plugin API v90).");
break;
case DefVerb.DayNight:
{
if (c.Text is "clear" or "box")
{
// The timer's background (2026-12-01): kept with the character's settings.
_session.Settings.DayNightBox = c.Text == "box";
RequestSave();
Answer(DefReplies.DayNightLook(_session.Settings.DayNightBox));
break;
}
// The window shown or hidden, and the time now in the reply (an engine without the window: the time only).
RynthPanelOpen mode = c.Text == "show" ? RynthPanelOpen.Open : c.Text == "hide" ? RynthPanelOpen.Close : RynthPanelOpen.Toggle;
int state = UsesShortcutBar ? Host.SetPanelOpen(Clock.DayNightWindow.Title, mode) : -1;
Clock.DayNightView clock = ReadDayNight(Environment.TickCount64);
Answer(DefReplies.DayNight(state, clock.Ready ? clock.Now : null));
// The Day/Night timer is RynthAi's since 2026-12-02 (R-20261202-122606-0b16): handed over, RynthAi answers.
if (!(Host.HasSendPluginCommand && Host.SendPluginCommand("RynthAi", "daynight", c.Text)))
PrintFail(DefReplies.DayNightMoved);
break;
}
case DefVerb.Panels:
if (UsesPanelButtons) Answer(DefReplies.Window("Game Panels buttons", Host.SetPanelOpen(RynthCore.Plugin.RynthDefective.ShortcutBar.PanelButtonsWindow.Title, RynthPanelOpen.Toggle)));
else PrintFail("This RynthCore can't open the game's panels from buttons (it needs plugin API v90).");
@ -501,7 +488,6 @@ public sealed partial class RynthDefectivePlugin : RynthPluginBase
TickAppraisal(now);
TickQuantity(now);
TickCorpses(now);
TickDayNight(now);
// With the shortcut bar the old script-window bar stays shut (the weapon picker is still one), and
// has no RynthBar button (one that opened a window shut again at once). Its settings have their