Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/thatstupidcomputer / apps/web/src/animation/office/catalog.ts |
| Date | Not specified in source |
| Repository | Janady13/thatstupidcomputer |
| Revision | 57555cde46910102dd25d6c1c1fb2c359e9655bd |
| Branch | main |
| Path or archive member | apps/web/src/animation/office/catalog.ts |
| Original SHA-256 | c6ad07925b37fbfb213ecb451ecf701ea8ea40fa2f4d01e1f3437b480f4ff18b |
| Git blob SHA | 1a0423b5f7f6e91116e8e0c8e939715f91565418 |
| Reading-copy SHA-256 | c6ad07925b37fbfb213ecb451ecf701ea8ea40fa2f4d01e1f3437b480f4ff18b |
Recovered source transcript
Download complete source text ↓570 lines · 11.8 KB
import type { RoomItem, RoomEffects, RoomPalette, CharacterPlacement } from './types';
export const LAYERS = ["architecture", "wall", "furniture", "desktop", "character", "foreground", "atmosphere"] as const;
export const ROOM_SIZE = { width: 1648, height: 928 } as const;
export const DEFAULT_PALETTE: RoomPalette = {"paper": "#F4E5C4", "ink": "#29261F", "rust": "#C97038"};
export const DEFAULT_EFFECTS: RoomEffects = { breeze: true, steam: true, clock: true, lighting: true, dust: true, instruments: true };
export const DEFAULT_CHARACTER: CharacterPlacement = { visible: true, parent: 'workbench', x: 382, y: -321, scale: 0.33, rotation: 0, state: 'idle', intensity: 1 };
export const DEFAULT_OBJECTS: readonly RoomItem[] = [
{
"id": "wall",
"kind": "wall",
"label": "Wall / uninterrupted backing",
"layer": "architecture",
"x": 0,
"y": 0,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "architecture",
"parent": null,
"stack": "over"
},
{
"id": "floor",
"kind": "floor",
"label": "Floor / complete surface",
"layer": "architecture",
"x": 0,
"y": 666,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "architecture",
"parent": null,
"stack": "over"
},
{
"id": "baseboard",
"kind": "baseboard",
"label": "Baseboard",
"layer": "architecture",
"x": 0,
"y": 629,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "architecture",
"parent": null,
"stack": "over"
},
{
"id": "outside",
"kind": "outside",
"label": "View through the window",
"layer": "wall",
"x": 10,
"y": 8,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": "window",
"stack": "under"
},
{
"id": "window",
"kind": "window",
"label": "Window frame and sill",
"layer": "wall",
"x": 28,
"y": -8,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": null,
"stack": "over"
},
{
"id": "blinds",
"kind": "blinds",
"label": "Venetian blinds / separate slats",
"layer": "wall",
"x": 9,
"y": 8,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": "window",
"stack": "over"
},
{
"id": "bulletin-board",
"kind": "bulletin-board",
"label": "Noticeboard / intact cork backing",
"layer": "wall",
"x": 628,
"y": 7,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": null,
"stack": "over"
},
{
"id": "board-blueprint",
"kind": "board-blueprint",
"label": "Pinned technical drawing",
"layer": "wall",
"x": 38,
"y": 57,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": "bulletin-board",
"stack": "over"
},
{
"id": "board-reminder",
"kind": "board-reminder",
"label": "Pinned curled checklist",
"layer": "wall",
"x": 247,
"y": 107,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": "bulletin-board",
"stack": "over"
},
{
"id": "board-smile",
"kind": "board-smile",
"label": "Smiley note",
"layer": "wall",
"x": 42,
"y": 216,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": "bulletin-board",
"stack": "over"
},
{
"id": "board-photo",
"kind": "board-photo",
"label": "Pinned landscape illustration",
"layer": "wall",
"x": 362,
"y": 168,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": "bulletin-board",
"stack": "over"
},
{
"id": "board-small-note",
"kind": "board-small-note",
"label": "Small pinned note",
"layer": "wall",
"x": 372,
"y": 46,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": "bulletin-board",
"stack": "over"
},
{
"id": "clock",
"kind": "clock",
"label": "Wall clock / independent hands",
"layer": "wall",
"x": 1250,
"y": 145,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": null,
"stack": "over"
},
{
"id": "shelf",
"kind": "shelf",
"label": "Wall shelf / two brackets",
"layer": "wall",
"x": 1376,
"y": 174,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": null,
"stack": "over"
},
{
"id": "binders",
"kind": "binders",
"label": "Shelf binders / blank spines",
"layer": "wall",
"x": 197,
"y": -173,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": "shelf",
"stack": "over"
},
{
"id": "shelf-plant",
"kind": "shelf-plant",
"label": "Trailing shelf plant / articulated leaves",
"layer": "wall",
"x": 119,
"y": -10,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "wall",
"parent": "shelf",
"stack": "over"
},
{
"id": "filing-cabinet",
"kind": "filing-cabinet",
"label": "Tall filing cabinet / independent drawers",
"layer": "furniture",
"x": 1510,
"y": 286,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "furniture",
"parent": null,
"stack": "over"
},
{
"id": "outlet",
"kind": "outlet",
"label": "Wall outlet and plugged lead",
"layer": "architecture",
"x": 274,
"y": 411,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "architecture",
"parent": null,
"stack": "over"
},
{
"id": "workbench",
"kind": "workbench",
"label": "Workbench / complete tabletop and legs",
"layer": "furniture",
"x": 285,
"y": 419,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "furniture",
"parent": null,
"stack": "over"
},
{
"id": "desk-pedestal",
"kind": "desk-pedestal",
"label": "Desk pedestal / open drawer cavities",
"layer": "furniture",
"x": 869,
"y": 95,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "furniture",
"parent": "workbench",
"stack": "over"
},
{
"id": "drawer-top",
"kind": "drawer-top",
"label": "Desk drawer / upper",
"layer": "furniture",
"x": 17,
"y": 6,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "furniture",
"parent": "desk-pedestal",
"stack": "over"
},
{
"id": "drawer-bottom",
"kind": "drawer-bottom",
"label": "Desk drawer / lower + contents",
"layer": "furniture",
"x": 15,
"y": 98,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "furniture",
"parent": "desk-pedestal",
"stack": "over"
},
{
"id": "desk-lamp",
"kind": "desk-lamp",
"label": "Articulated desk lamp",
"layer": "desktop",
"x": 114,
"y": 0,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "desk-plant",
"kind": "desk-plant",
"label": "Desk plant / independent leaves",
"layer": "desktop",
"x": 245,
"y": -1,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "coffee-mug",
"kind": "coffee-mug",
"label": "Coffee mug / separate steam wisps",
"layer": "desktop",
"x": 335,
"y": 11,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "soldering-station",
"kind": "soldering-station",
"label": "Soldering station / lead and iron",
"layer": "desktop",
"x": 169,
"y": 45,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "tape-roll",
"kind": "tape-roll",
"label": "Tape roll",
"layer": "desktop",
"x": 269,
"y": 25,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "parts-organizer",
"kind": "parts-organizer",
"label": "Small-parts organizer / twelve drawers",
"layer": "desktop",
"x": 888,
"y": -107,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "storage-boxes",
"kind": "storage-boxes",
"label": "Stacked parts boxes",
"layer": "desktop",
"x": 1007,
"y": 13,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "pencil-cup",
"kind": "pencil-cup",
"label": "Pencil cup / individual pens",
"layer": "desktop",
"x": 853,
"y": 9,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "desk-paper",
"kind": "desk-paper",
"label": "Loose desk drawing / curled corner",
"layer": "desktop",
"x": 865,
"y": 34,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "screwdriver",
"kind": "screwdriver",
"label": "Bench screwdriver",
"layer": "desktop",
"x": 1093,
"y": 43,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "loose-hardware",
"kind": "loose-hardware",
"label": "Loose screws and nuts",
"layer": "desktop",
"x": 275,
"y": 47,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "workbench",
"stack": "over"
},
{
"id": "tool-cart",
"kind": "tool-cart",
"label": "Rolling service cart / open shelves",
"layer": "furniture",
"x": 0,
"y": 541,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "furniture",
"parent": null,
"stack": "over"
},
{
"id": "test-meter",
"kind": "test-meter",
"label": "Bench test meter / needle",
"layer": "desktop",
"x": 7,
"y": -84,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "tool-cart",
"stack": "over"
},
{
"id": "cart-tool-cup",
"kind": "cart-tool-cup",
"label": "Cart hand tools / individual handles",
"layer": "desktop",
"x": 170,
"y": -10,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "desktop",
"parent": "tool-cart",
"stack": "over"
},
{
"id": "cart-box",
"kind": "cart-box",
"label": "Cart storage box",
"layer": "foreground",
"x": 92,
"y": 108,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "foreground",
"parent": "tool-cart",
"stack": "over"
},
{
"id": "cable-reel",
"kind": "cable-reel",
"label": "Hanging cable / independent coil",
"layer": "foreground",
"x": 79,
"y": 20,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "foreground",
"parent": "tool-cart",
"stack": "over"
},
{
"id": "floor-box",
"kind": "floor-box",
"label": "Foreground document box / removable folders",
"layer": "foreground",
"x": 1481,
"y": 694,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "foreground",
"parent": null,
"stack": "over"
},
{
"id": "air-dust",
"kind": "air-dust",
"label": "Air / a few editable dust motes",
"layer": "atmosphere",
"x": 0,
"y": 0,
"scale": 1,
"rotation": 0,
"visible": true,
"category": "atmosphere",
"parent": null,
"stack": "over"
}
];