@margoengine/scenes 0.1.0 → 1.0.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 (38) hide show
  1. package/LICENSE +201 -201
  2. package/NOTICE +4 -4
  3. package/README.md +620 -387
  4. package/dist/{dune-coast-info-e8eDZXBu.js → dune-coast-info-D9yQIv8G.js} +13 -3
  5. package/dist/dune-coast.d.ts +20 -1
  6. package/dist/dune-coast.js +374 -187
  7. package/dist/errors-fc4i1pSL.js +7 -0
  8. package/dist/fauld-blast.d.ts +119 -21
  9. package/dist/fauld-blast.js +957 -206
  10. package/dist/fauld-countryside.d.ts +1 -1
  11. package/dist/fauld-countryside.js +4 -4
  12. package/dist/fauld-crater.d.ts +1 -1
  13. package/dist/fauld-crater.js +4 -4
  14. package/dist/fauld-dig.d.ts +89 -0
  15. package/dist/fauld-dustfall-fines-grid-MA6XPrq6.js +14 -0
  16. package/dist/fauld-dustfall-fines-grid.d.ts +11 -0
  17. package/dist/fauld-dustfall-grid-Bb4X8b-u.js +14 -0
  18. package/dist/fauld-dustfall-grid.d.ts +11 -0
  19. package/dist/fauld-explosion.d.ts +135 -0
  20. package/dist/fauld-grains.d.ts +27 -0
  21. package/dist/fauld-mud.d.ts +104 -0
  22. package/dist/fauld-surge.d.ts +71 -0
  23. package/dist/fauld-tunnels.d.ts +76 -3
  24. package/dist/fauld-tunnels.js +518 -193
  25. package/dist/fauld-world-CNNSonJF.js +863 -0
  26. package/dist/fauld-world.d.ts +86 -3
  27. package/dist/index.js +2 -2
  28. package/dist/{library-mesh-BRk4Ycnn.js → library-mesh-CjTG-mVZ.js} +97 -74
  29. package/dist/library-parts.d.ts +11 -1
  30. package/dist/library.js +1 -1
  31. package/dist/look-family.d.ts +16 -1
  32. package/dist/look-family.js +35 -12
  33. package/dist/shared/settings.d.ts +89 -89
  34. package/dist/{timber-valley-info-BB6GvcsL.js → timber-valley-info-vVI2nwDs.js} +11 -0
  35. package/dist/timber-valley.d.ts +69 -3
  36. package/dist/timber-valley.js +198 -136
  37. package/package.json +106 -104
  38. package/dist/fauld-world-85dg03jo.js +0 -582
@@ -1,27 +1,28 @@
1
- import { t as e } from "./timber-valley-info-BB6GvcsL.js";
2
- import { applyLookFamily as t } from "./look-family.js";
3
- import { applySkySettings as n } from "@margoengine/sky/settings";
4
- import { WEATHER_LOOKS as r, WEATHER_SETTINGS as i, applyWeatherSettings as a } from "@margoengine/weather/settings";
5
- import { applyFireSettings as o } from "@margoengine/vfx/settings";
6
- import { PresetScene as s, sunScene as c } from "@margoengine/sky/scenes";
7
- import { degrees as l, sunPath as u } from "@margoengine/sky/sun";
8
- import { Shadows as d } from "@margoengine/shadows";
9
- import { GTAO as f } from "@margoengine/post/gtao";
10
- import { BiomeWorld as p } from "@margoengine/biomes";
11
- import { pathExclusions as m } from "@margoengine/biomes/splines";
12
- import { BiomeView as h } from "@margoengine/biomes/view";
13
- import { VolumetricClouds as g } from "@margoengine/sky/volumetric-clouds";
14
- import { WEATHER_PRESETS as _, WeatherMachine as v } from "@margoengine/weather";
1
+ import { t as e } from "./timber-valley-info-vVI2nwDs.js";
2
+ import { applyFamilySky as t, applyLookFamily as n } from "./look-family.js";
3
+ import { t as r } from "./errors-fc4i1pSL.js";
4
+ import { WEATHER_LOOKS as i, WEATHER_SETTINGS as a, applyWeatherSettings as o } from "@margoengine/weather/settings";
5
+ import { applyFireSettings as s } from "@margoengine/vfx/settings";
6
+ import { PresetScene as c, sunScene as l } from "@margoengine/sky/scenes";
7
+ import { degrees as u, sunPath as d } from "@margoengine/sky/sun";
8
+ import { Shadows as f } from "@margoengine/shadows";
9
+ import { GTAO as p } from "@margoengine/post/gtao";
10
+ import { BiomeWorld as m } from "@margoengine/biomes";
11
+ import { pathExclusions as h } from "@margoengine/biomes/splines";
12
+ import { BiomeView as g } from "@margoengine/biomes/view";
13
+ import { VolumetricClouds as _ } from "@margoengine/sky/volumetric-clouds";
14
+ import { WEATHER_PRESETS as v, WeatherMachine as ee } from "@margoengine/weather";
15
15
  import { WeatherDrive as y } from "@margoengine/weather/drive";
