Repository navigation
Conversation
A mod can give players a race past the game's eight, and none of its files says what it is called. The Races tab names them: number, name, the letter of its files, and the game's race it plays as. The editor keeps the table for the mod (api.gameData.setRaces, looked for; read-only in an editor without it), the names and letters the mod's files hint at are offered and never filled in, and a mod folder's mod.json reads and writes them as `races`. A mod that names none writes the same files as before. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEdp4XLKV3SYMXKD411ypP
… status line once the row is fixed
The tab's body is laid out like the Strings and Requirements tabs (an inner
element scrolls) and a redraw keeps the scroll position. A refusal shown on
Add ("Give the race a name.") is taken back from the status line when the
field changes, unless something else has been said since.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VEdp4XLKV3SYMXKD411ypP
The two hand-overs carried the mod's name, hash and files but not the races named in the Races tab, so the page's setup screen and player lists could not name them for a game started from here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEdp4XLKV3SYMXKD411ypP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A mod can give players a race past the game's eight (Cosmonarchy BW's fourth race is byte 69), and none of its files says what it is called. This adds the table where a mod's own facts are edited (0.4.0).
api.gameData.setRaces, looked for: in an editor without it the table is read-only and says so).raceCandidatessuggests are buttons for the row being typed.mod.json: a folder opened withraceshands them to the editor, and saving a mod folder writes the table. Before this, saving a folder dropped araceskey written by hand. A mod that names none writes byte-identical files.Checked:
npm test(76 passed, 3 skipped),npm run typecheck,npm run build. In a headless browser against the editor'smod-racesbranch with the real mod: the empty tab, a row named from Aftermath appearing here, a rename followed by Aftermath at once, each refusal, removing a row, the tab scrolling in a short panel, Korean.Order: after the editor's PR (scm-js
mod-races). The README does not name the editor version that keeps race names, since none is released yet.dist/plugin.jsis not rebuilt here; CI does that on main.🤖 Generated with Claude Code
https://claude.ai/code/session_01VEdp4XLKV3SYMXKD411ypP