@adatechnology/game-items-three 0.11.8 → 0.12.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.js CHANGED
@@ -65,7 +65,7 @@ import {
65
65
  turnItem,
66
66
  unregisterItemModel,
67
67
  wearableMaterials
68
- } from "./chunk-64JEKMFT.js";
68
+ } from "./chunk-DBIE2ZMX.js";
69
69
 
70
70
  // src/contained.ts
71
71
  function createContainedItemModel(items, options = {}) {
@@ -38,6 +38,8 @@ interface ItemKit {
38
38
  paper(color: number): THREE_NS.MeshStandardMaterial;
39
39
  food(color: number): THREE_NS.MeshStandardMaterial;
40
40
  glass(color: number, opacity: number): THREE_NS.MeshStandardMaterial;
41
+ /** Marks a part as the thing's carry handle (`CARRY_HANDLE_TAG` of game-contracts): a hand takes the thing there and carries it hanging. */
42
+ carryHandle<TObject extends THREE_NS.Object3D>(part: TObject): TObject;
41
43
  }
42
44
  /** The helpers of the showcase page on a given three.js; every kit has its own list of materials. */
43
45
  declare function createItemKit(three: Three): ItemKit;
package/dist/testing.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FINDS_TABLE_ID, H as HUMAN_HEIGHT, d as HUMAN_ID, g as ItemsAreaState, h as ItemsTestModule, i as ItemsTestModuleOptions, j as RULER_HEIGHT, k as RULER_ID, n as SHOWCASE_STAND_ID, o as ScenarioLike, s as createItemsTestModule } from './testing-D2tqWTG4.js';
1
+ export { F as FINDS_TABLE_ID, H as HUMAN_HEIGHT, d as HUMAN_ID, g as ItemsAreaState, h as ItemsTestModule, i as ItemsTestModuleOptions, j as RULER_HEIGHT, k as RULER_ID, n as SHOWCASE_STAND_ID, o as ScenarioLike, s as createItemsTestModule } from './testing-Y05TqYH8.js';
2
2
  import 'three';
3
3
  import '@adatechnology/game-contracts';
4
4
  import '@adatechnology/game-items';
package/dist/testing.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  RULER_ID,
7
7
  SHOWCASE_STAND_ID,
8
8
  createItemsTestModule
9
- } from "./chunk-64JEKMFT.js";
9
+ } from "./chunk-DBIE2ZMX.js";
10
10
  export {
11
11
  FINDS_TABLE_ID,
12
12
  HUMAN_HEIGHT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adatechnology/game-items-three",
3
- "version": "0.11.8",
3
+ "version": "0.12.0",
4
4
  "license": "MIT",
5
5
  "description": "three.js presentation for @adatechnology/game-items: the 24 models of the Itens do Vale Cinzento showcase at real size, simple shapes at real size for every other item, wear (new, used, spoiled) on the materials, merge by material, LOD and the draw budgets of the team.",
6
6
  "keywords": [
@@ -42,12 +42,12 @@
42
42
  "dist"
43
43
  ],
44
44
  "dependencies": {
45
- "@adatechnology/game-contracts": "^0.48.0",
46
- "@adatechnology/game-interactables": "^0.11.0",
47
- "@adatechnology/game-fluids": "^0.7.2",
48
- "@adatechnology/game-items": "^0.7.0",
49
- "@adatechnology/game-floorplan-three": "^9.0.0",
50
- "@adatechnology/game-shapes-three": "^0.4.2"
45
+ "@adatechnology/game-contracts": "^0.49.0",
46
+ "@adatechnology/game-floorplan-three": "^10.0.0",
47
+ "@adatechnology/game-fluids": "^0.7.3",
48
+ "@adatechnology/game-interactables": "^0.12.0",
49
+ "@adatechnology/game-items": "^0.7.2",
50
+ "@adatechnology/game-shapes-three": "^0.5.0"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "three": "^0.160.0"
@@ -60,15 +60,15 @@
60
60
  "tsup": "^8.5.1",
61
61
  "typescript": "^5.7.3",
62
62
  "vitest": "^3.2.4",
63
- "@adatechnology/game-destruction": "^0.35.0",
64
- "@adatechnology/game-interactables-household": "^0.8.6",
65
- "@adatechnology/game-interactables-three": "^0.6.2",
66
- "@adatechnology/game-destruction-three": "^1.8.1",
67
- "@adatechnology/game-items-goods": "^0.7.1",
68
- "@adatechnology/game-physics": "^0.11.1",
69
- "@adatechnology/game-test-room": "^1.10.2",
70
- "@adatechnology/golden-tool": "^0.0.0",
71
- "@adatechnology/game-physics-jolt": "^0.7.6"
63
+ "@adatechnology/game-destruction": "^0.37.0",
64
+ "@adatechnology/game-destruction-three": "^1.10.0",
65
+ "@adatechnology/game-interactables-household": "^0.8.7",
66
+ "@adatechnology/game-interactables-three": "^0.6.3",
67
+ "@adatechnology/game-items-goods": "^0.7.2",
68
+ "@adatechnology/game-physics": "^0.11.2",
69
+ "@adatechnology/game-physics-jolt": "^0.7.8",
70
+ "@adatechnology/game-test-room": "^1.11.0",
71
+ "@adatechnology/golden-tool": "^0.0.0"
72
72
  },
73
73
  "scripts": {
74
74
  "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsup",