Repository navigation
docs: add appearance guide - #14
Merged
Merged
Conversation
Kheartz
force-pushed
the
mounts-and-races
branch
from
October 14, 2026 03:40
6259e33 to
2ef0c96
Compare
New Players page (order 33), written against 1.8.2: the look and playerAppearanceChanged, saving and restoring looks without saving the default first, the character creator and portraits, clothes as gear, house and gender, size, disguises and held props. The events table now names playerAppearanceChanged's look argument.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Third of three stacked PRs. #12 and #13 have merged, so this is now based on
mainand its diff is this page alone.Adds Appearance to the Players section (order 33), written for 1.8.2 and checked against the v1.8.2 Mod source:
getLook()fields,playerAppearanceChanged(player, look, revision),appearanceRevision.loadingFinished.setLookreplaces the whole look; that the callback runs after the rebuild (20 s timeout); and that it throwsINVALID_APPEARANCEwithout a callback.gearandhousedon't dress the player's own body. Clothes come from the inventory and the house fromplayer.house.Creator.open()and thecreatorConfirmed/creatorCancelledclient events. A disguise pauses look publication, so take it off first. A short note covers script sessions,CreatorPreviewandPortrait.player.gear.apply,inventory.give(..., { equipped: true })andplayerGearChanged.player.housechanges robes and crest.player.genderonly sets the dormitory.setScalehas full and visual modes.setTransmogshould be checked withCharacter.isAllowed, isn't part of the look, andsetLookremoves it.equipPropdrops a prop sent before the player has a body.Also fixes the events table, which named
playerAppearanceChanged's second argumentblob; it is the parsed look.Checks:
check_samples(116 samples, 1.8.2 contract),docs.mjs build,check_linksandgit diff --checkall pass.