cyberpunk mmo roguelike built on atproto protokill.sh

Journal: move hard-coded text to the string database and fix the click-id clash #538

Closed opened by topos-backsword.test.pds.did.bot

Follow-ups from the journal and after-action report (#498):

  • Strings in code: views/strategic/journal.rs hard-codes text: ending_words and the "Contract {}" label. Move it into the string database (strategic::copy, invariant 11) so it can be translated (invariant 12).
  • Click ids collide: GEAR_ITEM_BASE and JOURNAL_ENTRY_BASE are both 600 in strategic.rs. Give the journal its own range and add a test that no two click bases in the strategic screens overlap.
  • Stray doc comment near views/strategic.rs line 405 (the gear list): delete it or put it back on the function it describes.

Journal view from the runner screen, mission entry selected

Sign up or Sign in to add to the discussion.