RynthSuite as of 2026-11-29 (internal 46bae49): release 2026.11.28.1
This commit is contained in:
parent
25552fa794
commit
598f49c899
131 changed files with 11825 additions and 329 deletions
|
|
@ -214,6 +214,9 @@ public sealed partial class RynthDefectivePlugin : RynthPluginBase
|
|||
if (UsesShortcutBar) Answer(DefReplies.Window("Selection window", Host.SetPanelOpen(RynthCore.Plugin.RynthDefective.ShortcutBar.SelectionWindow.Title, RynthPanelOpen.Toggle)));
|
||||
else PrintFail("This RynthCore can't show the selection window (it needs plugin API v90).");
|
||||
break;
|
||||
case DefVerb.Appraisal:
|
||||
RunAppraisalCommand(c.Text);
|
||||
break;
|
||||
case DefVerb.Settings:
|
||||
ShowSettingsWindow(true);
|
||||
Print("Settings shown.");
|
||||
|
|
@ -412,7 +415,8 @@ public sealed partial class RynthDefectivePlugin : RynthPluginBase
|
|||
/// <summary>Whether one of the windows RynthDefective draws shows (by its title); null = not on this engine.</summary>
|
||||
private bool? PanelShown(string title)
|
||||
{
|
||||
if (!UsesShortcutBar || (title == ShortcutBar.PanelButtonsWindow.Title && !UsesPanelButtons)) return null;
|
||||
if (!UsesShortcutBar || (title == ShortcutBar.PanelButtonsWindow.Title && !UsesPanelButtons)
|
||||
|| (title == Appraisal.AppraisalWindow.Title && !UsesAppraisal)) return null;
|
||||
int state = Host.SetPanelOpen(title, RynthPanelOpen.Ask);
|
||||
return state < 0 ? null : state == 1;
|
||||
}
|
||||
|
|
@ -486,6 +490,7 @@ public sealed partial class RynthDefectivePlugin : RynthPluginBase
|
|||
if (_saveDueMs != 0 && now >= _saveDueMs) SaveNow();
|
||||
TickBar(now);
|
||||
TickSelection(now);
|
||||
TickAppraisal(now);
|
||||
TickQuantity(now);
|
||||
TickCorpses(now);
|
||||
TickDayNight(now);
|
||||
|
|
|
|||
Loading…
Reference in a new issue