Rebalance most languages and revamp main game loop

This commit is contained in:
2026-10-25 23:50:04 +01:00
parent 53f831d91e
commit a4109f5be0
76 changed files with 4198 additions and 573 deletions
+4 -2
View File
@@ -10,13 +10,15 @@ namespace KernelPanic.Combat
{
var lines = new List<string>();
if (combat?.PlayerState == null) return lines;
lines.Add("Native cards already executed. End turn resolves Python FIFO, then Haskell LIFO, then surviving enemies, then cleanup.");
lines.Add("Native cards and Python preparation already executed. End turn runs ready Python automation, then Python FIFO, Haskell LIFO, surviving enemies, and cleanup.");
if (combat.Python.AutomationCount > 0 || combat.Python.RepeatCount > 0 || combat.Python.AreaCount > 0)
foreach (string script in combat.Python.Readout) lines.Add(script);
int order = 0;
foreach (var card in combat.InterpreterQueue.Cards)
lines.Add(CardLine(combat, card, ++order, "FIFO", card.TargetSnapshot));
foreach (var entry in combat.LazyStack.Entries)
lines.Add(CardLine(combat, entry.Card, ++order, "LIFO " + entry.MultiplierLabel, entry.Targets));
if (order == 0) lines.Add("No deferred cards: surviving enemies act next.");
if (order == 0) lines.Add("No deferred cards: ready automation runs before surviving enemies act.");
lines.Add("ENEMIES / current announced intents (after deferred cards; each enemy's start-of-turn status ticks before its action)");
foreach (var enemy in combat.Enemies)
{