castle-web-cli 0.4.232 → 0.4.234
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-failures.d.ts +8 -0
- package/dist/agent-failures.js +19 -2
- package/dist/agent-prompts.d.ts +1 -1
- package/dist/agent-prompts.js +10 -3
- package/dist/agent.d.ts +64 -3
- package/dist/agent.js +170 -81
- package/dist/api.d.ts +11 -0
- package/dist/api.js +43 -0
- package/dist/bundle.d.ts +64 -0
- package/dist/bundle.js +558 -2
- package/dist/castle-host/host.d.ts +18 -2
- package/dist/castle-host/host.js +844 -39
- package/dist/castleJson.d.ts +23 -2
- package/dist/castleJson.js +46 -2
- package/dist/check.d.ts +3 -1
- package/dist/check.js +20 -3
- package/dist/chunkLoader.d.ts +3 -0
- package/dist/chunkLoader.js +111 -0
- package/dist/devParty.d.ts +26 -0
- package/dist/devParty.js +231 -0
- package/dist/devSaveStorage.js +4 -0
- package/dist/devSessionStorage.js +50 -2
- package/dist/devSocial.d.ts +24 -0
- package/dist/devSocial.js +70 -0
- package/dist/ide.d.ts +2 -0
- package/dist/ide.js +119 -15
- package/dist/importPinMismatch.d.ts +22 -0
- package/dist/importPinMismatch.js +77 -0
- package/dist/importRegression.js +3 -15
- package/dist/imports.d.ts +10 -3
- package/dist/imports.js +88 -20
- package/dist/index.js +11 -4
- package/dist/init.js +1 -1
- package/dist/platformDoc.js +22 -0
- package/dist/routerFences.d.ts +5 -0
- package/dist/routerFences.js +12 -2
- package/dist/save-deck.d.ts +25 -1
- package/dist/save-deck.js +178 -9
- package/dist/serve.js +32 -11
- package/dist/shell/assets/{index-D2tWM896.js → index-DulbYIJm.js} +97 -97
- package/dist/shell/assets/index-MVLfNYd9.css +1 -0
- package/dist/shell/index.html +2 -2
- package/dist/taskSteer.d.ts +13 -0
- package/dist/taskSteer.js +22 -2
- package/dist/vitePlugins.d.ts +2 -1
- package/dist/vitePlugins.js +13 -0
- package/kits/base/castle.json +1 -1
- package/kits/base/package-lock.json +1 -1
- package/kits/base/sdk/README.md +339 -5
- package/kits/base/sdk/avatar.d.ts +6 -2
- package/kits/base/sdk/avatar.js +12 -4
- package/kits/base/sdk/castle.d.ts +7 -3
- package/kits/base/sdk/castle.js +2 -0
- package/kits/base/sdk/commands.d.ts +176 -1
- package/kits/base/sdk/commands.js +3 -0
- package/kits/base/sdk/display.d.ts +3 -0
- package/kits/base/sdk/display.js +9 -3
- package/kits/base/sdk/hub.d.ts +37 -6
- package/kits/base/sdk/hub.js +63 -4
- package/kits/base/sdk/multiplayer.d.ts +7 -1
- package/kits/base/sdk/multiplayer.js +148 -32
- package/kits/base/sdk/multiplayerProtocol.d.ts +2 -0
- package/kits/base/sdk/party.d.ts +23 -0
- package/kits/base/sdk/party.js +91 -0
- package/kits/base/sdk/reconnectBudget.d.ts +23 -0
- package/kits/base/sdk/reconnectBudget.js +96 -0
- package/kits/base/sdk/save.d.ts +38 -1
- package/kits/base/sdk/save.js +81 -7
- package/kits/base/sdk/server/hub.d.ts +117 -0
- package/kits/base/sdk/server/hub.js +119 -2
- package/kits/base/sdk/server/platformHandle.d.ts +43 -1
- package/kits/base/sdk/server/storage.d.ts +17 -0
- package/kits/base/sdk/server/storage.js +65 -3
- package/kits/base/sdk/server/wrapper.d.ts +43 -6
- package/kits/base/sdk/server/wrapper.js +93 -9
- package/kits/base/sdk/social.d.ts +9 -0
- package/kits/base/sdk/social.js +5 -0
- package/kits/hub-game/CLAUDE.md +451 -13
- package/kits/hub-game/README.md +63 -0
- package/kits/hub-game/blueprints/avatar-10.scene +28 -0
- package/kits/hub-game/blueprints/avatar-11.scene +28 -0
- package/kits/hub-game/blueprints/avatar-12.scene +28 -0
- package/kits/hub-game/blueprints/avatar-13.scene +28 -0
- package/kits/hub-game/blueprints/avatar-14.scene +28 -0
- package/kits/hub-game/blueprints/avatar-15.scene +28 -0
- package/kits/hub-game/blueprints/avatar-4.scene +28 -0
- package/kits/hub-game/blueprints/avatar-5.scene +28 -0
- package/kits/hub-game/blueprints/avatar-6.scene +28 -0
- package/kits/hub-game/blueprints/avatar-7.scene +28 -0
- package/kits/hub-game/blueprints/avatar-8.scene +28 -0
- package/kits/hub-game/blueprints/avatar-9.scene +28 -0
- package/kits/hub-game/castle.json +5 -5
- package/kits/hub-game/code/client/act.js +312 -0
- package/kits/hub-game/code/client/actionLayout.js +147 -0
- package/kits/hub-game/code/client/actionOverflow.js +556 -0
- package/kits/hub-game/code/client/actorBudget.js +47 -0
- package/kits/hub-game/code/client/arrivalCamera.js +50 -0
- package/kits/hub-game/code/client/askSlot.js +117 -0
- package/kits/hub-game/code/client/attention.js +11 -2
- package/kits/hub-game/code/client/avatar.js +311 -35
- package/kits/hub-game/code/client/avatarCap.js +228 -0
- package/kits/hub-game/code/client/avatarColors.js +70 -0
- package/kits/hub-game/code/client/avatarFaces.js +21 -0
- package/kits/hub-game/code/client/avatarShare.js +253 -0
- package/kits/hub-game/code/client/backVisibility.js +13 -0
- package/kits/hub-game/code/client/ballot.js +472 -0
- package/kits/hub-game/code/client/build.js +38 -0
- package/kits/hub-game/code/client/chat.js +41 -5
- package/kits/hub-game/code/client/chatModeration.js +5 -0
- package/kits/hub-game/code/client/chrome.js +2144 -160
- package/kits/hub-game/code/client/companion.js +716 -0
- package/kits/hub-game/code/client/companionDress.js +99 -0
- package/kits/hub-game/code/client/crowdNames.js +241 -0
- package/kits/hub-game/code/client/decor.js +515 -0
- package/kits/hub-game/code/client/defaultEnvironment.js +194 -0
- package/kits/hub-game/code/client/doorErrors.js +39 -0
- package/kits/hub-game/code/client/earned.js +131 -0
- package/kits/hub-game/code/client/emoteBubble.js +75 -0
- package/kits/hub-game/code/client/fall.js +18 -0
- package/kits/hub-game/code/client/farAvatars.js +233 -0
- package/kits/hub-game/code/client/firstJoin.js +9 -2
- package/kits/hub-game/code/client/fpsTelemetry.js +50 -0
- package/kits/hub-game/code/client/frameBatch.js +5 -0
- package/kits/hub-game/code/client/grab.js +368 -29
- package/kits/hub-game/code/client/hookLayer.js +385 -20
- package/kits/hub-game/code/client/hudCopy.js +51 -0
- package/kits/hub-game/code/client/hudRate.js +20 -0
- package/kits/hub-game/code/client/idle.js +177 -24
- package/kits/hub-game/code/client/interestCap.js +81 -0
- package/kits/hub-game/code/client/invites.js +231 -0
- package/kits/hub-game/code/client/joinError.js +9 -0
- package/kits/hub-game/code/client/keys.js +36 -0
- package/kits/hub-game/code/client/labelsNear.js +234 -0
- package/kits/hub-game/code/client/landscapeLayout.js +17 -0
- package/kits/hub-game/code/client/layoutCache.js +264 -0
- package/kits/hub-game/code/client/loadTelemetry.js +20 -0
- package/kits/hub-game/code/client/loadingCover.js +148 -0
- package/kits/hub-game/code/client/loadingEntry.js +8 -0
- package/kits/hub-game/code/client/menuIcons.js +34 -0
- package/kits/hub-game/code/client/menuRows.js +43 -0
- package/kits/hub-game/code/client/modelReady.js +7 -0
- package/kits/hub-game/code/client/pack.js +6 -2
- package/kits/hub-game/code/client/packFormat.js +3 -3
- package/kits/hub-game/code/client/padCueArrival.js +23 -0
- package/kits/hub-game/code/client/padCues.js +112 -0
- package/kits/hub-game/code/client/padOccupancy.js +88 -0
- package/kits/hub-game/code/client/padReadability.js +26 -0
- package/kits/hub-game/code/client/padRings.js +69 -0
- package/kits/hub-game/code/client/pushVisit.js +14 -0
- package/kits/hub-game/code/client/quality.js +205 -0
- package/kits/hub-game/code/client/qualityEntry.js +55 -0
- package/kits/hub-game/code/client/rehello.js +167 -0
- package/kits/hub-game/code/client/safeLayout.js +338 -0
- package/kits/hub-game/code/client/safeStyle.js +42 -0
- package/kits/hub-game/code/client/say.js +12 -3
- package/kits/hub-game/code/client/shot.js +146 -0
- package/kits/hub-game/code/client/shotFit.js +56 -0
- package/kits/hub-game/code/client/signIn.js +28 -0
- package/kits/hub-game/code/client/sound.js +63 -8
- package/kits/hub-game/code/client/soundscape.js +1151 -0
- package/kits/hub-game/code/client/soundscapeActions.js +99 -0
- package/kits/hub-game/code/client/soundscapeAmbience.js +453 -0
- package/kits/hub-game/code/client/soundscapeBaked.js +143 -0
- package/kits/hub-game/code/client/soundscapeBusker.js +217 -0
- package/kits/hub-game/code/client/soundscapeCourt.js +200 -0
- package/kits/hub-game/code/client/soundscapeCrowd.js +331 -0
- package/kits/hub-game/code/client/soundscapeCues.js +362 -0
- package/kits/hub-game/code/client/soundscapeMap.js +181 -0
- package/kits/hub-game/code/client/soundscapeMarket.js +176 -0
- package/kits/hub-game/code/client/soundscapeMusic.js +126 -0
- package/kits/hub-game/code/client/soundscapeMusicEngine.js +460 -0
- package/kits/hub-game/code/client/soundscapeSimlish.js +737 -0
- package/kits/hub-game/code/client/soundscapeSongs.js +127 -0
- package/kits/hub-game/code/client/soundscapeSongsRound3.js +63 -0
- package/kits/hub-game/code/client/soundscapeSynthesis.js +168 -0
- package/kits/hub-game/code/client/soundscapeUi.js +211 -0
- package/kits/hub-game/code/client/soundscapeVoice.js +1209 -0
- package/kits/hub-game/code/client/soundscapeWaves.js +206 -0
- package/kits/hub-game/code/client/spin.js +101 -0
- package/kits/hub-game/code/client/state.js +162 -1
- package/kits/hub-game/code/client/stuck.js +259 -0
- package/kits/hub-game/code/client/talk.js +714 -59
- package/kits/hub-game/code/client/tiers.js +543 -52
- package/kits/hub-game/code/client/toastBand.js +37 -0
- package/kits/hub-game/code/client/together.js +39 -2
- package/kits/hub-game/code/client/visibility.js +43 -0
- package/kits/hub-game/code/client/weakestLookBake.js +92 -0
- package/kits/hub-game/code/client/weakestTier.js +295 -0
- package/kits/hub-game/code/client/wear.js +461 -170
- package/kits/hub-game/code/client/worldLabels.js +241 -0
- package/kits/hub-game/code/client/yours.js +200 -0
- package/kits/hub-game/code/companionSpec.js +45 -0
- package/kits/hub-game/code/npcDisplayText.js +55 -0
- package/kits/hub-game/code/privateText.js +7 -0
- package/kits/hub-game/code/server/act.js +124 -0
- package/kits/hub-game/code/server/actions.js +138 -0
- package/kits/hub-game/code/server/actors.js +11 -2
- package/kits/hub-game/code/server/analytics.js +83 -0
- package/kits/hub-game/code/server/anonymousEntry.js +49 -0
- package/kits/hub-game/code/server/arrivalPose.js +36 -0
- package/kits/hub-game/code/server/ask.js +155 -0
- package/kits/hub-game/code/server/ballot.js +539 -0
- package/kits/hub-game/code/server/cells.js +100 -0
- package/kits/hub-game/code/server/companion.js +107 -0
- package/kits/hub-game/code/server/cues.js +70 -0
- package/kits/hub-game/code/server/decor.js +269 -0
- package/kits/hub-game/code/server/doorAnalytics.js +52 -0
- package/kits/hub-game/code/server/earned.js +478 -0
- package/kits/hub-game/code/server/frameBatch.js +183 -0
- package/kits/hub-game/code/server/friendBests.js +166 -0
- package/kits/hub-game/code/server/friendsAmong.js +272 -0
- package/kits/hub-game/code/server/history.js +7 -0
- package/kits/hub-game/code/server/hub.js +2510 -95
- package/kits/hub-game/code/server/idle.js +60 -12
- package/kits/hub-game/code/server/index.js +28 -6
- package/kits/hub-game/code/server/invites.js +19 -0
- package/kits/hub-game/code/server/labels.js +36 -2
- package/kits/hub-game/code/server/loadAbandon.js +106 -0
- package/kits/hub-game/code/server/manifest.js +586 -7
- package/kits/hub-game/code/server/menu.js +161 -0
- package/kits/hub-game/code/server/npcs.js +1025 -113
- package/kits/hub-game/code/server/observe.js +408 -0
- package/kits/hub-game/code/server/padOccupancy.js +85 -0
- package/kits/hub-game/code/server/party.js +2 -2
- package/kits/hub-game/code/server/players.js +30 -0
- package/kits/hub-game/code/server/resumePose.js +152 -0
- package/kits/hub-game/code/server/say.js +1 -1
- package/kits/hub-game/code/server/shot.js +110 -0
- package/kits/hub-game/code/server/standing.js +123 -0
- package/kits/hub-game/code/server/storageLimit.js +187 -0
- package/kits/hub-game/code/server/vis.js +175 -0
- package/kits/hub-game/code/server/wear.js +12 -0
- package/kits/hub-game/code/server/yours.js +59 -0
- package/kits/hub-game/code/shared/act.js +35 -0
- package/kits/hub-game/code/shared/cues.js +9 -0
- package/kits/hub-game/code/shared/danceIdle.js +28 -0
- package/kits/hub-game/code/shared/decor.js +41 -0
- package/kits/hub-game/code/shared/loadStages.js +12 -0
- package/kits/hub-game/code/shared/quality.js +74 -0
- package/kits/hub-game/code/shared/say.js +2 -0
- package/kits/hub-game/code/shared/shot.js +53 -0
- package/kits/hub-game/code/shared/spin.js +57 -0
- package/kits/hub-game/code/systems/hub.js +1753 -202
- package/kits/hub-game/docs/analytics.md +279 -0
- package/kits/hub-game/docs/content-pack.md +1 -1
- package/kits/hub-game/docs/contract.md +3475 -77
- package/kits/hub-game/docs/home-pieces.md +71 -0
- package/kits/hub-game/docs/observed-progress.md +252 -0
- package/kits/hub-game/main.jsx +2 -0
- package/kits/hub-game/models/avatar-10.pxmodel +28 -0
- package/kits/hub-game/models/avatar-11.pxmodel +28 -0
- package/kits/hub-game/models/avatar-12.pxmodel +27 -0
- package/kits/hub-game/models/avatar-13.pxmodel +24 -0
- package/kits/hub-game/models/avatar-14.pxmodel +29 -0
- package/kits/hub-game/models/avatar-15.pxmodel +24 -0
- package/kits/hub-game/models/avatar-4.pxmodel +29 -0
- package/kits/hub-game/models/avatar-5.pxmodel +27 -0
- package/kits/hub-game/models/avatar-6.pxmodel +26 -0
- package/kits/hub-game/models/avatar-7.pxmodel +25 -0
- package/kits/hub-game/models/avatar-8.pxmodel +24 -0
- package/kits/hub-game/models/avatar-9.pxmodel +30 -0
- package/kits/hub-game/models/earned/badge-round.pxmodel +100 -0
- package/kits/hub-game/models/earned/badge-shield.pxmodel +117 -0
- package/kits/hub-game/models/earned/badge-star.pxmodel +87 -0
- package/kits/hub-game/models/earned/belt-plain.pxmodel +72 -0
- package/kits/hub-game/models/earned/held-ball.pxmodel +43 -0
- package/kits/hub-game/models/earned/held-lantern.pxmodel +85 -0
- package/kits/hub-game/models/earned/held-net.pxmodel +57 -0
- package/kits/hub-game/models/earned/held-trophy.pxmodel +109 -0
- package/kits/hub-game/models/earned/pin-round.pxmodel +62 -0
- package/kits/hub-game/models/earned/sash-plain.pxmodel +66 -0
- package/kits/hub-game/models/earned/square/belt-plain.pxmodel +104 -0
- package/kits/hub-game/models/earned/square/sash-plain.pxmodel +98 -0
- package/kits/hub-game/models/hats/bat-clip.pxmodel +206 -0
- package/kits/hub-game/models/hats/beekeeper.pxmodel +149 -0
- package/kits/hub-game/models/hats/cap.pxmodel +162 -0
- package/kits/hub-game/models/hats/captain.pxmodel +178 -0
- package/kits/hub-game/models/hats/crooked-top.pxmodel +172 -0
- package/kits/hub-game/models/hats/flower-crown.pxmodel +451 -0
- package/kits/hub-game/models/hats/foam-crown.pxmodel +179 -0
- package/kits/hub-game/models/hats/lantern.pxmodel +230 -0
- package/kits/hub-game/models/hats/laurel.pxmodel +533 -0
- package/kits/hub-game/models/hats/lighthouse.pxmodel +96 -0
- package/kits/hub-game/models/hats/sailor.pxmodel +141 -0
- package/kits/hub-game/models/hats/souwester.pxmodel +131 -0
- package/kits/hub-game/models/hats/straw.pxmodel +139 -0
- package/kits/hub-game/models/hats/sunflower.pxmodel +406 -0
- package/kits/hub-game/models/hats/sweatband.pxmodel +112 -0
- package/kits/hub-game/models/hats/witch.pxmodel +147 -0
- package/kits/hub-game/package-lock.json +10 -1
- package/kits/hub-game/package.json +6 -2
- package/kits/hub-game/play/player.js +142 -0
- package/kits/hub-game/play/registry.js +47 -0
- package/kits/hub-game/play.jsx +37 -0
- package/kits/hub-game/scripts/check.mjs +117 -16
- package/kits/hub-game/scripts/companion-follower-wire.json +1 -0
- package/kits/hub-game/scripts/fixtures/decor-keyless-draw.json +132 -0
- package/kits/hub-game/scripts/fixtures/decor-keyless.json +293 -0
- package/kits/hub-game/scripts/fixtures/engine-models-stub.mjs +26 -0
- package/kits/hub-game/scripts/fixtures/fake-dom.mjs +123 -0
- package/kits/hub-game/scripts/fixtures/interest-legacy.json +385 -0
- package/kits/hub-game/scripts/fixtures/npc-notes-v1.77.jsonl +4 -0
- package/kits/hub-game/scripts/fixtures/vis-shared-wire.json +1 -0
- package/kits/hub-game/scripts/gen-avatars.mjs +933 -16
- package/kits/hub-game/scripts/gen-earned.mjs +285 -0
- package/kits/hub-game/scripts/gen-hats.mjs +827 -0
- package/kits/hub-game/scripts/grab.before-orbit.mjs +400 -0
- package/kits/hub-game/scripts/pose-storage-fixture.mjs +46 -0
- package/kits/hub-game/scripts/soundscape-wave-analysis.mjs +125 -0
- package/kits/hub-game/scripts/test-act-client.mjs +186 -0
- package/kits/hub-game/scripts/test-act.mjs +171 -0
- package/kits/hub-game/scripts/test-action-layout.mjs +80 -0
- package/kits/hub-game/scripts/test-action-observers.mjs +46 -0
- package/kits/hub-game/scripts/test-actions-client.mjs +853 -0
- package/kits/hub-game/scripts/test-actions.mjs +298 -0
- package/kits/hub-game/scripts/test-actor-budget.mjs +44 -0
- package/kits/hub-game/scripts/test-actors.mjs +38 -23
- package/kits/hub-game/scripts/test-analytics.mjs +76 -0
- package/kits/hub-game/scripts/test-anonymous-entry.mjs +28 -0
- package/kits/hub-game/scripts/test-arrival-pose-server.mjs +196 -0
- package/kits/hub-game/scripts/test-arrival-pose.mjs +24 -0
- package/kits/hub-game/scripts/test-ask-client.mjs +358 -0
- package/kits/hub-game/scripts/test-ask-slot.mjs +85 -0
- package/kits/hub-game/scripts/test-ask.mjs +269 -0
- package/kits/hub-game/scripts/test-attention.mjs +10 -1
- package/kits/hub-game/scripts/test-avatar-cap.mjs +379 -0
- package/kits/hub-game/scripts/test-avatar-colors.mjs +72 -0
- package/kits/hub-game/scripts/test-avatar-models.mjs +181 -0
- package/kits/hub-game/scripts/test-avatar-share.mjs +318 -0
- package/kits/hub-game/scripts/test-avatar-wire.mjs +792 -0
- package/kits/hub-game/scripts/test-avatar.mjs +584 -7
- package/kits/hub-game/scripts/test-back-visibility.mjs +82 -0
- package/kits/hub-game/scripts/test-ballot.mjs +1008 -0
- package/kits/hub-game/scripts/test-ban-join.mjs +121 -13
- package/kits/hub-game/scripts/test-build.mjs +49 -0
- package/kits/hub-game/scripts/test-cells.mjs +71 -0
- package/kits/hub-game/scripts/test-chat.mjs +863 -0
- package/kits/hub-game/scripts/test-classic.mjs +2 -0
- package/kits/hub-game/scripts/test-companion-chat.mjs +216 -0
- package/kits/hub-game/scripts/test-companion-client.mjs +1167 -0
- package/kits/hub-game/scripts/test-companion.mjs +259 -0
- package/kits/hub-game/scripts/test-control-layout-dom.mjs +120 -0
- package/kits/hub-game/scripts/test-crowd-names.mjs +205 -0
- package/kits/hub-game/scripts/test-decor-client.mjs +344 -0
- package/kits/hub-game/scripts/test-decor.mjs +464 -0
- package/kits/hub-game/scripts/test-default-environment-root.mjs +95 -0
- package/kits/hub-game/scripts/test-default-environment.mjs +267 -0
- package/kits/hub-game/scripts/test-door-analytics.mjs +58 -0
- package/kits/hub-game/scripts/test-door-jump.mjs +100 -0
- package/kits/hub-game/scripts/test-earned-client.mjs +459 -0
- package/kits/hub-game/scripts/test-earned.mjs +1224 -0
- package/kits/hub-game/scripts/test-emote-bubble.mjs +110 -0
- package/kits/hub-game/scripts/test-far-avatars.mjs +340 -0
- package/kits/hub-game/scripts/test-fps-telemetry.mjs +112 -0
- package/kits/hub-game/scripts/test-frame-batch.mjs +252 -0
- package/kits/hub-game/scripts/test-fresh-friends.mjs +118 -0
- package/kits/hub-game/scripts/test-friend-bests.mjs +435 -0
- package/kits/hub-game/scripts/test-grab-orbit.mjs +961 -0
- package/kits/hub-game/scripts/test-grab.mjs +7 -0
- package/kits/hub-game/scripts/test-hats.mjs +422 -168
- package/kits/hub-game/scripts/test-high-only.mjs +170 -0
- package/kits/hub-game/scripts/test-hub-leaving.mjs +203 -0
- package/kits/hub-game/scripts/test-hub-ops.mjs +758 -2
- package/kits/hub-game/scripts/test-hub-trip.mjs +1594 -12
- package/kits/hub-game/scripts/test-hud-clear.mjs +484 -57
- package/kits/hub-game/scripts/test-hud-defects-dom.mjs +100 -0
- package/kits/hub-game/scripts/test-hud-rate.mjs +224 -0
- package/kits/hub-game/scripts/test-hud-safe-visibility-dom.mjs +83 -0
- package/kits/hub-game/scripts/test-idle.mjs +427 -1
- package/kits/hub-game/scripts/test-interest-cap.mjs +36 -0
- package/kits/hub-game/scripts/test-interest-cells.mjs +513 -0
- package/kits/hub-game/scripts/test-interest-client.mjs +118 -0
- package/kits/hub-game/scripts/test-interest.mjs +15 -0
- package/kits/hub-game/scripts/test-invites-client.mjs +430 -0
- package/kits/hub-game/scripts/test-invites.mjs +109 -0
- package/kits/hub-game/scripts/test-keys.mjs +46 -1
- package/kits/hub-game/scripts/test-labels.mjs +664 -0
- package/kits/hub-game/scripts/test-landscape-layout.mjs +194 -0
- package/kits/hub-game/scripts/test-list-scroll-dom.mjs +49 -0
- package/kits/hub-game/scripts/test-load-abandon.mjs +246 -0
- package/kits/hub-game/scripts/test-loading-cover.mjs +162 -0
- package/kits/hub-game/scripts/test-manifest.mjs +472 -0
- package/kits/hub-game/scripts/test-menu-client.mjs +585 -0
- package/kits/hub-game/scripts/test-menu.mjs +319 -0
- package/kits/hub-game/scripts/test-npcs.mjs +2528 -13
- package/kits/hub-game/scripts/test-object-entry.mjs +76 -0
- package/kits/hub-game/scripts/test-observed.mjs +745 -0
- package/kits/hub-game/scripts/test-pack.mjs +7 -0
- package/kits/hub-game/scripts/test-pad-cues.mjs +304 -0
- package/kits/hub-game/scripts/test-pad-occupancy.mjs +177 -0
- package/kits/hub-game/scripts/test-picker.mjs +541 -0
- package/kits/hub-game/scripts/test-placement-cache.mjs +690 -0
- package/kits/hub-game/scripts/test-progress-reset.mjs +559 -0
- package/kits/hub-game/scripts/test-push-visit.mjs +26 -0
- package/kits/hub-game/scripts/test-quality.mjs +385 -0
- package/kits/hub-game/scripts/test-rehello.mjs +1733 -0
- package/kits/hub-game/scripts/test-relations-among.mjs +222 -0
- package/kits/hub-game/scripts/test-relations-refresh.mjs +188 -0
- package/kits/hub-game/scripts/test-resume-action-order.mjs +598 -0
- package/kits/hub-game/scripts/test-resume-held.mjs +239 -0
- package/kits/hub-game/scripts/test-resume-pose.mjs +142 -0
- package/kits/hub-game/scripts/test-safe-events-dom.mjs +116 -0
- package/kits/hub-game/scripts/test-safe-layout.mjs +330 -0
- package/kits/hub-game/scripts/test-say.mjs +1 -1
- package/kits/hub-game/scripts/test-shot.mjs +901 -0
- package/kits/hub-game/scripts/test-signin-client.mjs +45 -0
- package/kits/hub-game/scripts/test-soundscape.mjs +5437 -0
- package/kits/hub-game/scripts/test-spin.mjs +314 -0
- package/kits/hub-game/scripts/test-standing.mjs +449 -0
- package/kits/hub-game/scripts/test-storage-limit.mjs +333 -0
- package/kits/hub-game/scripts/test-stuck.mjs +1904 -0
- package/kits/hub-game/scripts/test-talk-overlay-dom.mjs +130 -0
- package/kits/hub-game/scripts/test-tier-cells.mjs +706 -0
- package/kits/hub-game/scripts/test-tiers-render.mjs +412 -0
- package/kits/hub-game/scripts/test-tiers.mjs +476 -2
- package/kits/hub-game/scripts/test-toast-band.mjs +61 -0
- package/kits/hub-game/scripts/test-try-on.mjs +22 -22
- package/kits/hub-game/scripts/test-vis.mjs +770 -0
- package/kits/hub-game/scripts/test-visibility.mjs +134 -0
- package/kits/hub-game/scripts/test-weakest-tier.mjs +924 -0
- package/kits/hub-game/scripts/test-world-labels.mjs +367 -0
- package/kits/hub-game/scripts/test-yours-chrome.mjs +210 -0
- package/kits/hub-game/scripts/test-yours.mjs +403 -0
- package/kits/multiplayer-3d/CLAUDE.md +50 -0
- package/kits/multiplayer-3d/castle.json +5 -5
- package/kits/multiplayer-3d/code/client/avatars.js +7 -0
- package/kits/multiplayer-3d/code/client/gait.js +65 -0
- package/kits/multiplayer-3d/code/client/joinFailure.js +27 -0
- package/kits/multiplayer-3d/code/client/nameTags.js +59 -4
- package/kits/multiplayer-3d/code/client/resumeGate.js +139 -0
- package/kits/multiplayer-3d/code/options.js +5 -0
- package/kits/multiplayer-3d/code/server/ownership.js +10 -2
- package/kits/multiplayer-3d/code/server/sceneBodies.js +12 -0
- package/kits/multiplayer-3d/code/server/world.js +7 -0
- package/kits/multiplayer-3d/code/systems/multiplayer.js +443 -34
- package/kits/multiplayer-3d/package-lock.json +8 -1
- package/kits/multiplayer-3d/package.json +3 -1
- package/kits/multiplayer-3d/scripts/fixtures/README.md +11 -0
- package/kits/multiplayer-3d/scripts/fixtures/ownership-legacy.json +2 -0
- package/kits/multiplayer-3d/scripts/ownership-harness.mjs +102 -0
- package/kits/multiplayer-3d/scripts/ownership-loader.mjs +46 -0
- package/kits/multiplayer-3d/scripts/ownership-worker.mjs +15 -0
- package/kits/multiplayer-3d/scripts/record-ownership-session.mjs +98 -0
- package/kits/multiplayer-3d/scripts/test-eligible-claims.mjs +167 -0
- package/kits/multiplayer-3d/scripts/test-join-watchdog.mjs +436 -0
- package/kits/multiplayer-3d/scripts/test-own-name-tag.mjs +247 -0
- package/kits/multiplayer-3d/scripts/test-resume-gate.mjs +624 -0
- package/kits/physics-2d/CLAUDE.md +19 -1
- package/kits/physics-2d/castle.json +2 -2
- package/kits/physics-2d/engine/frozenActors.js +233 -0
- package/kits/physics-2d/engine/scene.js +337 -3
- package/kits/physics-2d/engine/skyKey.js +129 -0
- package/kits/physics-2d/engine/stillClock.js +106 -0
- package/kits/physics-2d/engine/updateBudget.js +21 -0
- package/kits/physics-2d/eslint.config.js +1 -1
- package/kits/physics-2d/play/behaviors/AnalogStick.js +198 -0
- package/kits/physics-2d/play/behaviors/Camera.js +40 -0
- package/kits/physics-2d/play/behaviors/Collider.js +122 -0
- package/kits/physics-2d/play/behaviors/Draggable.js +115 -0
- package/kits/physics-2d/play/behaviors/Goal.js +46 -0
- package/kits/physics-2d/play/behaviors/Joints.js +126 -0
- package/kits/physics-2d/play/behaviors/Layout.js +71 -0
- package/kits/physics-2d/play/behaviors/RigidBody.js +57 -0
- package/kits/physics-2d/play/behaviors/Slingshot.js +142 -0
- package/kits/physics-2d/play/behaviors/SoundPlayer.js +263 -0
- package/kits/physics-2d/play/behaviors/Sprite.js +406 -0
- package/kits/physics-2d/play/behaviors/Style.js +209 -0
- package/kits/physics-2d/play/behaviors/Text.js +85 -0
- package/kits/physics-2d/play/behaviors/Video.js +93 -0
- package/kits/physics-2d/scripts/test-skip-unchanged.mjs +326 -1
- package/kits/physics-3d/CLAUDE.md +42 -529
- package/kits/physics-3d/behaviors/Body.jsx +3 -0
- package/kits/physics-3d/behaviors/Model.jsx +3 -0
- package/kits/physics-3d/behaviors/Player.jsx +661 -87
- package/kits/physics-3d/behaviors/Shape.jsx +3 -0
- package/kits/physics-3d/behaviors/Solid.jsx +3 -0
- package/kits/physics-3d/behaviors/Transform.jsx +3 -0
- package/kits/physics-3d/castle.json +3 -3
- package/kits/physics-3d/docs/engine-camera.md +542 -0
- package/kits/physics-3d/docs/engine-frame-cap.md +136 -0
- package/kits/physics-3d/docs/engine-load.md +149 -0
- package/kits/physics-3d/docs/engine-look.md +114 -0
- package/kits/physics-3d/docs/engine-shadows.md +372 -0
- package/kits/physics-3d/docs/engine-skip-work.md +187 -0
- package/kits/physics-3d/docs/engine-sky.md +198 -0
- package/kits/physics-3d/docs/engine-static-actors.md +226 -0
- package/kits/physics-3d/docs/engine-view.md +37 -0
- package/kits/physics-3d/docs/pxmodel-format.md +9 -1
- package/kits/physics-3d/engine3d/PlayOnly3D.jsx +5 -1
- package/kits/physics-3d/engine3d/Scene3DPlayer.jsx +19 -277
- package/kits/physics-3d/engine3d/actornode.js +87 -0
- package/kits/physics-3d/engine3d/animationBudget.js +23 -0
- package/kits/physics-3d/engine3d/branches.js +3 -13
- package/kits/physics-3d/engine3d/cage.js +2 -7
- package/kits/physics-3d/engine3d/cageops.js +2 -17
- package/kits/physics-3d/engine3d/dataBehaviors.js +12 -0
- package/kits/physics-3d/engine3d/editorWorld.js +6 -0
- package/kits/physics-3d/engine3d/emptynodes.js +232 -0
- package/kits/physics-3d/engine3d/framecap.js +99 -0
- package/kits/physics-3d/engine3d/frozenphysics.js +140 -0
- package/kits/physics-3d/engine3d/frozenstatics.js +273 -0
- package/kits/physics-3d/engine3d/gait.js +126 -0
- package/kits/physics-3d/engine3d/initialModelFiles.js +18 -0
- package/kits/physics-3d/engine3d/kithooks.js +47 -0
- package/kits/physics-3d/engine3d/look.js +514 -48
- package/kits/physics-3d/engine3d/lookbake.js +208 -0
- package/kits/physics-3d/engine3d/materialpresets.js +2 -0
- package/kits/physics-3d/engine3d/modelFiles.js +3 -17
- package/kits/physics-3d/engine3d/modelMath.js +49 -0
- package/kits/physics-3d/engine3d/modelready.js +16 -0
- package/kits/physics-3d/engine3d/motion.js +39 -10
- package/kits/physics-3d/engine3d/nearshadows.js +106 -21
- package/kits/physics-3d/engine3d/optimize.js +9 -5
- package/kits/physics-3d/engine3d/orbitinput.js +522 -10
- package/kits/physics-3d/engine3d/orbitlens.js +48 -0
- package/kits/physics-3d/engine3d/ownmodel.js +213 -0
- package/kits/physics-3d/engine3d/partgeometry.js +1 -16
- package/kits/physics-3d/engine3d/paths.js +1 -9
- package/kits/physics-3d/engine3d/playTimings.js +50 -0
- package/kits/physics-3d/engine3d/playerRun.js +372 -0
- package/kits/physics-3d/engine3d/pxmodel.js +42 -11
- package/kits/physics-3d/engine3d/rapier.js +27 -0
- package/kits/physics-3d/engine3d/scatter.js +1 -11
- package/kits/physics-3d/engine3d/shadowfade.js +890 -0
- package/kits/physics-3d/engine3d/sky.js +547 -0
- package/kits/physics-3d/engine3d/skylife.js +306 -0
- package/kits/physics-3d/engine3d/squarefirst.js +177 -0
- package/kits/physics-3d/engine3d/stillshadows.js +399 -0
- package/kits/physics-3d/engine3d/sweep.js +1 -25
- package/kits/physics-3d/engine3d/unchanged.js +11 -0
- package/kits/physics-3d/engine3d/viewrange.js +52 -0
- package/kits/physics-3d/engine3d/world3d.js +1253 -76
- package/kits/physics-3d/eslint.config.js +2 -1
- package/kits/physics-3d/main.jsx +10 -2
- package/kits/physics-3d/package-lock.json +7 -0
- package/kits/physics-3d/package.json +5 -1
- package/kits/physics-3d/play/behaviors/Body.js +31 -0
- package/kits/physics-3d/play/behaviors/Door.js +37 -0
- package/kits/physics-3d/play/behaviors/Lookable.js +16 -0
- package/kits/physics-3d/play/behaviors/Model.js +23 -0
- package/kits/physics-3d/play/behaviors/Pickup.js +46 -0
- package/kits/physics-3d/play/behaviors/Player.js +1204 -0
- package/kits/physics-3d/play/behaviors/Shape.js +47 -0
- package/kits/physics-3d/play/behaviors/Solid.js +16 -0
- package/kits/physics-3d/play/behaviors/Transform.js +29 -0
- package/kits/physics-3d/pnpm-lock.yaml +8 -0
- package/kits/physics-3d/scripts/bench-shadow-fade.mjs +37 -0
- package/kits/physics-3d/scripts/build-rapier-gz.mjs +56 -0
- package/kits/physics-3d/scripts/frozen-statics-fixture.mjs +141 -0
- package/kits/physics-3d/scripts/look-baseline.mjs +155 -0
- package/kits/physics-3d/scripts/test-camera-follow.mjs +5 -1
- package/kits/physics-3d/scripts/test-camera-orbit.mjs +2613 -82
- package/kits/physics-3d/scripts/test-drop-empty-parts.mjs +2 -2
- package/kits/physics-3d/scripts/test-empty-gait-hints.mjs +89 -0
- package/kits/physics-3d/scripts/test-frame-cap-bob.mjs +438 -0
- package/kits/physics-3d/scripts/test-frame-cap.mjs +452 -0
- package/kits/physics-3d/scripts/test-frozen-nested.mjs +49 -0
- package/kits/physics-3d/scripts/test-frozen-statics-legacy-physics2d.mjs +123 -0
- package/kits/physics-3d/scripts/test-frozen-statics.mjs +434 -0
- package/kits/physics-3d/scripts/test-gait.mjs +387 -0
- package/kits/physics-3d/scripts/test-look-bake.mjs +1056 -0
- package/kits/physics-3d/scripts/test-model-parse-cache.mjs +92 -0
- package/kits/physics-3d/scripts/test-near-shadows.mjs +5 -2
- package/kits/physics-3d/scripts/test-orbit-shadow-fade.mjs +2001 -0
- package/kits/physics-3d/scripts/test-orbit-shift-lock.mjs +582 -0
- package/kits/physics-3d/scripts/test-orbit-shot.mjs +657 -0
- package/kits/physics-3d/scripts/test-orbit-view.mjs +230 -0
- package/kits/physics-3d/scripts/test-rapier-gz.mjs +106 -0
- package/kits/physics-3d/scripts/test-skip-empty-nodes.mjs +845 -0
- package/kits/physics-3d/scripts/test-sky.mjs +2470 -0
- package/kits/physics-3d/scripts/test-square-first.mjs +921 -0
- package/kits/physics-3d/scripts/test-static-actors.mjs +10 -1
- package/kits/physics-3d/scripts/test-static-physics.mjs +4 -1
- package/kits/physics-3d/scripts/test-static-scenery.mjs +2174 -0
- package/kits/physics-3d/scripts/test-steady-hover.mjs +7 -2
- package/kits/physics-3d/scripts/test-still-shadows.mjs +477 -0
- package/kits/physics-3d/scripts/test-view-range.mjs +260 -0
- package/kits/physics-3d/systems/physics3d.js +419 -9
- package/kits/real-time/castle.json +2 -2
- package/kits/real-time/code/client/connection.js +33 -10
- package/kits/real-time/code/client/gameHooks.js +2 -0
- package/kits/real-time/code/client/joinOverlay.js +9 -4
- package/kits/real-time/code/server/gameHooks.js +7 -0
- package/kits/real-time/code/server/session.js +102 -22
- package/kits/real-time/package-lock.json +1 -1
- package/package.json +2 -2
- package/dist/shell/assets/index-Cf61cNfT.css +0 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Home pieces (contract v1.70/v1.73)
|
|
2
|
+
|
|
3
|
+
The house deck owns this catalogue. Add a piece to the house before a game
|
|
4
|
+
declares it. Claim the id on the game's card and here; two games never give
|
|
5
|
+
the same piece. An unknown piece stays owned but is not offered by the house.
|
|
6
|
+
|
|
7
|
+
The kit's publish check reads the backtick-quoted ids in the first column of
|
|
8
|
+
these tables directly at check time. Keep that format when adding rows; there
|
|
9
|
+
is no mirrored constant to update. Footprints are the house deck's decision.
|
|
10
|
+
|
|
11
|
+
| id | class | footprint | giving game |
|
|
12
|
+
| --- | --- | --- | --- |
|
|
13
|
+
| `planter` | furniture | 2×1 | Willowbank Farm (a starter piece in the house for now) |
|
|
14
|
+
| `jukebox` | furniture | 1×1 | Beat Buddies (a starter piece in the house for now) |
|
|
15
|
+
| `moon-pot` | furniture | 1×1 | Petal |
|
|
16
|
+
| `gem-lamp` | furniture | 1×1 | Gem Rush |
|
|
17
|
+
| `summit-flag` | furniture | 1×1 | Summit Sprint |
|
|
18
|
+
| `critter-trophy` | furniture | 1×1 | Market Raid |
|
|
19
|
+
| `ship-in-a-bottle` | furniture | 1×1 | Ripple Boatyard |
|
|
20
|
+
| `town-bell` | furniture | 1×1 | the town quest line |
|
|
21
|
+
| `plush-display` | furniture | 1×1 | Prize Pier |
|
|
22
|
+
| `courier-satchel` | furniture | 1×1 | Rooftop Runners |
|
|
23
|
+
| `welcome-lantern` | furniture | 1×1 | the town, Rowan at 6 hearts |
|
|
24
|
+
| `kettle-teapot` | furniture | 1×1 | the town, Mabel at 6 hearts |
|
|
25
|
+
| `errand-board` | furniture | 1×1 | the town, Tamsin at 6 hearts |
|
|
26
|
+
| `market-crate` | furniture | 1×1 | the town, a market stallkeeper at 6 hearts |
|
|
27
|
+
| `pet-walk-1` | furniture | none: the house pet at its Baby stage, read by the town to draw it walking behind its keeper | the House (never offered in the decor tray) |
|
|
28
|
+
| `pet-walk-2` | furniture | none: the house pet at its Young stage, read by the town to draw it walking behind its keeper | the House (never offered in the decor tray) |
|
|
29
|
+
| `pet-walk-3` | furniture | none: the house pet at its Grown stage, read by the town to draw it walking behind its keeper | the House (never offered in the decor tray) |
|
|
30
|
+
| `pet-collar` | furniture | none: the house pet's Star collar, read by the town to draw it on the pet | the House (never offered in the decor tray) |
|
|
31
|
+
| `yard` | deed | 14×4, behind the house | Willowbank Farm |
|
|
32
|
+
| `kitchen` | deed | 6×7, beside the living room | Comet Post |
|
|
33
|
+
| `upstairs` | deed | 8×7, over the living room | Ripple Boatyard |
|
|
34
|
+
| `pond` | deed | TBD by the house deck | Amberwake |
|
|
35
|
+
| `attic` | deed | TBD by the house deck | TBD |
|
|
36
|
+
|
|
37
|
+
Deeds are owned now but the house builds no extra area until phase 2.1; a
|
|
38
|
+
deed declared today is kept and takes effect then.
|
|
39
|
+
|
|
40
|
+
## Claimed, not offered by the house
|
|
41
|
+
|
|
42
|
+
Home items another place uses: the house never offers these, and a deed here is
|
|
43
|
+
never a house area. They are listed so that no two games give the same piece,
|
|
44
|
+
and so the kit check stays quiet. Each still counts toward its deck's cap of 6.
|
|
45
|
+
|
|
46
|
+
| id | class | footprint | giving game |
|
|
47
|
+
| --- | --- | --- | --- |
|
|
48
|
+
| `boat-sloop` | deed | none (the quay) | Ripple Boatyard |
|
|
49
|
+
| `boat-ketch` | deed | none (the quay) | Ripple Boatyard |
|
|
50
|
+
| `boat-steamer` | deed | none (the quay) | Ripple Boatyard |
|
|
51
|
+
| `boat-rod-rack` | deed | none (the quay) | Amberwake |
|
|
52
|
+
| `boat-net` | deed | none (the quay) | Amberwake |
|
|
53
|
+
| `boat-lantern` | deed | none (the quay) | Amberwake |
|
|
54
|
+
|
|
55
|
+
## Pets
|
|
56
|
+
|
|
57
|
+
Pet species use `pet-<species>` and count toward the separate cap of 16 pet
|
|
58
|
+
items per deck. Nestlings (#1020) claims its seven `pet-<species>` rows here.
|
|
59
|
+
The resident dog is given by nobody. `pet-walk-*` pieces above
|
|
60
|
+
are furniture recording the house pet's stage, never pet species.
|
|
61
|
+
|
|
62
|
+
| id | class | giving game |
|
|
63
|
+
| --- | --- | --- |
|
|
64
|
+
| `pet-dog` | pet | the house's own, never declared by a game |
|
|
65
|
+
| `pet-bristlebean` | pet | Nestlings Meadow |
|
|
66
|
+
| `pet-puddleplum` | pet | Nestlings Meadow |
|
|
67
|
+
| `pet-tumbletuft` | pet | Nestlings Meadow |
|
|
68
|
+
| `pet-kitesnout` | pet | Nestlings Meadow |
|
|
69
|
+
| `pet-pebblepip` | pet | Nestlings Meadow |
|
|
70
|
+
| `pet-moonmottle` | pet | Nestlings Meadow |
|
|
71
|
+
| `pet-crownwhisk` | pet | Nestlings Meadow |
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
# Observed progress (v1.141): design
|
|
2
|
+
|
|
3
|
+
A door that scores from where players walk asks the kit, not the body.
|
|
4
|
+
|
|
5
|
+
## The problem
|
|
6
|
+
|
|
7
|
+
A connected player's server body is a kinematic-position-based capsule.
|
|
8
|
+
Each physics step sets it from `player.at`, the last client report that
|
|
9
|
+
`multiplayer-3d`'s `setPose` accepted (`world.js` `step`). A kinematic body is never
|
|
10
|
+
pushed by contacts, so after the step `body.translation()` is exactly `player.at`.
|
|
11
|
+
No server signal about a player's position is independent of the client.
|
|
12
|
+
Door code that compares "target" with "body" is comparing a value with itself.
|
|
13
|
+
|
|
14
|
+
What the server can still check is whether the reported motion is motion a real player
|
|
15
|
+
could make. Today three things let a report do what walking can't:
|
|
16
|
+
|
|
17
|
+
1. **Per-report slack.** `setPose` allows `maxSpeed × elapsed + MOVE_SLACK`, with a
|
|
18
|
+
12 m/s maximum and 0.6 m of slack, and it applies that allowance to every report.
|
|
19
|
+
Several reports in one tick get 0.6 m each, which is far beyond the scene's 6 m/s
|
|
20
|
+
walk speed. A "bounded MOVE" can therefore reach a station 6 m away in a fraction
|
|
21
|
+
of a second.
|
|
22
|
+
2. **Walls.** A kinematic capsule passes through fixed geometry, so the reported path
|
|
23
|
+
can cross a wall.
|
|
24
|
+
3. **Placements.** The kit puts a body on a spot when a player arrives, jumps, gets
|
|
25
|
+
unstuck, is caught after a fall, is held or settled, or when a deck calls
|
|
26
|
+
`hub.placeAt`. None of these involve walking.
|
|
27
|
+
|
|
28
|
+
## The rule
|
|
29
|
+
|
|
30
|
+
The kit observes every body **once per tick, after physics and before any authored
|
|
31
|
+
hook in `step`**. The only position a door scores from is the kit's observed
|
|
32
|
+
position.
|
|
33
|
+
|
|
34
|
+
`player.at` and `hub.players()[i].at` are inputs. A door may draw from them, but they
|
|
35
|
+
are never evidence.
|
|
36
|
+
|
|
37
|
+
## API (`hub`, v1.141)
|
|
38
|
+
|
|
39
|
+
- `hub.observed(playerId)` → `null`, or
|
|
40
|
+
`{ at, step, ok, travel, since, speed }`:
|
|
41
|
+
- `at`: the last admitted post-step position.
|
|
42
|
+
- `step`: the admitted displacement this tick. It is zero when the tick was rejected
|
|
43
|
+
or the player stood still.
|
|
44
|
+
- `ok`: whether this tick's body was admitted.
|
|
45
|
+
- `travel`: horizontal metres admitted since the last reset.
|
|
46
|
+
- `since`: the sim time of the last reset.
|
|
47
|
+
- `speed`: the limit applied, in m/s.
|
|
48
|
+
|
|
49
|
+
Values are copies.
|
|
50
|
+
- `hub.station(id, { at: { x, y, z }, radius, height = 2 })` declares a station: a
|
|
51
|
+
vertical cylinder centred on `at`. `hub.station(id, null)` removes it. Declaring a
|
|
52
|
+
station with the same id and the same shape is a no-op. Changing its shape zeroes
|
|
53
|
+
every player's dwell at that station.
|
|
54
|
+
- `hub.dwell(playerId, id)` → `{ inside, entered, ms }`, or `null`:
|
|
55
|
+
- `inside` uses the observed position, with hysteresis: a player is in from
|
|
56
|
+
`radius` and out beyond `radius + 0.25 m`.
|
|
57
|
+
- `entered` means the player walked out beyond the exit radius and then back
|
|
58
|
+
within `radius` by admitted steps (Stations, below).
|
|
59
|
+
- `ms` is how long the player has been continuously entered on admitted, present
|
|
60
|
+
ticks.
|
|
61
|
+
|
|
62
|
+
A door fires its effect when `ms` reaches its own threshold.
|
|
63
|
+
|
|
64
|
+
Observation is lazy. A place starts it the first time it calls `hub.observed` or
|
|
65
|
+
`hub.station`, so a town that never calls either keeps no state. At that point every
|
|
66
|
+
current body is reset.
|
|
67
|
+
|
|
68
|
+
## Admission (per tick, per player)
|
|
69
|
+
|
|
70
|
+
Let `d` be the horizontal displacement from `at` to this tick's body position.
|
|
71
|
+
|
|
72
|
+
- **Allowance.** `allowance` is the scene's `Player.speed` (6 if unset) times the
|
|
73
|
+
player's `hub.tune` speed factor, times a 1.25 tolerance.
|
|
74
|
+
- **One credit clock.** Elapsed time comes from a single monotonic clock `C`, the
|
|
75
|
+
larger of the sim's total and the wall clock's total since observation started.
|
|
76
|
+
A tick moves `C` by at most its own sim delta plus 1 s. The wall clock covers a
|
|
77
|
+
server stall, because real-time caps the sim delta at 250 ms. Taking the larger
|
|
78
|
+
*total* rather than adding up each tick's larger delta means tick quantisation is
|
|
79
|
+
never counted twice. A tick's elapsed time is `C_now − C_prev`. Dwell `ms` counts
|
|
80
|
+
sim time only (see Stations).
|
|
81
|
+
- **Reachability.** Every step must first be reachable from the last point where
|
|
82
|
+
`at` moved: `d <= allowance × (C − lastMovedAt) + 0.5 m`, finite, and inside the
|
|
83
|
+
world bounds. Anything else is **rejected**: nothing is spent, `at` stays put,
|
|
84
|
+
`ok` is false, `step` is zero, every station goes to `unknown` and `ms` to 0.
|
|
85
|
+
Later ticks test again from the held `at`.
|
|
86
|
+
- **One signed credit.** Each player has one credit, in metres. It works like a
|
|
87
|
+
token bucket that is allowed to go negative. Each tick,
|
|
88
|
+
`credit = min(credit + allowance × elapsed, CAP)`, where
|
|
89
|
+
`CAP = 0.4 s × allowance + 0.3 m` (3.3 m at the default speed). A reset or a
|
|
90
|
+
placement sets it to 0. Every reachable step **always** spends: `credit -= d`,
|
|
91
|
+
and `at` becomes the body.
|
|
92
|
+
- If `credit >= -1e-6` after spending, the step is **funded**. It is credited as
|
|
93
|
+
`travel`, it reports `step`, it may set a station `out` or `in`, and dwell
|
|
94
|
+
accrues while the player is `in`.
|
|
95
|
+
- Otherwise the step is **unfunded**, which is what a resync means now. `ok` is
|
|
96
|
+
true, `step` reads zero, no travel is credited, every station goes to
|
|
97
|
+
`unknown`, and `ms` goes to 0.
|
|
98
|
+
- **What the credit does.** Slack is never per report, so stuffing reports into one
|
|
99
|
+
tick buys nothing beyond the credit. A jump pushes the credit negative. It is paid
|
|
100
|
+
back by walking slower than the allowance or by standing, never by forgiving it,
|
|
101
|
+
and a walker who never stops recovers. After a 1 s server stall, a 6 m/s walker
|
|
102
|
+
owes about 2.7 m and pays 1.5 m/s back: their steps are funded again about 1.8 s
|
|
103
|
+
later. The comparison uses a 1e-6 epsilon, never a wire quantisation, which was
|
|
104
|
+
Rainbarrel's ULP false retirement.
|
|
105
|
+
|
|
106
|
+
The vertical axis is not checked.
|
|
107
|
+
|
|
108
|
+
**The invariant:** at any funded observation, the displacement since the last reset
|
|
109
|
+
is at most `allowance × (C − C_reset) + CAP + 1e-6`. No allowance is counted twice,
|
|
110
|
+
and nothing gets stuck. It follows that:
|
|
111
|
+
|
|
112
|
+
- credited `travel` comes only from funded steps, within the same bound;
|
|
113
|
+
- entering a station needs a funded observation beyond the exit band, then a funded
|
|
114
|
+
one within `radius`;
|
|
115
|
+
- the only head start is the credit held before a jump, at most `CAP`, which saves at
|
|
116
|
+
most about 0.45 s over a walker at 1.25×;
|
|
117
|
+
- an unfunded step can move `at` a long way, but it earns nothing. Its distance has
|
|
118
|
+
to be paid back in time before anything is entered, and idling before a jump buys
|
|
119
|
+
only the cap.
|
|
120
|
+
|
|
121
|
+
## Stations
|
|
122
|
+
|
|
123
|
+
Each (player, station) pair has a state of `unknown`, `out` or `in`, plus `ms`.
|
|
124
|
+
|
|
125
|
+
- Only a funded observation moves a station's state. An unfunded or rejected
|
|
126
|
+
position sets neither `out` nor `in`.
|
|
127
|
+
- A funded observation beyond `radius + 0.25 m` sets `out`.
|
|
128
|
+
- Once `out`, a funded observation within `radius` sets `in`. `in` means
|
|
129
|
+
entered. Ordinary walking through the hysteresis band in
|
|
130
|
+
many small steps enters.
|
|
131
|
+
- `in` holds until a funded observation is beyond `radius + 0.25 m`, which sets `out`.
|
|
132
|
+
- `ms` grows by the tick's **sim** delta (game time, not the credit clock) while the
|
|
133
|
+
state is `in`, `ok` is true and the player is present in
|
|
134
|
+
`session.players`. Absent ticks add nothing and zero nothing.
|
|
135
|
+
- A reset, an unfunded step or a rejection sets every station's state to `unknown` and `ms` to
|
|
136
|
+
0. From `unknown`, an observation within the exit radius stays `unknown`: the player
|
|
137
|
+
must walk out and back in.
|
|
138
|
+
|
|
139
|
+
`hub.dwell` reports `inside` (whether the observed position is within the hysteresis
|
|
140
|
+
radius), `entered` (whether the state is `in`) and `ms`.
|
|
141
|
+
|
|
142
|
+
## Resets
|
|
143
|
+
|
|
144
|
+
A reset sets `at` to the body position, zeroes `travel`, `step` and the credit,
|
|
145
|
+
sets `since` to now, and sets every station's state to `unknown`.
|
|
146
|
+
|
|
147
|
+
- **Placements.** These are every `moveBody`: arrival (§5), a `hub.go` group
|
|
148
|
+
placement, a jump to a door or a friend, `hub.goto`, unstuck, a fall catch,
|
|
149
|
+
`hub.placeAt`, `hub.hold`, hold and settle enforcement, sit and act placements, and
|
|
150
|
+
a retained return. A placement that moves the body more than 5 cm horizontally from
|
|
151
|
+
`at` invalidates the player **synchronously**, inside `moveBody`: scoring state is
|
|
152
|
+
cleared, and `hub.observed().ok` and `hub.dwell` read false or zero at once, even
|
|
153
|
+
inside a resume hook in the same tick. The kit records the placement's
|
|
154
|
+
**destination**. The next observe pass resets `at` to that destination, not to
|
|
155
|
+
wherever reports took the body afterwards, with no credit and
|
|
156
|
+
`lastMovedAt` set to now. In the same pass it then admits the move from the
|
|
157
|
+
destination to this tick's body as usual. Reports stuffed between a placement and
|
|
158
|
+
the pass are therefore admitted from the placement or rejected. They never become
|
|
159
|
+
the trusted origin. When several placements land before a pass, the last one wins.
|
|
160
|
+
|
|
161
|
+
A placement onto the same spot does not reset. That covers a retained return that
|
|
162
|
+
puts an unchanged body back where it was (`hub.js` retained-return path) and hold
|
|
163
|
+
enforcement that undoes a drift. Neither of these moves a player anywhere.
|
|
164
|
+
- **Bodies.** A new sim entry or a new body object for the same id, and the first
|
|
165
|
+
observation of a body. This also covers the spawn-height adjustment in `players.js`.
|
|
166
|
+
When the player leaves the sim, their record is deleted.
|
|
167
|
+
|
|
168
|
+
A **retained resume on the same body** is not a reset. Dwell did not advance while
|
|
169
|
+
the player was absent, and nothing restarts. This was Cedar v2's failure: a return
|
|
170
|
+
must not restart a grace period.
|
|
171
|
+
|
|
172
|
+
## Details the build settled
|
|
173
|
+
|
|
174
|
+
The kit's `code/server/observe.js` implements this. Where the text above left room,
|
|
175
|
+
it does the following:
|
|
176
|
+
|
|
177
|
+
- **The reach clock.** `lastMovedAt` is the credit-clock time when `at` last moved:
|
|
178
|
+
a funded or unfunded step, or a reset. Standing still does not renew it, because a
|
|
179
|
+
server that hears nothing can't tell a player standing still from a stalled
|
|
180
|
+
connection. So an unfunded step after standing still can move `at` by up to
|
|
181
|
+
`allowance` × the time stood. It also drives the credit that far negative, so the
|
|
182
|
+
player waits about that long again before entering anything. The credit and the
|
|
183
|
+
reach test use the credit clock. Dwell `ms` uses sim time.
|
|
184
|
+
- **Rounding.** A funded displacement under 1e-6 m is the capsule's float32
|
|
185
|
+
rounding. It is admitted, but it doesn't count as travel or as movement.
|
|
186
|
+
- **An unfunded step's `step`** is zero. Only funded steps report a displacement
|
|
187
|
+
or add travel.
|
|
188
|
+
- **A reset's `ok`** is true. The kit put the body there, and stations still start
|
|
189
|
+
`unknown`.
|
|
190
|
+
- **Height** gates entering and `inside`: the observed `y` must be within
|
|
191
|
+
`height / 2` of the station's `at.y`. Leaving is horizontal only, beyond
|
|
192
|
+
`radius + 0.25 m`. Leaving also zeroes `ms`.
|
|
193
|
+
- **Synchronous invalidation.** A placement more than 5 cm from `at` makes
|
|
194
|
+
`hub.dwell` read `{ inside: false, entered: false, ms: 0 }` until the next pass
|
|
195
|
+
adopts the new spot.
|
|
196
|
+
- **Validation.** A station id is 1 to 64 letters, digits, `_`, `.`, `:` or `-`.
|
|
197
|
+
A place may declare at most 64 stations. `radius` and `height` must be above 0
|
|
198
|
+
and at most 200 m, and coordinates must be finite and within ±1,000,000. A bad
|
|
199
|
+
call warns once and returns false. `hub.station` returns true when the call
|
|
200
|
+
takes.
|
|
201
|
+
|
|
202
|
+
## What it does not claim (v1)
|
|
203
|
+
|
|
204
|
+
- It cannot tell a scripted client from a person.
|
|
205
|
+
- **It does not check walls or walkability.** A kinematic capsule's chord sweep falsely
|
|
206
|
+
rejects curved walks at 150 to 200 ms report cadence. Unchecked flight or resync
|
|
207
|
+
across walls would also defeat a sweep, and proving walkability needs a path search.
|
|
208
|
+
A door must not depend on walls to make one route longer than another. The dot doors
|
|
209
|
+
have open floors. A walled-route check is a separate follow-up.
|
|
210
|
+
- Moving platforms that carry players faster than 0.25× the walk speed resync, and
|
|
211
|
+
resyncing loses dwell.
|
|
212
|
+
|
|
213
|
+
## Rookery, Loom and the deferred jobs
|
|
214
|
+
|
|
215
|
+
**Rookery** (P1 at `game.js:25`) and **Loom** drop their `motion.js` and their
|
|
216
|
+
target-against-body comparisons:
|
|
217
|
+
|
|
218
|
+
- Stations become `hub.station`.
|
|
219
|
+
- The "at a station" test becomes `hub.dwell(...).entered && ms >= N`.
|
|
220
|
+
- Gating on contribution uses `hub.observed(id).travel`.
|
|
221
|
+
- Grace windows, leases and "safe pose" all go: placement resets cover them.
|
|
222
|
+
|
|
223
|
+
**Cedar** (placement grace against ordinary motion), **Harbor** (settling and grace)
|
|
224
|
+
and **Willow** (pending-lease aging on invalid samples) all reduce to the reset and
|
|
225
|
+
reject rules above.
|
|
226
|
+
|
|
227
|
+
**Ripple** and **Windrose** are about who owns visit termination, not motion, so this
|
|
228
|
+
API does not cover them.
|
|
229
|
+
|
|
230
|
+
## Tests (kit, real Rapier)
|
|
231
|
+
|
|
232
|
+
All of these run against a small open scene, using `multiplayer-3d`'s
|
|
233
|
+
real `world`, `players.setPose` and the hub layer's `place` and `step`.
|
|
234
|
+
|
|
235
|
+
1. Walking at 6 m/s and at 4 m/s, with reports every 50, 100, 150 and 200 ms and a
|
|
236
|
+
three-report burst after a 300 ms stall, reaches the station. `entered` is set,
|
|
237
|
+
`ms` grows, and `ok` holds throughout.
|
|
238
|
+
2. Bounded MOVE stuffing: many in-bound reports per tick toward a station 6 m away
|
|
239
|
+
after 2 s idle. Either the step is rejected, or it resyncs as unentered: `entered`
|
|
240
|
+
is never set by the jump. Walking in afterwards needs the out-then-in transition.
|
|
241
|
+
3. Reports at 12 m/s, inside `setPose`'s own clamp, outrun the credit: they go unfunded or
|
|
242
|
+
are rejected, earn no travel and never enter.
|
|
243
|
+
4. Hysteresis: 4 m/s with 50 ms reports enters (the case Sol named).
|
|
244
|
+
5. `hub.placeAt` onto a station, an arrival, and a jump: each is a reset, with the
|
|
245
|
+
player inside, not entered and `ms` at 0. Stepping out and back in enters.
|
|
246
|
+
6. A retained resume on the same body is not a reset, including the retained-return
|
|
247
|
+
`moveBody` onto the same spot. A replacement body is a reset. A placement inside
|
|
248
|
+
a resume hook invalidates `hub.dwell` in that same tick.
|
|
249
|
+
7. A 3 s network stall followed by a burst resyncs: `ok` is true, nothing is entered,
|
|
250
|
+
and no travel is credited for the gap. A 1 s server stall, with sim time capped,
|
|
251
|
+
followed by legitimate reports is admitted or resynced, never rejected.
|
|
252
|
+
8. A place that never calls the API keeps no observation state.
|
package/kits/hub-game/main.jsx
CHANGED
|
@@ -3,4 +3,6 @@
|
|
|
3
3
|
// editors; the hub's client half arrives on its own -- `code/systems/hub.js`
|
|
4
4
|
// through the engine's system registry, `code/client/hookLayer.js` through
|
|
5
5
|
// `castle.real-time`'s client hooks.
|
|
6
|
+
import './code/client/loadingEntry.js';
|
|
7
|
+
import './code/client/qualityEntry.js';
|
|
6
8
|
import '@imports/castle.multiplayer-3d/main.jsx';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "pxmodel",
|
|
3
|
+
"name": "Bolt",
|
|
4
|
+
"triangles": 1500,
|
|
5
|
+
"look": {"outline":0.03,"outlineColor":"#241a2e","rim":0,"ao":0.12},
|
|
6
|
+
"parts": [
|
|
7
|
+
{"id":"legL","kind":"cylinder","position":[0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
8
|
+
{"id":"shoeL","parent":"legL","kind":"sphere","radius":0.105,"position":[0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#3a4558","roughness":1,"brightness":2},
|
|
9
|
+
{"id":"legR","kind":"cylinder","position":[-0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
10
|
+
{"id":"shoeR","parent":"legR","kind":"sphere","radius":0.105,"position":[-0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#3a4558","roughness":1,"brightness":2},
|
|
11
|
+
{"id":"armL","parent":"torso","kind":"cylinder","position":[0.2,0.28,0],"rotation":[0,0,24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
12
|
+
{"id":"handL","parent":"armL","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffc531","roughness":1,"brightness":2},
|
|
13
|
+
{"id":"armR","parent":"torso","kind":"cylinder","position":[-0.2,0.28,0],"rotation":[0,0,-24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
14
|
+
{"id":"handR","parent":"armR","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffc531","roughness":1,"brightness":2},
|
|
15
|
+
{"id":"torso","kind":"box","position":[0,0.34,0],"offset":[0,0.17,0],"size":[0.38,0.42,0.28],"round":0.05,"roundSegments":1,"color":"#b5c1cf","roughness":1,"brightness":2},
|
|
16
|
+
{"id":"panel","parent":"torso","kind":"box","size":[0.22,0.15,0.03],"position":[0,0.2,0.135],"color":"#3a4558","roughness":1,"brightness":2},
|
|
17
|
+
{"id":"light","parent":"torso","kind":"sphere","radius":0.04,"position":[-0.05,0.215,0.15],"segments":4,"scale":[1,1,0.5],"color":"#ff4d4d","roughness":1,"brightness":2},
|
|
18
|
+
{"id":"dial","parent":"torso","kind":"box","size":[0.07,0.035,0.03],"position":[0.05,0.215,0.143],"color":"#ffc531","roughness":1,"brightness":2},
|
|
19
|
+
{"id":"neck","parent":"torso","kind":"cylinder","radius":0.075,"height":0.1,"position":[0,0.43,0],"segments":6,"color":"#3a4558","roughness":1,"brightness":2},
|
|
20
|
+
{"id":"head","parent":"torso","kind":"box","position":[0,0.69,0],"size":[0.56,0.44,0.44],"round":0.07,"roundSegments":1,"color":"#b5c1cf","roughness":1,"brightness":2},
|
|
21
|
+
{"id":"visor","parent":"head","kind":"box","size":[0.46,0.15,0.04],"position":[0,0.035,0.216],"color":"#241a2e","roughness":1},
|
|
22
|
+
{"id":"eye","parent":"head","kind":"sphere","radius":0.05,"position":[0.11,0.035,0.232],"segments":6,"scale":[1,1.1,0.4],"mirror":"x","color":"#35e0ff","roughness":1,"brightness":2},
|
|
23
|
+
{"id":"mouth","parent":"head","kind":"box","size":[0.18,0.035,0.03],"position":[0,-0.12,0.214],"color":"#241a2e","roughness":1},
|
|
24
|
+
{"id":"ear","parent":"head","kind":"cylinder","radius":0.085,"height":0.07,"position":[0.3,0,0],"rotation":[0,0,90],"segments":8,"mirror":"x","color":"#ffc531","roughness":1,"brightness":2},
|
|
25
|
+
{"id":"mast","parent":"head","kind":"cylinder","radius":0.016,"height":0.24,"position":[0.33,0.17,0],"segments":4,"color":"#241a2e","roughness":1},
|
|
26
|
+
{"id":"bulb","parent":"head","kind":"sphere","radius":0.05,"position":[0.33,0.3,0],"segments":6,"color":"#ff4d4d","roughness":1,"brightness":2}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "pxmodel",
|
|
3
|
+
"name": "Gloop",
|
|
4
|
+
"triangles": 1500,
|
|
5
|
+
"look": {"outline":0.03,"outlineColor":"#241a2e","rim":0,"ao":0.12},
|
|
6
|
+
"parts": [
|
|
7
|
+
{"id":"legL","kind":"cylinder","position":[0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
8
|
+
{"id":"shoeL","parent":"legL","kind":"sphere","radius":0.105,"position":[0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#ff4fa3","roughness":1,"brightness":2},
|
|
9
|
+
{"id":"legR","kind":"cylinder","position":[-0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
10
|
+
{"id":"shoeR","parent":"legR","kind":"sphere","radius":0.105,"position":[-0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#ff4fa3","roughness":1,"brightness":2},
|
|
11
|
+
{"id":"armL","parent":"torso","kind":"cylinder","position":[0.2,0.28,0],"rotation":[0,0,24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
12
|
+
{"id":"handL","parent":"armL","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffffff","roughness":1,"brightness":2},
|
|
13
|
+
{"id":"armR","parent":"torso","kind":"cylinder","position":[-0.2,0.28,0],"rotation":[0,0,-24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
14
|
+
{"id":"handR","parent":"armR","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffffff","roughness":1,"brightness":2},
|
|
15
|
+
{"id":"torso","kind":"lathe","position":[0,0.34,0],"profile":[[0,-0.07],[0.19,-0.02],[0.24,0.12],[0.2,0.28],[0.12,0.39],[0,0.42]],"segments":8,"color":"#0b7f86","roughness":1,"brightness":2},
|
|
16
|
+
{"id":"head","parent":"torso","kind":"lathe","position":[0,0.66,0],"profile":[[0,-0.27],[0.17,-0.24],[0.29,-0.14],[0.33,0],[0.29,0.13],[0.2,0.25],[0.11,0.335],[0,0.37]],"segments":10,"color":"#14bfae","roughness":1,"brightness":2},
|
|
17
|
+
{"id":"eyeTop","parent":"head","kind":"sphere","radius":0.07,"position":[0,0.14,0.283],"rotation":[-36.87,0,0],"scale":[1,1.1,0.3],"segments":8,"color":"#241a2e","roughness":1,"doubleSided":true},
|
|
18
|
+
{"id":"glintTop","parent":"head","kind":"sphere","radius":0.036,"position":[0.023,0.185,0.275],"rotation":[-36.87,4.882,0],"scale":[1,1,0.3],"segments":4,"color":"#ffffff","roughness":1,"brightness":2,"doubleSided":true},
|
|
19
|
+
{"id":"eye","parent":"head","kind":"sphere","radius":0.066,"position":[0.14,-0.005,0.297],"rotation":[15.945,25.219,0],"scale":[1,1.1,0.3],"segments":8,"mirror":"x","color":"#241a2e","roughness":1,"doubleSided":true},
|
|
20
|
+
{"id":"glint","parent":"head","kind":"sphere","radius":0.036,"position":[0.175,0.034,0.306],"rotation":[-17.103,29.763,0],"scale":[1,1,0.3],"segments":4,"mirror":"x","color":"#ffffff","roughness":1,"brightness":2,"doubleSided":true},
|
|
21
|
+
{"id":"mouth","parent":"head","kind":"torus","radius":0.045,"tube":0.016,"arc":180,"position":[0,-0.131,0.297],"rotation":[15.945,0,180],"segments":6,"color":"#241a2e","roughness":1,"doubleSided":true},
|
|
22
|
+
{"id":"stalk","parent":"head","kind":"cylinder","radius":0.02,"height":0.2,"position":[0,0.36,-0.2],"rotation":[-32,0,0],"segments":4,"color":"#0b7f86","roughness":1,"brightness":2,"doubleSided":true},
|
|
23
|
+
{"id":"bobble","parent":"head","kind":"sphere","radius":0.055,"position":[0,0.45,-0.255],"segments":6,"color":"#ff4fa3","roughness":1,"brightness":2,"doubleSided":true},
|
|
24
|
+
{"id":"spotA","parent":"head","kind":"sphere","radius":0.07,"position":[0.118,0.099,-0.271],"rotation":[17.103,156.358,0],"scale":[1,1,0.3],"segments":4,"color":"#0b7f86","roughness":1,"brightness":2,"doubleSided":true},
|
|
25
|
+
{"id":"spotB","parent":"head","kind":"sphere","radius":0.05,"position":[-0.109,-0.049,-0.292],"rotation":[-15.945,-159.61,0],"scale":[1,1,0.3],"segments":4,"color":"#0b7f86","roughness":1,"brightness":2,"doubleSided":true},
|
|
26
|
+
{"id":"spotC","parent":"head","kind":"sphere","radius":0.04,"position":[-0.049,0.198,-0.229],"rotation":[36.87,-167.847,0],"scale":[1,1,0.3],"segments":4,"color":"#0b7f86","roughness":1,"brightness":2,"doubleSided":true}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "pxmodel",
|
|
3
|
+
"name": "Cap",
|
|
4
|
+
"triangles": 1500,
|
|
5
|
+
"look": {"outline":0.03,"outlineColor":"#241a2e","rim":0,"ao":0.12},
|
|
6
|
+
"parts": [
|
|
7
|
+
{"id":"legL","kind":"cylinder","position":[0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
8
|
+
{"id":"shoeL","parent":"legL","kind":"sphere","radius":0.105,"position":[0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#7a4a2a","roughness":1,"brightness":2},
|
|
9
|
+
{"id":"legR","kind":"cylinder","position":[-0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
10
|
+
{"id":"shoeR","parent":"legR","kind":"sphere","radius":0.105,"position":[-0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#7a4a2a","roughness":1,"brightness":2},
|
|
11
|
+
{"id":"armL","parent":"torso","kind":"cylinder","position":[0.2,0.28,0],"rotation":[0,0,24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
12
|
+
{"id":"handL","parent":"armL","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffdfa6","roughness":1,"brightness":2},
|
|
13
|
+
{"id":"armR","parent":"torso","kind":"cylinder","position":[-0.2,0.28,0],"rotation":[0,0,-24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
14
|
+
{"id":"handR","parent":"armR","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffdfa6","roughness":1,"brightness":2},
|
|
15
|
+
{"id":"torso","kind":"lathe","position":[0,0.34,0],"profile":[[0,-0.07],[0.19,-0.02],[0.24,0.12],[0.2,0.28],[0.12,0.39],[0,0.42]],"segments":8,"color":"#7d9a3c","roughness":1,"brightness":2},
|
|
16
|
+
{"id":"head","parent":"torso","kind":"sphere","position":[0,0.6,0],"radius":0.25,"scale":[1,1.14,1],"segments":8,"color":"#ffdfa6","roughness":1,"brightness":2,"doubleSided":true},
|
|
17
|
+
{"id":"cap","parent":"head","kind":"lathe","profile":[[0.18,0.21],[0.32,0.19],[0.36,0.25],[0.325,0.35],[0.24,0.43],[0.12,0.48],[0,0.495]],"segments":10,"color":"#a8479a","roughness":1,"brightness":2},
|
|
18
|
+
{"id":"spotA","parent":"head","kind":"sphere","radius":0.085,"position":[-0.089,0.352,0.304],"rotation":[-46.736,-16.351,0],"scale":[1,1,0.3],"segments":5,"color":"#fff3d6","roughness":1,"brightness":2,"doubleSided":true},
|
|
19
|
+
{"id":"spotB","parent":"head","kind":"sphere","radius":0.048,"position":[0.188,0.309,0.278],"rotation":[-19.29,34.088,0],"scale":[1,1,0.3],"segments":5,"color":"#fff3d6","roughness":1,"brightness":2,"doubleSided":true},
|
|
20
|
+
{"id":"spotC","parent":"head","kind":"sphere","radius":0.09,"position":[0.049,0.339,-0.321],"rotation":[19.29,171.245,0],"scale":[1,1,0.3],"segments":5,"color":"#fff3d6","roughness":1,"brightness":2,"doubleSided":true},
|
|
21
|
+
{"id":"spotD","parent":"head","kind":"sphere","radius":0.05,"position":[-0.208,0.299,-0.268],"rotation":[19.29,-142.183,0],"scale":[1,1,0.3],"segments":5,"color":"#fff3d6","roughness":1,"brightness":2,"doubleSided":true},
|
|
22
|
+
{"id":"eye","parent":"head","kind":"sphere","radius":0.072,"position":[0.1,-0.035,0.227],"rotation":[6.195,23.769,0],"scale":[1,1.15,0.3],"segments":8,"mirror":"x","color":"#241a2e","roughness":1,"doubleSided":true},
|
|
23
|
+
{"id":"glint","parent":"head","kind":"sphere","radius":0.036,"position":[0.132,-0.002,0.237],"rotation":[0.332,29.105,0],"scale":[1,1,0.3],"segments":4,"mirror":"x","color":"#ffffff","roughness":1,"brightness":2,"doubleSided":true},
|
|
24
|
+
{"id":"mouth","parent":"head","kind":"torus","radius":0.045,"tube":0.016,"arc":180,"position":[0,-0.152,0.216],"rotation":[28.501,0,180],"segments":6,"color":"#241a2e","roughness":1,"doubleSided":true},
|
|
25
|
+
{"id":"cheek","parent":"head","kind":"sphere","radius":0.042,"position":[0.18,-0.115,0.141],"rotation":[21.149,51.897,0],"scale":[1,0.7,0.3],"segments":5,"mirror":"x","color":"#ff8f6b","roughness":1,"brightness":2,"doubleSided":true}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "pxmodel",
|
|
3
|
+
"name": "Toast",
|
|
4
|
+
"triangles": 1500,
|
|
5
|
+
"look": {"outline":0.03,"outlineColor":"#241a2e","rim":0,"ao":0.12},
|
|
6
|
+
"parts": [
|
|
7
|
+
{"id":"legL","kind":"cylinder","position":[0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
8
|
+
{"id":"shoeL","parent":"legL","kind":"sphere","radius":0.105,"position":[0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#a8612a","roughness":1,"brightness":2},
|
|
9
|
+
{"id":"legR","kind":"cylinder","position":[-0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
10
|
+
{"id":"shoeR","parent":"legR","kind":"sphere","radius":0.105,"position":[-0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#a8612a","roughness":1,"brightness":2},
|
|
11
|
+
{"id":"armL","parent":"torso","kind":"cylinder","position":[0.2,0.28,0],"rotation":[0,0,24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
12
|
+
{"id":"handL","parent":"armL","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffffff","roughness":1,"brightness":2},
|
|
13
|
+
{"id":"armR","parent":"torso","kind":"cylinder","position":[-0.2,0.28,0],"rotation":[0,0,-24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
14
|
+
{"id":"handR","parent":"armR","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffffff","roughness":1,"brightness":2},
|
|
15
|
+
{"id":"torso","kind":"lathe","position":[0,0.34,0],"profile":[[0,-0.07],[0.19,-0.02],[0.24,0.12],[0.2,0.28],[0.12,0.39],[0,0.42]],"segments":8,"color":"#b5305e","roughness":1,"brightness":2},
|
|
16
|
+
{"id":"head","parent":"torso","kind":"extrude","outline":[[-0.2,-0.28],[0.2,-0.28],[0.26,-0.22],[0.25,0.08],[0.3,0.17],[0.28,0.26],[0.17,0.31],[-0.17,0.31],[-0.28,0.26],[-0.3,0.17],[-0.25,0.08],[-0.26,-0.22]],"depth":0.14,"bevel":0.03,"flat":false,"position":[0,0.7,0],"color":"#a8612a","roughness":1,"brightness":2},
|
|
17
|
+
{"id":"crumb","parent":"head","kind":"extrude","outline":[[-0.172,-0.241],[0.172,-0.241],[0.224,-0.189],[0.215,0.069],[0.258,0.146],[0.241,0.224],[0.146,0.267],[-0.146,0.267],[-0.241,0.224],[-0.258,0.146],[-0.215,0.069],[-0.224,-0.189]],"depth":0.224,"flat":false,"color":"#fff2c4","roughness":1,"brightness":2},
|
|
18
|
+
{"id":"eye","parent":"head","kind":"sphere","radius":0.07,"position":[0.1,-0.02,0.112],"rotation":[0,0,0],"scale":[1,1.15,0.3],"segments":8,"mirror":"x","color":"#241a2e","roughness":1,"doubleSided":true},
|
|
19
|
+
{"id":"glint","parent":"head","kind":"sphere","radius":0.036,"position":[0.121,0.012,0.133],"rotation":[0,0,0],"scale":[1,1,0.3],"segments":4,"mirror":"x","color":"#ffffff","roughness":1,"brightness":2,"doubleSided":true},
|
|
20
|
+
{"id":"mouth","parent":"head","kind":"torus","radius":0.045,"tube":0.016,"arc":180,"position":[0,-0.12,0.116],"rotation":[0,0,180],"segments":6,"color":"#241a2e","roughness":1,"doubleSided":true},
|
|
21
|
+
{"id":"cheek","parent":"head","kind":"sphere","radius":0.046,"position":[0.17,-0.1,0.112],"rotation":[0,0,0],"scale":[1,0.7,0.3],"segments":5,"mirror":"x","color":"#ff8f6b","roughness":1,"brightness":2,"doubleSided":true},
|
|
22
|
+
{"id":"butter","parent":"head","kind":"box","size":[0.14,0.13,0.04],"position":[0.1,0.16,0.124],"rotation":[0,0,12],"color":"#fff27a","roughness":1,"brightness":2,"doubleSided":true}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "pxmodel",
|
|
3
|
+
"name": "Scoop",
|
|
4
|
+
"triangles": 1500,
|
|
5
|
+
"look": {"outline":0.03,"outlineColor":"#241a2e","rim":0,"ao":0.12},
|
|
6
|
+
"parts": [
|
|
7
|
+
{"id":"legL","kind":"cylinder","position":[0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
8
|
+
{"id":"shoeL","parent":"legL","kind":"sphere","radius":0.105,"position":[0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#6a3a1f","roughness":1,"brightness":2},
|
|
9
|
+
{"id":"legR","kind":"cylinder","position":[-0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
10
|
+
{"id":"shoeR","parent":"legR","kind":"sphere","radius":0.105,"position":[-0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#6a3a1f","roughness":1,"brightness":2},
|
|
11
|
+
{"id":"armL","parent":"torso","kind":"cylinder","position":[0.2,0.28,0],"rotation":[0,0,24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
12
|
+
{"id":"handL","parent":"armL","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffffff","roughness":1,"brightness":2},
|
|
13
|
+
{"id":"armR","parent":"torso","kind":"cylinder","position":[-0.2,0.28,0],"rotation":[0,0,-24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
14
|
+
{"id":"handR","parent":"armR","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffffff","roughness":1,"brightness":2},
|
|
15
|
+
{"id":"torso","kind":"lathe","position":[0,0.34,0],"profile":[[0,-0.08],[0.11,-0.06],[0.215,0.36],[0.225,0.41],[0,0.41]],"segments":8,"color":"#e3a550","roughness":1,"brightness":2},
|
|
16
|
+
{"id":"head","parent":"torso","kind":"sphere","position":[0,0.71,0],"radius":0.3,"scale":[1,0.97,1],"segments":9,"color":"#ff93a6","roughness":1,"brightness":2,"doubleSided":true},
|
|
17
|
+
{"id":"foot","parent":"head","kind":"cylinder","radius":0.27,"radiusTop":0.24,"height":0.07,"position":[0,-0.265,0],"segments":8,"color":"#ff93a6","roughness":1,"brightness":2,"doubleSided":true},
|
|
18
|
+
{"id":"sauce","parent":"head","kind":"lathe","profile":[[0.267,0.175],[0.171,0.265],[0,0.312]],"segments":10,"color":"#6a3a1f","roughness":1,"brightness":2},
|
|
19
|
+
{"id":"drip45","parent":"head","kind":"sphere","radius":0.095,"position":[0.176,0.146,0.176],"segments":6,"scale":[0.95,1.25,0.5],"rotation":[30,45,0],"color":"#6a3a1f","roughness":1,"brightness":2,"doubleSided":true},
|
|
20
|
+
{"id":"drip135","parent":"head","kind":"sphere","radius":0.095,"position":[0.176,0.155,-0.176],"segments":6,"scale":[0.95,1.05,0.5],"rotation":[30,135,0],"color":"#6a3a1f","roughness":1,"brightness":2,"doubleSided":true},
|
|
21
|
+
{"id":"drip225","parent":"head","kind":"sphere","radius":0.095,"position":[-0.176,0.155,-0.176],"segments":6,"scale":[0.95,1.05,0.5],"rotation":[30,225,0],"color":"#6a3a1f","roughness":1,"brightness":2,"doubleSided":true},
|
|
22
|
+
{"id":"drip315","parent":"head","kind":"sphere","radius":0.095,"position":[-0.176,0.146,0.176],"segments":6,"scale":[0.95,1.25,0.5],"rotation":[30,315,0],"color":"#6a3a1f","roughness":1,"brightness":2,"doubleSided":true},
|
|
23
|
+
{"id":"sprinkleA","parent":"head","kind":"box","size":[0.085,0.03,0.03],"position":[-0.094,0.271,0.156],"rotation":[-46.848,-31.108,35],"color":"#fff27a","roughness":1,"brightness":2,"doubleSided":true},
|
|
24
|
+
{"id":"sprinkleB","parent":"head","kind":"box","size":[0.085,0.03,0.03],"position":[0.104,0.259,0.165],"rotation":[-46.848,32.328,-50],"color":"#7ae0ff","roughness":1,"brightness":2,"doubleSided":true},
|
|
25
|
+
{"id":"eye","parent":"head","kind":"sphere","radius":0.07,"position":[0.11,-0.03,0.277],"rotation":[6.099,21.631,0],"scale":[1,1.15,0.3],"segments":8,"mirror":"x","color":"#241a2e","roughness":1,"doubleSided":true},
|
|
26
|
+
{"id":"glint","parent":"head","kind":"sphere","radius":0.036,"position":[0.14,0.002,0.289],"rotation":[-0.447,25.892,0],"scale":[1,1,0.3],"segments":4,"mirror":"x","color":"#ffffff","roughness":1,"brightness":2,"doubleSided":true},
|
|
27
|
+
{"id":"mouth","parent":"head","kind":"torus","radius":0.045,"tube":0.016,"arc":180,"position":[0,-0.137,0.269],"rotation":[28.364,0,180],"segments":6,"color":"#241a2e","roughness":1,"doubleSided":true}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "pxmodel",
|
|
3
|
+
"name": "Zest",
|
|
4
|
+
"triangles": 1500,
|
|
5
|
+
"look": {"outline":0.03,"outlineColor":"#241a2e","rim":0,"ao":0.12},
|
|
6
|
+
"parts": [
|
|
7
|
+
{"id":"legL","kind":"cylinder","position":[0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
8
|
+
{"id":"shoeL","parent":"legL","kind":"sphere","radius":0.105,"position":[0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#ff8a14","roughness":1,"brightness":2},
|
|
9
|
+
{"id":"legR","kind":"cylinder","position":[-0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
10
|
+
{"id":"shoeR","parent":"legR","kind":"sphere","radius":0.105,"position":[-0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#ff8a14","roughness":1,"brightness":2},
|
|
11
|
+
{"id":"armL","parent":"torso","kind":"cylinder","position":[0.2,0.28,0],"rotation":[0,0,24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
12
|
+
{"id":"handL","parent":"armL","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffffff","roughness":1,"brightness":2},
|
|
13
|
+
{"id":"armR","parent":"torso","kind":"cylinder","position":[-0.2,0.28,0],"rotation":[0,0,-24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
14
|
+
{"id":"handR","parent":"armR","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffffff","roughness":1,"brightness":2},
|
|
15
|
+
{"id":"torso","kind":"lathe","position":[0,0.34,0],"profile":[[0,-0.07],[0.19,-0.02],[0.24,0.12],[0.2,0.28],[0.12,0.39],[0,0.42]],"segments":8,"color":"#2f9e55","roughness":1,"brightness":2},
|
|
16
|
+
{"id":"head","parent":"torso","kind":"sphere","position":[0,0.68,0],"radius":0.31,"scale":[1.06,0.94,1.04],"segments":12,"color":"#ff8a14","roughness":1,"brightness":2,"doubleSided":true},
|
|
17
|
+
{"id":"eye","parent":"head","kind":"sphere","radius":0.075,"position":[0.12,0.03,0.298],"rotation":[-6.549,21.169,0],"scale":[1,1.15,0.3],"segments":8,"mirror":"x","color":"#241a2e","roughness":1,"doubleSided":true},
|
|
18
|
+
{"id":"glint","parent":"head","kind":"sphere","radius":0.036,"position":[0.152,0.07,0.301],"rotation":[-14.147,25.971,0],"scale":[1,1,0.3],"segments":4,"mirror":"x","color":"#ffffff","roughness":1,"brightness":2,"doubleSided":true},
|
|
19
|
+
{"id":"mouth","parent":"head","kind":"torus","radius":0.06,"tube":0.017,"arc":180,"position":[0,-0.086,0.312],"rotation":[18.644,0,180],"segments":6,"color":"#241a2e","roughness":1,"doubleSided":true},
|
|
20
|
+
{"id":"cheek","parent":"head","kind":"sphere","radius":0.046,"position":[0.215,-0.07,0.231],"rotation":[15.437,41.836,0],"scale":[1,0.7,0.3],"segments":5,"mirror":"x","color":"#ff5a3c","roughness":1,"brightness":2,"doubleSided":true},
|
|
21
|
+
{"id":"stem","parent":"head","kind":"cylinder","radius":0.03,"height":0.09,"position":[0,0.3,-0.07],"segments":5,"color":"#6b3d20","roughness":1,"brightness":2,"doubleSided":true},
|
|
22
|
+
{"id":"leaf","parent":"head","kind":"extrude","outline":[[0,0],[0.09,0.1],[0.06,0.21],[0,0.27],[-0.06,0.21],[-0.09,0.1]],"depth":0.035,"flat":false,"position":[0.02,0.265,-0.08],"rotation":[-65,0,-75],"color":"#4fc04a","roughness":1,"brightness":2}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "pxmodel",
|
|
3
|
+
"name": "Biscuit",
|
|
4
|
+
"triangles": 1500,
|
|
5
|
+
"look": {"outline":0.03,"outlineColor":"#241a2e","rim":0,"ao":0.12},
|
|
6
|
+
"parts": [
|
|
7
|
+
{"id":"legL","kind":"cylinder","position":[0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
8
|
+
{"id":"shoeL","parent":"legL","kind":"sphere","radius":0.105,"position":[0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#6b3d20","roughness":1,"brightness":2},
|
|
9
|
+
{"id":"legR","kind":"cylinder","position":[-0.11,0.34,0],"offset":[0,-0.13,0],"radius":0.05,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
10
|
+
{"id":"shoeR","parent":"legR","kind":"sphere","radius":0.105,"position":[-0.01,-0.27,0.055],"scale":[1,0.68,1.5],"segments":8,"look":{"outline":0},"color":"#6b3d20","roughness":1,"brightness":2},
|
|
11
|
+
{"id":"armL","parent":"torso","kind":"cylinder","position":[0.2,0.28,0],"rotation":[0,0,24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
12
|
+
{"id":"handL","parent":"armL","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffffff","roughness":1,"brightness":2},
|
|
13
|
+
{"id":"armR","parent":"torso","kind":"cylinder","position":[-0.2,0.28,0],"rotation":[0,0,-24],"offset":[0,-0.14,0],"radius":0.042,"height":0.28,"segments":6,"look":{"outline":0},"color":"#241a2e","roughness":1},
|
|
14
|
+
{"id":"handR","parent":"armR","kind":"sphere","radius":0.085,"position":[0,-0.31000000000000005,0.01],"segments":6,"look":{"outline":0},"color":"#ffffff","roughness":1,"brightness":2},
|
|
15
|
+
{"id":"torso","kind":"lathe","position":[0,0.34,0],"profile":[[0,-0.07],[0.19,-0.02],[0.24,0.12],[0.2,0.28],[0.12,0.39],[0,0.42]],"segments":8,"color":"#c79a68","roughness":1,"brightness":2},
|
|
16
|
+
{"id":"head","parent":"torso","kind":"sphere","position":[0,0.68,0],"radius":0.3,"scale":[1.05,0.95,1],"segments":10,"color":"#c79a68","roughness":1,"brightness":2},
|
|
17
|
+
{"id":"eyePatch","parent":"head","kind":"sphere","radius":0.135,"position":[0.125,0.048,0.257],"rotation":[-10.71,23.737,0],"scale":[1,1.1,0.3],"segments":6,"color":"#6b3d20","roughness":1,"brightness":2},
|
|
18
|
+
{"id":"eyeL","parent":"head","kind":"sphere","radius":0.07,"position":[0.125,0.044,0.304],"rotation":[-8.54,20.696,0],"scale":[1,1.15,0.3],"segments":8,"color":"#241a2e","roughness":1},
|
|
19
|
+
{"id":"glintL","parent":"head","kind":"sphere","radius":0.036,"position":[0.157,0.086,0.305],"rotation":[-15.505,25.402,0],"scale":[1,1,0.3],"segments":4,"color":"#ffffff","roughness":1,"brightness":2},
|
|
20
|
+
{"id":"eyeR","parent":"head","kind":"sphere","radius":0.07,"position":[-0.115,0.04,0.276],"rotation":[-8.54,-20.696,0],"scale":[1,1.15,0.3],"segments":8,"color":"#241a2e","roughness":1},
|
|
21
|
+
{"id":"glintR","parent":"head","kind":"sphere","radius":0.036,"position":[-0.1,0.078,0.296],"rotation":[-15.433,-17.16,0],"scale":[1,1,0.3],"segments":4,"color":"#ffffff","roughness":1,"brightness":2},
|
|
22
|
+
{"id":"muzzle","parent":"head","kind":"sphere","radius":0.135,"position":[0,-0.09,0.2],"segments":6,"scale":[1.25,0.85,0.9],"color":"#ffe6bf","roughness":1,"brightness":2},
|
|
23
|
+
{"id":"nose","parent":"head","kind":"sphere","radius":0.05,"position":[0,-0.045,0.325],"segments":6,"scale":[1.25,0.85,0.8],"color":"#241a2e","roughness":1},
|
|
24
|
+
{"id":"tongue","parent":"head","kind":"sphere","radius":0.045,"position":[0,-0.175,0.285],"segments":4,"scale":[0.9,1.1,0.5],"color":"#ff5f8f","roughness":1,"brightness":2},
|
|
25
|
+
{"id":"ear","parent":"head","kind":"sphere","radius":0.13,"position":[0.305,-0.03,-0.02],"segments":6,"scale":[0.5,1.45,0.85],"rotation":[0,0,10],"mirror":"x","color":"#6b3d20","roughness":1,"brightness":2},
|
|
26
|
+
{"id":"collar","parent":"torso","kind":"cylinder","radius":0.15,"height":0.055,"position":[0,0.385,0],"segments":8,"color":"#e8463c","roughness":1,"brightness":2,"doubleSided":true},
|
|
27
|
+
{"id":"tailA","parent":"torso","kind":"cone","radius":0.06,"height":0.24,"position":[0,0.13,-0.27],"rotation":[-48,0,0],"segments":5,"color":"#c79a68","roughness":1,"brightness":2,"doubleSided":true}
|
|
28
|
+
]
|
|
29
|
+
}
|