threedog 2.0.0 → 2.1.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.
Files changed (97) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/core/assets/assetEntry.js +1 -1
  3. package/core/assets/assetPart.js +1 -1
  4. package/core/base/events.generated.js +1 -2
  5. package/core/engine/Engine.js +9 -5
  6. package/core/engine/copies.js +1 -1
  7. package/core/engine/modules.js +4 -4
  8. package/core/engine/services.js +5 -4
  9. package/core/inspect/DebugOverrides.js +2 -2
  10. package/core/inspect/describeRender.js +0 -7
  11. package/core/inspect/metadata.generated.js +106 -36
  12. package/core/inspect/pictureChecks.js +2 -27
  13. package/core/ops/sharedPoint.js +11 -2
  14. package/core/saves/saveApply.js +1 -1
  15. package/core/scene/adaptive.js +3 -2
  16. package/core/scene/pixelRatio.js +39 -17
  17. package/core/scene/sceneMethods.js +1 -1
  18. package/core/scene/tier.js +2 -33
  19. package/core/scene/view.js +14 -0
  20. package/core/time/skip.js +1 -1
  21. package/docs/CODEMAP.md +3 -3
  22. package/docs/api/ambience.md +2 -2
  23. package/docs/api/cameraRig.md +7 -0
  24. package/docs/api/engine.md +1 -1
  25. package/docs/api/events.md +1 -2
  26. package/docs/api/photo.md +5 -0
  27. package/docs/api/sky.md +10 -0
  28. package/docs/api/terrain.md +19 -0
  29. package/docs/api/tools.md +1 -1
  30. package/docs/recipes/05-props-bake.md +1 -1
  31. package/docs/recipes/07-flow-scenes-pause.md +3 -3
  32. package/docs/recipes/09-materials-lights-models.md +1 -1
  33. package/docs/recipes/14-custom-module.md +1 -1
  34. package/docs/recipes/15-perf.md +1 -1
  35. package/docs/recipes/16-dev-bridge.md +1 -1
  36. package/docs/recipes/18-world.md +1 -1
  37. package/docs/recipes/26-ui-parts.md +2 -2
  38. package/docs/recipes/40-scene.md +1 -1
  39. package/docs/recipes/51-capability-catalog.md +1 -1
  40. package/docs/recipes/52-around-the-picture.md +2 -2
  41. package/docs/recipes/55-mods-time-wrap.md +3 -3
  42. package/docs/recipes/57-control.md +1 -1
  43. package/docs/recipes/59-depth-post-effects.md +1 -1
  44. package/docs/recipes/60-judge-the-picture.md +5 -5
  45. package/examples/techniques/interior-light/README.md +1 -1
  46. package/examples/techniques/night-lights/README.md +1 -1
  47. package/examples/techniques/outlines-and-rim/README.md +1 -1
  48. package/examples/techniques/procedural-animation/README.md +1 -1
  49. package/examples/techniques/procedural-surface/README.md +1 -1
  50. package/examples/techniques/wet-road/README.md +1 -1
  51. package/modules/camera/contract.js +1 -1
  52. package/modules/characters/mover.contract.js +1 -1
  53. package/modules/characters/movers/rapier.js +7 -9
  54. package/modules/characters/player.js +1 -1
  55. package/modules/collision/Collision.js +1 -1
  56. package/modules/collision/grid.js +1 -1
  57. package/modules/content/index.js +2 -2
  58. package/modules/content/models.js +1 -1
  59. package/modules/flow/index.js +3 -3
  60. package/modules/gameplay/inventory.contract.js +1 -1
  61. package/modules/grid/tiles.js +6 -3
  62. package/modules/level/contract.js +2 -2
  63. package/modules/particles/Particles.js +1 -2
  64. package/modules/photo/pathTrace.js +1 -1
  65. package/modules/rigid/RigidBodies.js +13 -0
  66. package/modules/rigid/ragdoll.js +1 -1
  67. package/modules/settings/Settings.js +3 -2
  68. package/modules/settings/apply.js +4 -3
  69. package/modules/settings/sections.js +1 -1
  70. package/modules/sky/environment.js +1 -1
  71. package/modules/terrain/index.js +1 -2
  72. package/modules/timeline/Timeline.js +8 -4
  73. package/modules/vegetation/Vegetation.js +1 -1
  74. package/modules/vegetation/index.js +1 -1
  75. package/modules/weather/weatherDraw.js +1 -2
  76. package/package.json +1 -1
  77. package/render/PostFX.js +7 -7
  78. package/render/lightmap.js +1 -1
  79. package/render/lights.js +1 -2
  80. package/render/neutral.js +1 -1
  81. package/render/patches.js +3 -3
  82. package/render/probes.js +27 -2
  83. package/render/shaderErrors.js +1 -1
  84. package/render/shadows.js +1 -3
  85. package/types/core.d.ts +2 -4
  86. package/types/gameplay.d.ts +7 -2
  87. package/types/generated/ui/UI.d.ts +2 -1
  88. package/types/world.d.ts +4 -2
  89. package/ui/UI.js +18 -14
  90. package/ui/cursor.js +2 -2
  91. package/examples/action/.threedog/content-index.json +0 -1
  92. package/examples/perf-island/.threedog/content-index.json +0 -1
  93. package/examples/plain-picture/.threedog/content-index.json +0 -1
  94. package/examples/rc2d/.threedog/content-index.json +0 -1
  95. package/examples/styletest/.threedog/content-index.json +0 -1
  96. package/examples/webgpu-tsl/.threedog/content-index.json +0 -1
  97. package/examples/world/.threedog/content-index.json +0 -1
