Repository navigation
[rpg-character] Add 18 pop-culture archetype presets - #1033
Merged
Merged
Conversation
These are generic 8-bit stand-ins, not copies: - space knight - young wizard - ghost hunter - time-travel scientist - adventurer - masked wrestler - plumber hero - block miner - elf hero - creature trainer - caped vigilante - web hero - thunder hero - patchwork monster - werewolf - headless horseman - lion mascot - marching band New pieces: - 10 hats - 5 masks - 3 makeup layers - 12 items, including blue, green and red laser swords - a ghost-hunting pack (off-hand) - a hoverboard (feet) - an outfit for each preset Every option is appended to the end of its code slot, and the character-specific hats are costume hats. A preset may now set shaved: true for a hairstyle hat. Adds demo entries, tests and a README note. The locale labels follow in the next commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PfFvVQhHTESEgN7TuVPB8U
Adds labels for the 50 new hats, masks, makeup, items, off-hand, feet and presets to lib/rpg-character.haxProperties.json and all 102 locale files. No label collides within a property in any locale, and labels avoid franchise terms. Also regenerates the docs and redrafts the walkthrough. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PfFvVQhHTESEgN7TuVPB8U
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What this touches
Only rpg-character.
18 new presets. These are generic 8-bit archetypes that make you think of famous characters without copying any of them. Option names and labels avoid franchise terms. The presets are:
space-knight,boy-wizard,ghost-hunter,time-scientist,adventurer,wrestlerplumber,miner,elf-hero,trainer,vigilante,web-herohammer-god,monster,werewolf,horseman,mascot,bandNew pieces (each preset also gets its own shirt and pants outfit):
Code changes:
hat="random"never picks them. Fedora and the two caps can still come up as random hats.shaved: true.time-scientistuses this so its wild-hair hat shows a bald top, instead of the seed's hat color showing through. This is a two-line change inrender(), and the README documents it.Labels: all 50 new options are labeled in
lib/rpg-character.haxProperties.jsonand every one of the 102 locale files. No labels collide in any locale. The lower-resource languages (e.g. haw, gn, om, sn, xh, zu, yo, qu) need native review.Demo, docs and walkthrough: the demo costume gallery adds all 18 presets. Docs were regenerated, and the walkthrough was redrafted (still a draft awaiting review).
Tests: 91/91 pass.
shavedflag swaps the hat color for the scalp.Checks
yarn test: 91 passed.node scripts/precheck.mjs: PASSED.scripts/preview.mjs, including poses, pets and off-hand items. No 404s.Generated by Claude Code