@onimaxxing/worldgen-node 0.31.2 → 0.31.3
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/index.d.ts +8 -0
- package/oni_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -613,6 +613,14 @@ export const worldgen: {
|
|
|
613
613
|
* settle runs 499 ticks total; the final call with `targetTick = 499`
|
|
614
614
|
* finalises the cluster.
|
|
615
615
|
*
|
|
616
|
+
* Every snapshot is the world as it would be written if the settle
|
|
617
|
+
* stopped at that tick, not the raw sim state: a cell carries the
|
|
618
|
+
* state of its last substance-change event, exactly like the game's
|
|
619
|
+
* own worldgen. So the tick-499 snapshot is what the game loads and
|
|
620
|
+
* what the parity digests verify (a cell whose germs died out after
|
|
621
|
+
* its last event keeps its earlier germ count, as it does in-game).
|
|
622
|
+
* Ticks before 498 show the templates stamped on top as a preview.
|
|
623
|
+
*
|
|
616
624
|
* Throws if the cache is empty or `targetTick` is out of range.
|
|
617
625
|
*/
|
|
618
626
|
advance(targetTick: number): SettleSnapshot;
|
package/oni_wasm_bg.wasm
CHANGED
|
Binary file
|