Appearances

The game's catalogue of character parts: each body, face (head), hairstyle and beard, per gender, which is 'male' by default or 'female'. An option is { name, part, gender, group }. Apply a look with Player.setAppearance({ gender, body, head, hair, beard }), where '' keeps the game's part.

appearances.options()

Appearances.options(part, gender)

All options for a part.

appearances.beards()

Appearances.beards(head = '', gender)

The beards a face can have. '' gives all beards, and an unknown face gives none.

appearances.find()

Appearances.find(part, name, gender)

One option by name, or null.

appearances.random()

Appearances.random(gender, random = Math.random)

A random complete look, with a beard the face can have.