Skip to content

[rpg-character] Add 18 pop-culture archetype presets - #1033

Merged
btopro merged 2 commits into
masterfrom
feature/rpg-character-archetypes
Oct 29, 2026
Merged

btopro merged 2 commits into
masterfrom
feature/rpg-character-archetypes

Conversation

@btopro

@btopro btopro commented Oct 29, 2026

Copy link
Copy Markdown
Member

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, wrestler
  • plumber, miner, elf-hero, trainer, vigilante, web-hero
  • hammer-god, monster, werewolf, horseman, mascot, band

New pieces (each preset also gets its own shirt and pants outfit):

Slot New options
hat (10) plumber-cap, trainer-cap, fedora, long-cap, cowl, winged-helmet, shako, flat-top, wild-hair, messy-hair
mask (5) wrestler, block-head, web, werewolf, shadow
makeup (3) mustache, monster, round-glasses
item (12) laser-sword-blue/green/red, beam-wand, whip, champ-belt, pickaxe, capture-ball, war-hammer, trumpet, jack-o-lantern, wrench
offhand proton-pack
feet hoverboard

Code changes:

  • All new options are appended to the end of their code slots, so existing character codes are unchanged.
  • The character-specific hats are costume hats, so hat="random" never picks them. Fedora and the two caps can still come up as random hats.
  • New: a preset can set shaved: true. time-scientist uses 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 in render(), and the README documents it.

Labels: all 50 new options are labeled in lib/rpg-character.haxProperties.json and 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.

  • New test: every archetype renders its outfit plus every default piece, and its code round-trips.
  • New test: a preset's shaved flag swaps the hat color for the scalp.
  • The asset-existence test now skips boolean preset flags.
  • The hat count is updated to 56.

Checks

  • yarn test: 91 passed.
  • node scripts/precheck.mjs: PASSED.
  • Walkthrough status: awaiting, not stale.
  • Contact sheets were checked with scripts/preview.mjs, including poses, pets and off-hand items. No 404s.

Generated by Claude Code

btopro and others added 2 commits October 29, 2026 12:12
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
@vercel

vercel Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
webcomponents Ready Ready Preview Oct 29, 2026 4:21pm UTC

Request Review

@btopro
btopro merged commit c142fc3 into master Oct 29, 2026
10 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 29, 2026
@btopro
btopro deleted the feature/rpg-character-archetypes branch October 29, 2026 16:30

This branch was successfully deployed

1 active deployment
Preview — 107ba607 Deployed Oct 29, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant