Skip to content

Companion: dresses, shoes and more clothes (#34) - #38

Merged
cmena92 merged 1 commit into
mainfrom
feat/34-ropa
Nov 3, 2026
Merged

cmena92 merged 1 commit into
mainfrom
feat/34-ropa

Conversation

@cmena92

@cmena92 cmena92 commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Closes #34

Art (in design/companero/prendas/, reviewed before wiring)

Garment Slot Price
Flower dress (vestido) body 200
Party dress (gala) body 280
Skirt (falda) body 150
Headband with a flower (diadema) head 100
Big bow (mono) head 90
Pearl necklace (perlas) neck 160
Sneakers (zapatillas) feet (new) 110
Boots (botas) feet 140
Sandals (sandalias) feet 90
  • A fourth slot, pies, anchored at (60, 160) on all eight animals, whose feet are drawn in the same place.
  • prendas.mjs → «128 combinaciones, 0 superposiciones». On the way it caught the necklace and both dresses touching the otter's mouth (its face sits lower), now fixed. The white sneakers read poorly at small size, so they are blue.
  • The preview has three new full outfits with shoes.

App

  • The nine garments join CATALOGO. The clothes section gets a fourth sliding row for the feet, and every name is in the five languages.
  • One garment per slot: a dress replaces the sweater or the cape, and shoes go with anything.
  • An inventory from before opens with bare feet and no error.
  • Any garment fits any animal: the shop does not sort by gender.
  • COMPANERO.md has the new prices and the new total of everything permanent: 4,090 coins (about 510 games).

Test harness

navegador() now retries Chrome up to three times on a fresh port. A random port could still be held by the Chrome of the group before it, so a run failed now and then with no real error. It happened twice locally while working on #33 and #34; with the retry, three runs in a row passed.

Checks run locally

  • node tools/test-companero.js: 252 green, three runs in a row. New:
    • the nine prices and slots;
    • the 128 pairs identical to the art, and the art check itself;
    • four slots and sixteen garments in order, seven sliding rows.
  • New, in a real browser:
    • an old inventory opens with bare feet;
    • the dress replaces the sweater, and the sneakers go on the feet;
    • each garment costs its own price; going back to the owned sweater is free;
    • «None» takes the shoes off.
  • node tools/test.js: 5,610 green · ./tools/browser-check.sh: 52 of 52.
  • Screenshots of the art sheet and a dressed rabbit at 390 px, checked by the owner's agent.

Art first, in design/companero/prendas/: a flower dress, a party dress,
a skirt, a headband with a flower, a big bow, a pearl necklace, and
sneakers, boots and sandals on a new fourth slot, the feet (anchored at
60,160 on all eight animals). prendas.mjs checks 128 pairs in headless
Chrome, 0 covering the face or leaving the frame; it caught the necklace
and both dresses touching the otter's mouth, now fixed. The preview has
three new outfits with shoes.

In the app: the nine garments join the catalogue at their prices, the
clothes section gets a fourth sliding row for the feet, and every name
is in the five languages. A dress replaces the sweater or the cape (one
garment per slot); shoes go with anything. An inventory from before
opens with bare feet. Any garment fits any animal: the shop does not
sort by gender. COMPANERO.md has the prices and the new total, 4,090.

The test harness retries Chrome on a fresh port when the one it picked
is still held by the Chrome before it, which made a run fail now and
then with no real error.
@cmena92
cmena92 merged commit 06e33df into main Nov 3, 2026
3 checks passed
@cmena92
cmena92 deleted the feat/34-ropa branch November 3, 2026 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compañero: vestidos, zapatos y más ropa

1 participant