Skip to content

New name generator#6761

Draft
xfractalino wants to merge 36 commits into
masterfrom
name-generation-rework
Draft

New name generator#6761
xfractalino wants to merge 36 commits into
masterfrom
name-generation-rework

Conversation

@xfractalino

Copy link
Copy Markdown
Contributor

Brief Description of What This PR Does

This PR includes a new name generator as suggested here.

This new generator uses more complex rules, based on organelles, processes and species characteristics, and yields consistent phonotactics and grammatical gender agreement.

Progress Checklist

Note: before starting this checklist the PR should be marked as non-draft.

  • PR author has checked that this PR works as intended and doesn't
    break existing features:
    https://wiki.revolutionarygamesstudio.com/wiki/Testing_Checklist
    (this is important as to not waste the time of Thrive team
    members reviewing this PR)
  • Initial code review passed (this and further items should not be checked by the PR author)
  • Functionality is confirmed working by another person (see above checklist link)
  • Final code review is passed and code conforms to the
    styleguide.

Before merging all CI jobs should finish on this PR without errors, if
there are automatically detected style issues they should be fixed by
the PR author. Merging must follow our
styleguide.

Comment thread simulation_parameters/microbe_stage/species_names.json Outdated
public Dictionary<string, string> OrganelleMap = null!;

[JsonRequired]
public Dictionary<string, List<string>> Processes = null!;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would guard against typos if some of these lists used more types. For example this might work well as Dictionary<Compound, List<string>> that way the JSON would refuse to load if there's a typo in a compound name. And as an added bonus the compounds would get converted to int keys which should be much more efficient to access. Same could be maybe applied to the organelles etc.

Though in some cases due to the complexity of JSON loading, I've needed to split things into two parts: first loading into untyped collection and then in the Resolve method actually looking stuff up. This also keeps the benefits (prevents typos and values that can never happen) but is slightly harder to setup.

Comment thread simulation_parameters/microbe_stage/species_names.json
"producing": [
"geno",
"creo",
"geno",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

geno x2

"liking": [
"amans",
"phila",
"phila",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

phila x2

@xfractalino
xfractalino force-pushed the name-generation-rework branch from e325a38 to 432247a Compare February 26, 2026 10:58
@revolutionary-bot

Copy link
Copy Markdown

We are currently in feature freeze until the next release.
If your PR is not just a simple fix, then it may take until the release to get reviewed and merged.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

This PR has been inactive for a while and as such is being marked
stale. This PR will be automatically closed if this stays stale
for a while.

If this is still being worked on / will probably resume work at
some point please feel free to continue working on this and reopen
this in case this was already automatically closed.

@github-actions github-actions Bot added the stale label Jul 8, 2026
@revolutionary-bot

Copy link
Copy Markdown

The lead programmer for Thrive is currently on vacation until 2026-07-13. Until then other programmers will try to make pull request reviews, but please be patient if your PR is not getting reviewed.

PRs may be merged after multiple programmers have approved the changes (especially making sure to ensure style guide conformance and gameplay testing are good). If there are no active experienced programmers who can perform merges, PRs may need to wait until the lead programmer is back to be merged.

@github-actions github-actions Bot removed the stale label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

5 participants