Add Bike Racing #31

Open
nathan wants to merge 4 commits from feature/bike-races into main
Member
No description provided.
init
All checks were successful
Auto Assign / run (pull_request_target) Successful in 2s
CI / build-and-test (20.x) (pull_request) Successful in 41s
Model Preview / model-preview (pull_request) Successful in 3m36s
e332475d28
smell-of-curry was assigned by forgejo-actions 2026-10-22 10:59:07 +00:00
bot left a comment

Desk review @ e332475d: no blockers.

Lang-only companion to beh#791 (Add Bike Racing). Checked:

  • 32 new keys (31 forms.serverNpc.bikeRace.* + forms.serverNpc.button.editShopData), identical set in all 7 lang files.
  • None collide with keys already on main, and no duplicate keys in en_US at this head. Files still end with a newline.
  • Every new key is referenced by beh#791 @ 56f36eba, and every forms.serverNpc.* key beh#791 uses exists either here or on main, so nothing is missing either way.

Nits:

  • PR body is empty; a one-liner pointing at beh#791 would help.
  • Non-English locales carry the English strings (fine as a placeholder, flag for translators).

Merge order: res#31 before (or together with) beh#791.

Desk review @ e332475d: no blockers. Lang-only companion to beh#791 (Add Bike Racing). Checked: - 32 new keys (31 `forms.serverNpc.bikeRace.*` + `forms.serverNpc.button.editShopData`), identical set in all 7 lang files. - None collide with keys already on main, and no duplicate keys in en_US at this head. Files still end with a newline. - Every new key is referenced by beh#791 @ 56f36eba, and every `forms.serverNpc.*` key beh#791 uses exists either here or on main, so nothing is missing either way. Nits: - PR body is empty; a one-liner pointing at beh#791 would help. - Non-English locales carry the English strings (fine as a placeholder, flag for translators). Merge order: res#31 before (or together with) beh#791.
Add bike race event localization keys
All checks were successful
CI / build-and-test (20.x) (pull_request) Successful in 34s
Model Preview / model-preview (pull_request) Successful in 1m29s
67344b0265
bot left a comment

Desk review @67344b02 (Add bike race event localization keys)

No blockers.

  • Adds 24 events.bikeRace.* keys to all 7 locales; no duplicates vs main.
  • Matches beh#791 @56aad914 exactly: every key it uses is present, none unused, and %n placeholder counts match its arg-count map for all 24.
  • CI build-and-test green; model-preview still pending.

Nits:

  • Non-English locales are still English copies (same as the first commit).
  • events.bikeRace.start.normal uses an em dash; fine in Bedrock, just flagging in case translators prefer ASCII.

Still merge with/before beh#791 (Curry's call).

Desk review @67344b02 (Add bike race event localization keys) No blockers. - Adds 24 `events.bikeRace.*` keys to all 7 locales; no duplicates vs main. - Matches beh#791 @56aad914 exactly: every key it uses is present, none unused, and `%n` placeholder counts match its arg-count map for all 24. - CI build-and-test green; model-preview still pending. Nits: - Non-English locales are still English copies (same as the first commit). - `events.bikeRace.start.normal` uses an em dash; fine in Bedrock, just flagging in case translators prefer ASCII. Still merge with/before beh#791 (Curry's call).
Add water warning to bike races
All checks were successful
CI / build-and-test (20.x) (pull_request) Successful in 33s
Model Preview / model-preview (pull_request) Successful in 1m26s
0f856721e0
bot left a comment

Desk review @ 0f856721 (Add water warning to bike races)

No blockers.

  • Adds forms.serverNpc.bikeRace.warning.hasWater and events.bikeRace.warning.hasWater to all 7 locales, identical lines everywhere, no duplicate keys in any file.
  • Both keys match beh #791 @ 3b899c31 (feat(bike-race): add water-course warnings): langKeys.ts declares both with 0 args, server_npc.ts appends the form one to the course details, BikeRaceManager.ts sends the event one on start. No placeholders here, so arg counts line up.

Nits:

  • Same as 3298: non-English locales are English copies.
  • The two strings are identical; fine, but if the form copy is meant to read as a course property and the event copy as a heads-up at race start, consider wording them differently.
  • beh #791 @ 3b899c31 now pins src/data to fa61e44f, so check that against data #26's head before merging (merge data non-squash, or repin).

Merge order unchanged: data #26 and res #31 before or with beh #791 (Curry's call).

Desk review @ 0f856721 (Add water warning to bike races) No blockers. - Adds `forms.serverNpc.bikeRace.warning.hasWater` and `events.bikeRace.warning.hasWater` to all 7 locales, identical lines everywhere, no duplicate keys in any file. - Both keys match beh #791 @ 3b899c31 (`feat(bike-race): add water-course warnings`): langKeys.ts declares both with 0 args, server_npc.ts appends the form one to the course details, BikeRaceManager.ts sends the event one on start. No placeholders here, so arg counts line up. Nits: - Same as 3298: non-English locales are English copies. - The two strings are identical; fine, but if the form copy is meant to read as a course property and the event copy as a heads-up at race start, consider wording them differently. - beh #791 @ 3b899c31 now pins src/data to fa61e44f, so check that against data #26's head before merging (merge data non-squash, or repin). Merge order unchanged: data #26 and res #31 before or with beh #791 (Curry's call).
Fix bike race course labels
All checks were successful
CI / build-and-test (20.x) (pull_request) Successful in 34s
Model Preview / model-preview (pull_request) Successful in 1m33s
6b9e284386
bot left a comment

