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

@ -106,11 +106,7 @@ public sealed partial class RynthDefectivePlugin : IBarActions
"\",\"icon\":\"\\u" + ((int)RynthIcons.Skull[0]).ToString("X4", CultureInfo.InvariantCulture) +
"\",\"width\":290,\"height\":80,\"minWidth\":140,\"minHeight\":30,\"bar\":true,\"edgeToEdge\":true," +
"\"chrome\":\"none\",\"fitHeight\":true,\"scale\":\"draw\"}";
// Day or night and the real minutes to the change (a bar button of its own; one row, any width).
string dayNight = ",{\"id\":\"daynight\",\"title\":\"" + Clock.DayNightWindow.Title + "\",\"surface\":\"" + DayNightSurface +
"\",\"icon\":\"\\u" + ((int)RynthIcons.Sun[0]).ToString("X4", CultureInfo.InvariantCulture) +
"\",\"width\":150,\"height\":26,\"minWidth\":70,\"minHeight\":20,\"bar\":true,\"edgeToEdge\":true," +
"\"chrome\":\"none\",\"fitHeight\":true,\"scale\":\"draw\"}";
// (The Day/Night timer was here until 2026-12-02; it is RynthAi's now, RynthAiPlugin.DayNight.cs.)
// The extra bars (an engine before v100 hosts at most 8 windows for a plugin: these five and up to three
// of them; v100 hosts 12, and the Appraisal window makes nine).
string extras = "";
@ -119,7 +115,7 @@ public sealed partial class RynthDefectivePlugin : IBarActions
+ ExtraBar.SurfaceOf(n) + "\",\"icon\":\"\\u" + ((int)RynthIcons.Lightning[0]).ToString("X4", CultureInfo.InvariantCulture) +
"\",\"width\":300,\"height\":80,\"minWidth\":90,\"minHeight\":40,\"bar\":false,\"edgeToEdge\":true," +
"\"chrome\":\"none\",\"fitHeight\":true,\"scale\":\"draw\"}";
return "{\"version\":1,\"windows\":[" + bar + panels + selection + appraisal + corpses + dayNight + extras + "]}";
return "{\"version\":1,\"windows\":[" + bar + panels + selection + appraisal + corpses + extras + "]}";
}
/// <summary>"window:bar2" ... "window:bar4": an extra bar's surface, and its number.</summary>