package/render/probes.js CHANGED
@@ -16,8 +16,33 @@ import { codedError, coded } from '../core/base/errorHints.js';
16
16
  import { warnOnce, fmt } from '../core/base/validate.js';
17
17
  import { vec3 } from '../core/base/math.js';
18
18
  import { isWebGPU, webgpuPart, freshFrame, readLayer, onRendererSwap } from './backend.js';
19
- import { mats, lit } from './lit.js';
20
- import { litTwice } from '../core/inspect/pictureChecks.js';
19
+ import { mats, lit, noteFillLight, noteEnvironment } from './lit.js';
20
+
21
+ /**
22
+ * Baked light (a probe set or a lightmap) plus a light the bake already saw: that light counts twice. Said at load time by
23
+ * probes.js and lightmap.js, and again by the picture check (the same words). @param {any} e @returns {string | null}
24
+ */
25
+ export function litTwice(e) {
26
+ const probes = !!e._probeSets?.size, lightmap = !!e._lightmap;
27
+ if (!probes && !lightmap) return null;
28
+ const doubled = [];
29
+ let mapped = 0;
30
+ e.scene.traverseVisible(o => {
31
+ if (noteFillLight(o, doubled)) return;
32
+ if (lightmap && o.isLightProbeGrid) doubled.push(`probe grid ${o.name}`); // the lightmap baked the bounce the grid adds again
33
+ else if (probes && !lightmap && o.isMesh && mats(o).some(m => m?.lightMap)) mapped++; // a game's own lightMap under a probe grid
34
+ });
35
+ noteEnvironment(e.scene, doubled);
36
+ if (mapped) doubled.push(`material.lightMap on ${mapped} mesh(es)`);
37
+ if (!doubled.length) return null;
38
+ const what = [probes && 'probe', lightmap && 'lightmap'].filter(Boolean).join(' and ');
39
+ const list = doubled.slice(0, 2).join(', ') + (doubled.length > 2 ? ` and ${doubled.length - 2} more` : '');
40
+ if (!bakeSeenScene(e)) return `${what} light is added on top of ${list}. If the bake saw it, it counts twice (a loaded file does not say which lights it saw). Fix: lower it where the bake takes over, or bake without it.`;
41
+ return `${what} light is added on top of ${list}, which the bake already saw, so it counts twice. Fix: lower it where the bake takes over, or bake without it.`;
42
+ }
43
+
44
+ /** True only when every baked light came from a bake made in this session (engine.bakeProbes): it saw this scene's lights. A loaded file or a lightmap carries no record of them */
45
+ export const bakeSeenScene = e => !e._lightmap && [...(e._probeSets ?? [])].every(s => s.source === 'bake');
21
46
 
22
47
  const FORMAT = 'threedog-probes', VERSION = 2, MAX_PROBES = 4096, SH = 27;
23
48
  const CHUNK = 8; // probes baked per turn of the event loop, so the page keeps drawing during a long bake
@@ -157,7 +157,7 @@ function explainBuildError(message) {
157
157
  }
158
158
 
159
159
  let consoleHooked = false;
