Block scripts and triggers: data model, Rhai translation and runtime

Editor missions keep a painted map or roll a random map per campaign run,
leave out goals they cannot have, and run their triggers in the fixed step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-05 16:51:43 +01:00
1 parent 5315709776
commit 5701124c4f
13 files changed
+1835 -483

No files matched your search

+2
View File
@@ -882,6 +882,8 @@ msg.tool_research = Noch nicht erforscht - Kreaturen in der Bibliothek arbeiten
msg.script = {0}
msg.script_objective = Ziel: {0}
msg.script_error = Skriptfehler: {0}
msg.script_hint = Krummfinger: {0}
msg.mission_start_custom = Mission: {0}
msg.script_language = Unbekannte Missionssprache: {0}
# spells
+2
View File
@@ -883,6 +883,8 @@ msg.tool_research = Not researched yet - creatures studying in the library work
msg.script = {0}
msg.script_objective = Objective: {0}
msg.script_error = Script error: {0}
msg.script_hint = Crookfinger: {0}
msg.mission_start_custom = Mission: {0}
msg.script_language = Unsupported mission script language: {0}
# spells
+2
View File
@@ -883,6 +883,8 @@ msg.tool_research = Aún no investigado: las criaturas que estudian en la biblio
msg.script = {0}
msg.script_objective = Objetivo: {0}
msg.script_error = Error de script: {0}
msg.script_hint = Dedotuerto: {0}
msg.mission_start_custom = Misión: {0}
msg.script_language = Lenguaje de script de misión no admitido: {0}
# spells
+2
View File
@@ -883,6 +883,8 @@ msg.tool_research = Non ancora ricercato - ci lavorano le creature che studiano
msg.script = {0}
msg.script_objective = Obiettivo: {0}
msg.script_error = Errore di script: {0}
msg.script_hint = Ditastorte: {0}
msg.mission_start_custom = Missione: {0}
msg.script_language = Linguaggio di script della missione non supportato: {0}
# spells
+2
View File
@@ -883,6 +883,8 @@ msg.tool_research = Ещё не исследовано - над этим раб
msg.script = {0}
msg.script_objective = Задача: {0}
msg.script_error = Ошибка скрипта: {0}
msg.script_hint = Кривопал: {0}
msg.mission_start_custom = Миссия: {0}
msg.script_language = Неподдерживаемый язык скрипта миссии: {0}
# spells