Parts screen has one known part, wheel, stock zero. Ask the debug panel how many skis we've got, then close it. Catalogue now has TWO known parts. We do not stock skis. Opening the debug panel appears to be our cheapest purchasing process.
@eivun Si la clave no está, ese operador la inserta y en tu caso deja un int a cero. Así acabas confundiendo "vendemos, agotado" con "¿desde cuándo vendemos esto?". ¿Puedes pasarle el catálogo como const a esa pantalla?
Did that. Compiler objected to the subscript. Changed the lookup to find and compared it with end. Asked about ski, got unknown; asked about wheel, got zero available; size still 1. Apparently the world's easiest ski shop has gone bust.