Desk review @6b9e2843 (Fix bike race course labels).

Blocker (cross-repo): forms.serverNpc.bikeRace.button.courseSelectEntry is now §l%s %s\n(%s meters away), but beh #791 @3b899c31 (server_npc.ts ~L1784) still calls it with (index + 1, suffix, courseKey). Arity still matches langKeys (3), so it compiles, but in-game it renders as 1 §a(Current)§r / (bravo meters away). Land the matching beh change (name, current-suffix, distance in that order) before or with this, or keep the old template until then.

Fine: label.current dropping its leading space is correct now that the template supplies the space between %s %s.

Nits: the visible "Course" prefix is gone, so the first arg needs to be a display name, not the raw course key or index. All 7 locales are still identical English copies.

Desk review @6b9e2843 (Fix bike race course labels). **Blocker (cross-repo):** `forms.serverNpc.bikeRace.button.courseSelectEntry` is now `§l%s %s\n(%s meters away)`, but beh #791 @3b899c31 (`server_npc.ts` ~L1784) still calls it with `(index + 1, suffix, courseKey)`. Arity still matches langKeys (3), so it compiles, but in-game it renders as `1 §a(Current)§r` / `(bravo meters away)`. Land the matching beh change (name, current-suffix, distance in that order) before or with this, or keep the old template until then. **Fine:** `label.current` dropping its leading space is correct now that the template supplies the space between `%s %s`. **Nits:** the visible "Course" prefix is gone, so the first arg needs to be a display name, not the raw course key or index. All 7 locales are still identical English copies.
nathan force-pushed feature/bike-races from 6b9e284386
All checks were successful
CI / build-and-test (20.x) (pull_request) Successful in 34s
Model Preview / model-preview (pull_request) Successful in 1m33s
to 8412a43ca3
Some checks failed
CI / build-and-test (20.x) (pull_request) Failing after 1m15s
Model Preview / model-preview (pull_request) Successful in 3m51s
2026-11-01 11:16:11 +00:00
Compare
bot left a comment

Desk review @8412a43c (rebased onto main 1703a075; same 4 commits, now mergeable, 7 files +413/-7).

Prior blocker cleared: beh #791 @a2313849 (server_npc.ts ~L1953) now calls courseSelectEntry as (courseKey, suffix, distance), which matches §l%s %s\n(%s meters away). All 58 bike race keys plus editShopData match beh langKeys.ts one-for-one, and every placeholder count matches.

Should-check: merge order. This and beh #791 (plus data #26) need to land together, or the race NPC shows raw keys.

Nits:

  • courseSelectEntry uses %s while every other new key uses %1/%2. Both work, but pick one.
  • The first arg is still the raw courseKey, not a display name, so the button reads like bravo §a(Current)§r.
  • cs_CZ, de_DE, es_ES, pt_BR, ru_RU and zh_CN are byte-identical English copies, and the other 22 locales get no keys (they fall back to English).
  • The stray blank-line removal above ## Trade Machine is unrelated churn.

CI is still pending at review time.

Desk review @8412a43c (rebased onto main 1703a075; same 4 commits, now mergeable, 7 files +413/-7). **Prior blocker cleared:** beh #791 @a2313849 (`server_npc.ts` ~L1953) now calls `courseSelectEntry` as `(courseKey, suffix, distance)`, which matches `§l%s %s\n(%s meters away)`. All 58 bike race keys plus `editShopData` match beh `langKeys.ts` one-for-one, and every placeholder count matches. **Should-check:** merge order. This and beh #791 (plus data #26) need to land together, or the race NPC shows raw keys. **Nits:** - `courseSelectEntry` uses `%s` while every other new key uses `%1`/`%2`. Both work, but pick one. - The first arg is still the raw `courseKey`, not a display name, so the button reads like `bravo §a(Current)§r`. - cs_CZ, de_DE, es_ES, pt_BR, ru_RU and zh_CN are byte-identical English copies, and the other 22 locales get no keys (they fall back to English). - The stray blank-line removal above `## Trade Machine` is unrelated churn. CI is still pending at review time.
nathan force-pushed feature/bike-races from 8412a43ca3
Some checks failed
CI / build-and-test (20.x) (pull_request) Failing after 1m15s
Model Preview / model-preview (pull_request) Successful in 3m51s
to e41ef72591
Some checks failed
CI / build-and-test (20.x) (pull_request) Failing after 25s
Model Preview / model-preview (pull_request) Successful in 1m11s
2026-11-28 06:27:55 +00:00
Compare
nathan force-pushed feature/bike-races from e41ef72591
Some checks failed
CI / build-and-test (20.x) (pull_request) Failing after 25s
Model Preview / model-preview (pull_request) Successful in 1m11s
to 66df949eb6
Some checks failed
CI / build-and-test (20.x) (pull_request) Failing after 29s
Model Preview / model-preview (pull_request) Successful in 1m19s
2026-11-28 07:38:29 +00:00
Compare
Some checks failed
CI / build-and-test (20.x) (pull_request) Failing after 29s
Model Preview / model-preview (pull_request) Successful in 1m19s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/bike-races:feature/bike-races
git switch feature/bike-races
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pokebedrock/pokebedrock-res!31
No description provided.