Skip to content

fix: persist events across save/load + German translation#19

Open
TheCodingDad-TisonK wants to merge 4 commits into
masterfrom
development
Open

fix: persist events across save/load + German translation#19
TheCodingDad-TisonK wants to merge 4 commits into
masterfrom
development

Conversation

@TheCodingDad-TisonK
Copy link
Copy Markdown
Owner

Summary

  • Fixes contract/event-fail-on-reload bug — EVENT_STATE (activeEvent, duration, cooldown) was never written to XML. Now saves remaining time as offset values and restores them in loadMission00Finished when g_currentMission.time is valid.
  • Closes Community Translations — Help Wanted #18 — Applies German translation from @Phasen-kasper (98 strings) plus manual fixes for 2 missed keys ("Debug", "Häufigkeit (1-10)").

Test plan

  • Trigger an event via rweTest, save game, reload — confirm event resumes with correct remaining time in HUD
  • Confirm cooldown survives reload (no immediate re-trigger after reload)
  • Set game language to German — confirm no [EN] placeholder strings in UI

102 strings translated covering notifications, HUD, settings,
help pages, categories, physics, and console commands.
Fixed one missing closing tag on helpLine_rwe_ctrl_shortcuts_text.

Closes #17
Active events were lost on game reload because EVENT_STATE was never
written to XML. Now saves remaining event time and cooldown as offsets
(not absolute timestamps) and restores them in loadMission00Finished.

Also applies German translation contributed by Phasen-kasper. Closes #18.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Community Translations — Help Wanted

1 participant