@adatechnology/game-test-room 0.19.1 → 0.20.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 +15 -0
- package/dist/index.global.js +603 -113
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +41 -1
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -308,6 +308,21 @@ interface InspectInfo {
|
|
|
308
308
|
/** Author and licence of the thumbnail (`TestRoomItem.thumbnailCredit`). */
|
|
309
309
|
thumbnailCredit?: string;
|
|
310
310
|
distance: number;
|
|
311
|
+
/** Set when the aim rests on the floor: what the ground is there (the room's terrain) instead of an object's part. */
|
|
312
|
+
ground?: GroundInspect;
|
|
313
|
+
}
|
|
314
|
+
/** The floor under the aim: its profile, the layer a blow reaches now and what has been done to it. */
|
|
315
|
+
interface GroundInspect {
|
|
316
|
+
/** Name of the ground profile (Dirt, Concrete slab). */
|
|
317
|
+
surface: string;
|
|
318
|
+
/** Name of the material exposed at that point (the turf, or the soil under it once dug). */
|
|
319
|
+
material: string;
|
|
320
|
+
/** Metres dug out under the untouched surface. */
|
|
321
|
+
dug: number;
|
|
322
|
+
/** Metres left before the digging limit (bedrock, or the bottom of a slab). */
|
|
323
|
+
remaining: number;
|
|
324
|
+
/** 0..1, how burnt the surface is. */
|
|
325
|
+
scorch: number;
|
|
311
326
|
}
|
|
312
327
|
interface HudState {
|
|
313
328
|
toolName: string;
|