@wildshard/sdk 0.3.1 → 0.3.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/GUIDE.md +19 -6
- package/bin/wildshard.mjs +4 -0
- package/docs/api/EXPORT-TIERS.md +3 -2
- package/lint/export-tiers.json +1 -0
- package/lint/sdk-plugin.d.mts +2 -0
- package/lint/sdk-plugin.mjs +39 -1
- package/package.json +10 -9
- package/scripts/capture-hero.mjs +48 -18
- package/scripts/ci21-sdk-tail-lint.mjs +95 -0
- package/scripts/keep-copy.mjs +172 -0
- package/scripts/land.mjs +34 -4
- package/scripts/lane-live.mjs +136 -0
- package/scripts/leftovers-report.mjs +47 -0
- package/scripts/lint-dispatch.mjs +5 -0
- package/scripts/music/export-midi.mjs +3 -2
- package/scripts/prepare-product.mjs +3 -2
- package/scripts/scratch-dir.d.mts +3 -0
- package/scripts/scratch-dir.mjs +33 -14
- package/scripts/scratch-sweep.mjs +15 -23
- package/scripts/typecheck.mjs +15 -0
- package/scripts/worktree-reap.mjs +46 -104
- package/scripts/worktree.mjs +35 -13
- package/skills/wildshard/SKILL.md +3 -1
- package/src/cli/content-command.ts +44 -0
- package/src/cli/content.ts +287 -0
- package/src/cli/help.ts +7 -2
- package/src/cli/hero/hero.ts +51 -3
- package/src/cli/hero/scene-card.ts +46 -0
- package/src/cli/hero/stamp.ts +5 -3
- package/src/sharddev/authorManifest.ts +20 -2
- package/src/sharddev/cli.ts +1 -1
- package/src/sharddev/dev.ts +23 -4
- package/src/sharddev/newProject.ts +27 -8
- package/src/sharddev/project.ts +2 -2
- package/src/sharddev/refusals.ts +1 -0
- package/src/sharddev/scene/author.ts +22 -1
- package/src/sharddev/scene/budget.ts +87 -0
- package/src/sharddev/scene/creature.ts +171 -0
- package/src/sharddev/scene/description.ts +41 -0
- package/src/sharddev/scene/lower.ts +127 -3
- package/src/sharddev/scene/shardfile.ts +222 -20
- package/src/sharddev/shardSource.ts +2 -2
- package/src/sharddev/test/diskScriptScenario.ts +4 -2
- package/src/sharddev/test/ownedScratch.ts +14 -0
- package/src/sharddev/test/scriptScenario.ts +18 -13
- package/src/sharddev/tsconfig.json +3 -0
- package/src/sharddev/watch/pageEntry.ts +1 -19
- package/src/sharddev/watch/parity-baseline.json +8 -8
- package/src/sharddev/watch/parity.mjs +24 -0
- package/src/sharddev/watch/watch.ts +10 -2
- package/src/shards/_template/behaviour/boss.as +13 -4
- package/src/shards/_template/behaviour/door.as +8 -3
- package/src/shards/_template/behaviour/hooks.json +35 -0
- package/src/shards/_template/card/landscape.jpg +0 -0
- package/src/shards/_template/card/portrait.jpg +0 -0
- package/src/shards/_template/card/thumb.jpg +0 -0
- package/src/shards/_template/data/bossDecision.json +11 -1
- package/src/shards/_template/data/card.json +49 -1
- package/src/shards/_template/data/clientScripts.json +411 -0
- package/src/shards/_template/data/creatures.json +280 -2
- package/src/shards/_template/data/items.json +1 -1
- package/src/shards/_template/data/layout.json +32 -1
- package/src/shards/_template/data/ledger.json +45 -0
- package/src/shards/_template/data/npcs/hermit.json +72 -0
- package/src/shards/_template/data/quests.json +297 -11
- package/src/shards/_template/data/rows.json +154 -0
- package/src/shards/_template/data/skins.json +14 -0
- package/src/shards/_template/data/targets.json +47 -0
- package/src/shards/_template/data/text.json +4 -1
- package/src/shards/_template/generators/lift.ts +71 -0
- package/src/shards/_template/generators/product.ts +19 -5
- package/src/shards/_template/generators/templatePropsSource.ts +5 -4
- package/src/shards/_template/generators/terrain.ts +10 -2
- package/src/shards/_template/generators/world.ts +42 -7
- package/src/shards/_template/hero.json +6 -6
- package/src/shards/_template/manifest.json +49 -1
- package/src/shards/authoring-slice/generators/shard.ts +2 -1
- package/src/shards/authoring-slice/generators/world.ts +8 -1
- package/tsconfig.author.json +24 -0
|
@@ -25,7 +25,7 @@ import * as liveMaterials from '../materials';
|
|
|
25
25
|
import * as liveShard from '../scene/shard';
|
|
26
26
|
import * as liveShardfile from '../scene/shardfile';
|
|
27
27
|
import { hashOf } from '../scene/hash';
|
|
28
|
-
import { lampRows, sceneGroundBytes, sceneLook, waterRows, type sceneGameplay } from '../scene/shardfile';
|
|
28
|
+
import { lampRows, sceneGroundBytes, sceneLook, waterRows, withAnchored, type sceneGameplay } from '../scene/shardfile';
|
|
29
29
|
import { DEV_SCENE_PATH, WATCH_RESHELL, WATCH_SOCKET, WATCH_WIRE, budgetLines, budgetOf, encodeGeometry, encodePart, hookMismatch, liveShell, type WatchBuild, type WatchState } from './protocol';
|
|
30
30
|
import { CONTENT_CAPS } from '@wildshard/format/contentBounds';
|
|
31
31
|
// oxlint-disable-next-line import/no-nodejs-modules -- The idle full build runs `wildshard build` in a child process.
|
|
@@ -87,6 +87,14 @@ const livePlugin = (): Plugin => {
|
|
|
87
87
|
* in guess mode (AP17): `describe` runs it again, in guess or truth mode, without bundling again.
|
|
88
88
|
*/
|
|
89
89
|
type Gameplay = ReturnType<typeof sceneGameplay>;
|
|
90
|
+
/** AP25: the scene's anchored rows in the watched gameplay as the build has them: triggers restart the simulation with the
|
|
91
|
+
* quests; a use prompt is `targets`, a new shell. */
|
|
92
|
+
function anchoredGameplay(scene: ShardScene, gameplay: Gameplay): Gameplay {
|
|
93
|
+
const { triggers, interactions } = scene.anchored;
|
|
94
|
+
if (triggers.length === 0 && interactions.length === 0) return gameplay;
|
|
95
|
+
const merged = withAnchored({ quests: gameplay.gameplay['quests'], targets: gameplay.rest['targets'] ?? undefined }, scene.anchored);
|
|
96
|
+
return { gameplay: { ...gameplay.gameplay, quests: merged.quests }, rest: interactions.length === 0 ? gameplay.rest : { ...gameplay.rest, targets: merged.targets } };
|
|
97
|
+
}
|
|
90
98
|
async function describeSource(source: string, memo: PaintMemo): Promise<{ scene: ShardScene; gameplay: Gameplay; describe: (mode: 'guess' | 'truth') => ShardScene; bundleMs: number; describeMs: number }> {
|
|
91
99
|
const started = diagnosticNow();
|
|
92
100
|
const result = await build({ configFile: false, logLevel: 'silent', plugins: [livePlugin()], build: { write: false, minify: false, lib: { entry: resolve(source, 'shard.config.ts'), formats: ['es'], fileName: 'config' }, rolldownOptions: { external: [/^node:/u], output: { codeSplitting: false } } } });
|
|
@@ -98,7 +106,7 @@ async function describeSource(source: string, memo: PaintMemo): Promise<{ scene:
|
|
|
98
106
|
const shard = [loaded['default'], loaded['generate']].find((value): value is { describe: () => ShardScene; gameplay?: () => Gameplay } => typeof value === 'function' && 'describe' in value && typeof value.describe === 'function');
|
|
99
107
|
if (shard === undefined) throw new Error('watch: shard.config.ts exports no scene shard (defineShard from @wildshard/sdk/scene/shard)');
|
|
100
108
|
const describe = (mode: 'guess' | 'truth'): ShardScene => { memo.begin(mode); return withPaintMemo(memo, () => shard.describe()); };
|
|
101
|
-
const scene = describe('guess'), gameplay = shard.gameplay?.() ?? { gameplay: {}, rest: {} };
|
|
109
|
+
const scene = describe('guess'), gameplay = anchoredGameplay(scene, shard.gameplay?.() ?? { gameplay: {}, rest: {} });
|
|
102
110
|
return { scene, gameplay, describe, bundleMs: Math.round(bundled - started), describeMs: Math.round(diagnosticNow() - bundled) };
|
|
103
111
|
}
|
|
104
112
|
|
|
@@ -1,16 +1,25 @@
|
|
|
1
|
-
// The Barrow Warden (MH-4):
|
|
1
|
+
// The Barrow Warden (MH-4, TC-M3): three strikes (slam, sweep, and a thrown stone from phase 2), each with a ground-ring
|
|
2
|
+
// tell, then its core opens to the sword. Engine strike rows own the
|
|
2
3
|
// contact; this source only drives the tell and core shared fields and the encounter guard (TE-ENG1, engine 9e4bf0d6).
|
|
3
4
|
// The Warden never moves, so the ring and core particles at the arena's centre stay on it.
|
|
4
5
|
// guard: 0 every hit, 1 none, 2 melee only (the sword), 3 the rest only.
|
|
5
6
|
import { Actor, Strike, Field, Timer, State, Params, Do, Read, Event } from './generated/templateBossDecision';
|
|
6
7
|
function beatSeconds():f64 { return State.phase==2?Params.secondBeat:Params.firstBeat; }
|
|
7
8
|
function quiet():void { Do.field(0,Field.tell,0); Do.field(0,Field.core,0); Do.timer(Timer.arm,0); Do.timer(Timer.beat,0); Do.timer(Timer.open,0); Do.timer(Timer.shut,0); }
|
|
8
|
-
|
|
9
|
+
// Each beat is one strike, told by the ground ring, then the core opens to the sword. The first phase alternates the slam
|
|
10
|
+
// and a sweep round its feet; the second adds a thrown stone at range (TC-M3).
|
|
11
|
+
function strike(which:i32):void {
|
|
9
12
|
Do.field(0,Field.tell,1); Do.encounter(4,1);
|
|
10
13
|
const target=Read.nearestPlayer(Actor.boss);
|
|
11
|
-
if(target!=0) Do.strike(Actor.boss,
|
|
14
|
+
if(target!=0) Do.strike(Actor.boss,which,target);
|
|
12
15
|
Do.timer(Timer.open,Params.windup);
|
|
13
16
|
}
|
|
17
|
+
// Strike on the current beat, then move on: a fight opens with the slam (the quest hint's tell), then the sweep.
|
|
18
|
+
function next():void {
|
|
19
|
+
const beat=State.beat;
|
|
20
|
+
State.beat=(beat+1)%(State.phase==2?3:2);
|
|
21
|
+
if(beat==0) strike(Strike.slam); else if(beat==1) strike(Strike.sweep); else strike(Strike.stone);
|
|
22
|
+
}
|
|
14
23
|
// A phase change (the encounter's beat) stops and restarts the decision, and a retry restarts it at its checkpoint, so a
|
|
15
24
|
// start resumes from the Warden's health rather than from phase 0 (a reset to 0 replays the threshold beat forever).
|
|
16
25
|
export function onStart():void {
|
|
@@ -33,7 +42,7 @@ export function onDeath(killer:i32):void {
|
|
|
33
42
|
export function onTimer(timer:i32):void {
|
|
34
43
|
if(State.phase!=1 && State.phase!=2) return;
|
|
35
44
|
if(timer==Timer.arm) Do.encounter(4,1); // the fight's start resets the guard to open, so shut it a beat later
|
|
36
|
-
else if(timer==Timer.beat)
|
|
45
|
+
else if(timer==Timer.beat) next();
|
|
37
46
|
else if(timer==Timer.open) { Do.field(0,Field.tell,0); Do.field(0,Field.core,1); Do.encounter(4,2); Do.timer(Timer.shut,Params.window); }
|
|
38
47
|
else if(timer==Timer.shut) { Do.field(0,Field.core,0); Do.encounter(4,1); Do.timer(Timer.beat,beatSeconds()); }
|
|
39
48
|
}
|
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
// The Template's door and braziers (ABI v0, the sdk's `wildshard` prelude). Door and brazier ownership stays in declared
|
|
2
2
|
// shared state; the platform projects it to the panels and colliders. Shared fields in declared order: 0 template.door.open
|
|
3
|
-
// (id 101), then template.brazier-a, -b, -c (ids 102 to 104)
|
|
3
|
+
// (id 101), then template.brazier-a, -b, -c (ids 102 to 104), TC-M4's south gate (105), then the Warden's two (110, 111),
|
|
4
|
+
// then TC-M4b's template.ledge.standing (112), which nothing sets.
|
|
4
5
|
import { begin, eventCount, eventType, setShared, shared } from './wildshard';
|
|
5
6
|
export { abi_version, init, in_ptr, in_cap, out_ptr, out_cap, out_count } from './wildshard';
|
|
6
|
-
const DOOR = 0, BRAZIERS = 1;
|
|
7
|
+
const DOOR = 0, BRAZIERS = 1, SOUTH_GATE = 4;
|
|
7
8
|
const DOOR_FIELD: f64 = 101, BRAZIER_FIELD: f64 = 102;
|
|
8
9
|
const DOOR_TOGGLE: f64 = 201, BRAZIER_LIT: f64 = 202;
|
|
10
|
+
// TC-M4: the lever by the yard's south wall swings the south gate (field 105, scene event 205) open or shut
|
|
11
|
+
const GATE_FIELD: f64 = 105, LEVER_PULL: f64 = 205;
|
|
9
12
|
export function on_tick(): void {
|
|
10
13
|
begin();
|
|
11
|
-
let open = shared(DOOR), toggled = false;
|
|
14
|
+
let open = shared(DOOR), toggled = false, gate = shared(SOUTH_GATE), pulled = false;
|
|
12
15
|
// MH-2, MH-3: braziers A, B and C (fields 102 to 104, scene events 202 to 204) each light once, for good
|
|
13
16
|
let lit = 0;
|
|
14
17
|
for (let i = 0; i < eventCount(); i++) {
|
|
15
18
|
const type = eventType(i);
|
|
16
19
|
if (type === DOOR_TOGGLE) { open = 1 - open; toggled = !toggled; }
|
|
20
|
+
if (type === LEVER_PULL) { gate = 1 - gate; pulled = !pulled; }
|
|
17
21
|
// E at a brazier: A's field opens the moss gate, B's raises the pond's stones, C's unlocks the arena
|
|
18
22
|
for (let k = 0; k < 3; k++) if (type === BRAZIER_LIT + k && shared(BRAZIERS + k) < 0.5) lit |= 1 << k;
|
|
19
23
|
}
|
|
20
24
|
if (toggled) setShared(DOOR_FIELD, open);
|
|
25
|
+
if (pulled) setShared(GATE_FIELD, gate);
|
|
21
26
|
for (let k = 0; k < 3; k++) if (lit & (1 << k)) setShared(BRAZIER_FIELD + k, 1);
|
|
22
27
|
}
|
|
@@ -24,6 +24,12 @@
|
|
|
24
24
|
"scope": "shared",
|
|
25
25
|
"fieldId": 104,
|
|
26
26
|
"equals": 1
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "template.south-gate.open",
|
|
30
|
+
"scope": "shared",
|
|
31
|
+
"fieldId": 105,
|
|
32
|
+
"equals": 1
|
|
27
33
|
}
|
|
28
34
|
],
|
|
29
35
|
"scenes": [
|
|
@@ -56,6 +62,21 @@
|
|
|
56
62
|
"id": "template.brazier-c.light",
|
|
57
63
|
"type": 204,
|
|
58
64
|
"value": 1
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "template.chest.open",
|
|
68
|
+
"type": 102,
|
|
69
|
+
"value": 4
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "template.rack.take",
|
|
73
|
+
"type": 102,
|
|
74
|
+
"value": 3
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "template.lever.pull",
|
|
78
|
+
"type": 205,
|
|
79
|
+
"value": 1
|
|
59
80
|
}
|
|
60
81
|
]
|
|
61
82
|
},
|
|
@@ -92,6 +113,13 @@
|
|
|
92
113
|
"privacy": "public",
|
|
93
114
|
"default": false
|
|
94
115
|
},
|
|
116
|
+
{
|
|
117
|
+
"id": 105,
|
|
118
|
+
"name": "template.south-gate.open",
|
|
119
|
+
"type": "bool",
|
|
120
|
+
"privacy": "public",
|
|
121
|
+
"default": false
|
|
122
|
+
},
|
|
95
123
|
{
|
|
96
124
|
"id": 110,
|
|
97
125
|
"name": "template.warden-tell",
|
|
@@ -105,6 +133,13 @@
|
|
|
105
133
|
"type": "bool",
|
|
106
134
|
"privacy": "public",
|
|
107
135
|
"default": false
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": 112,
|
|
139
|
+
"name": "template.ledge.standing",
|
|
140
|
+
"type": "bool",
|
|
141
|
+
"privacy": "public",
|
|
142
|
+
"default": true
|
|
108
143
|
}
|
|
109
144
|
],
|
|
110
145
|
"player": [
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -33,7 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"moves": {},
|
|
35
35
|
"strikes": {
|
|
36
|
-
"slam": "template.warden.slam"
|
|
36
|
+
"slam": "template.warden.slam",
|
|
37
|
+
"sweep": "template.warden.sweep",
|
|
38
|
+
"stone": "template.warden.throw"
|
|
37
39
|
},
|
|
38
40
|
"cues": {},
|
|
39
41
|
"fields": {
|
|
@@ -72,6 +74,14 @@
|
|
|
72
74
|
"type": "bool",
|
|
73
75
|
"default": true,
|
|
74
76
|
"scope": "binding"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "beat",
|
|
80
|
+
"type": "i32",
|
|
81
|
+
"default": 0,
|
|
82
|
+
"scope": "binding",
|
|
83
|
+
"min": 0,
|
|
84
|
+
"max": 2
|
|
75
85
|
}
|
|
76
86
|
],
|
|
77
87
|
"params": {
|
|
@@ -89,6 +89,55 @@
|
|
|
89
89
|
"x": -19.4,
|
|
90
90
|
"z": 0,
|
|
91
91
|
"r": 3
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "hermit",
|
|
95
|
+
"name": "Pond hermit",
|
|
96
|
+
"x": -15.2,
|
|
97
|
+
"z": 7.0,
|
|
98
|
+
"r": 5
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "chest",
|
|
102
|
+
"name": "Old chest",
|
|
103
|
+
"x": -8.2,
|
|
104
|
+
"z": -7.6,
|
|
105
|
+
"r": 4
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "rack",
|
|
109
|
+
"name": "Sword rack",
|
|
110
|
+
"x": 1.0,
|
|
111
|
+
"z": -12.0,
|
|
112
|
+
"r": 3
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "lever",
|
|
116
|
+
"name": "Gate lever",
|
|
117
|
+
"x": 8.5,
|
|
118
|
+
"z": -16.6,
|
|
119
|
+
"r": 2
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "lift",
|
|
123
|
+
"name": "Lift and ledge",
|
|
124
|
+
"x": 8.5,
|
|
125
|
+
"z": 3.65,
|
|
126
|
+
"r": 3
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "ledge",
|
|
130
|
+
"name": "Ledge cache",
|
|
131
|
+
"x": 8.5,
|
|
132
|
+
"z": 6.4,
|
|
133
|
+
"r": 2
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "mossling-meadow",
|
|
137
|
+
"name": "Mossling meadow",
|
|
138
|
+
"x": 36.0,
|
|
139
|
+
"z": -98.0,
|
|
140
|
+
"r": 12
|
|
92
141
|
}
|
|
93
142
|
],
|
|
94
143
|
"assetGlobs": [
|
|
@@ -213,7 +262,6 @@
|
|
|
213
262
|
"tool.hoverboard"
|
|
214
263
|
],
|
|
215
264
|
"start": [
|
|
216
|
-
"weapon.sword-iron",
|
|
217
265
|
"weapon.template-whip",
|
|
218
266
|
"tool.template-lantern",
|
|
219
267
|
"tool.hoverboard"
|
|
@@ -981,6 +981,417 @@
|
|
|
981
981
|
"gravity": 0
|
|
982
982
|
}
|
|
983
983
|
]
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
987
|
+
"entity": 20,
|
|
988
|
+
"name": "mossling-1.idle",
|
|
989
|
+
"target": {
|
|
990
|
+
"kind": "creature",
|
|
991
|
+
"id": "mossling:1"
|
|
992
|
+
},
|
|
993
|
+
"reads": [],
|
|
994
|
+
"parameters": [
|
|
995
|
+
0,
|
|
996
|
+
0.06,
|
|
997
|
+
1.6,
|
|
998
|
+
1
|
|
999
|
+
],
|
|
1000
|
+
"pose": true,
|
|
1001
|
+
"maxOffset": 0.5,
|
|
1002
|
+
"minScale": 0.8,
|
|
1003
|
+
"maxScale": 1.25,
|
|
1004
|
+
"emitters": [
|
|
1005
|
+
{
|
|
1006
|
+
"id": 1,
|
|
1007
|
+
"recipe": "platform.particles",
|
|
1008
|
+
"perTick": 1,
|
|
1009
|
+
"live": 6,
|
|
1010
|
+
"lifetimeTicks": 90,
|
|
1011
|
+
"colour": [
|
|
1012
|
+
0.78,
|
|
1013
|
+
0.8,
|
|
1014
|
+
0.84
|
|
1015
|
+
],
|
|
1016
|
+
"size": 0.12,
|
|
1017
|
+
"velocity": [
|
|
1018
|
+
0,
|
|
1019
|
+
0.6,
|
|
1020
|
+
0
|
|
1021
|
+
],
|
|
1022
|
+
"gravity": -0.2
|
|
1023
|
+
}
|
|
1024
|
+
]
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
1028
|
+
"entity": 21,
|
|
1029
|
+
"name": "mossling-2.idle",
|
|
1030
|
+
"target": {
|
|
1031
|
+
"kind": "creature",
|
|
1032
|
+
"id": "mossling:2"
|
|
1033
|
+
},
|
|
1034
|
+
"reads": [],
|
|
1035
|
+
"parameters": [
|
|
1036
|
+
0,
|
|
1037
|
+
0.06,
|
|
1038
|
+
1.6,
|
|
1039
|
+
1
|
|
1040
|
+
],
|
|
1041
|
+
"pose": true,
|
|
1042
|
+
"maxOffset": 0.5,
|
|
1043
|
+
"minScale": 0.8,
|
|
1044
|
+
"maxScale": 1.25,
|
|
1045
|
+
"emitters": [
|
|
1046
|
+
{
|
|
1047
|
+
"id": 1,
|
|
1048
|
+
"recipe": "platform.particles",
|
|
1049
|
+
"perTick": 1,
|
|
1050
|
+
"live": 6,
|
|
1051
|
+
"lifetimeTicks": 90,
|
|
1052
|
+
"colour": [
|
|
1053
|
+
0.78,
|
|
1054
|
+
0.8,
|
|
1055
|
+
0.84
|
|
1056
|
+
],
|
|
1057
|
+
"size": 0.12,
|
|
1058
|
+
"velocity": [
|
|
1059
|
+
0,
|
|
1060
|
+
0.6,
|
|
1061
|
+
0
|
|
1062
|
+
],
|
|
1063
|
+
"gravity": -0.2
|
|
1064
|
+
}
|
|
1065
|
+
]
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
1069
|
+
"entity": 22,
|
|
1070
|
+
"name": "mossling-3.idle",
|
|
1071
|
+
"target": {
|
|
1072
|
+
"kind": "creature",
|
|
1073
|
+
"id": "mossling:3"
|
|
1074
|
+
},
|
|
1075
|
+
"reads": [],
|
|
1076
|
+
"parameters": [
|
|
1077
|
+
0,
|
|
1078
|
+
0.06,
|
|
1079
|
+
1.6,
|
|
1080
|
+
1
|
|
1081
|
+
],
|
|
1082
|
+
"pose": true,
|
|
1083
|
+
"maxOffset": 0.5,
|
|
1084
|
+
"minScale": 0.8,
|
|
1085
|
+
"maxScale": 1.25,
|
|
1086
|
+
"emitters": [
|
|
1087
|
+
{
|
|
1088
|
+
"id": 1,
|
|
1089
|
+
"recipe": "platform.particles",
|
|
1090
|
+
"perTick": 1,
|
|
1091
|
+
"live": 6,
|
|
1092
|
+
"lifetimeTicks": 90,
|
|
1093
|
+
"colour": [
|
|
1094
|
+
0.78,
|
|
1095
|
+
0.8,
|
|
1096
|
+
0.84
|
|
1097
|
+
],
|
|
1098
|
+
"size": 0.12,
|
|
1099
|
+
"velocity": [
|
|
1100
|
+
0,
|
|
1101
|
+
0.6,
|
|
1102
|
+
0
|
|
1103
|
+
],
|
|
1104
|
+
"gravity": -0.2
|
|
1105
|
+
}
|
|
1106
|
+
]
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
1110
|
+
"entity": 23,
|
|
1111
|
+
"name": "mossling-4.idle",
|
|
1112
|
+
"target": {
|
|
1113
|
+
"kind": "creature",
|
|
1114
|
+
"id": "mossling:4"
|
|
1115
|
+
},
|
|
1116
|
+
"reads": [],
|
|
1117
|
+
"parameters": [
|
|
1118
|
+
0,
|
|
1119
|
+
0.06,
|
|
1120
|
+
1.6,
|
|
1121
|
+
1
|
|
1122
|
+
],
|
|
1123
|
+
"pose": true,
|
|
1124
|
+
"maxOffset": 0.5,
|
|
1125
|
+
"minScale": 0.8,
|
|
1126
|
+
"maxScale": 1.25,
|
|
1127
|
+
"emitters": [
|
|
1128
|
+
{
|
|
1129
|
+
"id": 1,
|
|
1130
|
+
"recipe": "platform.particles",
|
|
1131
|
+
"perTick": 1,
|
|
1132
|
+
"live": 6,
|
|
1133
|
+
"lifetimeTicks": 90,
|
|
1134
|
+
"colour": [
|
|
1135
|
+
0.78,
|
|
1136
|
+
0.8,
|
|
1137
|
+
0.84
|
|
1138
|
+
],
|
|
1139
|
+
"size": 0.12,
|
|
1140
|
+
"velocity": [
|
|
1141
|
+
0,
|
|
1142
|
+
0.6,
|
|
1143
|
+
0
|
|
1144
|
+
],
|
|
1145
|
+
"gravity": -0.2
|
|
1146
|
+
}
|
|
1147
|
+
]
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
1151
|
+
"entity": 24,
|
|
1152
|
+
"name": "grey-blob-2.idle",
|
|
1153
|
+
"target": {
|
|
1154
|
+
"kind": "creature",
|
|
1155
|
+
"id": "grey-blob:2"
|
|
1156
|
+
},
|
|
1157
|
+
"reads": [],
|
|
1158
|
+
"parameters": [
|
|
1159
|
+
0,
|
|
1160
|
+
0.06,
|
|
1161
|
+
1.6,
|
|
1162
|
+
1
|
|
1163
|
+
],
|
|
1164
|
+
"pose": true,
|
|
1165
|
+
"maxOffset": 0.5,
|
|
1166
|
+
"minScale": 0.8,
|
|
1167
|
+
"maxScale": 1.25,
|
|
1168
|
+
"emitters": [
|
|
1169
|
+
{
|
|
1170
|
+
"id": 1,
|
|
1171
|
+
"recipe": "platform.particles",
|
|
1172
|
+
"perTick": 1,
|
|
1173
|
+
"live": 6,
|
|
1174
|
+
"lifetimeTicks": 90,
|
|
1175
|
+
"colour": [
|
|
1176
|
+
0.78,
|
|
1177
|
+
0.8,
|
|
1178
|
+
0.84
|
|
1179
|
+
],
|
|
1180
|
+
"size": 0.12,
|
|
1181
|
+
"velocity": [
|
|
1182
|
+
0,
|
|
1183
|
+
0.6,
|
|
1184
|
+
0
|
|
1185
|
+
],
|
|
1186
|
+
"gravity": -0.2
|
|
1187
|
+
}
|
|
1188
|
+
]
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
1192
|
+
"entity": 25,
|
|
1193
|
+
"name": "grey-blob-3.idle",
|
|
1194
|
+
"target": {
|
|
1195
|
+
"kind": "creature",
|
|
1196
|
+
"id": "grey-blob:3"
|
|
1197
|
+
},
|
|
1198
|
+
"reads": [],
|
|
1199
|
+
"parameters": [
|
|
1200
|
+
0,
|
|
1201
|
+
0.06,
|
|
1202
|
+
1.6,
|
|
1203
|
+
1
|
|
1204
|
+
],
|
|
1205
|
+
"pose": true,
|
|
1206
|
+
"maxOffset": 0.5,
|
|
1207
|
+
"minScale": 0.8,
|
|
1208
|
+
"maxScale": 1.25,
|
|
1209
|
+
"emitters": [
|
|
1210
|
+
{
|
|
1211
|
+
"id": 1,
|
|
1212
|
+
"recipe": "platform.particles",
|
|
1213
|
+
"perTick": 1,
|
|
1214
|
+
"live": 6,
|
|
1215
|
+
"lifetimeTicks": 90,
|
|
1216
|
+
"colour": [
|
|
1217
|
+
0.78,
|
|
1218
|
+
0.8,
|
|
1219
|
+
0.84
|
|
1220
|
+
],
|
|
1221
|
+
"size": 0.12,
|
|
1222
|
+
"velocity": [
|
|
1223
|
+
0,
|
|
1224
|
+
0.6,
|
|
1225
|
+
0
|
|
1226
|
+
],
|
|
1227
|
+
"gravity": -0.2
|
|
1228
|
+
}
|
|
1229
|
+
]
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
1233
|
+
"entity": 26,
|
|
1234
|
+
"name": "grey-blob-4.idle",
|
|
1235
|
+
"target": {
|
|
1236
|
+
"kind": "creature",
|
|
1237
|
+
"id": "grey-blob:4"
|
|
1238
|
+
},
|
|
1239
|
+
"reads": [],
|
|
1240
|
+
"parameters": [
|
|
1241
|
+
0,
|
|
1242
|
+
0.06,
|
|
1243
|
+
1.6,
|
|
1244
|
+
1
|
|
1245
|
+
],
|
|
1246
|
+
"pose": true,
|
|
1247
|
+
"maxOffset": 0.5,
|
|
1248
|
+
"minScale": 0.8,
|
|
1249
|
+
"maxScale": 1.25,
|
|
1250
|
+
"emitters": [
|
|
1251
|
+
{
|
|
1252
|
+
"id": 1,
|
|
1253
|
+
"recipe": "platform.particles",
|
|
1254
|
+
"perTick": 1,
|
|
1255
|
+
"live": 6,
|
|
1256
|
+
"lifetimeTicks": 90,
|
|
1257
|
+
"colour": [
|
|
1258
|
+
0.78,
|
|
1259
|
+
0.8,
|
|
1260
|
+
0.84
|
|
1261
|
+
],
|
|
1262
|
+
"size": 0.12,
|
|
1263
|
+
"velocity": [
|
|
1264
|
+
0,
|
|
1265
|
+
0.6,
|
|
1266
|
+
0
|
|
1267
|
+
],
|
|
1268
|
+
"gravity": -0.2
|
|
1269
|
+
}
|
|
1270
|
+
]
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
1274
|
+
"entity": 27,
|
|
1275
|
+
"name": "sow-1.idle",
|
|
1276
|
+
"target": {
|
|
1277
|
+
"kind": "creature",
|
|
1278
|
+
"id": "sow:1"
|
|
1279
|
+
},
|
|
1280
|
+
"reads": [],
|
|
1281
|
+
"parameters": [
|
|
1282
|
+
1,
|
|
1283
|
+
0.35,
|
|
1284
|
+
1,
|
|
1285
|
+
0
|
|
1286
|
+
],
|
|
1287
|
+
"pose": true,
|
|
1288
|
+
"maxOffset": 0.6,
|
|
1289
|
+
"minScale": 0.9,
|
|
1290
|
+
"maxScale": 1.1,
|
|
1291
|
+
"emitters": []
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
1295
|
+
"entity": 28,
|
|
1296
|
+
"name": "sow-2.idle",
|
|
1297
|
+
"target": {
|
|
1298
|
+
"kind": "creature",
|
|
1299
|
+
"id": "sow:2"
|
|
1300
|
+
},
|
|
1301
|
+
"reads": [],
|
|
1302
|
+
"parameters": [
|
|
1303
|
+
1,
|
|
1304
|
+
0.35,
|
|
1305
|
+
1,
|
|
1306
|
+
0
|
|
1307
|
+
],
|
|
1308
|
+
"pose": true,
|
|
1309
|
+
"maxOffset": 0.6,
|
|
1310
|
+
"minScale": 0.9,
|
|
1311
|
+
"maxScale": 1.1,
|
|
1312
|
+
"emitters": []
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
1316
|
+
"entity": 29,
|
|
1317
|
+
"name": "bog-wisp-1.idle",
|
|
1318
|
+
"target": {
|
|
1319
|
+
"kind": "creature",
|
|
1320
|
+
"id": "bog-wisp:1"
|
|
1321
|
+
},
|
|
1322
|
+
"reads": [],
|
|
1323
|
+
"parameters": [
|
|
1324
|
+
0,
|
|
1325
|
+
0.06,
|
|
1326
|
+
1.6,
|
|
1327
|
+
1
|
|
1328
|
+
],
|
|
1329
|
+
"pose": true,
|
|
1330
|
+
"maxOffset": 0.5,
|
|
1331
|
+
"minScale": 0.8,
|
|
1332
|
+
"maxScale": 1.25,
|
|
1333
|
+
"emitters": [
|
|
1334
|
+
{
|
|
1335
|
+
"id": 1,
|
|
1336
|
+
"recipe": "platform.particles",
|
|
1337
|
+
"perTick": 1,
|
|
1338
|
+
"live": 6,
|
|
1339
|
+
"lifetimeTicks": 90,
|
|
1340
|
+
"colour": [
|
|
1341
|
+
0.78,
|
|
1342
|
+
0.8,
|
|
1343
|
+
0.84
|
|
1344
|
+
],
|
|
1345
|
+
"size": 0.12,
|
|
1346
|
+
"velocity": [
|
|
1347
|
+
0,
|
|
1348
|
+
0.6,
|
|
1349
|
+
0
|
|
1350
|
+
],
|
|
1351
|
+
"gravity": -0.2
|
|
1352
|
+
}
|
|
1353
|
+
]
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"module": "875e798b8b1be62129b477e6b85e7c45cf11ae67cba006596d869133b469726b",
|
|
1357
|
+
"entity": 30,
|
|
1358
|
+
"name": "bog-wisp-2.idle",
|
|
1359
|
+
"target": {
|
|
1360
|
+
"kind": "creature",
|
|
1361
|
+
"id": "bog-wisp:2"
|
|
1362
|
+
},
|
|
1363
|
+
"reads": [],
|
|
1364
|
+
"parameters": [
|
|
1365
|
+
0,
|
|
1366
|
+
0.06,
|
|
1367
|
+
1.6,
|
|
1368
|
+
1
|
|
1369
|
+
],
|
|
1370
|
+
"pose": true,
|
|
1371
|
+
"maxOffset": 0.5,
|
|
1372
|
+
"minScale": 0.8,
|
|
1373
|
+
"maxScale": 1.25,
|
|
1374
|
+
"emitters": [
|
|
1375
|
+
{
|
|
1376
|
+
"id": 1,
|
|
1377
|
+
"recipe": "platform.particles",
|
|
1378
|
+
"perTick": 1,
|
|
1379
|
+
"live": 6,
|
|
1380
|
+
"lifetimeTicks": 90,
|
|
1381
|
+
"colour": [
|
|
1382
|
+
0.78,
|
|
1383
|
+
0.8,
|
|
1384
|
+
0.84
|
|
1385
|
+
],
|
|
1386
|
+
"size": 0.12,
|
|
1387
|
+
"velocity": [
|
|
1388
|
+
0,
|
|
1389
|
+
0.6,
|
|
1390
|
+
0
|
|
1391
|
+
],
|
|
1392
|
+
"gravity": -0.2
|
|
1393
|
+
}
|
|
1394
|
+
]
|
|
984
1395
|
}
|
|
985
1396
|
]
|
|
986
1397
|
}
|