@adatechnology/game-interactables 0.7.0 → 0.8.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.
- package/dist/index.d.ts +9 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -145,6 +145,15 @@ interface PartDestruction {
|
|
|
145
145
|
spacing: number;
|
|
146
146
|
diameter: number;
|
|
147
147
|
};
|
|
148
|
+
/**
|
|
149
|
+
* Masonry laid in units (a brick barbecue, a fireplace): the size of one unit (length, height, depth in metres), its bond and the SDK material of the joints. A host
|
|
150
|
+
* gives the masonry its units (`PartSpec.units` of the destruction SDK), so a hit knocks bricks out where it lands and the part breaks into bricks and rubble, not into blocks.
|
|
151
|
+
*/
|
|
152
|
+
units?: {
|
|
153
|
+
size: [number, number, number];
|
|
154
|
+
bond: 'running' | 'stack';
|
|
155
|
+
mortar: string;
|
|
156
|
+
};
|
|
148
157
|
}
|
|
149
158
|
/** One stack of items. `type` is an id from the content pack's item catalog. */
|
|
150
159
|
interface ItemStack {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adatechnology/game-interactables",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Renderer-agnostic runtime for interactive world objects: movable parts, containers with pickable items, power grid, fuel, logical plumbing, seats, soft volumes, effects, mirrors and damage.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dist"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@adatechnology/game-contracts": "^0.
|
|
42
|
+
"@adatechnology/game-contracts": "^0.47.0",
|
|
43
43
|
"@adatechnology/game-physics": "^0.11.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|