16
16
  import { rockiesValleyWorld as b } from "@margoengine/biomes/presets";
17
17
  import { createRelief as x } from "@margoengine/biomes/relief";
18
18
  import "@margoengine/biomes/valley";
19
- import { fuelMap as S } from "@margoengine/biomes/fuel";
20
- import { layoutSettlements as C } from "@margoengine/biomes/settlements";
21
- import { FireFront as w } from "@margoengine/vfx/fire-front";
19
+ import { fuelMap as te, herbaceousCuring as ne } from "@margoengine/biomes/fuel";
20
+ import { layoutSettlements as S } from "@margoengine/biomes/settlements";
21
+ import { FireFront as C } from "@margoengine/vfx/fire-front";
22
+ import { Grade as w } from "@margoengine/tonemap/grade";
22
23
  //#region src/timber-valley.ts
23
- var T = e, E = 4096, D = [-2048, -2048];
24
- function O(e) {
24
+ var T = e, E = 4096, D = 2500, re = 1500, O = [-2048, -2048];
25
+ function k(e) {
25
26
  if (typeof e != "object" || !e) throw TypeError("timber-valley: pass settings as an object.");
26
27
  let { signal: t, ...n } = e, r = {
27
28
  ...Object.fromEntries(Object.entries(T.settings).map(([e, t]) => [e, t.default])),
@@ -34,22 +35,23 @@ function O(e) {
34
35
  }
35
36
  if (!Number.isInteger(r.houses)) throw RangeError("timber-valley: houses is not a whole number; pass 0 to 256.");
36
37
  if (!Number.isInteger(r.seed) || r.seed < 0) throw RangeError("timber-valley: seed must be a whole number 0 or more.");
38
+ if (!Number.isInteger(r.standSeed)) throw RangeError("timber-valley: standSeed must be a whole number; pass 0 to 4294967295.");
37
39
  if (!/^\d{4}-\d{2}-\d{2}$/.test(r.date) || Number.isNaN(Date.parse(r.date))) throw RangeError("timber-valley: date is not a date; pass YYYY-MM-DD.");
38
40
  if (r.meshes !== void 0 && (typeof r.meshes != "object" || r.meshes === null)) throw TypeError("timber-valley: meshes must be an object of mesh parts by key.");
39
41
  return r;
40
42
  }
41
- function k(e) {
43
+ function A(e) {
42
44
  let t = Date.parse(e + "T12:00:00Z"), n = Date.UTC(Number(e.slice(0, 4)), 0, 1, 12);
43
45
  return Math.round((t - n) / 864e5) + 1;
44
46
  }
45
- function A(e, t) {
46
- let n = (t + 180) * Math.PI / 180, i = Math.atan2(Math.sin(n), -Math.cos(n)), a = e === "calm" ? {
47
+ function j(e, t) {
48
+ let n = (t + 180) * Math.PI / 180, r = Math.atan2(Math.sin(n), -Math.cos(n)), a = e === "calm" ? {
47
49
  wind: 2,
48
50
  gust: .15,
49
51
  cloud: .2,
50
52
  humidity: .35,
51
53
  temperature: 27
52
- } : e === "redFlag" ? (({ storm: e, ...t }) => t)(r.redFlag) : e === "blowup" ? {
54
+ } : e === "redFlag" ? (({ storm: e, ...t }) => t)(i.redFlag) : e === "blowup" ? {
53
55
  wind: 20,
54
56
  gust: .8,
55
57
  humidity: .12,
@@ -58,21 +60,21 @@ function A(e, t) {
58
60
  } : {
59
61
  wind: 6,
60
62
  gust: .3,
61
- smoke: .6,
63
+ smoke: i.wildfireSmoke.smoke,
62
64
  cloud: .3,
63
65
  humidity: .3,
64
66
  temperature: 22
65
67
  };
66
68
  return {
67
- ..._.clear,
69
+ ...v.clear,
68
70
  ...a,
69
- windDirection: i
71
+ windDirection: r
70
72
  };
71
73
  }
72
- function j(e, t = {}) {
73
- let n = O(t), r = x({
74
+ function M(e, t = {}) {
75
+ let n = k(t), r = x({
74
76
  seed: n.seed,
75
- origin: D,
77
+ origin: O,
76
78
  size: [E, E],
77
79
  ...b.relief
78
80
  }).mountainValley, i = (e) => {
@@ -93,7 +95,7 @@ function j(e, t = {}) {
93
95
  points: s,
94
96
  width: 14,
95
97
  edge: 2
96
- }, h = n.houses > 0 ? C(e, {
98
+ }, m = n.houses > 0 ? S(e, {
97
99
  seed: n.seed,
98
100
  sites: [u(700), u(2600)],
99
101
  villages: 2,
@@ -107,14 +109,14 @@ function j(e, t = {}) {
107
109
  street: 10
108
110
  },
109
111
  siteGrade: .2,
110
- avoid: m([f, p])
112
+ avoid: h([f, p])
111
113
  }) : {
112
114
  villages: [],
113
115
  roads: [],
114
116
  lanes: [],
115
117
  paths: [],
116
118
  exclusions: []
117
- }, g = h.villages.flatMap((e) => e.houses.map((e) => ({
119
+ }, g = m.villages.flatMap((e) => e.houses.map((e) => ({
118
120
  at: [e.centre[0], e.centre[1]],
119
121
  radius: Math.max(e.size[0], e.size[1]) / 2
120
122
  }))), _ = c(250), v = [{
@@ -126,18 +128,18 @@ function j(e, t = {}) {
126
128
  rail: o,
127
129
  axis: a,
128
130
  town: {
129
- ...h,
130
- exclusions: [...h.exclusions, ...m([f, p])]
131
+ ...m,
132
+ exclusions: [...m.exclusions, ...h([f, p])]
131
133
  },
132
134
  structures: g,
133
135
  ignitions: v
134
136
  };
135
137
  }
136
- async function M(e = {}) {
137
- let t = O(e);
138
- return p.create({
138
+ async function N(e = {}) {
139
+ let t = k(e);
140
+ return m.create({
139
141
  seed: t.seed,
140
- origin: D,
142
+ origin: O,
141
143
  size: [E, E],
142
144
  climate: b.climate,
143
145
  height: { relief: b.relief },
@@ -145,105 +147,155 @@ async function M(e = {}) {
145
147
  ...e.signal ? { signal: e.signal } : {}
146
148
  });
147
149
  }
148
- async function N(e, r = {}) {
149
- let i = O(r), p = i.quality === "film", m = [], _ = (e) => {
150
+ function P(e) {
151
+ let { preset: t, grade: n, clouds: r, water: i, fireFront: a } = e;
152
+ return {
153
+ sky: {
154
+ sky: t.sky,
155
+ clouds: r,
156
+ tonemap: t.tonemap,
157
+ grade: n
158
+ },
159
+ tonemap: {
160
+ tonemap: t.tonemap,
161
+ grade: n
162
+ },
163
+ ...i ? { water: i } : {},
164
+ ...a ? {
165
+ fire: a,
166
+ smoke: a
167
+ } : {}
168
+ };
169
+ }
170
+ async function F(e, r = {}) {
171
+ let i = k(r), a = i.quality === "film", m = [], h = (e) => {
150
172
  for (let e of m.reverse()) e();
151
173
  throw e;
152
- }, b = await M(r);
153
- m.push(() => b.dispose());
174
+ }, v = await N(r);
175
+ m.push(() => v.dispose());
154
176
  try {
155
- let _ = j(b, i), x = (e, t) => b.heightAt(e, t), C = u({
156
- latitude: l(i.latitude),
157
- dayOfYear: k(i.date),
177
+ let h = M(v, i), x = (e, t) => v.heightAt(e, t), S = d({
178
+ latitude: u(i.latitude),
179
+ dayOfYear: A(i.date),
158
180
  hour: i.hour
159
- }), O = s.attach(e, {
160
- ...c(C.azimuth.degrees, C.elevation.degrees),
181
+ }), k = c.attach(e, {
182
+ ...l(S.azimuth.degrees, S.elevation.degrees),
161
183
  fog: 3.912 / 4e4
162
184
  });
163
- if (O.sky.options.night) {
185
+ if (k.sky.options.night) {
164
186
  let { moonPosition: e } = await import("@margoengine/sky/astro"), t = Date.parse(i.date + "T00:00:00Z") + (i.hour - i.longitude / 15) * 36e5, n = e(new Date(t), {
165
- latitude: l(i.latitude),
166
- longitude: l(i.longitude)
187
+ latitude: u(i.latitude),
188
+ longitude: u(i.longitude)
167
189
  });
168
- O.sky.options.night = {
190
+ k.sky.options.night = {
169
191
  moonDirection: [...n.direction],
170
192
  moonPhase: Math.max(-1, Math.min(1, 2 * n.illumination - 1)),
171
193
  moonLitBySun: !0
172
194
  };
173
195
  }
174
- m.push(() => O.dispose());
175
- let M = new f({
196
+ m.push(() => k.dispose());
197
+ let N = new w();
198
+ k.tonemap.options.extensions = [N];
199
+ let F = new p({
176
200
  radius: 2,
177
- slices: p ? 3 : 2,
178
- steps: p ? 8 : 6
201
+ slices: a ? 3 : 2,
202
+ steps: a ? 8 : 6
179
203
  });
180
- O.post.addEffect(M, 0);
181
- let N = d.attach(e, {
182
- resolution: p ? 4096 : 2048,
204
+ k.post.addEffect(F, 0);
205
+ let I = f.attach(e, {
206
+ resolution: a ? 4096 : 2048,
183
207
  distance: 900,
184
208
  lambda: .8,
185
209
  lightSize: .02,
186
210
  normalBias: .2,
187
211
  casterMargin: 300
188
212
  });
189
- m.push(() => N.dispose());
190
- let L = await h.attach(e, b, {
191
- sky: O.sky,
192
- shadows: N,
213
+ m.push(() => I.dispose());
214
+ let B = {};
215
+ n(i.look, { biomes: B });
216
+ let V = await g.attach(e, v, {
217
+ ...B,
218
+ sky: k.sky,
219
+ shadows: I,
193
220
  water: { rivers: "auto" },
194
- exclusions: _.town.exclusions,
195
- radius: p ? 2e3 : 1e3,
221
+ clipmap: { anchor: "camera" },
222
+ exclusions: h.town.exclusions,
223
+ grass: { cured: ne(i.grassMoisture) },
224
+ ...i.standSeed > 0 ? { standSeed: i.standSeed } : {},
225
+ radius: a ? 2e3 : 1e3,
196
226
  ...i.meshes ? { meshes: i.meshes } : {},
197
227
  ...r.signal ? { signal: r.signal } : {}
198
228
  });
199
- m.push(() => L.dispose());
200
- let R = g.attach(e, {
201
- sky: O.sky,
229
+ m.push(() => V.dispose());
230
+ let H = b.relief.base, U = _.attach(e, {
231
+ sky: k.sky,
202
232
  type: "cumulus",
203
- coverage: .2
233
+ coverage: .2,
234
+ bottom: H + D,
235
+ top: H + D + re
204
236
  });
205
- m.push(() => R.dispose());
206
- let z = S(b, {
207
- step: p ? 8 : 16,
208
- bare: _.town.exclusions
209
- }), B = new v(A(i.weather, i.windFrom), { seed: i.seed });
210
- m.push(() => B.dispose());
211
- let V;
212
- i.fire !== "none" && (V = w.attach(e, {
237
+ m.push(() => U.dispose());
238
+ let W, G;
239
+ if (a) {
240
+ let [{ TAA: t }, { ScatterVelocity: n }, { MotionBlur: r }] = await Promise.all([
241
+ import("@margoengine/taa"),
242
+ import("@margoengine/scatter/velocity"),
243
+ import("@margoengine/post/motion-blur")
244
+ ]), i = t.attach(e, { depth: () => k.post.depthTexture });
245
+ W = i, m.push(() => i.dispose());
246
+ let a = new r({
247
+ velocity: () => i.velocity,
248
+ shutter: .5
249
+ });
250
+ k.post.addEffect(a), G = a, m.push(() => {
251
+ k.post.removeEffect(a), a.dispose();
252
+ });
253
+ for (let e of V.objects?.swaying ?? []) {
254
+ let t = new n(e), r = i.add(t);
255
+ m.push(() => {
256
+ r(), t.dispose();
257
+ });
258
+ }
259
+ }
260
+ let K = te(v, {
261
+ step: a ? 8 : 16,
262
+ bare: h.town.exclusions
263
+ }), q = new ee(j(i.weather, i.windFrom), { seed: i.seed });
264
+ m.push(() => q.dispose());
265
+ let J;
266
+ i.fire !== "none" && (J = C.attach(e, {
213
267
  ground: x,
214
268
  size: [E, E],
215
- origin: D,
216
- cell: p ? 4 : 8,
217
- fuel: (e, t) => z.at(e, t),
218
- structures: _.structures,
219
- ignitions: _.ignitions,
269
+ origin: O,
270
+ cell: a ? 4 : 8,
271
+ fuel: (e, t) => K.at(e, t),
272
+ structures: h.structures,
273
+ ignitions: h.ignitions,
220
274
  seed: i.seed,
221
- columns: p ? 12 : 6,
222
- flames: p ? 24 : 12
223
- }), m.push(() => V?.dispose()));
224
- let H = y.attach(e, {
225
- weather: B,
275
+ columns: a ? 12 : 6,
276
+ flames: a ? 24 : 12
277
+ }), m.push(() => J?.dispose()));
278
+ let Y = y.attach(e, {
279
+ weather: q,
226
280
  listener: e.camera,
227
- clouds: R,
228
- ...V ? { fires: V } : {}
229
- });
230
- m.push(() => H.dispose?.()), V && (P(H, V, i.fireTime), i.fire === "burnt" && await V.settle(86400, r.signal));
231
- let U = (e) => t(e, {
232
- sky: {
233
- sky: O.sky,
234
- clouds: R,
235
- tonemap: O.tonemap
236
- },
237
- ...V ? {
238
- fire: V,
239
- smoke: V
240
- } : {}
281
+ clouds: U,
282
+ ...J ? { fires: J } : {}
241
283
  });
242
- U(i.look);
243
- let W = I(_, x), G = {};
284
+ m.push(() => Y.dispose?.()), J && (R(Y, J, i.fireTime), i.fire === "burnt" && await L(J, r.signal));
285
+ let X = i.look, Z = (e) => {
286
+ X = e, n(e, P({
287
+ preset: k,
288
+ grade: N,
289
+ clouds: U,
290
+ water: V.water,
291
+ fireFront: J
292
+ }));
293
+ };
294
+ Z(i.look);
295
+ let Q = ie(h, x), $ = {};
244
296
  for (let e of T.shots ?? []) {
245
- let t = W[e.camera[0]], n = W[e.camera[e.camera.length - 1]];
246
- G[e.name] = [{
297
+ let t = Q[e.camera[0]], n = Q[e.camera[e.camera.length - 1]];
298
+ $[e.name] = [{
247
299
  type: "camera",
248
300
  id: "camera",
249
301
  path: "linear",
@@ -264,46 +316,50 @@ async function N(e, r = {}) {
264
316
  return {
265
317
  settings: i,
266
318
  height: x,
267
- anchors: W,
319
+ anchors: Q,
268
320
  views: T.views,
269
321
  view(t, n = 50) {
270
- let r = W[t];
271
- if (!r) throw RangeError(`timber-valley: no anchor ${t}; pass one of ${Object.keys(W).join(", ")}.`);
322
+ let r = Q[t];
323
+ if (!r) throw RangeError(`timber-valley: no anchor ${t}; pass one of ${Object.keys(Q).join(", ")}.`);
272
324
  e.camera.position = [...r.position], e.camera.target = [...r.target], e.camera.fov = n;
273
325
  },
274
326
  shots: T.shots ?? [],
275
- tracks: G,
327
+ tracks: $,
276
328
  targets: T.targets ?? {},
277
- layout: _,
278
- applyLook: U,
329
+ layout: h,
330
+ applyLook: Z,
279
331
  applySettings(e) {
280
- for (let [t, r] of Object.entries(e)) if (t === "weather") a(B, {
281
- ...F(B),
332
+ for (let [n, r] of Object.entries(e)) if (n === "weather") o(q, {
333
+ ...z(q),
282
334
  ...r
283
335
  });
284
- else if (t === "sky") n({
285
- sky: O.sky,
286
- clouds: R,
287
- tonemap: O.tonemap
336
+ else if (n === "sky") t(X, {
337
+ sky: k.sky,
338
+ clouds: U,
339
+ tonemap: k.tonemap,
340
+ grade: N
288
341
  }, r);
289
- else if (t === "fire") V && o(V, r);
290
- else throw RangeError(`timber-valley: no settings target ${t}; pass weather, sky or fire.`);
342
+ else if (n === "fire") J && s(J, r);
343
+ else throw RangeError(`timber-valley: no settings target ${n}; pass weather, sky or fire.`);
291
344
  },
292
345
  advanceTime(e) {
293
- H.advanceTime(e), O.sky.advanceTime?.(e), V?.advanceTime(e);
346
+ Y.advanceTime(e), k.sky.advanceTime?.(e), J?.advanceTime(e);
294
347
  },
295
- settle: () => L.whenIdle(),
348
+ settle: () => V.whenIdle(),
296
349
  parts: {
297
- world: b,
298
- view: L,
299
- preset: O,
300
- clouds: R,
301
- weather: B,
302
- drive: H,
303
- shadows: N,
304
- occlusion: M,
305
- fuel: z,
306
- fireFront: V
350
+ world: v,
351
+ view: V,
352
+ preset: k,
353
+ grade: N,
354
+ clouds: U,
355
+ weather: q,
356
+ drive: Y,
357
+ shadows: I,
358
+ occlusion: F,
359
+ fuel: K,
360
+ fireFront: J,
361
+ taa: W,
362
+ motionBlur: G
307
363
  },
308
364
  dispose() {
309
365
  for (let e of m.reverse()) e();
@@ -314,22 +370,28 @@ async function N(e, r = {}) {
314
370
  }
315
371
  };
316
372
  } catch (e) {
317
- return _(e);
373
+ return h(e);
318
374
  }
319
375
  }
320
- function P(e, t, n) {
376
+ var I = 2592e3;
377
+ async function L(e, t) {
378
+ let n = await e.settle(I, t);
379
+ if (e.active) throw r("state", `timber-valley fire 'burnt': the fire still burns after ${I} s of fire time; use fire 'running'`);
380
+ return n;
381
+ }
382
+ function R(e, t, n) {
321
383
  e.update(0);
322
384
  for (let r = 0; r < n; r += 10) {
323
385
  let i = Math.min(10, n - r);
324
386
  e.advanceTime(i), t.advanceTime(i);
325
387
  }
326
388
  }
327
- function F(e) {
389
+ function z(e) {
328
390
  let t = e.state, n = {};
329
- for (let e of i) e.name in t && (n[e.name] = t[e.name]);
391
+ for (let e of a) e.name in t && (n[e.name] = t[e.name]);
330
392
  return n;
331
393
  }
332
- function I(e, t) {
394
+ function ie(e, t) {
333
395
  let n = (t) => e.axis[Math.max(0, Math.min(e.axis.length - 1, Math.round(t / 16)))], r = (t) => e.rail[Math.max(0, Math.min(e.rail.length - 1, Math.round(t / 16)))] ?? n(t), i = (t) => e.creek[Math.max(0, Math.min(e.creek.length - 1, Math.round(t / 16)))], a = (e, n, r = 0, i = 0) => [
334
396
  e[0] + r,
335
397
  Math.max(t(e[0] + r, e[1] + i), 0) + n,
@@ -359,4 +421,4 @@ function I(e, t) {
359
421
  };
360
422
  }
361
423
  //#endregion
362
- export { N as attach, O as check, T as info, j as layout, P as rollFire, A as weatherState, M as world };
424
+ export { I as BURN_OUT_LIMIT, F as attach, L as burnOut, k as check, T as info, M as layout, P as lookTargets, R as rollFire, j as weatherState, N as world };