Add campaign editor script runtime and debug overlays

This commit is contained in:
Richard Zink committed 2026-11-05 12:22:59 +01:00
1 parent cd35ca8e3d
commit b06c48172b
13 files changed
+2211 -66

No files matched your search

+42 -1
View File
@@ -220,6 +220,7 @@ set.tab.sound = Language & Sound
set.tab.camera = Camera
set.tab.graphics = Graphics
set.tab.game = Game
set.tab.debug = Debug
set.tab.keys = Keys
set.language = Language
set.volume = Sound volume
@@ -340,7 +341,12 @@ dir.nw = north-west
val.auto = Auto ({0}x)
set.render_scale = 3D resolution
set.debug_fps = FPS debug
set.debug_fps = Show FPS
set.debug_frame_time = Show frame time
set.debug_ping = Show ping
set.debug_trigger_zones = Show trigger zones
set.debug_command_markers = Show debug command markers
set.debug_path_lines = Show path lines
hint.pickup_prisoner_where = Prisoners can only be picked up on your own territory.
hint.punch_where = The hand can only punch heroes on your own territory.
@@ -599,6 +605,36 @@ account.users_changed = Users updated.
standalone.running = Preparing the standalone version ...
standalone.done = DungeonCraft.html downloaded: open it in any browser, no server needed. Your downloaded savegames load there too.
standalone.failed = The standalone version could not be downloaded.
menu.campaign_editor = Campaign Editor
campaign.title = Campaign Editor
campaign.new = New
campaign.open = Open
campaign.save = Save
campaign.add = Add
campaign.delete = Del
campaign.start = Start
campaign.choose = Choose a campaign file.
campaign.loaded = Campaign loaded: {0}
campaign.saved = Campaign saved: {0}
campaign.invalid = Campaign file error: {0}
campaign.empty = No missions.
campaign.missions = Missions: {0}
campaign.name = Campaign: {0}
campaign.author = Author: {0}
campaign.mission_no = {0}. {1}
campaign.next = Next: {0}
campaign.branches = Branches: {0}
campaign.goals = Goals: {0}
campaign.zones = Zones: {0}
campaign.script = Script: {0}
campaign.prompt_name = Campaign name
campaign.prompt_title = Mission title
campaign.prompt_goals = Goals, comma separated
campaign.prompt_next = Next mission key
campaign.prompt_branches = Branches, semicolon separated: id:goal:next:prio:title
campaign.prompt_script = Rhai script, e.g. fn on_start(m) { m.log("..."); m.objective("..."); m.spawn_at("HEROES","Knight",20,20,3,2); }
campaign.updated = Updated.
campaign.error_no_mission = No mission selected.
job.register = Reporting at the portal
job.make_bed = Setting up its bed
job.fetch_wage = Fetching its wage
@@ -843,6 +879,11 @@ research.done = Nothing left to research here.
msg.researched = Researched: {0}! It is in the build menu now.
msg.tool_research = Not researched yet - creatures studying in the library work on it.
msg.script = {0}
msg.script_objective = Objective: {0}
msg.script_error = Script error: {0}
msg.script_language = Unsupported mission script language: {0}
# spells
hint.cavein_where = A cave-in needs open floor (not rooms) under the pointer.
hint.spell_own = Cast it on your own creatures.