@verticopolis/components 0.0.0-stage → 0.2.0
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/ASSETS-LICENSE.md +49 -0
- package/LICENSE +21 -0
- package/README.md +121 -2
- package/lib/audio/Audio.d.ts +110 -0
- package/lib/audio/Audio.js +199 -0
- package/lib/audio/Audio.js.map +1 -0
- package/lib/audio/ToneAudioEngine.d.ts +125 -0
- package/lib/audio/ToneAudioEngine.js +452 -0
- package/lib/audio/ToneAudioEngine.js.map +1 -0
- package/lib/audio/audioAssets.d.ts +25 -0
- package/lib/audio/audioAssets.js +28 -0
- package/lib/audio/audioAssets.js.map +1 -0
- package/lib/audio/awayWatch.d.ts +17 -0
- package/lib/audio/awayWatch.js +33 -0
- package/lib/audio/awayWatch.js.map +1 -0
- package/lib/audio/firstCueLatch.d.ts +18 -0
- package/lib/audio/firstCueLatch.js +34 -0
- package/lib/audio/firstCueLatch.js.map +1 -0
- package/lib/audio/lightEnvelope.d.ts +64 -0
- package/lib/audio/lightEnvelope.js +124 -0
- package/lib/audio/lightEnvelope.js.map +1 -0
- package/lib/audio/lightSynth.d.ts +125 -0
- package/lib/audio/lightSynth.js +203 -0
- package/lib/audio/lightSynth.js.map +1 -0
- package/lib/audio/toneContext.d.ts +30 -0
- package/lib/audio/toneContext.js +79 -0
- package/lib/audio/toneContext.js.map +1 -0
- package/lib/audio/toneCrowd.d.ts +62 -0
- package/lib/audio/toneCrowd.js +429 -0
- package/lib/audio/toneCrowd.js.map +1 -0
- package/lib/audio/toneCrowdData.d.ts +144 -0
- package/lib/audio/toneCrowdData.js +317 -0
- package/lib/audio/toneCrowdData.js.map +1 -0
- package/lib/audio/toneCrowdPrograms.d.ts +71 -0
- package/lib/audio/toneCrowdPrograms.js +273 -0
- package/lib/audio/toneCrowdPrograms.js.map +1 -0
- package/lib/audio/toneCrowdVoices.d.ts +49 -0
- package/lib/audio/toneCrowdVoices.js +212 -0
- package/lib/audio/toneCrowdVoices.js.map +1 -0
- package/lib/audio/toneMusicVoices.d.ts +11 -0
- package/lib/audio/toneMusicVoices.js +31 -0
- package/lib/audio/toneMusicVoices.js.map +1 -0
- package/lib/audio/tonePercussion.d.ts +45 -0
- package/lib/audio/tonePercussion.js +97 -0
- package/lib/audio/tonePercussion.js.map +1 -0
- package/lib/audio/toneRain.d.ts +23 -0
- package/lib/audio/toneRain.js +39 -0
- package/lib/audio/toneRain.js.map +1 -0
- package/lib/audio/toneRecordingMock.d.ts +89 -0
- package/lib/audio/toneRecordingMock.js +145 -0
- package/lib/audio/toneRecordingMock.js.map +1 -0
- package/lib/audio/toneRoomTone.d.ts +11 -0
- package/lib/audio/toneRoomTone.js +27 -0
- package/lib/audio/toneRoomTone.js.map +1 -0
- package/lib/audio/toneScenes.d.ts +57 -0
- package/lib/audio/toneScenes.js +208 -0
- package/lib/audio/toneScenes.js.map +1 -0
- package/lib/audio/toneTracks.d.ts +50 -0
- package/lib/audio/toneTracks.js +356 -0
- package/lib/audio/toneTracks.js.map +1 -0
- package/lib/audio/toneVoices.d.ts +57 -0
- package/lib/audio/toneVoices.js +208 -0
- package/lib/audio/toneVoices.js.map +1 -0
- package/lib/catalog/catalogTypes.d.ts +428 -0
- package/lib/catalog/catalogTypes.js +102 -0
- package/lib/catalog/catalogTypes.js.map +1 -0
- package/lib/catalog/skyBridgeTypes.d.ts +25 -0
- package/lib/catalog/skyBridgeTypes.js +7 -0
- package/lib/catalog/skyBridgeTypes.js.map +1 -0
- package/lib/catalog/starDutyTypes.d.ts +22 -0
- package/lib/catalog/starDutyTypes.js +7 -0
- package/lib/catalog/starDutyTypes.js.map +1 -0
- package/lib/catalog/towerCatalog.d.ts +32 -0
- package/lib/catalog/towerCatalog.js +44 -0
- package/lib/catalog/towerCatalog.js.map +1 -0
- package/lib/engineBinding/binding.d.ts +36 -0
- package/lib/engineBinding/binding.js +90 -0
- package/lib/engineBinding/binding.js.map +1 -0
- package/lib/engineBinding/catalog.d.ts +24 -0
- package/lib/engineBinding/catalog.js +267 -0
- package/lib/engineBinding/catalog.js.map +1 -0
- package/lib/engineBinding/engine.d.ts +866 -0
- package/lib/engineBinding/exportTiers.d.ts +289 -0
- package/lib/engineBinding/exportTiers.js +283 -0
- package/lib/engineBinding/exportTiers.js.map +1 -0
- package/lib/engineBinding/toolingMethods.d.ts +12 -0
- package/lib/engineBinding/toolingMethods.js +20 -0
- package/lib/engineBinding/toolingMethods.js.map +1 -0
- package/lib/events/gameplayCatalog.d.ts +57 -0
- package/lib/events/gameplayCatalog.js +214 -0
- package/lib/events/gameplayCatalog.js.map +1 -0
- package/lib/events/gameplayEventRules.d.ts +4 -0
- package/lib/events/gameplayEventRules.js +32 -0
- package/lib/events/gameplayEventRules.js.map +1 -0
- package/lib/events/gameplayEvents.d.ts +284 -0
- package/lib/presentation/clockText.d.ts +28 -0
- package/lib/presentation/clockText.js +38 -0
- package/lib/presentation/clockText.js.map +1 -0
- package/lib/presentation/facilityPresentation.d.ts +20 -0
- package/lib/presentation/facilityPresentation.js +164 -0
- package/lib/presentation/facilityPresentation.js.map +1 -0
- package/lib/presentation/statsCopy.d.ts +20 -0
- package/lib/presentation/statsCopy.js +37 -0
- package/lib/presentation/statsCopy.js.map +1 -0
- package/lib/presentation/traffic.d.ts +75 -0
- package/lib/presentation/traffic.js +79 -0
- package/lib/presentation/traffic.js.map +1 -0
- package/lib/presentation/viewKinds.d.ts +33 -0
- package/lib/presentation/viewKinds.js +88 -0
- package/lib/presentation/viewKinds.js.map +1 -0
- package/lib/presentation/viewWorld.d.ts +29 -0
- package/lib/presentation/viewWorld.js +31 -0
- package/lib/presentation/viewWorld.js.map +1 -0
- package/lib/render/atlas/archive.d.ts +78 -0
- package/lib/render/atlas/archive.js +427 -0
- package/lib/render/atlas/archive.js.map +1 -0
- package/lib/render/atlas/bake.d.ts +132 -0
- package/lib/render/atlas/bake.js +331 -0
- package/lib/render/atlas/bake.js.map +1 -0
- package/lib/render/atlas/bakeAdditions.d.ts +24 -0
- package/lib/render/atlas/bakeAdditions.js +46 -0
- package/lib/render/atlas/bakeAdditions.js.map +1 -0
- package/lib/render/atlas/browserEntry.d.ts +12 -0
- package/lib/render/atlas/browserEntry.js +222 -0
- package/lib/render/atlas/browserEntry.js.map +1 -0
- package/lib/render/atlas/catalog.d.ts +118 -0
- package/lib/render/atlas/catalog.js +253 -0
- package/lib/render/atlas/catalog.js.map +1 -0
- package/lib/render/atlas/catalogExtras.d.ts +45 -0
- package/lib/render/atlas/catalogExtras.js +217 -0
- package/lib/render/atlas/catalogExtras.js.map +1 -0
- package/lib/render/atlas/compose.d.ts +30 -0
- package/lib/render/atlas/compose.js +125 -0
- package/lib/render/atlas/compose.js.map +1 -0
- package/lib/render/atlas/cycles.d.ts +25 -0
- package/lib/render/atlas/cycles.js +41 -0
- package/lib/render/atlas/cycles.js.map +1 -0
- package/lib/render/atlas/lookup.d.ts +65 -0
- package/lib/render/atlas/lookup.js +83 -0
- package/lib/render/atlas/lookup.js.map +1 -0
- package/lib/render/atlas/pack.d.ts +23 -0
- package/lib/render/atlas/pack.js +50 -0
- package/lib/render/atlas/pack.js.map +1 -0
- package/lib/render/atlas/paint.d.ts +120 -0
- package/lib/render/atlas/paint.js +154 -0
- package/lib/render/atlas/paint.js.map +1 -0
- package/lib/render/atlas/pixels.d.ts +46 -0
- package/lib/render/atlas/pixels.js +158 -0
- package/lib/render/atlas/pixels.js.map +1 -0
- package/lib/render/atlas/png.d.ts +3 -0
- package/lib/render/atlas/png.js +102 -0
- package/lib/render/atlas/png.js.map +1 -0
- package/lib/render/atlas/raster.d.ts +34 -0
- package/lib/render/atlas/raster.js +114 -0
- package/lib/render/atlas/raster.js.map +1 -0
- package/lib/render/atlas/recyclingFill.d.ts +5 -0
- package/lib/render/atlas/recyclingFill.js +65 -0
- package/lib/render/atlas/recyclingFill.js.map +1 -0
- package/lib/render/atlas/samples.d.ts +24 -0
- package/lib/render/atlas/samples.js +75 -0
- package/lib/render/atlas/samples.js.map +1 -0
- package/lib/render/atlas/scenery.d.ts +230 -0
- package/lib/render/atlas/scenery.js +242 -0
- package/lib/render/atlas/scenery.js.map +1 -0
- package/lib/render/atlas/schema.d.ts +189 -0
- package/lib/render/atlas/schema.js +31 -0
- package/lib/render/atlas/schema.js.map +1 -0
- package/lib/render/atlas/shellMarks.d.ts +16 -0
- package/lib/render/atlas/shellMarks.js +72 -0
- package/lib/render/atlas/shellMarks.js.map +1 -0
- package/lib/render/atlas/store.d.ts +75 -0
- package/lib/render/atlas/store.js +127 -0
- package/lib/render/atlas/store.js.map +1 -0
- package/lib/render/atlas/verify.d.ts +43 -0
- package/lib/render/atlas/verify.js +87 -0
- package/lib/render/atlas/verify.js.map +1 -0
- package/lib/render/atlas/verifyExtras.d.ts +19 -0
- package/lib/render/atlas/verifyExtras.js +310 -0
- package/lib/render/atlas/verifyExtras.js.map +1 -0
- package/lib/render/cameraBounds.d.ts +71 -0
- package/lib/render/cameraBounds.js +107 -0
- package/lib/render/cameraBounds.js.map +1 -0
- package/lib/render/carIndicator.d.ts +41 -0
- package/lib/render/carIndicator.js +45 -0
- package/lib/render/carIndicator.js.map +1 -0
- package/lib/render/carMotion.d.ts +33 -0
- package/lib/render/carMotion.js +42 -0
- package/lib/render/carMotion.js.map +1 -0
- package/lib/render/catalogScale.d.ts +40 -0
- package/lib/render/catalogScale.js +33 -0
- package/lib/render/catalogScale.js.map +1 -0
- package/lib/render/climbPath.d.ts +59 -0
- package/lib/render/climbPath.js +115 -0
- package/lib/render/climbPath.js.map +1 -0
- package/lib/render/depthPlanes.d.ts +55 -0
- package/lib/render/depthPlanes.js +58 -0
- package/lib/render/depthPlanes.js.map +1 -0
- package/lib/render/excalibur/TowerEngine.d.ts +348 -0
- package/lib/render/excalibur/TowerEngine.js +415 -0
- package/lib/render/excalibur/TowerEngine.js.map +1 -0
- package/lib/render/excalibur/cabGraphics.d.ts +75 -0
- package/lib/render/excalibur/cabGraphics.js +108 -0
- package/lib/render/excalibur/cabGraphics.js.map +1 -0
- package/lib/render/excalibur/cabParts.d.ts +32 -0
- package/lib/render/excalibur/cabParts.js +79 -0
- package/lib/render/excalibur/cabParts.js.map +1 -0
- package/lib/render/excalibur/cabRiders.d.ts +72 -0
- package/lib/render/excalibur/cabRiders.js +176 -0
- package/lib/render/excalibur/cabRiders.js.map +1 -0
- package/lib/render/excalibur/crowdCull.d.ts +34 -0
- package/lib/render/excalibur/crowdCull.js +72 -0
- package/lib/render/excalibur/crowdCull.js.map +1 -0
- package/lib/render/excalibur/crowdFigure.d.ts +42 -0
- package/lib/render/excalibur/crowdFigure.js +99 -0
- package/lib/render/excalibur/crowdFigure.js.map +1 -0
- package/lib/render/excalibur/crowdLook.d.ts +137 -0
- package/lib/render/excalibur/crowdLook.js +186 -0
- package/lib/render/excalibur/crowdLook.js.map +1 -0
- package/lib/render/excalibur/frameHold.d.ts +23 -0
- package/lib/render/excalibur/frameHold.js +30 -0
- package/lib/render/excalibur/frameHold.js.map +1 -0
- package/lib/render/excalibur/guardPosition.d.ts +17 -0
- package/lib/render/excalibur/guardPosition.js +37 -0
- package/lib/render/excalibur/guardPosition.js.map +1 -0
- package/lib/render/excalibur/keyboardHost.d.ts +15 -0
- package/lib/render/excalibur/keyboardHost.js +22 -0
- package/lib/render/excalibur/keyboardHost.js.map +1 -0
- package/lib/render/excalibur/longPress.d.ts +16 -0
- package/lib/render/excalibur/longPress.js +71 -0
- package/lib/render/excalibur/longPress.js.map +1 -0
- package/lib/render/excalibur/peopleGfx.d.ts +16 -0
- package/lib/render/excalibur/peopleGfx.js +46 -0
- package/lib/render/excalibur/peopleGfx.js.map +1 -0
- package/lib/render/excalibur/peopleWindow.d.ts +35 -0
- package/lib/render/excalibur/peopleWindow.js +38 -0
- package/lib/render/excalibur/peopleWindow.js.map +1 -0
- package/lib/render/excalibur/personFocus.d.ts +36 -0
- package/lib/render/excalibur/personFocus.js +169 -0
- package/lib/render/excalibur/personFocus.js.map +1 -0
- package/lib/render/excalibur/pointerButtonGuard.d.ts +35 -0
- package/lib/render/excalibur/pointerButtonGuard.js +86 -0
- package/lib/render/excalibur/pointerButtonGuard.js.map +1 -0
- package/lib/render/excalibur/pressLifecycle.d.ts +26 -0
- package/lib/render/excalibur/pressLifecycle.js +66 -0
- package/lib/render/excalibur/pressLifecycle.js.map +1 -0
- package/lib/render/excalibur/rainShelter.d.ts +16 -0
- package/lib/render/excalibur/rainShelter.js +94 -0
- package/lib/render/excalibur/rainShelter.js.map +1 -0
- package/lib/render/excalibur/roomSignature.d.ts +30 -0
- package/lib/render/excalibur/roomSignature.js +49 -0
- package/lib/render/excalibur/roomSignature.js.map +1 -0
- package/lib/render/excalibur/sceneBake.d.ts +9 -0
- package/lib/render/excalibur/sceneBake.js +12 -0
- package/lib/render/excalibur/sceneBake.js.map +1 -0
- package/lib/render/excalibur/thiefSpan.d.ts +18 -0
- package/lib/render/excalibur/thiefSpan.js +51 -0
- package/lib/render/excalibur/thiefSpan.js.map +1 -0
- package/lib/render/excalibur/towerBridgeTiles.d.ts +30 -0
- package/lib/render/excalibur/towerBridgeTiles.js +43 -0
- package/lib/render/excalibur/towerBridgeTiles.js.map +1 -0
- package/lib/render/excalibur/towerCrowd.d.ts +73 -0
- package/lib/render/excalibur/towerCrowd.js +464 -0
- package/lib/render/excalibur/towerCrowd.js.map +1 -0
- package/lib/render/excalibur/towerCrowdLayout.d.ts +40 -0
- package/lib/render/excalibur/towerCrowdLayout.js +77 -0
- package/lib/render/excalibur/towerCrowdLayout.js.map +1 -0
- package/lib/render/excalibur/towerFireResponse.d.ts +25 -0
- package/lib/render/excalibur/towerFireResponse.js +89 -0
- package/lib/render/excalibur/towerFireResponse.js.map +1 -0
- package/lib/render/excalibur/towerFrame.d.ts +8 -0
- package/lib/render/excalibur/towerFrame.js +57 -0
- package/lib/render/excalibur/towerFrame.js.map +1 -0
- package/lib/render/excalibur/towerGhostLabel.d.ts +9 -0
- package/lib/render/excalibur/towerGhostLabel.js +37 -0
- package/lib/render/excalibur/towerGhostLabel.js.map +1 -0
- package/lib/render/excalibur/towerHallDoors.d.ts +42 -0
- package/lib/render/excalibur/towerHallDoors.js +129 -0
- package/lib/render/excalibur/towerHallDoors.js.map +1 -0
- package/lib/render/excalibur/towerHaloRings.d.ts +34 -0
- package/lib/render/excalibur/towerHaloRings.js +45 -0
- package/lib/render/excalibur/towerHaloRings.js.map +1 -0
- package/lib/render/excalibur/towerInputCamera.d.ts +90 -0
- package/lib/render/excalibur/towerInputCamera.js +480 -0
- package/lib/render/excalibur/towerInputCamera.js.map +1 -0
- package/lib/render/excalibur/towerMetro.d.ts +31 -0
- package/lib/render/excalibur/towerMetro.js +115 -0
- package/lib/render/excalibur/towerMetro.js.map +1 -0
- package/lib/render/excalibur/towerNoiseReach.d.ts +32 -0
- package/lib/render/excalibur/towerNoiseReach.js +75 -0
- package/lib/render/excalibur/towerNoiseReach.js.map +1 -0
- package/lib/render/excalibur/towerOverlay.d.ts +59 -0
- package/lib/render/excalibur/towerOverlay.js +453 -0
- package/lib/render/excalibur/towerOverlay.js.map +1 -0
- package/lib/render/excalibur/towerReconcile.d.ts +17 -0
- package/lib/render/excalibur/towerReconcile.js +404 -0
- package/lib/render/excalibur/towerReconcile.js.map +1 -0
- package/lib/render/excalibur/towerRegions.d.ts +61 -0
- package/lib/render/excalibur/towerRegions.js +193 -0
- package/lib/render/excalibur/towerRegions.js.map +1 -0
- package/lib/render/excalibur/towerScene.d.ts +66 -0
- package/lib/render/excalibur/towerScene.js +443 -0
- package/lib/render/excalibur/towerScene.js.map +1 -0
- package/lib/render/excalibur/towerScenery.d.ts +12 -0
- package/lib/render/excalibur/towerScenery.js +299 -0
- package/lib/render/excalibur/towerScenery.js.map +1 -0
- package/lib/render/excalibur/towerSceneryDraw.d.ts +86 -0
- package/lib/render/excalibur/towerSceneryDraw.js +288 -0
- package/lib/render/excalibur/towerSceneryDraw.js.map +1 -0
- package/lib/render/excalibur/towerShaftNumbers.d.ts +23 -0
- package/lib/render/excalibur/towerShaftNumbers.js +90 -0
- package/lib/render/excalibur/towerShaftNumbers.js.map +1 -0
- package/lib/render/excalibur/towerStructTiles.d.ts +56 -0
- package/lib/render/excalibur/towerStructTiles.js +238 -0
- package/lib/render/excalibur/towerStructTiles.js.map +1 -0
- package/lib/render/excalibur/towerSyncSchedule.d.ts +84 -0
- package/lib/render/excalibur/towerSyncSchedule.js +137 -0
- package/lib/render/excalibur/towerSyncSchedule.js.map +1 -0
- package/lib/render/excalibur/towerWalkerBuild.d.ts +30 -0
- package/lib/render/excalibur/towerWalkerBuild.js +126 -0
- package/lib/render/excalibur/towerWalkerBuild.js.map +1 -0
- package/lib/render/excalibur/trafficSpotlight.d.ts +29 -0
- package/lib/render/excalibur/trafficSpotlight.js +64 -0
- package/lib/render/excalibur/trafficSpotlight.js.map +1 -0
- package/lib/render/facadeGeometry.d.ts +50 -0
- package/lib/render/facadeGeometry.js +79 -0
- package/lib/render/facadeGeometry.js.map +1 -0
- package/lib/render/groundEntrances.d.ts +44 -0
- package/lib/render/groundEntrances.js +118 -0
- package/lib/render/groundEntrances.js.map +1 -0
- package/lib/render/lateNight.d.ts +14 -0
- package/lib/render/lateNight.js +18 -0
- package/lib/render/lateNight.js.map +1 -0
- package/lib/render/lobbyHalls.d.ts +44 -0
- package/lib/render/lobbyHalls.js +63 -0
- package/lib/render/lobbyHalls.js.map +1 -0
- package/lib/render/metroTrainSchedule.d.ts +20 -0
- package/lib/render/metroTrainSchedule.js +65 -0
- package/lib/render/metroTrainSchedule.js.map +1 -0
- package/lib/render/overviewMap/drawList.d.ts +67 -0
- package/lib/render/overviewMap/drawList.js +103 -0
- package/lib/render/overviewMap/drawList.js.map +1 -0
- package/lib/render/overviewMap/extent.d.ts +70 -0
- package/lib/render/overviewMap/extent.js +155 -0
- package/lib/render/overviewMap/extent.js.map +1 -0
- package/lib/render/overviewMap/floorSpans.d.ts +27 -0
- package/lib/render/overviewMap/floorSpans.js +32 -0
- package/lib/render/overviewMap/floorSpans.js.map +1 -0
- package/lib/render/overviewMap/gaps.d.ts +48 -0
- package/lib/render/overviewMap/gaps.js +148 -0
- package/lib/render/overviewMap/gaps.js.map +1 -0
- package/lib/render/overviewMap/geometry.d.ts +139 -0
- package/lib/render/overviewMap/geometry.js +245 -0
- package/lib/render/overviewMap/geometry.js.map +1 -0
- package/lib/render/overviewMap/heatView.d.ts +91 -0
- package/lib/render/overviewMap/heatView.js +143 -0
- package/lib/render/overviewMap/heatView.js.map +1 -0
- package/lib/render/overviewMap/hotelView.d.ts +82 -0
- package/lib/render/overviewMap/hotelView.js +136 -0
- package/lib/render/overviewMap/hotelView.js.map +1 -0
- package/lib/render/overviewMap/model.d.ts +97 -0
- package/lib/render/overviewMap/model.js +116 -0
- package/lib/render/overviewMap/model.js.map +1 -0
- package/lib/render/overviewMap/paint.d.ts +63 -0
- package/lib/render/overviewMap/paint.js +168 -0
- package/lib/render/overviewMap/paint.js.map +1 -0
- package/lib/render/overviewMap/style.d.ts +46 -0
- package/lib/render/overviewMap/style.js +117 -0
- package/lib/render/overviewMap/style.js.map +1 -0
- package/lib/render/overviewMap/tierView.d.ts +103 -0
- package/lib/render/overviewMap/tierView.js +209 -0
- package/lib/render/overviewMap/tierView.js.map +1 -0
- package/lib/render/overviewMap/viewMark.d.ts +69 -0
- package/lib/render/overviewMap/viewMark.js +103 -0
- package/lib/render/overviewMap/viewMark.js.map +1 -0
- package/lib/render/overviewMap/views.d.ts +24 -0
- package/lib/render/overviewMap/views.js +29 -0
- package/lib/render/overviewMap/views.js.map +1 -0
- package/lib/render/pinchTracker.d.ts +91 -0
- package/lib/render/pinchTracker.js +145 -0
- package/lib/render/pinchTracker.js.map +1 -0
- package/lib/render/pixelSprites/amusements.d.ts +32 -0
- package/lib/render/pixelSprites/amusements.js +243 -0
- package/lib/render/pixelSprites/amusements.js.map +1 -0
- package/lib/render/pixelSprites/artScale.d.ts +97 -0
- package/lib/render/pixelSprites/artScale.js +151 -0
- package/lib/render/pixelSprites/artScale.js.map +1 -0
- package/lib/render/pixelSprites/boutique.d.ts +30 -0
- package/lib/render/pixelSprites/boutique.js +244 -0
- package/lib/render/pixelSprites/boutique.js.map +1 -0
- package/lib/render/pixelSprites/clinic.d.ts +30 -0
- package/lib/render/pixelSprites/clinic.js +184 -0
- package/lib/render/pixelSprites/clinic.js.map +1 -0
- package/lib/render/pixelSprites/common.d.ts +185 -0
- package/lib/render/pixelSprites/common.js +449 -0
- package/lib/render/pixelSprites/common.js.map +1 -0
- package/lib/render/pixelSprites/daycare.d.ts +3 -0
- package/lib/render/pixelSprites/daycare.js +99 -0
- package/lib/render/pixelSprites/daycare.js.map +1 -0
- package/lib/render/pixelSprites/dollhouse.d.ts +45 -0
- package/lib/render/pixelSprites/dollhouse.js +110 -0
- package/lib/render/pixelSprites/dollhouse.js.map +1 -0
- package/lib/render/pixelSprites/fitness.d.ts +30 -0
- package/lib/render/pixelSprites/fitness.js +176 -0
- package/lib/render/pixelSprites/fitness.js.map +1 -0
- package/lib/render/pixelSprites/food.d.ts +27 -0
- package/lib/render/pixelSprites/food.interiors.d.ts +38 -0
- package/lib/render/pixelSprites/food.interiors.js +516 -0
- package/lib/render/pixelSprites/food.interiors.js.map +1 -0
- package/lib/render/pixelSprites/food.js +36 -0
- package/lib/render/pixelSprites/food.js.map +1 -0
- package/lib/render/pixelSprites/food.kit.d.ts +50 -0
- package/lib/render/pixelSprites/food.kit.js +140 -0
- package/lib/render/pixelSprites/food.kit.js.map +1 -0
- package/lib/render/pixelSprites/food.looks.d.ts +45 -0
- package/lib/render/pixelSprites/food.looks.js +56 -0
- package/lib/render/pixelSprites/food.looks.js.map +1 -0
- package/lib/render/pixelSprites/layers.d.ts +49 -0
- package/lib/render/pixelSprites/layers.js +61 -0
- package/lib/render/pixelSprites/layers.js.map +1 -0
- package/lib/render/pixelSprites/nightclub.d.ts +3 -0
- package/lib/render/pixelSprites/nightclub.js +108 -0
- package/lib/render/pixelSprites/nightclub.js.map +1 -0
- package/lib/render/pixelSprites/people.d.ts +168 -0
- package/lib/render/pixelSprites/people.js +431 -0
- package/lib/render/pixelSprites/people.js.map +1 -0
- package/lib/render/pixelSprites/residential.d.ts +5 -0
- package/lib/render/pixelSprites/residential.js +506 -0
- package/lib/render/pixelSprites/residential.js.map +1 -0
- package/lib/render/pixelSprites/residential.looks.d.ts +40 -0
- package/lib/render/pixelSprites/residential.looks.js +43 -0
- package/lib/render/pixelSprites/residential.looks.js.map +1 -0
- package/lib/render/pixelSprites/residential.roaches.d.ts +38 -0
- package/lib/render/pixelSprites/residential.roaches.js +88 -0
- package/lib/render/pixelSprites/residential.roaches.js.map +1 -0
- package/lib/render/pixelSprites/residentialRentalSprites.d.ts +11 -0
- package/lib/render/pixelSprites/residentialRentalSprites.js +19 -0
- package/lib/render/pixelSprites/residentialRentalSprites.js.map +1 -0
- package/lib/render/pixelSprites/shop.d.ts +14 -0
- package/lib/render/pixelSprites/shop.interiors.d.ts +50 -0
- package/lib/render/pixelSprites/shop.interiors.js +382 -0
- package/lib/render/pixelSprites/shop.interiors.js.map +1 -0
- package/lib/render/pixelSprites/shop.js +72 -0
- package/lib/render/pixelSprites/shop.js.map +1 -0
- package/lib/render/pixelSprites/shop.looks.d.ts +17 -0
- package/lib/render/pixelSprites/shop.looks.js +24 -0
- package/lib/render/pixelSprites/shop.looks.js.map +1 -0
- package/lib/render/pixelSprites/skyBar.d.ts +11 -0
- package/lib/render/pixelSprites/skyBar.js +125 -0
- package/lib/render/pixelSprites/skyBar.js.map +1 -0
- package/lib/render/pixelSprites/spa.d.ts +3 -0
- package/lib/render/pixelSprites/spa.js +88 -0
- package/lib/render/pixelSprites/spa.js.map +1 -0
- package/lib/render/pixelSprites.d.ts +33 -0
- package/lib/render/pixelSprites.js +167 -0
- package/lib/render/pixelSprites.js.map +1 -0
- package/lib/render/regionGrid.d.ts +49 -0
- package/lib/render/regionGrid.js +82 -0
- package/lib/render/regionGrid.js.map +1 -0
- package/lib/render/regionPaint.d.ts +15 -0
- package/lib/render/regionPaint.js +33 -0
- package/lib/render/regionPaint.js.map +1 -0
- package/lib/render/renderSim.d.ts +104 -0
- package/lib/render/renderSim.js +2 -0
- package/lib/render/renderSim.js.map +1 -0
- package/lib/render/roomPortrait.d.ts +35 -0
- package/lib/render/roomPortrait.js +142 -0
- package/lib/render/roomPortrait.js.map +1 -0
- package/lib/render/roomShading.d.ts +29 -0
- package/lib/render/roomShading.js +43 -0
- package/lib/render/roomShading.js.map +1 -0
- package/lib/render/scale.d.ts +31 -0
- package/lib/render/scale.js +34 -0
- package/lib/render/scale.js.map +1 -0
- package/lib/render/sceneryLayout.d.ts +234 -0
- package/lib/render/sceneryLayout.js +199 -0
- package/lib/render/sceneryLayout.js.map +1 -0
- package/lib/render/sprites/common.d.ts +41 -0
- package/lib/render/sprites/common.js +46 -0
- package/lib/render/sprites/common.js.map +1 -0
- package/lib/render/sprites/escalator.d.ts +27 -0
- package/lib/render/sprites/escalator.js +156 -0
- package/lib/render/sprites/escalator.js.map +1 -0
- package/lib/render/sprites/events.d.ts +56 -0
- package/lib/render/sprites/events.js +280 -0
- package/lib/render/sprites/events.js.map +1 -0
- package/lib/render/sprites/facilities/garage.d.ts +23 -0
- package/lib/render/sprites/facilities/garage.js +230 -0
- package/lib/render/sprites/facilities/garage.js.map +1 -0
- package/lib/render/sprites/facilities/recycling.d.ts +3 -0
- package/lib/render/sprites/facilities/recycling.js +210 -0
- package/lib/render/sprites/facilities/recycling.js.map +1 -0
- package/lib/render/sprites/facilities/recyclingLook.d.ts +49 -0
- package/lib/render/sprites/facilities/recyclingLook.js +52 -0
- package/lib/render/sprites/facilities/recyclingLook.js.map +1 -0
- package/lib/render/sprites/facilities/service.d.ts +14 -0
- package/lib/render/sprites/facilities/service.js +437 -0
- package/lib/render/sprites/facilities/service.js.map +1 -0
- package/lib/render/sprites/facilities/serviceKit.d.ts +61 -0
- package/lib/render/sprites/facilities/serviceKit.js +113 -0
- package/lib/render/sprites/facilities/serviceKit.js.map +1 -0
- package/lib/render/sprites/facilities/vehicles.d.ts +38 -0
- package/lib/render/sprites/facilities/vehicles.js +276 -0
- package/lib/render/sprites/facilities/vehicles.js.map +1 -0
- package/lib/render/sprites/facilities/venue.d.ts +28 -0
- package/lib/render/sprites/facilities/venue.js +211 -0
- package/lib/render/sprites/facilities/venue.js.map +1 -0
- package/lib/render/sprites/facilities/weddingHall.d.ts +9 -0
- package/lib/render/sprites/facilities/weddingHall.js +410 -0
- package/lib/render/sprites/facilities/weddingHall.js.map +1 -0
- package/lib/render/sprites/facilities.d.ts +22 -0
- package/lib/render/sprites/facilities.js +24 -0
- package/lib/render/sprites/facilities.js.map +1 -0
- package/lib/render/sprites/helicopter.d.ts +11 -0
- package/lib/render/sprites/helicopter.js +60 -0
- package/lib/render/sprites/helicopter.js.map +1 -0
- package/lib/render/sprites/sky.d.ts +67 -0
- package/lib/render/sprites/sky.js +85 -0
- package/lib/render/sprites/sky.js.map +1 -0
- package/lib/render/sprites/spiralStair.d.ts +19 -0
- package/lib/render/sprites/spiralStair.js +111 -0
- package/lib/render/sprites/spiralStair.js.map +1 -0
- package/lib/render/sprites/structure/entrance.d.ts +35 -0
- package/lib/render/sprites/structure/entrance.js +347 -0
- package/lib/render/sprites/structure/entrance.js.map +1 -0
- package/lib/render/sprites/structure/lobby.d.ts +88 -0
- package/lib/render/sprites/structure/lobby.js +350 -0
- package/lib/render/sprites/structure/lobby.js.map +1 -0
- package/lib/render/sprites/structure/revolvingDoor.d.ts +53 -0
- package/lib/render/sprites/structure/revolvingDoor.js +184 -0
- package/lib/render/sprites/structure/revolvingDoor.js.map +1 -0
- package/lib/render/sprites/structure/rooftop.d.ts +93 -0
- package/lib/render/sprites/structure/rooftop.js +302 -0
- package/lib/render/sprites/structure/rooftop.js.map +1 -0
- package/lib/render/sprites/structure/shell.d.ts +19 -0
- package/lib/render/sprites/structure/shell.js +142 -0
- package/lib/render/sprites/structure/shell.js.map +1 -0
- package/lib/render/sprites/structure/skyBridge.d.ts +28 -0
- package/lib/render/sprites/structure/skyBridge.js +259 -0
- package/lib/render/sprites/structure/skyBridge.js.map +1 -0
- package/lib/render/sprites/structure/tallLobby.d.ts +8 -0
- package/lib/render/sprites/structure/tallLobby.js +166 -0
- package/lib/render/sprites/structure/tallLobby.js.map +1 -0
- package/lib/render/sprites/structure/tallLobbyPieces.d.ts +18 -0
- package/lib/render/sprites/structure/tallLobbyPieces.js +82 -0
- package/lib/render/sprites/structure/tallLobbyPieces.js.map +1 -0
- package/lib/render/sprites/structure.d.ts +15 -0
- package/lib/render/sprites/structure.js +16 -0
- package/lib/render/sprites/structure.js.map +1 -0
- package/lib/render/sprites/transport.d.ts +30 -0
- package/lib/render/sprites/transport.js +376 -0
- package/lib/render/sprites/transport.js.map +1 -0
- package/lib/render/sprites.d.ts +16 -0
- package/lib/render/sprites.js +108 -0
- package/lib/render/sprites.js.map +1 -0
- package/lib/render/venueFlights.d.ts +61 -0
- package/lib/render/venueFlights.js +50 -0
- package/lib/render/venueFlights.js.map +1 -0
- package/lib/shared/engineTypes.d.ts +256 -0
- package/lib/shared/engineTypes.js +8 -0
- package/lib/shared/engineTypes.js.map +1 -0
- package/lib/shared/floorRuns.d.ts +22 -0
- package/lib/shared/floorRuns.js +39 -0
- package/lib/shared/floorRuns.js.map +1 -0
- package/lib/shared/inputEvents.d.ts +18 -0
- package/lib/shared/inputEvents.js +23 -0
- package/lib/shared/inputEvents.js.map +1 -0
- package/lib/shared/serializedGame.d.ts +142 -0
- package/lib/shared/serializedGame.js +2 -0
- package/lib/shared/serializedGame.js.map +1 -0
- package/lib/shared/types.d.ts +298 -0
- package/lib/shared/types.js +47 -0
- package/lib/shared/types.js.map +1 -0
- package/lib/shared/unitState.d.ts +36 -0
- package/lib/shared/unitState.js +42 -0
- package/lib/shared/unitState.js.map +1 -0
- package/lib/shared/vacateReasonText.d.ts +20 -0
- package/lib/shared/vacateReasonText.js +23 -0
- package/lib/shared/vacateReasonText.js.map +1 -0
- package/lib/shared/viewZoom.d.ts +14 -0
- package/lib/shared/viewZoom.js +17 -0
- package/lib/shared/viewZoom.js.map +1 -0
- package/lib/shared/wellFormed.d.ts +14 -0
- package/lib/shared/wellFormed.js +19 -0
- package/lib/shared/wellFormed.js.map +1 -0
- package/lib/simport/cards.d.ts +26 -0
- package/lib/simport/cards.js +138 -0
- package/lib/simport/cards.js.map +1 -0
- package/lib/simport/clockView.d.ts +24 -0
- package/lib/simport/clockView.js +43 -0
- package/lib/simport/clockView.js.map +1 -0
- package/lib/simport/commands.d.ts +215 -0
- package/lib/simport/commands.js +2 -0
- package/lib/simport/commands.js.map +1 -0
- package/lib/simport/emergencyReads.d.ts +19 -0
- package/lib/simport/emergencyReads.js +47 -0
- package/lib/simport/emergencyReads.js.map +1 -0
- package/lib/simport/enginePort.d.ts +433 -0
- package/lib/simport/enginePort.js +11 -0
- package/lib/simport/enginePort.js.map +1 -0
- package/lib/simport/fixtures/catalog.classic.json +2137 -0
- package/lib/simport/fixtures/catalog.modern.json +2515 -0
- package/lib/simport/fixtures/viewLayout.json +927 -0
- package/lib/simport/headerClock.d.ts +31 -0
- package/lib/simport/headerClock.js +29 -0
- package/lib/simport/headerClock.js.map +1 -0
- package/lib/simport/panels.d.ts +243 -0
- package/lib/simport/panels.js +2 -0
- package/lib/simport/panels.js.map +1 -0
- package/lib/simport/personCards.d.ts +63 -0
- package/lib/simport/personCards.js +55 -0
- package/lib/simport/personCards.js.map +1 -0
- package/lib/simport/portCodes.d.ts +41 -0
- package/lib/simport/portCodes.js +49 -0
- package/lib/simport/portCodes.js.map +1 -0
- package/lib/simport/portEvents.d.ts +39 -0
- package/lib/simport/portEvents.js +43 -0
- package/lib/simport/portEvents.js.map +1 -0
- package/lib/simport/portRenderSim.d.ts +70 -0
- package/lib/simport/portRenderSim.js +129 -0
- package/lib/simport/portRenderSim.js.map +1 -0
- package/lib/simport/queries.d.ts +64 -0
- package/lib/simport/queries.js +30 -0
- package/lib/simport/queries.js.map +1 -0
- package/lib/simport/recyclingPort.d.ts +13 -0
- package/lib/simport/recyclingPort.js +2 -0
- package/lib/simport/recyclingPort.js.map +1 -0
- package/lib/simport/request.d.ts +44 -0
- package/lib/simport/request.js +214 -0
- package/lib/simport/request.js.map +1 -0
- package/lib/simport/roomTiers.d.ts +102 -0
- package/lib/simport/roomTiers.js +122 -0
- package/lib/simport/roomTiers.js.map +1 -0
- package/lib/simport/scheduleSlots.d.ts +19 -0
- package/lib/simport/scheduleSlots.js +87 -0
- package/lib/simport/scheduleSlots.js.map +1 -0
- package/lib/simport/skyBridgePort.d.ts +20 -0
- package/lib/simport/skyBridgePort.js +2 -0
- package/lib/simport/skyBridgePort.js.map +1 -0
- package/lib/simport/skyBridgeView.d.ts +15 -0
- package/lib/simport/skyBridgeView.js +42 -0
- package/lib/simport/skyBridgeView.js.map +1 -0
- package/lib/simport/statsSheet.d.ts +15 -0
- package/lib/simport/statsSheet.js +101 -0
- package/lib/simport/statsSheet.js.map +1 -0
- package/lib/simport/tdtRecords.d.ts +9 -0
- package/lib/simport/tdtRecords.js +112 -0
- package/lib/simport/tdtRecords.js.map +1 -0
- package/lib/simport/tdtReportFacts.d.ts +110 -0
- package/lib/simport/tdtReportFacts.js +8 -0
- package/lib/simport/tdtReportFacts.js.map +1 -0
- package/lib/simport/trafficPort.d.ts +22 -0
- package/lib/simport/trafficPort.js +2 -0
- package/lib/simport/trafficPort.js.map +1 -0
- package/lib/simport/view.d.ts +275 -0
- package/lib/simport/view.js +2 -0
- package/lib/simport/view.js.map +1 -0
- package/lib/simport/viewReader.d.ts +89 -0
- package/lib/simport/viewReader.js +426 -0
- package/lib/simport/viewReader.js.map +1 -0
- package/lib/styles/game/appearance.css +108 -0
- package/lib/styles/game/base.css +68 -0
- package/lib/styles/game/components.css +69 -0
- package/lib/styles/game/desk-title.css +183 -0
- package/lib/styles/game/desk.css +487 -0
- package/lib/styles/game/dialogs.css +360 -0
- package/lib/styles/game/editor-sidebar.css +116 -0
- package/lib/styles/game/elevator-schedule.css +217 -0
- package/lib/styles/game/file-dialog.css +470 -0
- package/lib/styles/game/help.css +141 -0
- package/lib/styles/game/launch-fireworks.css +17 -0
- package/lib/styles/game/media-landscape.css +333 -0
- package/lib/styles/game/media-phone.css +303 -0
- package/lib/styles/game/media-tablet-touch.css +177 -0
- package/lib/styles/game/menubar.css +158 -0
- package/lib/styles/game/new-tower.css +219 -0
- package/lib/styles/game/onboarding.css +32 -0
- package/lib/styles/game/screen-saver.css +85 -0
- package/lib/styles/game/splash.css +413 -0
- package/lib/styles/game/stats-saves.css +106 -0
- package/lib/styles/game/tools-stage.css +340 -0
- package/lib/styles/game/topbar.css +191 -0
- package/lib/styles/menu-bar.css +108 -0
- package/lib/styles/not-found.css +335 -0
- package/lib/styles/overview-map-views.css +88 -0
- package/lib/styles/overview-map.css +195 -0
- package/lib/styles/retro-components.css +179 -0
- package/lib/styles/retro-page.css +254 -0
- package/lib/styles/retro-tokens.css +122 -0
- package/lib/styles/schemes/high-contrast.css +173 -0
- package/lib/styles/schemes/skyline.css +134 -0
- package/lib/styles.css +66 -0
- package/lib/ui/desk/deskGeometry.d.ts +59 -0
- package/lib/ui/desk/deskGeometry.js +106 -0
- package/lib/ui/desk/deskGeometry.js.map +1 -0
- package/lib/ui/desk/deskWindow.d.ts +90 -0
- package/lib/ui/desk/deskWindow.js +253 -0
- package/lib/ui/desk/deskWindow.js.map +1 -0
- package/lib/ui/desk/deskWindowMenu.d.ts +55 -0
- package/lib/ui/desk/deskWindowMenu.js +143 -0
- package/lib/ui/desk/deskWindowMenu.js.map +1 -0
- package/lib/ui/escape.d.ts +1 -0
- package/lib/ui/escape.js +14 -0
- package/lib/ui/escape.js.map +1 -0
- package/lib/ui/format.d.ts +14 -0
- package/lib/ui/format.js +36 -0
- package/lib/ui/format.js.map +1 -0
- package/lib/ui/iconPaths.generated.d.ts +4 -0
- package/lib/ui/iconPaths.generated.js +68 -0
- package/lib/ui/iconPaths.generated.js.map +1 -0
- package/lib/ui/icons.d.ts +83 -0
- package/lib/ui/icons.js +156 -0
- package/lib/ui/icons.js.map +1 -0
- package/lib/ui/menuBar.d.ts +94 -0
- package/lib/ui/menuBar.js +361 -0
- package/lib/ui/menuBar.js.map +1 -0
- package/lib/ui/modalPrecedence.d.ts +108 -0
- package/lib/ui/modalPrecedence.js +165 -0
- package/lib/ui/modalPrecedence.js.map +1 -0
- package/lib/ui/movableWindow.d.ts +124 -0
- package/lib/ui/movableWindow.js +247 -0
- package/lib/ui/movableWindow.js.map +1 -0
- package/lib/ui/overviewMapInput.d.ts +109 -0
- package/lib/ui/overviewMapInput.js +135 -0
- package/lib/ui/overviewMapInput.js.map +1 -0
- package/lib/ui/uiModal.d.ts +38 -0
- package/lib/ui/uiModal.js +70 -0
- package/lib/ui/uiModal.js.map +1 -0
- package/lib/wasmhost/buildSection.d.ts +54 -0
- package/lib/wasmhost/buildSection.js +143 -0
- package/lib/wasmhost/buildSection.js.map +1 -0
- package/lib/wasmhost/catalogCheck.d.ts +11 -0
- package/lib/wasmhost/catalogCheck.js +43 -0
- package/lib/wasmhost/catalogCheck.js.map +1 -0
- package/lib/wasmhost/engineAssets.d.ts +57 -0
- package/lib/wasmhost/engineAssets.js +63 -0
- package/lib/wasmhost/engineAssets.js.map +1 -0
- package/lib/wasmhost/engineBoot.d.ts +165 -0
- package/lib/wasmhost/engineBoot.js +254 -0
- package/lib/wasmhost/engineBoot.js.map +1 -0
- package/lib/wasmhost/engineChoice.d.ts +6 -0
- package/lib/wasmhost/engineChoice.js +2 -0
- package/lib/wasmhost/engineChoice.js.map +1 -0
- package/lib/wasmhost/engineDiagnostics.d.ts +66 -0
- package/lib/wasmhost/engineDiagnostics.js +189 -0
- package/lib/wasmhost/engineDiagnostics.js.map +1 -0
- package/lib/wasmhost/engineDiagnosticsLive.d.ts +15 -0
- package/lib/wasmhost/engineDiagnosticsLive.js +31 -0
- package/lib/wasmhost/engineDiagnosticsLive.js.map +1 -0
- package/lib/wasmhost/engineIdentity.d.ts +30 -0
- package/lib/wasmhost/engineIdentity.js +59 -0
- package/lib/wasmhost/engineIdentity.js.map +1 -0
- package/lib/wasmhost/engineLabel.d.ts +40 -0
- package/lib/wasmhost/engineLabel.js +50 -0
- package/lib/wasmhost/engineLabel.js.map +1 -0
- package/lib/wasmhost/engineLoad.d.ts +48 -0
- package/lib/wasmhost/engineLoad.js +53 -0
- package/lib/wasmhost/engineLoad.js.map +1 -0
- package/lib/wasmhost/enginePackageCheck.d.ts +77 -0
- package/lib/wasmhost/enginePackageCheck.js +274 -0
- package/lib/wasmhost/enginePackageCheck.js.map +1 -0
- package/lib/wasmhost/enginePackageNames.d.ts +25 -0
- package/lib/wasmhost/enginePackageNames.js +28 -0
- package/lib/wasmhost/enginePackageNames.js.map +1 -0
- package/lib/wasmhost/enginePackageRecord.d.ts +78 -0
- package/lib/wasmhost/enginePackageRecord.js +108 -0
- package/lib/wasmhost/enginePackageRecord.js.map +1 -0
- package/lib/wasmhost/engineRepair.d.ts +55 -0
- package/lib/wasmhost/engineRepair.js +183 -0
- package/lib/wasmhost/engineRepair.js.map +1 -0
- package/lib/wasmhost/frameView.d.ts +87 -0
- package/lib/wasmhost/frameView.js +133 -0
- package/lib/wasmhost/frameView.js.map +1 -0
- package/lib/wasmhost/hostFault.d.ts +40 -0
- package/lib/wasmhost/hostFault.js +94 -0
- package/lib/wasmhost/hostFault.js.map +1 -0
- package/lib/wasmhost/loadEngineModule.d.ts +79 -0
- package/lib/wasmhost/loadEngineModule.js +66 -0
- package/lib/wasmhost/loadEngineModule.js.map +1 -0
- package/lib/wasmhost/packageHash.d.ts +48 -0
- package/lib/wasmhost/packageHash.js +436 -0
- package/lib/wasmhost/packageHash.js.map +1 -0
- package/lib/wasmhost/rustEngine.d.ts +49 -0
- package/lib/wasmhost/rustEngine.js +63 -0
- package/lib/wasmhost/rustEngine.js.map +1 -0
- package/lib/wasmhost/slotPopulation.d.ts +19 -0
- package/lib/wasmhost/slotPopulation.js +69 -0
- package/lib/wasmhost/slotPopulation.js.map +1 -0
- package/lib/wasmhost/telemetry.d.ts +31 -0
- package/lib/wasmhost/telemetry.js +13 -0
- package/lib/wasmhost/telemetry.js.map +1 -0
- package/package.json +80 -4
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
// Generated from engine-rs/src/gameplay/catalog.json by `npm run gen:events`.
|
|
2
|
+
// Do not edit: change the catalog and regenerate (src/events/gameplayCatalog.test.ts fails while this is stale).
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The gameplay events the engine emits, one entry per event. This file is the
|
|
6
|
+
* contract: engine-rs/src/gameplay.rs checks GameplayEvent against it in a unit
|
|
7
|
+
* test, src/events/gameplayEvents.d.ts is generated from it (npm run
|
|
8
|
+
* gen:events), and the conformance lock hashes the drained events per
|
|
9
|
+
* checkpoint. Payload rule: closed enums and small bounded integers only. No
|
|
10
|
+
* free text, no tower names, no money amounts. A field of any other type is
|
|
11
|
+
* refused by the catalog checks on both sides. A rename is a catalog change:
|
|
12
|
+
* bump the event's version and add a history note.
|
|
13
|
+
*/
|
|
14
|
+
export type GameplayCatalogVersion = 1;
|
|
15
|
+
|
|
16
|
+
export type GameplayMode =
|
|
17
|
+
| "classic"
|
|
18
|
+
| "modern";
|
|
19
|
+
|
|
20
|
+
export type GameplayFacilityKind =
|
|
21
|
+
| "lobby"
|
|
22
|
+
| "floor"
|
|
23
|
+
| "office"
|
|
24
|
+
| "condo"
|
|
25
|
+
| "hotelSingle"
|
|
26
|
+
| "hotelDouble"
|
|
27
|
+
| "hotelSuite"
|
|
28
|
+
| "fastFood"
|
|
29
|
+
| "restaurant"
|
|
30
|
+
| "foodHall"
|
|
31
|
+
| "shop"
|
|
32
|
+
| "cinema"
|
|
33
|
+
| "partyHall"
|
|
34
|
+
| "amusements"
|
|
35
|
+
| "boutiqueBay"
|
|
36
|
+
| "fitnessClub"
|
|
37
|
+
| "clinic"
|
|
38
|
+
| "nightclub"
|
|
39
|
+
| "spa"
|
|
40
|
+
| "skyBar"
|
|
41
|
+
| "aquaticCenter"
|
|
42
|
+
| "daycare"
|
|
43
|
+
| "stairs"
|
|
44
|
+
| "escalator"
|
|
45
|
+
| "elevatorStandard"
|
|
46
|
+
| "elevatorService"
|
|
47
|
+
| "elevatorExpress"
|
|
48
|
+
| "parkingRamp"
|
|
49
|
+
| "parking"
|
|
50
|
+
| "security"
|
|
51
|
+
| "medical"
|
|
52
|
+
| "housekeeping"
|
|
53
|
+
| "recycling"
|
|
54
|
+
| "metro"
|
|
55
|
+
| "weddingHall"
|
|
56
|
+
| "rentalStudio"
|
|
57
|
+
| "rentalApartment";
|
|
58
|
+
|
|
59
|
+
export type GameplayRemovalMethod =
|
|
60
|
+
| "sell"
|
|
61
|
+
| "bulldoze";
|
|
62
|
+
|
|
63
|
+
export type GameplayEmergencyKind =
|
|
64
|
+
| "fireRescue"
|
|
65
|
+
| "bombThreat";
|
|
66
|
+
|
|
67
|
+
export type GameplayEmergencyDecision =
|
|
68
|
+
| "accept"
|
|
69
|
+
| "decline";
|
|
70
|
+
|
|
71
|
+
export type GameplayEmergencySource =
|
|
72
|
+
| "player"
|
|
73
|
+
| "timeout";
|
|
74
|
+
|
|
75
|
+
export type GameplayFireOutcome =
|
|
76
|
+
| "security"
|
|
77
|
+
| "rescue"
|
|
78
|
+
| "burnedOut";
|
|
79
|
+
|
|
80
|
+
export type GameplayMilestoneId =
|
|
81
|
+
| "pop-500"
|
|
82
|
+
| "pop-2500"
|
|
83
|
+
| "pop-7500"
|
|
84
|
+
| "pop-12000"
|
|
85
|
+
| "star-4"
|
|
86
|
+
| "star-5"
|
|
87
|
+
| "cinema"
|
|
88
|
+
| "metro"
|
|
89
|
+
| "skyline"
|
|
90
|
+
| "well-served"
|
|
91
|
+
| "full-house";
|
|
92
|
+
|
|
93
|
+
/** Every gameplay event's payload, by event name. */
|
|
94
|
+
export interface GameplayEventPayloads {
|
|
95
|
+
/**
|
|
96
|
+
* A new tower was founded. Emitted once by the new-game constructor, before
|
|
97
|
+
* any command runs. Loading a save never emits it. A tower a host founds only
|
|
98
|
+
* as a backdrop the player never plays (the web title screen with no save
|
|
99
|
+
* behind it) is not a founding the player made: the host leaves that
|
|
100
|
+
* tower_founded, and every other event the backdrop emits, out of analytics,
|
|
101
|
+
* and the tower the player then founds reports its own. Version 1, once per
|
|
102
|
+
* tower. Takes over from the shell's new_game_started call in saveLoad.ts in
|
|
103
|
+
* phase 2. That wire name was game_started until 2026-09-14, renamed because
|
|
104
|
+
* it read like a session counter; the wire keeps new_game_started. The
|
|
105
|
+
* backdrop rule was written into the semantics on 2026-10-11 (phase 2); it
|
|
106
|
+
* states what the web host already did, so the payload, the emission and the
|
|
107
|
+
* version are unchanged.
|
|
108
|
+
*/
|
|
109
|
+
tower_founded: {
|
|
110
|
+
mode: GameplayMode;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* A build or transport placement succeeded and was charged. kind is the kind
|
|
114
|
+
* actually placed (the Floor tool on the ground floor places a lobby). floor
|
|
115
|
+
* is the top story the placement reaches: floor plus height minus one for a
|
|
116
|
+
* room, the top of the span for a shaft. count is the number of units of kind
|
|
117
|
+
* the placement laid, 1 for every engine placement today; bridge and
|
|
118
|
+
* under-floor tiles a room lays are not counted. Version 1, per occurrence.
|
|
119
|
+
* New. Feeds the shell's noteBuild folds (first_build, session_builds,
|
|
120
|
+
* session_peak_floors) in phase 2.
|
|
121
|
+
*/
|
|
122
|
+
facility_placed: {
|
|
123
|
+
kind: GameplayFacilityKind;
|
|
124
|
+
/** A whole number from -9 to 100. */
|
|
125
|
+
floor: number;
|
|
126
|
+
/** A whole number from 1 to 1000. */
|
|
127
|
+
count: number;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* A unit or shaft was removed by a player command, with method saying how.
|
|
131
|
+
* Emitted by the engine's removal command (removeFacility) after the removal
|
|
132
|
+
* and refund. The tile sell (sellAt) and the editor's Sell report method
|
|
133
|
+
* sell; the bulldozer reports bulldoze. A refused removal emits nothing.
|
|
134
|
+
* Version 1, per occurrence. New. Takes over from economy_action with action
|
|
135
|
+
* demolish in phase 2.
|
|
136
|
+
*/
|
|
137
|
+
facility_removed: {
|
|
138
|
+
kind: GameplayFacilityKind;
|
|
139
|
+
method: GameplayRemovalMethod;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* A price moved: priceUnit or adjustRent changed a unit's price or put it
|
|
143
|
+
* back on the market, setNoRate took a unit that was on the market off it, or
|
|
144
|
+
* applyRentBatch changed at least one unit (changed above zero). A batch
|
|
145
|
+
* emits once for the whole batch. A write that leaves the price where it was
|
|
146
|
+
* emits nothing, and the price itself is never carried. Version 1, per
|
|
147
|
+
* occurrence. New. Takes over from economy_action with action price_tune in
|
|
148
|
+
* phase 2; the platform keeps the once-per-session latch.
|
|
149
|
+
*/
|
|
150
|
+
pricing_changed: {
|
|
151
|
+
kind: GameplayFacilityKind;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* A shaft's capacity changed: setCars changed the car count, or
|
|
155
|
+
* resizeTransport moved the span. A refused or no-op edit emits nothing. Both
|
|
156
|
+
* engines emit from the simulation layer (Simulation.setCars and
|
|
157
|
+
* Simulation.resizeTransport, Simulation::set_cars and
|
|
158
|
+
* Simulation::resize_transport), and the bare tower methods emit nothing in
|
|
159
|
+
* either. The charge commands (addCar, removeCar, extendTransport) edit
|
|
160
|
+
* through these, so a paid edit reports the same event. Version 1, per
|
|
161
|
+
* occurrence. New. Takes over from economy_action with action capacity_tune
|
|
162
|
+
* in phase 2; the platform keeps the once-per-session latch. On 2026-10-13
|
|
163
|
+
* (#906) the TypeScript engine moved its emission from the tower to the
|
|
164
|
+
* simulation layer, where the Rust engine already emitted; every
|
|
165
|
+
* simulation-layer and charged edit reports exactly as before, so the payload
|
|
166
|
+
* and the version are unchanged. A bare tower edit (tests, fixtures,
|
|
167
|
+
* tooling), which reported before, is now silent in both engines, and the
|
|
168
|
+
* dual-run relay replays it through silent tower ops.
|
|
169
|
+
*/
|
|
170
|
+
capacity_changed: {
|
|
171
|
+
kind: GameplayFacilityKind;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* The tower's rating rose to star (6 is TOWER). One event per rung crossed,
|
|
175
|
+
* in ascending order, so a single evaluation that lifts the tower two rungs
|
|
176
|
+
* emits two events. Loading a save never emits it. Once per tower along one
|
|
177
|
+
* line of play: the rating never falls, but an undo or a load of an earlier
|
|
178
|
+
* save rewinds it, and reaching the rung again emits again. Version 1, once
|
|
179
|
+
* per tower. New. Takes over from the 6 Hz star diff in frameLoop.ts in phase
|
|
180
|
+
* 2; the wire name star_reached does not change.
|
|
181
|
+
*/
|
|
182
|
+
star_reached: {
|
|
183
|
+
/** A whole number from 2 to 6. */
|
|
184
|
+
star: number;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* A room caught fire (an ignition). A blaze spreading to a neighbor is the
|
|
188
|
+
* same fire and emits nothing. Version 1, per occurrence. New. Takes over
|
|
189
|
+
* from the fires counter that session_emergencies samples, in phase 2.
|
|
190
|
+
*/
|
|
191
|
+
fire_started: Record<string, never>;
|
|
192
|
+
/**
|
|
193
|
+
* Rooms on fire were reduced to gutted shells: once per daily fire pass that
|
|
194
|
+
* gutted at least one room, and once per paid rescue that gutted at least one
|
|
195
|
+
* room. rooms is the number gutted in that step. Bomb losses are not fire
|
|
196
|
+
* losses and never count here. Version 1, per occurrence. New. Takes over
|
|
197
|
+
* from the firesGutRooms counter that session_emergencies samples, in phase
|
|
198
|
+
* 2.
|
|
199
|
+
*/
|
|
200
|
+
fire_gutted: {
|
|
201
|
+
/** A whole number from 1 to 10000. */
|
|
202
|
+
rooms: number;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* A bomb went off because Security did not find it by the search deadline
|
|
206
|
+
* (or, through the bombThreat command, because the tower had no Security).
|
|
207
|
+
* rooms is the number of rooms the blast gutted (0 when the tower had nothing
|
|
208
|
+
* to destroy). A search that finds the bomb emits bomb_found instead. Version
|
|
209
|
+
* 1, per occurrence. New. Takes over from the bombs counter that
|
|
210
|
+
* session_emergencies samples, in phase 2. Since the timed bomb search (#349)
|
|
211
|
+
* a declined ransom emits it at the deadline rather than at once; the payload
|
|
212
|
+
* and the version are unchanged.
|
|
213
|
+
*/
|
|
214
|
+
bomb_detonated: {
|
|
215
|
+
/** A whole number from 0 to 10000. */
|
|
216
|
+
rooms: number;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* A pending emergency choice was resolved. decision is what took effect:
|
|
220
|
+
* accept only when the tower paid, so an accept the tower cannot afford is a
|
|
221
|
+
* decline. source is player for the resolve command and timeout for the daily
|
|
222
|
+
* roll's auto-decline. Emitted before the outcome's own events (a rescue's
|
|
223
|
+
* fire_gutted, a search's bomb_detonated). Version 1, per occurrence. New.
|
|
224
|
+
* Takes over from emergency_choice in phase 2; the platform drops source
|
|
225
|
+
* timeout, so a timed-out decline still reports nothing.
|
|
226
|
+
*/
|
|
227
|
+
emergency_resolved: {
|
|
228
|
+
kind: GameplayEmergencyKind;
|
|
229
|
+
decision: GameplayEmergencyDecision;
|
|
230
|
+
source: GameplayEmergencySource;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* An optional milestone was achieved and announced. Loading a save adopts
|
|
234
|
+
* already-met milestones silently and emits nothing. Once per tower along one
|
|
235
|
+
* line of play: an undo or a load of an earlier save rewinds the achieved
|
|
236
|
+
* set, and achieving the milestone again emits again. Version 1, once per
|
|
237
|
+
* tower. New. Nothing sends it today; the store-neutral milestone sink reads
|
|
238
|
+
* it later.
|
|
239
|
+
*/
|
|
240
|
+
milestone_reached: {
|
|
241
|
+
id: GameplayMilestoneId;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* Security found the bomb of a declined ransom before the search deadline and
|
|
245
|
+
* defused it. With emergency_resolved's accept (the ransom paid) and
|
|
246
|
+
* bomb_detonated, it closes every bomb threat one way. Version 1, per
|
|
247
|
+
* occurrence. New with the timed bomb search (#349).
|
|
248
|
+
*/
|
|
249
|
+
bomb_found: Record<string, never>;
|
|
250
|
+
/**
|
|
251
|
+
* The last room of a fire stopped burning. by is what put it out: rescue when
|
|
252
|
+
* the paid helicopter landed on it, security when Security's guards had
|
|
253
|
+
* reached it by the emergency stairs, and burnedOut when nobody reached it.
|
|
254
|
+
* With fire_started it brackets every fire. Version 1, per occurrence. New
|
|
255
|
+
* with guards answering fires and the rescue helicopter (#1889).
|
|
256
|
+
*/
|
|
257
|
+
fire_out: {
|
|
258
|
+
by: GameplayFireOutcome;
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/** Each event's schema version, by name. */
|
|
263
|
+
export interface GameplayEventVersions {
|
|
264
|
+
tower_founded: 1;
|
|
265
|
+
facility_placed: 1;
|
|
266
|
+
facility_removed: 1;
|
|
267
|
+
pricing_changed: 1;
|
|
268
|
+
capacity_changed: 1;
|
|
269
|
+
star_reached: 1;
|
|
270
|
+
fire_started: 1;
|
|
271
|
+
fire_gutted: 1;
|
|
272
|
+
bomb_detonated: 1;
|
|
273
|
+
emergency_resolved: 1;
|
|
274
|
+
milestone_reached: 1;
|
|
275
|
+
bomb_found: 1;
|
|
276
|
+
fire_out: 1;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type GameplayEventName = keyof GameplayEventPayloads;
|
|
280
|
+
|
|
281
|
+
/** One drained event, `{ name, payload }`, as both engines hand it over. */
|
|
282
|
+
export type GameplayEvent = {
|
|
283
|
+
[N in GameplayEventName]: { name: N; payload: GameplayEventPayloads[N] };
|
|
284
|
+
}[GameplayEventName];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The words for a date. The engine reports the numbers (day of the week,
|
|
3
|
+
* weekend flag, quarter, year, the calendar's week and weekend lengths); this
|
|
4
|
+
* file only turns them into the names the header strip and the stats panel
|
|
5
|
+
* show. It does no date arithmetic.
|
|
6
|
+
*/
|
|
7
|
+
/** What the engine reports about one moment of the game clock. */
|
|
8
|
+
export interface DateReading {
|
|
9
|
+
/** 0-based day of the week on the tower's calendar. */
|
|
10
|
+
readonly dayOfWeek: number;
|
|
11
|
+
readonly isWeekend: boolean;
|
|
12
|
+
/** 0-based quarter and year. */
|
|
13
|
+
readonly quarter: number;
|
|
14
|
+
readonly year: number;
|
|
15
|
+
/** The calendar's week and weekend lengths in days. */
|
|
16
|
+
readonly weekDays: number;
|
|
17
|
+
readonly weekendDays: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* "Mon" on the seven-day week. The compressed canon week has no such names, and
|
|
21
|
+
* reusing Mon/Tue/Wed would label its weekend slot "Wed" while the retro date
|
|
22
|
+
* says WE, so it reads "WD1", "WD2", "WE1": the weekday slots, then the weekend ones.
|
|
23
|
+
*/
|
|
24
|
+
export declare function dayName(d: Pick<DateReading, "dayOfWeek" | "isWeekend" | "weekDays" | "weekendDays">): string;
|
|
25
|
+
/** "Mon 07:00". */
|
|
26
|
+
export declare function formatClock(d: Parameters<typeof dayName>[0], hour: number, minute: number): string;
|
|
27
|
+
/** The original game's date stamp, e.g. "2nd WD/1Q/1st Year". */
|
|
28
|
+
export declare function formatRetroDate(d: DateReading): string;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The words for a date. The engine reports the numbers (day of the week,
|
|
3
|
+
* weekend flag, quarter, year, the calendar's week and weekend lengths); this
|
|
4
|
+
* file only turns them into the names the header strip and the stats panel
|
|
5
|
+
* show. It does no date arithmetic.
|
|
6
|
+
*/
|
|
7
|
+
/** A week this long has the familiar weekday names. */
|
|
8
|
+
const NAMED_WEEK_DAYS = 7;
|
|
9
|
+
const WEEKDAY_NAMES = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
|
|
10
|
+
/**
|
|
11
|
+
* "Mon" on the seven-day week. The compressed canon week has no such names, and
|
|
12
|
+
* reusing Mon/Tue/Wed would label its weekend slot "Wed" while the retro date
|
|
13
|
+
* says WE, so it reads "WD1", "WD2", "WE1": the weekday slots, then the weekend ones.
|
|
14
|
+
*/
|
|
15
|
+
function dayName(d) {
|
|
16
|
+
if (d.weekDays === NAMED_WEEK_DAYS)
|
|
17
|
+
return WEEKDAY_NAMES[d.dayOfWeek];
|
|
18
|
+
const weekdayCount = d.weekDays - d.weekendDays;
|
|
19
|
+
return d.isWeekend ? `WE${d.dayOfWeek - weekdayCount + 1}` : `WD${d.dayOfWeek + 1}`;
|
|
20
|
+
}
|
|
21
|
+
/** "Mon 07:00". */
|
|
22
|
+
function formatClock(d, hour, minute) {
|
|
23
|
+
return `${dayName(d)} ${hour.toString().padStart(2, "0")}:${minute.toString().padStart(2, "0")}`;
|
|
24
|
+
}
|
|
25
|
+
const ordinal = (n) => {
|
|
26
|
+
const suffixes = ["th", "st", "nd", "rd"];
|
|
27
|
+
const v = n % 100;
|
|
28
|
+
return n + (suffixes[(v - 20) % 10] ?? suffixes[v] ?? suffixes[0]);
|
|
29
|
+
};
|
|
30
|
+
/** The original game's date stamp, e.g. "2nd WD/1Q/1st Year". */
|
|
31
|
+
function formatRetroDate(d) {
|
|
32
|
+
const weekdayCount = d.weekDays - d.weekendDays;
|
|
33
|
+
const slot = d.isWeekend ? `${ordinal(d.dayOfWeek - weekdayCount + 1)} WE` : `${ordinal(d.dayOfWeek + 1)} WD`;
|
|
34
|
+
return `${slot}/${d.quarter + 1}Q/${ordinal(d.year + 1)} Year`;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { dayName, formatClock, formatRetroDate };
|
|
38
|
+
//# sourceMappingURL=clockText.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clockText.js","sources":["../../src/presentation/clockText.ts"],"sourcesContent":["/**\n * The words for a date. The engine reports the numbers (day of the week,\n * weekend flag, quarter, year, the calendar's week and weekend lengths); this\n * file only turns them into the names the header strip and the stats panel\n * show. It does no date arithmetic.\n */\n\n/** What the engine reports about one moment of the game clock. */\nexport interface DateReading {\n /** 0-based day of the week on the tower's calendar. */\n readonly dayOfWeek: number;\n readonly isWeekend: boolean;\n /** 0-based quarter and year. */\n readonly quarter: number;\n readonly year: number;\n /** The calendar's week and weekend lengths in days. */\n readonly weekDays: number;\n readonly weekendDays: number;\n}\n\n/** A week this long has the familiar weekday names. */\nconst NAMED_WEEK_DAYS = 7;\nconst WEEKDAY_NAMES = [\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\"] as const;\n\n/**\n * \"Mon\" on the seven-day week. The compressed canon week has no such names, and\n * reusing Mon/Tue/Wed would label its weekend slot \"Wed\" while the retro date\n * says WE, so it reads \"WD1\", \"WD2\", \"WE1\": the weekday slots, then the weekend ones.\n */\nexport function dayName(d: Pick<DateReading, \"dayOfWeek\" | \"isWeekend\" | \"weekDays\" | \"weekendDays\">): string {\n if (d.weekDays === NAMED_WEEK_DAYS) return WEEKDAY_NAMES[d.dayOfWeek];\n const weekdayCount = d.weekDays - d.weekendDays;\n return d.isWeekend ? `WE${d.dayOfWeek - weekdayCount + 1}` : `WD${d.dayOfWeek + 1}`;\n}\n\n/** \"Mon 07:00\". */\nexport function formatClock(d: Parameters<typeof dayName>[0], hour: number, minute: number): string {\n return `${dayName(d)} ${hour.toString().padStart(2, \"0\")}:${minute.toString().padStart(2, \"0\")}`;\n}\n\nconst ordinal = (n: number): string => {\n const suffixes = [\"th\", \"st\", \"nd\", \"rd\"];\n const v = n % 100;\n return n + (suffixes[(v - 20) % 10] ?? suffixes[v] ?? suffixes[0]);\n};\n\n/** The original game's date stamp, e.g. \"2nd WD/1Q/1st Year\". */\nexport function formatRetroDate(d: DateReading): string {\n const weekdayCount = d.weekDays - d.weekendDays;\n const slot = d.isWeekend ? `${ordinal(d.dayOfWeek - weekdayCount + 1)} WE` : `${ordinal(d.dayOfWeek + 1)} WD`;\n return `${slot}/${d.quarter + 1}Q/${ordinal(d.year + 1)} Year`;\n}\n"],"names":[],"mappings":"AAAA;;;;;AAKG;AAeH;AACA,MAAM,eAAe,GAAG,CAAC;AACzB,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAU;AAEhF;;;;AAIG;AACG,SAAU,OAAO,CAAC,CAA4E,EAAA;AAClG,IAAA,IAAI,CAAC,CAAC,QAAQ,KAAK,eAAe;AAAE,QAAA,OAAO,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;IACrE,MAAM,YAAY,GAAG,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,WAAW;IAC/C,OAAO,CAAC,CAAC,SAAS,GAAG,CAAA,EAAA,EAAK,CAAC,CAAC,SAAS,GAAG,YAAY,GAAG,CAAC,CAAA,CAAE,GAAG,CAAA,EAAA,EAAK,CAAC,CAAC,SAAS,GAAG,CAAC,CAAA,CAAE;AACrF;AAEA;SACgB,WAAW,CAAC,CAAgC,EAAE,IAAY,EAAE,MAAc,EAAA;AACxF,IAAA,OAAO,CAAA,EAAG,OAAO,CAAC,CAAC,CAAC,CAAA,CAAA,EAAI,IAAI,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA,CAAA,EAAI,MAAM,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE;AAClG;AAEA,MAAM,OAAO,GAAG,CAAC,CAAS,KAAY;IACpC,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AACzC,IAAA,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG;IACjB,OAAO,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC;AACpE,CAAC;AAED;AACM,SAAU,eAAe,CAAC,CAAc,EAAA;IAC5C,MAAM,YAAY,GAAG,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,WAAW;AAC/C,IAAA,MAAM,IAAI,GAAG,CAAC,CAAC,SAAS,GAAG,CAAA,EAAG,OAAO,CAAC,CAAC,CAAC,SAAS,GAAG,YAAY,GAAG,CAAC,CAAC,CAAA,GAAA,CAAK,GAAG,CAAA,EAAG,OAAO,CAAC,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,KAAK;AAC7G,IAAA,OAAO,GAAG,IAAI,CAAA,CAAA,EAAI,CAAC,CAAC,OAAO,GAAG,CAAC,CAAA,EAAA,EAAK,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,OAAO;AAChE;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { CatalogWorld } from "../catalog/catalogTypes";
|
|
2
|
+
import type { FacilityKind } from "../shared/types";
|
|
3
|
+
/**
|
|
4
|
+
* How each facility looks and reads in the UI: its swatch and sprite color and
|
|
5
|
+
* the tool card's description. Presentation only, so it lives outside the
|
|
6
|
+
* engine (#921): prices, sizes and rules come from the tower's catalog.
|
|
7
|
+
*/
|
|
8
|
+
export interface FacilityPresentation {
|
|
9
|
+
/** Hex color the palette swatch and the procedural sprites use. */
|
|
10
|
+
readonly color: string;
|
|
11
|
+
/** The tool card's one-paragraph description: fixed, or worded from the
|
|
12
|
+
* tower's world for a facility that names where it stands. */
|
|
13
|
+
readonly description: string | ((world: Pick<CatalogWorld, "maxFloor">) => string);
|
|
14
|
+
}
|
|
15
|
+
export declare const FACILITY_PRESENTATION: Readonly<Record<FacilityKind, FacilityPresentation>>;
|
|
16
|
+
/** The color a facility kind is drawn in. */
|
|
17
|
+
export declare function facilityColor(kind: FacilityKind): string;
|
|
18
|
+
/** The description the tool card shows for a facility kind on a tower whose
|
|
19
|
+
* catalog states `world`. */
|
|
20
|
+
export declare function facilityDescription(kind: FacilityKind, world: Pick<CatalogWorld, "maxFloor">): string;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
const FACILITY_PRESENTATION = {
|
|
2
|
+
lobby: {
|
|
3
|
+
color: "#d8d2b0",
|
|
4
|
+
description: "Ground-floor and sky lobbies. People pass through to reach elevators. Build every 15 floors.",
|
|
5
|
+
},
|
|
6
|
+
floor: {
|
|
7
|
+
color: "#9a9486",
|
|
8
|
+
description: "Structural floor space. Must exist before placing rooms.",
|
|
9
|
+
},
|
|
10
|
+
office: {
|
|
11
|
+
color: "#6fb1d6",
|
|
12
|
+
description: "Rents to a company. Workers arrive mornings, leave evenings. Pays quarterly rent.",
|
|
13
|
+
},
|
|
14
|
+
condo: {
|
|
15
|
+
color: "#7ec97e",
|
|
16
|
+
description: "Sold once to a resident family for a large lump sum. Residents live here permanently.",
|
|
17
|
+
},
|
|
18
|
+
hotelSingle: {
|
|
19
|
+
color: "#e0b15e",
|
|
20
|
+
description: "Hotel single. Guests check in at night, out in the morning. Needs housekeeping.",
|
|
21
|
+
},
|
|
22
|
+
hotelDouble: {
|
|
23
|
+
color: "#e0a94e",
|
|
24
|
+
description: "Hotel twin room. Higher nightly income than a single.",
|
|
25
|
+
},
|
|
26
|
+
hotelSuite: {
|
|
27
|
+
color: "#d99a2e",
|
|
28
|
+
description: "Luxury hotel suite. Best nightly income, demanding guests.",
|
|
29
|
+
},
|
|
30
|
+
fastFood: {
|
|
31
|
+
color: "#e87b6e",
|
|
32
|
+
description: "Quick dining. Busy at lunch. Income scales with foot traffic.",
|
|
33
|
+
},
|
|
34
|
+
restaurant: {
|
|
35
|
+
color: "#d4564a",
|
|
36
|
+
description: "Fine dining, busy at lunch and dinner. Needs good elevator access.",
|
|
37
|
+
},
|
|
38
|
+
foodHall: {
|
|
39
|
+
color: "#e0965a",
|
|
40
|
+
description: "Modern: a hall of food stalls. Earns from foot traffic and satisfies many cravings from one spot, so it covers a wide reach of hungry tenants.",
|
|
41
|
+
},
|
|
42
|
+
shop: {
|
|
43
|
+
color: "#b58ad6",
|
|
44
|
+
description: "Retail. Earns from shoppers passing by. Thrives near lobbies and offices.",
|
|
45
|
+
},
|
|
46
|
+
cinema: {
|
|
47
|
+
color: "#8a6fd6",
|
|
48
|
+
description: "A two-story movie theater. Draws large evening crowds; demands heavy transport capacity.",
|
|
49
|
+
},
|
|
50
|
+
partyHall: {
|
|
51
|
+
color: "#cf7fb0",
|
|
52
|
+
description: "A two-story rentable function space for events. Guests enter on the lower floor. Periodic income.",
|
|
53
|
+
},
|
|
54
|
+
amusements: {
|
|
55
|
+
color: "#d24a9c",
|
|
56
|
+
description: "Modern: an arcade and amusements hall (classic cabinets, VR, claw machines, mini-golf). Draws teens and families for games and earns from foot traffic, and is busier on weekends.",
|
|
57
|
+
},
|
|
58
|
+
boutiqueBay: {
|
|
59
|
+
color: "#3aa88c",
|
|
60
|
+
description: "Modern: a bay of small independent trades (florist, barber, phone repair, vintage, tattoo, record store, gallery). Earns from foot traffic and offers the widest variety of any single build, busier on weekends.",
|
|
61
|
+
},
|
|
62
|
+
fitnessClub: {
|
|
63
|
+
color: "#4a86c8",
|
|
64
|
+
description: "Modern: a members' gym (weight floor, yoga, spin, boxing, climbing). Pays a membership lease like an office, and nearby condos and apartments are happier for having it close (a bonus that fades with distance, which also lifts the ceiling a noisy or out-of-the-way home is held to).",
|
|
65
|
+
},
|
|
66
|
+
clinic: {
|
|
67
|
+
color: "#5ab0c8",
|
|
68
|
+
description: "Modern: a small health clinic (dental, urgent care, optometry, pharmacy, physio). Pays a lease like an office: a quiet, steady tenant.",
|
|
69
|
+
},
|
|
70
|
+
nightclub: {
|
|
71
|
+
color: "#a24ad0",
|
|
72
|
+
description: "Modern: a nightclub that fills after dark, earning when the office crowd is gone. Pays a monthly DJ booking, and while it is open its noise makes homes and hotel rooms on nearby floors unhappy overnight: keep it away from condos.",
|
|
73
|
+
},
|
|
74
|
+
spa: {
|
|
75
|
+
color: "#5cc0a0",
|
|
76
|
+
description: "Modern: a wellness spa (massage, sauna, hot tubs). Earns from foot traffic, busier on weekends, and hotel rooms on nearby floors rest better for it (a bonus that fades with distance and lifts a capped room's ceiling). It makes no noise for its neighbors.",
|
|
77
|
+
},
|
|
78
|
+
skyBar: {
|
|
79
|
+
color: "#d89050",
|
|
80
|
+
description: "Modern: a rooftop cocktail bar that fills in the evening. Earns from foot traffic, and the higher you place it the more it earns: the skyline view is the draw, so a bar up top pours far more than one down low.",
|
|
81
|
+
},
|
|
82
|
+
aquaticCenter: {
|
|
83
|
+
color: "#33b0c2",
|
|
84
|
+
description: "Modern: a two-story swimming pool complex. Like a cinema it earns from the crowd that comes to swim and lounge, filling with real visitors through the day, so it needs the transport to move them.",
|
|
85
|
+
},
|
|
86
|
+
daycare: {
|
|
87
|
+
color: "#eeb63c",
|
|
88
|
+
description: "Modern: a children's daycare. Earns from parents dropping off and collecting kids, busiest on weekdays when they are at work, and condos and apartments on nearby floors are happier for it, most of all the biggest families who lean on childcare the most (a bonus that grows with family size, fades over the next few floors and lifts a capped home's ceiling). It keeps working hours, so it makes no noise for its neighbors.",
|
|
89
|
+
},
|
|
90
|
+
stairs: {
|
|
91
|
+
color: "#b0a890",
|
|
92
|
+
description: "Cheap two-floor link: one tap places the whole flight. People will only climb a short distance.",
|
|
93
|
+
},
|
|
94
|
+
escalator: {
|
|
95
|
+
color: "#c8c0a0",
|
|
96
|
+
description: "Moves crowds between adjacent floors with no wait. Great for lobbies, shops and food courts. In Modern, people happily ride a long run of them.",
|
|
97
|
+
},
|
|
98
|
+
elevatorStandard: {
|
|
99
|
+
color: "#5a5a6a",
|
|
100
|
+
description: "Serves up to 30 floors with several cars. The backbone of any tower.",
|
|
101
|
+
},
|
|
102
|
+
elevatorService: {
|
|
103
|
+
color: "#4a4a52",
|
|
104
|
+
description: "Staff-only: housekeepers ride it to reach hotel floors; tenants and visitors never do. Cheap way to link service floors.",
|
|
105
|
+
},
|
|
106
|
+
elevatorExpress: {
|
|
107
|
+
color: "#3a3a8a",
|
|
108
|
+
description: "Stops at lobbies, sky lobbies and every basement floor. Essential for very tall towers.",
|
|
109
|
+
},
|
|
110
|
+
parkingRamp: {
|
|
111
|
+
color: "#6a6a6a",
|
|
112
|
+
description: "Basement car-ramp. Parking spaces must chain to a ramp to be usable.",
|
|
113
|
+
},
|
|
114
|
+
parking: {
|
|
115
|
+
color: "#888888",
|
|
116
|
+
description: "Basement parking. Must connect to a Parking Ramp. One space serves ~24 office workers (one per four offices), and every hotel suite needs a space of its own (VIPs drive).",
|
|
117
|
+
},
|
|
118
|
+
security: {
|
|
119
|
+
color: "#4f6f9f",
|
|
120
|
+
description: "Security office. Reduces crime/terrorist events and improves evaluation.",
|
|
121
|
+
},
|
|
122
|
+
medical: {
|
|
123
|
+
color: "#e0e0e8",
|
|
124
|
+
description: "Handles illness and emergencies. Required for high ratings in large towers.",
|
|
125
|
+
},
|
|
126
|
+
housekeeping: {
|
|
127
|
+
color: "#c0d0c0",
|
|
128
|
+
description: "Fields 6 maids who clean hotel rooms through the day shift so they can be rented again. Maids reach rooms by service elevator or stairs (never passenger elevators or escalators), so how many rooms they finish depends on placement and staff transport.",
|
|
129
|
+
},
|
|
130
|
+
recycling: {
|
|
131
|
+
color: "#7f9f5f",
|
|
132
|
+
description: "Basement facility that fills with the tower's daily waste: one center processes ~2,500 population; build more as you grow. A garbage truck collects each morning. From 3★, too little capacity lowers tenant ratings, and 4★ requires demand met.",
|
|
133
|
+
},
|
|
134
|
+
metro: {
|
|
135
|
+
color: "#9f7f5f",
|
|
136
|
+
description: "A whole-floor deep-basement subway station. Brings huge numbers of visitors to your tower.",
|
|
137
|
+
},
|
|
138
|
+
weddingHall: {
|
|
139
|
+
color: "#f3ecdc",
|
|
140
|
+
// It stands on the top floor the tower's catalog states (#1987).
|
|
141
|
+
description: (world) => `A grand wedding hall atop a 5-star tower: 28 tiles wide and five floors tall, standing on floor ${world.maxFloor}. Triggers the final TOWER evaluation.`,
|
|
142
|
+
},
|
|
143
|
+
rentalStudio: {
|
|
144
|
+
color: "#86c5a8",
|
|
145
|
+
description: "Modern: a small rented studio. Pays monthly rent you set; the easygoing tenant stays unless the tower gets truly bad. Modern only.",
|
|
146
|
+
},
|
|
147
|
+
rentalApartment: {
|
|
148
|
+
color: "#a8c06a",
|
|
149
|
+
description: "Modern: a rented apartment for a small household. Higher monthly rent you set, but noise, a bad commute, or over-high rent drives the tenant out. Modern only.",
|
|
150
|
+
},
|
|
151
|
+
};
|
|
152
|
+
/** The color a facility kind is drawn in. */
|
|
153
|
+
function facilityColor(kind) {
|
|
154
|
+
return FACILITY_PRESENTATION[kind].color;
|
|
155
|
+
}
|
|
156
|
+
/** The description the tool card shows for a facility kind on a tower whose
|
|
157
|
+
* catalog states `world`. */
|
|
158
|
+
function facilityDescription(kind, world) {
|
|
159
|
+
const description = FACILITY_PRESENTATION[kind].description;
|
|
160
|
+
return typeof description === "string" ? description : description(world);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export { FACILITY_PRESENTATION, facilityColor, facilityDescription };
|
|
164
|
+
//# sourceMappingURL=facilityPresentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facilityPresentation.js","sources":["../../src/presentation/facilityPresentation.ts"],"sourcesContent":["import type { CatalogWorld } from \"../catalog/catalogTypes\";\nimport type { FacilityKind } from \"../shared/types\";\n\n/**\n * How each facility looks and reads in the UI: its swatch and sprite color and\n * the tool card's description. Presentation only, so it lives outside the\n * engine (#921): prices, sizes and rules come from the tower's catalog.\n */\nexport interface FacilityPresentation {\n /** Hex color the palette swatch and the procedural sprites use. */\n readonly color: string;\n /** The tool card's one-paragraph description: fixed, or worded from the\n * tower's world for a facility that names where it stands. */\n readonly description: string | ((world: Pick<CatalogWorld, \"maxFloor\">) => string);\n}\n\nexport const FACILITY_PRESENTATION: Readonly<Record<FacilityKind, FacilityPresentation>> = {\n lobby: {\n color: \"#d8d2b0\",\n description: \"Ground-floor and sky lobbies. People pass through to reach elevators. Build every 15 floors.\",\n },\n floor: {\n color: \"#9a9486\",\n description: \"Structural floor space. Must exist before placing rooms.\",\n },\n office: {\n color: \"#6fb1d6\",\n description: \"Rents to a company. Workers arrive mornings, leave evenings. Pays quarterly rent.\",\n },\n condo: {\n color: \"#7ec97e\",\n description: \"Sold once to a resident family for a large lump sum. Residents live here permanently.\",\n },\n hotelSingle: {\n color: \"#e0b15e\",\n description: \"Hotel single. Guests check in at night, out in the morning. Needs housekeeping.\",\n },\n hotelDouble: {\n color: \"#e0a94e\",\n description: \"Hotel twin room. Higher nightly income than a single.\",\n },\n hotelSuite: {\n color: \"#d99a2e\",\n description: \"Luxury hotel suite. Best nightly income, demanding guests.\",\n },\n fastFood: {\n color: \"#e87b6e\",\n description: \"Quick dining. Busy at lunch. Income scales with foot traffic.\",\n },\n restaurant: {\n color: \"#d4564a\",\n description: \"Fine dining, busy at lunch and dinner. Needs good elevator access.\",\n },\n foodHall: {\n color: \"#e0965a\",\n description: \"Modern: a hall of food stalls. Earns from foot traffic and satisfies many cravings from one spot, so it covers a wide reach of hungry tenants.\",\n },\n shop: {\n color: \"#b58ad6\",\n description: \"Retail. Earns from shoppers passing by. Thrives near lobbies and offices.\",\n },\n cinema: {\n color: \"#8a6fd6\",\n description: \"A two-story movie theater. Draws large evening crowds; demands heavy transport capacity.\",\n },\n partyHall: {\n color: \"#cf7fb0\",\n description: \"A two-story rentable function space for events. Guests enter on the lower floor. Periodic income.\",\n },\n amusements: {\n color: \"#d24a9c\",\n description: \"Modern: an arcade and amusements hall (classic cabinets, VR, claw machines, mini-golf). Draws teens and families for games and earns from foot traffic, and is busier on weekends.\",\n },\n boutiqueBay: {\n color: \"#3aa88c\",\n description: \"Modern: a bay of small independent trades (florist, barber, phone repair, vintage, tattoo, record store, gallery). Earns from foot traffic and offers the widest variety of any single build, busier on weekends.\",\n },\n fitnessClub: {\n color: \"#4a86c8\",\n description: \"Modern: a members' gym (weight floor, yoga, spin, boxing, climbing). Pays a membership lease like an office, and nearby condos and apartments are happier for having it close (a bonus that fades with distance, which also lifts the ceiling a noisy or out-of-the-way home is held to).\",\n },\n clinic: {\n color: \"#5ab0c8\",\n description: \"Modern: a small health clinic (dental, urgent care, optometry, pharmacy, physio). Pays a lease like an office: a quiet, steady tenant.\",\n },\n nightclub: {\n color: \"#a24ad0\",\n description: \"Modern: a nightclub that fills after dark, earning when the office crowd is gone. Pays a monthly DJ booking, and while it is open its noise makes homes and hotel rooms on nearby floors unhappy overnight: keep it away from condos.\",\n },\n spa: {\n color: \"#5cc0a0\",\n description: \"Modern: a wellness spa (massage, sauna, hot tubs). Earns from foot traffic, busier on weekends, and hotel rooms on nearby floors rest better for it (a bonus that fades with distance and lifts a capped room's ceiling). It makes no noise for its neighbors.\",\n },\n skyBar: {\n color: \"#d89050\",\n description: \"Modern: a rooftop cocktail bar that fills in the evening. Earns from foot traffic, and the higher you place it the more it earns: the skyline view is the draw, so a bar up top pours far more than one down low.\",\n },\n aquaticCenter: {\n color: \"#33b0c2\",\n description: \"Modern: a two-story swimming pool complex. Like a cinema it earns from the crowd that comes to swim and lounge, filling with real visitors through the day, so it needs the transport to move them.\",\n },\n daycare: {\n color: \"#eeb63c\",\n description: \"Modern: a children's daycare. Earns from parents dropping off and collecting kids, busiest on weekdays when they are at work, and condos and apartments on nearby floors are happier for it, most of all the biggest families who lean on childcare the most (a bonus that grows with family size, fades over the next few floors and lifts a capped home's ceiling). It keeps working hours, so it makes no noise for its neighbors.\",\n },\n stairs: {\n color: \"#b0a890\",\n description: \"Cheap two-floor link: one tap places the whole flight. People will only climb a short distance.\",\n },\n escalator: {\n color: \"#c8c0a0\",\n description: \"Moves crowds between adjacent floors with no wait. Great for lobbies, shops and food courts. In Modern, people happily ride a long run of them.\",\n },\n elevatorStandard: {\n color: \"#5a5a6a\",\n description: \"Serves up to 30 floors with several cars. The backbone of any tower.\",\n },\n elevatorService: {\n color: \"#4a4a52\",\n description: \"Staff-only: housekeepers ride it to reach hotel floors; tenants and visitors never do. Cheap way to link service floors.\",\n },\n elevatorExpress: {\n color: \"#3a3a8a\",\n description: \"Stops at lobbies, sky lobbies and every basement floor. Essential for very tall towers.\",\n },\n parkingRamp: {\n color: \"#6a6a6a\",\n description: \"Basement car-ramp. Parking spaces must chain to a ramp to be usable.\",\n },\n parking: {\n color: \"#888888\",\n description: \"Basement parking. Must connect to a Parking Ramp. One space serves ~24 office workers (one per four offices), and every hotel suite needs a space of its own (VIPs drive).\",\n },\n security: {\n color: \"#4f6f9f\",\n description: \"Security office. Reduces crime/terrorist events and improves evaluation.\",\n },\n medical: {\n color: \"#e0e0e8\",\n description: \"Handles illness and emergencies. Required for high ratings in large towers.\",\n },\n housekeeping: {\n color: \"#c0d0c0\",\n description: \"Fields 6 maids who clean hotel rooms through the day shift so they can be rented again. Maids reach rooms by service elevator or stairs (never passenger elevators or escalators), so how many rooms they finish depends on placement and staff transport.\",\n },\n recycling: {\n color: \"#7f9f5f\",\n description: \"Basement facility that fills with the tower's daily waste: one center processes ~2,500 population; build more as you grow. A garbage truck collects each morning. From 3★, too little capacity lowers tenant ratings, and 4★ requires demand met.\",\n },\n metro: {\n color: \"#9f7f5f\",\n description: \"A whole-floor deep-basement subway station. Brings huge numbers of visitors to your tower.\",\n },\n weddingHall: {\n color: \"#f3ecdc\",\n // It stands on the top floor the tower's catalog states (#1987).\n description: (world) =>\n `A grand wedding hall atop a 5-star tower: 28 tiles wide and five floors tall, standing on floor ${world.maxFloor}. Triggers the final TOWER evaluation.`,\n },\n rentalStudio: {\n color: \"#86c5a8\",\n description: \"Modern: a small rented studio. Pays monthly rent you set; the easygoing tenant stays unless the tower gets truly bad. Modern only.\",\n },\n rentalApartment: {\n color: \"#a8c06a\",\n description: \"Modern: a rented apartment for a small household. Higher monthly rent you set, but noise, a bad commute, or over-high rent drives the tenant out. Modern only.\",\n },\n};\n\n/** The color a facility kind is drawn in. */\nexport function facilityColor(kind: FacilityKind): string {\n return FACILITY_PRESENTATION[kind].color;\n}\n\n/** The description the tool card shows for a facility kind on a tower whose\n * catalog states `world`. */\nexport function facilityDescription(kind: FacilityKind, world: Pick<CatalogWorld, \"maxFloor\">): string {\n const description = FACILITY_PRESENTATION[kind].description;\n return typeof description === \"string\" ? description : description(world);\n}\n\n"],"names":[],"mappings":"AAgBO,MAAM,qBAAqB,GAAyD;AACzF,IAAA,KAAK,EAAE;AACL,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,8FAA8F;AAC5G,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,0DAA0D;AACxE,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,mFAAmF;AACjG,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,uFAAuF;AACrG,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,iFAAiF;AAC/F,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,uDAAuD;AACrE,KAAA;AACD,IAAA,UAAU,EAAE;AACV,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,4DAA4D;AAC1E,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,+DAA+D;AAC7E,KAAA;AACD,IAAA,UAAU,EAAE;AACV,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,oEAAoE;AAClF,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,gJAAgJ;AAC9J,KAAA;AACD,IAAA,IAAI,EAAE;AACJ,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,2EAA2E;AACzF,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,0FAA0F;AACxG,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,mGAAmG;AACjH,KAAA;AACD,IAAA,UAAU,EAAE;AACV,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,oLAAoL;AAClM,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,mNAAmN;AACjO,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,2RAA2R;AACzS,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,wIAAwI;AACtJ,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,uOAAuO;AACrP,KAAA;AACD,IAAA,GAAG,EAAE;AACH,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,gQAAgQ;AAC9Q,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,mNAAmN;AACjO,KAAA;AACD,IAAA,aAAa,EAAE;AACb,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,qMAAqM;AACnN,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,uaAAua;AACrb,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,iGAAiG;AAC/G,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,iJAAiJ;AAC/J,KAAA;AACD,IAAA,gBAAgB,EAAE;AAChB,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,sEAAsE;AACpF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,0HAA0H;AACxI,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,yFAAyF;AACvG,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,sEAAsE;AACpF,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,4KAA4K;AAC1L,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,0EAA0E;AACxF,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,6EAA6E;AAC3F,KAAA;AACD,IAAA,YAAY,EAAE;AACZ,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,4PAA4P;AAC1Q,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,mPAAmP;AACjQ,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,4FAA4F;AAC1G,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,KAAK,EAAE,SAAS;;QAEhB,WAAW,EAAE,CAAC,KAAK,KACjB,CAAA,gGAAA,EAAmG,KAAK,CAAC,QAAQ,CAAA,sCAAA,CAAwC;AAC5J,KAAA;AACD,IAAA,YAAY,EAAE;AACZ,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,oIAAoI;AAClJ,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,WAAW,EAAE,gKAAgK;AAC9K,KAAA;;AAGH;AACM,SAAU,aAAa,CAAC,IAAkB,EAAA;AAC9C,IAAA,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC,KAAK;AAC1C;AAEA;AAC8B;AACxB,SAAU,mBAAmB,CAAC,IAAkB,EAAE,KAAqC,EAAA;IAC3F,MAAM,WAAW,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC,WAAW;AAC3D,IAAA,OAAO,OAAO,WAAW,KAAK,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC;AAC3E;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { LedgerCat } from "../shared/engineTypes";
|
|
2
|
+
/**
|
|
3
|
+
* The words the Statistics window prints for two things the engine reports by
|
|
4
|
+
* key: the income ledger's categories and the optional milestones. The engine
|
|
5
|
+
* answers which categories exist, their per-day averages and which milestones
|
|
6
|
+
* are done; the labels and descriptions stay here, as the engine's progress
|
|
7
|
+
* panel says. `statsCopy.test.ts` holds this copy to the keys the engine
|
|
8
|
+
* publishes in its view layout (`ledgerCats`, `milestones`).
|
|
9
|
+
*/
|
|
10
|
+
/** The income categories in display order. */
|
|
11
|
+
export declare const LEDGER_CATS: readonly LedgerCat[];
|
|
12
|
+
/** The income categories' names in the readout. */
|
|
13
|
+
export declare const LEDGER_LABELS: Readonly<Record<LedgerCat, string>>;
|
|
14
|
+
/** A milestone's title and what earns it. */
|
|
15
|
+
export interface MilestoneCopy {
|
|
16
|
+
label: string;
|
|
17
|
+
desc: string;
|
|
18
|
+
}
|
|
19
|
+
/** Each milestone's copy, keyed by the id the stats report answers. */
|
|
20
|
+
export declare const MILESTONE_COPY: ReadonlyMap<string, MilestoneCopy>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The words the Statistics window prints for two things the engine reports by
|
|
3
|
+
* key: the income ledger's categories and the optional milestones. The engine
|
|
4
|
+
* answers which categories exist, their per-day averages and which milestones
|
|
5
|
+
* are done; the labels and descriptions stay here, as the engine's progress
|
|
6
|
+
* panel says. `statsCopy.test.ts` holds this copy to the keys the engine
|
|
7
|
+
* publishes in its view layout (`ledgerCats`, `milestones`).
|
|
8
|
+
*/
|
|
9
|
+
/** The income categories in display order. */
|
|
10
|
+
const LEDGER_CATS = ["offices", "condos", "hotels", "retail", "food", "entertainment", "upkeep"];
|
|
11
|
+
/** The income categories' names in the readout. */
|
|
12
|
+
const LEDGER_LABELS = {
|
|
13
|
+
offices: "Offices",
|
|
14
|
+
condos: "Condos",
|
|
15
|
+
hotels: "Hotels",
|
|
16
|
+
retail: "Retail",
|
|
17
|
+
food: "Food",
|
|
18
|
+
entertainment: "Entertainment",
|
|
19
|
+
upkeep: "Upkeep",
|
|
20
|
+
};
|
|
21
|
+
/** Each milestone's copy, keyed by the id the stats report answers. */
|
|
22
|
+
const MILESTONE_COPY = new Map([
|
|
23
|
+
["pop-500", { label: "Getting Started", desc: "Reach 500 population." }],
|
|
24
|
+
["pop-2500", { label: "Rising", desc: "Reach 2,500 population." }],
|
|
25
|
+
["pop-7500", { label: "Metropolis", desc: "Reach 7,500 population." }],
|
|
26
|
+
["pop-12000", { label: "Almost There", desc: "Reach 12,000 population." }],
|
|
27
|
+
["star-4", { label: "Four Stars", desc: "Earn a 4-star rating." }],
|
|
28
|
+
["star-5", { label: "Five Stars", desc: "Earn a 5-star rating." }],
|
|
29
|
+
["cinema", { label: "Showtime", desc: "Run an operational cinema." }],
|
|
30
|
+
["metro", { label: "On the Map", desc: "Connect an operational Metro Station." }],
|
|
31
|
+
["skyline", { label: "Touch the Sky", desc: "Build up to the 100th floor." }],
|
|
32
|
+
["well-served", { label: "Smooth Operator", desc: "Reach 5,000 population with every occupied, tenant-bearing floor reachable." }],
|
|
33
|
+
["full-house", { label: "No Vacancy", desc: "Reach 2,000 population with no vacant offices, condos, or hotel rooms." }],
|
|
34
|
+
]);
|
|
35
|
+
|
|
36
|
+
export { LEDGER_CATS, LEDGER_LABELS, MILESTONE_COPY };
|
|
37
|
+
//# sourceMappingURL=statsCopy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statsCopy.js","sources":["../../src/presentation/statsCopy.ts"],"sourcesContent":["import type { LedgerCat } from \"../shared/engineTypes\";\n\n/**\n * The words the Statistics window prints for two things the engine reports by\n * key: the income ledger's categories and the optional milestones. The engine\n * answers which categories exist, their per-day averages and which milestones\n * are done; the labels and descriptions stay here, as the engine's progress\n * panel says. `statsCopy.test.ts` holds this copy to the keys the engine\n * publishes in its view layout (`ledgerCats`, `milestones`).\n */\n\n/** The income categories in display order. */\nexport const LEDGER_CATS: readonly LedgerCat[] = [\"offices\", \"condos\", \"hotels\", \"retail\", \"food\", \"entertainment\", \"upkeep\"];\n\n/** The income categories' names in the readout. */\nexport const LEDGER_LABELS: Readonly<Record<LedgerCat, string>> = {\n offices: \"Offices\",\n condos: \"Condos\",\n hotels: \"Hotels\",\n retail: \"Retail\",\n food: \"Food\",\n entertainment: \"Entertainment\",\n upkeep: \"Upkeep\",\n};\n\n/** A milestone's title and what earns it. */\nexport interface MilestoneCopy {\n label: string;\n desc: string;\n}\n\n/** Each milestone's copy, keyed by the id the stats report answers. */\nexport const MILESTONE_COPY: ReadonlyMap<string, MilestoneCopy> = new Map<string, MilestoneCopy>([\n [\"pop-500\", { label: \"Getting Started\", desc: \"Reach 500 population.\" }],\n [\"pop-2500\", { label: \"Rising\", desc: \"Reach 2,500 population.\" }],\n [\"pop-7500\", { label: \"Metropolis\", desc: \"Reach 7,500 population.\" }],\n [\"pop-12000\", { label: \"Almost There\", desc: \"Reach 12,000 population.\" }],\n [\"star-4\", { label: \"Four Stars\", desc: \"Earn a 4-star rating.\" }],\n [\"star-5\", { label: \"Five Stars\", desc: \"Earn a 5-star rating.\" }],\n [\"cinema\", { label: \"Showtime\", desc: \"Run an operational cinema.\" }],\n [\"metro\", { label: \"On the Map\", desc: \"Connect an operational Metro Station.\" }],\n [\"skyline\", { label: \"Touch the Sky\", desc: \"Build up to the 100th floor.\" }],\n [\"well-served\", { label: \"Smooth Operator\", desc: \"Reach 5,000 population with every occupied, tenant-bearing floor reachable.\" }],\n [\"full-house\", { label: \"No Vacancy\", desc: \"Reach 2,000 population with no vacant offices, condos, or hotel rooms.\" }],\n]);\n"],"names":[],"mappings":"AAEA;;;;;;;AAOG;AAEH;AACO,MAAM,WAAW,GAAyB,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ;AAE5H;AACO,MAAM,aAAa,GAAwC;AAChE,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,aAAa,EAAE,eAAe;AAC9B,IAAA,MAAM,EAAE,QAAQ;;AASlB;AACO,MAAM,cAAc,GAAuC,IAAI,GAAG,CAAwB;IAC/F,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;IACxE,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;IAClE,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;IACtE,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;IAC1E,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;IAClE,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;IAClE,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC;IACrE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,uCAAuC,EAAE,CAAC;IACjF,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;IAC7E,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,6EAA6E,EAAE,CAAC;IAClI,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,wEAAwE,EAAE,CAAC;AACxH,CAAA;;"}
|