Wait and both kinds of until loops; blocks run directly

Script runs are resumable threads saved with the game; Rhai is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-05 18:57:36 +01:00
1 parent 95cf3ce81c
commit d17668f3b2
13 files changed
+466 -686

No files matched your search

+7
View File
@@ -1332,3 +1332,10 @@ demo.m2.title = Rolled Anew
demo.m2.story = This map is rolled anew for every run of the campaign. Defeat every hero.
demo.m2.start = A random map. Even I have never seen it before.
demo.m2.wave = Two minutes are over: the heroes come.
blk.until = Repeat until
blk.dountil = Repeat, then check: until
blk.wait = Wait
blk.w_seconds = seconds
blk.help.until = Runs the blocks inside again and again until the condition holds - checked before each run, so if it already holds the inside does not run at all.
blk.help.dountil = Runs the blocks inside, then checks the condition and repeats until it holds - the inside always runs at least once.
blk.help.wait = Pauses this script for some seconds, then it goes on with the next block (also inside loops).