160
- /** Wrap three's console function once per page: three's message as before, then the explanation for a pipeline failure */
160
+ /** Wrap three's console function once per page: three's own message first, then the explanation for a pipeline failure */
161
161
  function hookThreeConsole() {
162
162
  if (consoleHooked) return;
163
163
  consoleHooked = true;
package/render/shadows.js CHANGED
@@ -14,7 +14,6 @@ import { warnOnce, fmt } from '../core/base/validate.js';
14
14
  import { readParams } from '../core/base/params.js';
15
15
  import { defineOwned, dropOwned, ownedRow } from '../core/ops/owned.js';
16
16
  import { isWebGPU, onRendererSwap, setShadowUpdate, shadowsOn, webgpuPart } from './backend.js';
17
- import { onTierChange } from '../core/scene/tier.js';
18
17
  import { CASCADE_DEFAULTS, CASCADE_SPLITS, createCascades, dropCascades, includeInCascades } from './cascades.js';
19
18
 
20
19
  const WHERE = 'engine.shadows.cascades';
@@ -202,7 +201,6 @@ function ownBudget(e, light, first) {
202
201
  function switchShadows(e, on) {
203
202
  e.renderer.shadowMap.enabled = on;
204
203
  e.scene.traverse(o => { if (o.material) [].concat(o.material).forEach(m => { m.needsUpdate = true; }); });
205
- e.events.emit('settings:shadows', on);
206
204
  }
207
205
 
208
206
  /** The running handle's cascades. The WebGL half keeps what the game wrote apart from the placement; see the header */
@@ -257,7 +255,7 @@ function ownCascades(e, light, first, gameExtent = () => undefined) {
257
255
  };
258
256
  sync(); // first, so a request that throws (a bad split callback) returns no handle and leaves no listener behind
259
257
  const swap = onRendererSwap(e, () => { if (c?.isCascadeNode) { off(); sync(); } }); // fallback 'webgl': the shadow node has no meaning on the new renderer
260
- const tier = onTierChange(e, sync); // the map count reads engine.tier: a preset switched while running rebuilds once (sync's key skips the rest)
258
+ const tier = e.stacks.get('tier').watch(sync); // the map count reads engine.tier: a preset switched while running rebuilds once (sync's key skips the rest)
261
259
  return {
262
260
  frame() {
263
261
  box?.frame();
package/types/core.d.ts CHANGED
@@ -82,8 +82,6 @@ export interface EventMap extends GameEvents {
82
82
  'ui:open': [id: string];
83
83
  /** A window was closed */
84
84
  'ui:close': [id: string];
85
- /** Shadows were toggled */
86
- 'settings:shadows': [on: boolean];
87
85
  /** A value in the settings menu changed (the argument is all setting values) */
88
86
  'settings:change': [values: Record<string, any>];
89
87
  /** engine.tier changed (device found at start, a preset, a write): resize what was sized from it */
@@ -236,7 +234,7 @@ export interface EventMap extends GameEvents {
236
234
  'engine:error': [EngineError];
237
235
  /** A picture or ui module errored and was disabled (the game continues) */
238
236
  'module:disabled': [{ name: string; message: string }];
239
- 'module:restored': [{ modules: any[] }];
237
+ 'module:fresh': [{ modules: any[] }];
240
238
  /** An atomic op failed and its parts were put back (its own events already went out and stay): read derived state again. Not sent for a load's rollback (that ends in state:replaced) */
241
239
  'op:rolledBack': [{ op: string; parts: number }];
242
240
  /** @internal The state was replaced by something other than a step, from any door (core/saves/stateReplace.js); undone: a failed load put the old state back */
@@ -2164,7 +2162,7 @@ export declare class Engine {
2164
2162
  loadLightmap(file: string | ArrayBuffer, opts?: { owner?: string }): Promise<Lightmap>;
2165
2163
 
2166
2164
  // ---------- Settings ----------
2167
- /** Render resolution, and the top adaptive resolution climbs back to. Throws while pixelSize is on */
2165
+ /** Render resolution, and the top adaptive resolution climbs back to. A ratio the player chose in settings below the device default caps it. Throws while pixelSize is on */
2168
2166
  setPixelRatio(p: number): void;
2169
2167
  /**
2170
2168
  * One art pixel becomes k real screen pixels (createEngine({ pixelSize }) at runtime). While on, adaptive resolution stops, engine.setPixelRatio throws and a photo keeps
@@ -1703,8 +1703,13 @@ export interface Photo {
1703
1703
  // Ambience (engine.ambience) is generated from the JSDoc in modules/ambience/Ambience.js (npm run map); only the type is re-exported here
1704
1704
  import type { Ambience } from './generated/modules/ambience/Ambience';
1705
1705
  export type { Ambience };
1706
- /** ambience() options: rules (the rule table; added after createEngine({ audio: { ambience } })), interval seconds between rule checks (0.25) */
1707
- export interface AmbienceOptions { rules?: import('./core').AmbienceRule[]; interval?: number }
1706
+ /** ambience() options */
1707
+ export interface AmbienceOptions {
1708
+ /** Rules added after the ones in createEngine({ audio: { ambience } }) */
1709
+ rules?: import('./core').AmbienceRule[];
1710
+ /** Seconds between rule checks, default 0.25 */
1711
+ interval?: number;
1712
+ }
1708
1713
  // DebugPanel (engine.debug) is generated from the JSDoc in modules/debug/DebugPanel.js (npm run map); only the type is re-exported here
1709
1714
  import type { DebugPanel } from './generated/modules/debug/DebugPanel';
1710
1715
  export type { DebugPanel };
@@ -44,11 +44,12 @@ export function worldToScreen(engine: Engine, pos: PositionLike): ScreenPoint;
44
44
  * fadeScreen(engine, 1, 0.5) throws in dev: fadeScreen(engine, 1, { seconds: 0.5 })
45
45
  * @param {Engine} engine
46
46
  * @param {number} to 0 clear ... 1 fully covered
47
- * @param {{ seconds?: number }} [opts]
47
+ * @param {{ seconds?: number, owner?: string }} [opts] owner: who holds this cover (default 'game'); a transition or a cutscene does not clear a cover another owner holds
48
48
  * @returns {Promise<void>}
49
49
  */
50
50
  export function fadeScreen(engine: Engine, to: number, opts?: {
51
51
  seconds?: number;
52
+ owner?: string;
52
53
  }): Promise<void>;
53
54
  export function iconHTML(def: any): string;
54
55
  import type { Engine } from '../../core';
package/types/world.d.ts CHANGED
@@ -535,8 +535,10 @@ export interface SkyPictureOptions {
535
535
  sunGlow?: number;
536
536
  /** Sun brightness, default 6 @experimental */
537
537
  sunBrightness?: number;
538
- /** @experimental */ moonColor?: ColorLike;
539
- /** @experimental */ moonBrightness?: number;
538
+ /** Color of the moon disk drawn at night, default 0xdcdcdc @experimental */
539
+ moonColor?: ColorLike;
540
+ /** Brightness of the moon disk drawn at night, default 3 @experimental */
541
+ moonBrightness?: number;
540
542
  /** Share of the sky grid cells (0-1) that hold a star at night, default 0.0025 (0 = no stars). A probability, not a brightness: near 1 every cell is lit and the upper sky turns into a white sheet. */
541
543
  starDensity?: number;
542
544
  /**
package/ui/UI.js CHANGED
@@ -11,7 +11,7 @@ import { injectUICSS } from './theme.js';
11
11
  import { codedError } from '../core/base/errorHints.js';
12
12
  import { uiAfter } from '../core/time/uiClock.js';
13
13
  import { readParams, keysSchema } from '../core/base/params.js';
14
- const FADE_SCREEN_KEYS = ['seconds'];
14
+ const FADE_SCREEN_KEYS = ['seconds', 'owner'];
15
15
  /** @import { Engine } from '../types/core' */
16
16
  /** @import { PositionLike, Object3D } from '../types/common' */
17
17
  /** @import { UIWindow, WindowOptions, ScreenPoint } from '../types/gameplay' */
@@ -142,36 +142,40 @@ export function placeAt(el, x, y) {
142
142
  if (el.style.top !== top) el.style.top = top;
143
143
  }
144
144
 
145
- const fades = new WeakMap(); // engine → { el, value, from, to, t, d, done }
146
- // color --threedog-fade-bg. Follows engine frames (step() advances it too; stops while the loop is halted). A new fade interrupts the old (the old Promise resolves at once).
145
+ const fades = new WeakMap(); // engine → { el, by: Map<owner, { owner, value, from, to, t, d, done }> }
146
+ // color --threedog-fade-bg. Follows engine frames (step() advances it too; stops while the loop is halted). Each owner has its own cover; the screen shows the darkest. A new fade by the same owner interrupts its own old one (that Promise resolves at once).
147
147
  // Scene transitions use engine.flow.transition and cutscenes use the timeline's { fade: seconds, to } step; both go through here.
148
148
  /**
149
149
  * Fade the whole screen to `to` (0 clear ... 1 fully covered) over `seconds` (default 0.5); the Promise resolves when the fade ends.
150
150
  * fadeScreen(engine, 1, 0.5) throws in dev: fadeScreen(engine, 1, { seconds: 0.5 })
151
151
  * @param {Engine} engine
152
152
  * @param {number} to 0 clear ... 1 fully covered
153
- * @param {{ seconds?: number }} [opts]
153
+ * @param {{ seconds?: number, owner?: string }} [opts] owner: who holds this cover (default 'game'); a transition or a cutscene does not clear a cover another owner holds
154
154
  * @returns {Promise<void>}
155
155
  */
156
156
  export function fadeScreen(engine, to, opts) {
157
- const { seconds = 0.5 } = readParams('fadeScreen()', keysSchema(FADE_SCREEN_KEYS), opts);
157
+ const { seconds = 0.5, owner = 'game' } = readParams('fadeScreen()', keysSchema(FADE_SCREEN_KEYS), opts);
158
158
  injectUICSS();
159
- let f = fades.get(engine);
160
- if (!f) {
159
+ let s = fades.get(engine);
160
+ if (!s) {
161
161
  const el = document.createElement('div'); el.className = 'threedog-fade'; engine.uiRoot.appendChild(el);
162
- f = { el, value: 0, from: 0, to: 0, t: 0, d: 0, done: null };
163
- fades.set(engine, f);
164
- engine.onFrame(dt => { if (f.done) { f.t += dt; set(f, f.t >= f.d ? 1 : f.t / f.d); } });
162
+ s = { el, by: new Map() };
163
+ fades.set(engine, s);
164
+ engine.onFrame(dt => { for (const f of [...s.by.values()]) if (f.done) { f.t += dt; set(s, f, f.t >= f.d ? 1 : f.t / f.d); } });
165
165
  }
166
+ let f = s.by.get(owner);
167
+ if (!f) s.by.set(owner, f = { owner, value: 0, from: 0, to: 0, t: 0, d: 0, done: null });
166
168
  f.done?.();
167
169
  Object.assign(f, { from: f.value, to, t: 0, d: seconds, done: null });
168
170
  const p = new Promise(res => { f.done = () => { f.done = null; res(); }; });
169
- if (seconds <= 0) set(f, 1);
171
+ if (seconds <= 0) set(s, f, 1);
170
172
  return p;
171
173
  }
172
- function set(f, k) {
174
+ function set(s, f, k) {
173
175
  f.value = f.from + (f.to - f.from) * k;
174
- f.el.style.setProperty('--threedog-fade', f.value);
175
- f.el.classList.toggle('is-on', f.value > 0.01);
176
+ if (k >= 1 && f.value <= 0) s.by.delete(f.owner); // a cleared owner holds nothing
177
+ const top = Math.max(0, ...[...s.by.values()].map(x => x.value));
178
+ s.el.style.setProperty('--threedog-fade', top);
179
+ s.el.classList.toggle('is-on', top > 0.01);
176
180
  if (k >= 1) f.done?.();
177
181
  }
package/ui/cursor.js CHANGED
@@ -12,13 +12,13 @@ const DIRS = { uiUp: [0, -1], uiDown: [0, 1], uiLeft: [-1, 0], uiRight: [1, 0] }
12
12
  const STICK = 0.5, REPEAT_FIRST = 0.4, REPEAT = 0.15; // stick: half tilt counts, held it repeats like a key (first after 0.4 s, then every 0.15 s)
13
13
 
14
14
  /** Visible controls inside root, in DOM order (hidden ones have no client rects) @internal */
15
- export function navItems(root) {
15
+ function navItems(root) {
16
16
  if (!root || root.hidden) return [];
17
17
  return [...root.querySelectorAll(SEL)].filter(el => el.getClientRects().length > 0);
18
18
  }
19
19
 
20
20
  /** The direction pressed this frame ([dx, dy], screen y down) from the menu keys or the stick (edge + repeat), or null @internal */
21
- export function readDir(input, st, dt) {
21
+ function readDir(input, st, dt) {
22
22
  for (const [a, d] of Object.entries(DIRS)) if (input.actions.has(a) && input.pressedRaw(a)) return d;
23
23
  const s = input.padStick, x = Math.abs(s.x) >= STICK ? Math.sign(s.x) : 0, y = Math.abs(s.y) >= STICK ? -Math.sign(s.y) : 0; // padStick.y is up-positive
24
24
  const d = Math.abs(s.x) > Math.abs(s.y) ? (x ? [x, 0] : null) : (y ? [0, y] : null);
@@ -1 +0,0 @@
1
- {"version":1,"files":{"content/actions.js":{"kind":"actions","mtime":1794404132033.9805,"size":481,"from":0,"count":4,"indexIds":0,"positional":[]},"content/audio.js":{"kind":"audio","mtime":1794404132035.9958,"size":430,"from":0,"count":1,"indexIds":0,"positional":[]},"content/items.js":{"kind":"items","mtime":1794404132040.0073,"size":204,"from":0,"count":1,"indexIds":0,"positional":[]},"content/places.js":{"kind":"places","mtime":1794404132042.007,"size":209,"from":0,"count":1,"indexIds":0,"positional":[]},"content/props.js":{"kind":"props","mtime":1794404132043.01,"size":707,"from":0,"count":8,"indexIds":0,"positional":[]},"content/templates.js":{"kind":"templates","mtime":1794404132046.5588,"size":835,"from":0,"count":4,"indexIds":0,"positional":[]},"content/views.js":{"kind":"views","mtime":1794404132049.1821,"size":539,"from":0,"count":2,"indexIds":0,"positional":[]}},"ids":{"attack":[{"file":"content/actions.js","kind":"actions","line":4,"placed":false}],"retry":[{"file":"content/actions.js","kind":"actions","line":5,"placed":false}],"save":[{"file":"content/actions.js","kind":"actions","line":6,"placed":false}],"load":[{"file":"content/actions.js","kind":"actions","line":7,"placed":false}],"sounds":[{"file":"content/audio.js","kind":"audio","line":4,"placed":false}],"gem":[{"file":"content/items.js","kind":"items","line":3,"placed":false}],"room":[{"file":"content/places.js","kind":"places","line":3,"placed":false}],"floor":[{"file":"content/props.js","kind":"props","line":3,"placed":true},{"file":"content/templates.js","kind":"templates","line":4,"placed":false}],"wall-n":[{"file":"content/props.js","kind":"props","line":4,"placed":true}],"wall-s":[{"file":"content/props.js","kind":"props","line":5,"placed":true}],"wall-w":[{"file":"content/props.js","kind":"props","line":6,"placed":true}],"wall-e":[{"file":"content/props.js","kind":"props","line":7,"placed":true}],"pillar-1":[{"file":"content/props.js","kind":"props","line":8,"placed":true}],"pillar-2":[{"file":"content/props.js","kind":"props","line":9,"placed":true}],"slime-1":[{"file":"content/props.js","kind":"props","line":10,"placed":true}],"wall":[{"file":"content/templates.js","kind":"templates","line":5,"placed":false}],"pillar":[{"file":"content/templates.js","kind":"templates","line":6,"placed":false}],"slime":[{"file":"content/templates.js","kind":"templates","line":9,"placed":false}],"corner":[{"file":"content/views.js","kind":"views","line":4,"placed":false}],"door":[{"file":"content/views.js","kind":"views","line":5,"placed":false}]}}
@@ -1 +0,0 @@
1
- {"version":1,"files":{"content/props.js":{"kind":"props","mtime":1794404132069.7053,"size":1370,"from":0,"count":15,"indexIds":0,"positional":[]},"content/templates.js":{"kind":"templates","mtime":1794404132071.7058,"size":232,"from":0,"count":2,"indexIds":0,"positional":[]},"content/vegetation.js":{"kind":"vegetation","mtime":1794404132073.7058,"size":522,"from":0,"count":1,"indexIds":0,"positional":[]}},"ids":{"tree-1":[{"file":"content/props.js","kind":"props","line":4,"placed":true}],"tree-2":[{"file":"content/props.js","kind":"props","line":5,"placed":true}],"tree-3":[{"file":"content/props.js","kind":"props","line":6,"placed":true}],"tree-4":[{"file":"content/props.js","kind":"props","line":7,"placed":true}],"tree-5":[{"file":"content/props.js","kind":"props","line":8,"placed":true}],"tree-6":[{"file":"content/props.js","kind":"props","line":9,"placed":true}],"tree-7":[{"file":"content/props.js","kind":"props","line":10,"placed":true}],"sheep-1":[{"file":"content/props.js","kind":"props","line":11,"placed":true}],"sheep-2":[{"file":"content/props.js","kind":"props","line":12,"placed":true}],"sheep-3":[{"file":"content/props.js","kind":"props","line":13,"placed":true}],"sheep-4":[{"file":"content/props.js","kind":"props","line":14,"placed":true}],"sheep-5":[{"file":"content/props.js","kind":"props","line":15,"placed":true}],"sheep-6":[{"file":"content/props.js","kind":"props","line":16,"placed":true}],"sheep-7":[{"file":"content/props.js","kind":"props","line":17,"placed":true}],"sheep-8":[{"file":"content/props.js","kind":"props","line":18,"placed":true}],"tree":[{"file":"content/templates.js","kind":"templates","line":3,"placed":false}],"sheep":[{"file":"content/templates.js","kind":"templates","line":4,"placed":false}],"wheat":[{"file":"content/vegetation.js","kind":"vegetation","line":6,"placed":false}]}}
@@ -1 +0,0 @@
1
- {"version":1,"files":{},"ids":{}}
@@ -1 +0,0 @@
1
- {"version":1,"files":{},"ids":{}}
@@ -1 +0,0 @@
1
- {"version":1,"files":{"content/items.js":{"kind":"items","mtime":1794404132140.8713,"size":471,"from":0,"count":3,"indexIds":0,"positional":[]},"content/npcs.js":{"kind":"npcs","mtime":1794404132141.8728,"size":352,"from":0,"count":1,"indexIds":0,"positional":[]},"content/places.js":{"kind":"places","mtime":1794404132144.3772,"size":345,"from":0,"count":2,"indexIds":0,"positional":[]},"content/props.js":{"kind":"props","mtime":1794404132145.3877,"size":1208,"from":0,"count":12,"indexIds":0,"positional":[]},"content/templates.js":{"kind":"templates","mtime":1794404132148.3994,"size":394,"from":0,"count":6,"indexIds":0,"positional":[]},"content/vegetation.js":{"kind":"vegetation","mtime":1794404132150.5015,"size":1840,"from":0,"count":5,"indexIds":0,"positional":[]}},"ids":{"apple":[{"file":"content/items.js","kind":"items","line":3,"placed":false}],"key":[{"file":"content/items.js","kind":"items","line":4,"placed":false}],"wood":[{"file":"content/items.js","kind":"items","line":5,"placed":false},{"file":"content/props.js","kind":"props","line":10,"placed":true}],"guide":[{"file":"content/npcs.js","kind":"npcs","line":3,"placed":false}],"stage":[{"file":"content/places.js","kind":"places","line":3,"placed":false}],"water":[{"file":"content/places.js","kind":"places","line":4,"placed":false}],"pine":[{"file":"content/props.js","kind":"props","line":4,"placed":true}],"round-tree":[{"file":"content/props.js","kind":"props","line":5,"placed":true}],"rock":[{"file":"content/props.js","kind":"props","line":6,"placed":true}],"flower-a":[{"file":"content/props.js","kind":"props","line":7,"placed":true}],"flower-b":[{"file":"content/props.js","kind":"props","line":8,"placed":true}],"flower-c":[{"file":"content/props.js","kind":"props","line":9,"placed":true}],"stone":[{"file":"content/props.js","kind":"props","line":11,"placed":true}],"metal":[{"file":"content/props.js","kind":"props","line":12,"placed":true}],"glass":[{"file":"content/props.js","kind":"props","line":13,"placed":true}],"shadow-stage":[{"file":"content/props.js","kind":"props","line":14,"placed":true}],"room":[{"file":"content/props.js","kind":"props","line":15,"placed":true},{"file":"content/templates.js","kind":"templates","line":8,"placed":false}],"woodBlock":[{"file":"content/templates.js","kind":"templates","line":3,"placed":false}],"stoneBlock":[{"file":"content/templates.js","kind":"templates","line":4,"placed":false}],"metalBall":[{"file":"content/templates.js","kind":"templates","line":5,"placed":false}],"glassPanes":[{"file":"content/templates.js","kind":"templates","line":6,"placed":false}],"shadowStage":[{"file":"content/templates.js","kind":"templates","line":7,"placed":false}],"松树":[{"file":"content/vegetation.js","kind":"vegetation","line":4,"placed":false}],"圆树":[{"file":"content/vegetation.js","kind":"vegetation","line":10,"placed":false}],"石头":[{"file":"content/vegetation.js","kind":"vegetation","line":16,"placed":false}],"草":[{"file":"content/vegetation.js","kind":"vegetation","line":20,"placed":false}],"野花":[{"file":"content/vegetation.js","kind":"vegetation","line":25,"placed":false}]}}
@@ -1 +0,0 @@
1
- {"version":1,"files":{},"ids":{}}
@@ -1 +0,0 @@
1
- {"version":1,"files":{"content/actions.js":{"kind":"actions","mtime":1794404132453.4592,"size":458,"from":0,"count":4,"indexIds":0,"positional":[]},"content/audio.js":{"kind":"audio","mtime":1794404132455.9714,"size":2152,"from":0,"count":3,"indexIds":0,"positional":[]},"content/bodies.js":{"kind":"bodies","mtime":1794404132458.5864,"size":838,"from":0,"count":8,"indexIds":0,"positional":[]},"content/containers.js":{"kind":"containers","mtime":1794404132460.5818,"size":252,"from":0,"count":1,"indexIds":0,"positional":[]},"content/dialogues.js":{"kind":"dialogues","mtime":1794404132463.1018,"size":1861,"from":0,"count":1,"indexIds":0,"positional":[]},"content/items.js":{"kind":"items","mtime":1794404132468.3752,"size":589,"from":0,"count":4,"indexIds":0,"positional":[]},"content/npcs.js":{"kind":"npcs","mtime":1794404132470.3616,"size":654,"from":0,"count":1,"indexIds":0,"positional":[]},"content/pickups.js":{"kind":"pickups","mtime":1794404132472.3635,"size":699,"from":0,"count":8,"indexIds":8,"positional":[0,1,2,3,4,5,6,7]},"content/places.js":{"kind":"places","mtime":1794404132474.367,"size":498,"from":0,"count":3,"indexIds":0,"positional":[]},"content/props.js":{"kind":"props","mtime":1794404132475.3657,"size":1123,"from":0,"count":8,"indexIds":0,"positional":[]},"content/quests.js":{"kind":"quests","mtime":1794404132478.3652,"size":825,"from":0,"count":1,"indexIds":0,"positional":[]},"content/templates.js":{"kind":"templates","mtime":1794404132481.8801,"size":484,"from":0,"count":1,"indexIds":0,"positional":[]},"content/vegetation.js":{"kind":"vegetation","mtime":1794404132484.4043,"size":1967,"from":0,"count":5,"indexIds":0,"positional":[]}},"ids":{"save":[{"file":"content/actions.js","kind":"actions","line":4,"placed":false}],"load":[{"file":"content/actions.js","kind":"actions","line":5,"placed":false}],"kick":[{"file":"content/actions.js","kind":"actions","line":6,"placed":false}],"chop":[{"file":"content/actions.js","kind":"actions","line":7,"placed":false}],"sounds":[{"file":"content/audio.js","kind":"audio","line":7,"placed":false}],"ambience":[{"file":"content/audio.js","kind":"audio","line":14,"placed":false}],"footsteps":[{"file":"content/audio.js","kind":"audio","line":23,"placed":false}],"crate-0":[{"file":"content/bodies.js","kind":"bodies","line":4,"placed":false}],"crate-1":[{"file":"content/bodies.js","kind":"bodies","line":5,"placed":false}],"crate-2":[{"file":"content/bodies.js","kind":"bodies","line":6,"placed":false}],"crate-3":[{"file":"content/bodies.js","kind":"bodies","line":7,"placed":false}],"crate-4":[{"file":"content/bodies.js","kind":"bodies","line":8,"placed":false}],"crate-5":[{"file":"content/bodies.js","kind":"bodies","line":9,"placed":false}],"ball":[{"file":"content/bodies.js","kind":"bodies","line":10,"placed":false}],"barrel":[{"file":"content/bodies.js","kind":"bodies","line":11,"placed":false}],"fisher-basket":[{"file":"content/containers.js","kind":"containers","line":3,"placed":false}],"fisher":[{"file":"content/dialogues.js","kind":"dialogues","line":4,"placed":false},{"file":"content/npcs.js","kind":"npcs","line":3,"placed":false}],"film":[{"file":"content/items.js","kind":"items","line":3,"placed":false}],"berry":[{"file":"content/items.js","kind":"items","line":4,"placed":false}],"feather":[{"file":"content/items.js","kind":"items","line":5,"placed":false}],"wood":[{"file":"content/items.js","kind":"items","line":6,"placed":false}],"pickup:feather:0":[{"file":"content/pickups.js","kind":"pickups","line":3,"placed":true}],"pickup:berry:1":[{"file":"content/pickups.js","kind":"pickups","line":4,"placed":true}],"pickup:berry:2":[{"file":"content/pickups.js","kind":"pickups","line":5,"placed":true}],"pickup:feather:3":[{"file":"content/pickups.js","kind":"pickups","line":6,"placed":true}],"pickup:berry:4":[{"file":"content/pickups.js","kind":"pickups","line":7,"placed":true}],"pickup:berry:5":[{"file":"content/pickups.js","kind":"pickups","line":8,"placed":true}],"pickup:feather:6":[{"file":"content/pickups.js","kind":"pickups","line":9,"placed":true}],"pickup:berry:7":[{"file":"content/pickups.js","kind":"pickups","line":10,"placed":true}],"home":[{"file":"content/places.js","kind":"places","line":3,"placed":false}],"river":[{"file":"content/places.js","kind":"places","line":4,"placed":false}],"water":[{"file":"content/places.js","kind":"places","line":5,"placed":false}],"prop:pine:0":[{"file":"content/props.js","kind":"props","line":4,"placed":true}],"prop:pine:1":[{"file":"content/props.js","kind":"props","line":5,"placed":true}],"prop:roundTree:2":[{"file":"content/props.js","kind":"props","line":6,"placed":true}],"prop:rock:3":[{"file":"content/props.js","kind":"props","line":7,"placed":true}],"prop:rock:4":[{"file":"content/props.js","kind":"props","line":8,"placed":true}],"prop:flower:5":[{"file":"content/props.js","kind":"props","line":9,"placed":true}],"prop:flower:6":[{"file":"content/props.js","kind":"props","line":10,"placed":true}],"cabin":[{"file":"content/props.js","kind":"props","line":11,"placed":true},{"file":"content/templates.js","kind":"templates","line":4,"placed":false}],"first-light":[{"file":"content/quests.js","kind":"quests","line":4,"placed":false}],"松树":[{"file":"content/vegetation.js","kind":"vegetation","line":5,"placed":false}],"圆树":[{"file":"content/vegetation.js","kind":"vegetation","line":11,"placed":false}],"石头":[{"file":"content/vegetation.js","kind":"vegetation","line":17,"placed":false}],"草":[{"file":"content/vegetation.js","kind":"vegetation","line":21,"placed":false}],"野花":[{"file":"content/vegetation.js","kind":"vegetation","line":26,"placed":false}]}}