@adatechnology/game-interactables-household 0.7.4 → 0.7.6

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.
@@ -18418,7 +18418,44 @@ var GameInteractablesHousehold = (() => {
18418
18418
  consumes: false,
18419
18419
  items: [
18420
18420
  "flashlight"
18421
- ]
18421
+ ],
18422
+ params: {
18423
+ clip: "toggle_flashlight"
18424
+ }
18425
+ },
18426
+ {
18427
+ id: "ignite",
18428
+ effect: "ignite",
18429
+ consumes: false,
18430
+ items: [
18431
+ "lighter"
18432
+ ],
18433
+ params: {
18434
+ clip: "light_lighter"
18435
+ }
18436
+ },
18437
+ {
18438
+ id: "radio_call",
18439
+ effect: "radio_call",
18440
+ consumes: false,
18441
+ items: [
18442
+ "portable_radio",
18443
+ "walkie_talkies"
18444
+ ],
18445
+ params: {
18446
+ clip: "use_radio"
18447
+ }
18448
+ },
18449
+ {
18450
+ id: "turn_key",
18451
+ effect: "turn_key",
18452
+ consumes: false,
18453
+ category: [
18454
+ "keys"
18455
+ ],
18456
+ params: {
18457
+ clip: "turn_key"
18458
+ }
18422
18459
  },
18423
18460
  {
18424
18461
  id: "swap_bag",
@@ -21812,7 +21849,7 @@ var GameInteractablesHousehold = (() => {
21812
21849
  d: 0.38,
21813
21850
  h: 0.3,
21814
21851
  y: 0.9,
21815
- solid: false,
21852
+ solid: true,
21816
21853
  massKg: 14,
21817
21854
  sounds: {
21818
21855
  leaves: {
@@ -23107,7 +23144,7 @@ var GameInteractablesHousehold = (() => {
23107
23144
  }
23108
23145
  for (const s of seats) c.add("seats", { ...s, eye: 0.62 });
23109
23146
  if (lie) {
23110
- c.add("seats", { id: "lie", pose: "lie", pos: [0, round3(seatY + 0.06), round3(sz0 + (sz1 - sz0) * 0.5)], ry: Math.PI / 2, exit: [0, 0, round3(hd + 0.55)] });
23147
+ c.add("seats", { id: "lie", pose: "lie", pos: [0, round3(seatY + 0.03), round3(sz0 + (sz1 - sz0) * 0.5)], ry: Math.PI / 2, eye: 0.21, exit: [0, 0, round3(hd + 0.55)] });
23111
23148
  }
23112
23149
  for (const s of c.spec.seats ?? []) c.interact(`sit_${s.id}`, [s.pos[0], round3(s.pos[1] + 0.25), round3(s.pos[2] + 0.3)], { do: "sit", seat: s.id }, s.pose === "lie" ? "prompt.lie" : "prompt.sit", 1.6);
23113
23150
  }
@@ -23164,7 +23201,7 @@ var GameInteractablesHousehold = (() => {
23164
23201
  const id = double ? `lie_${i + 1}` : "lie";
23165
23202
  seats.push(id);
23166
23203
  const sx = double ? i === 0 ? -1 : 1 : 0;
23167
- c.add("seats", { id, pose: "lie", pos: [round3(cx), round3(matTop + 0.06), round3(-hd + 0.95)], ry: FACE, eye: 0.2, exit: [round3(sx * (hw + 0.5) || hw + 0.5), 0, round3(-hd + 1.1)] });
23204
+ c.add("seats", { id, pose: "lie", pos: [round3(cx), round3(matTop), round3(-hd + 0.95)], ry: FACE, eye: 0.26, exit: [round3(sx * (hw + 0.5) || hw + 0.5), 0, round3(-hd + 1.1)] });
23168
23205
  }
23169
23206
  for (const id of seats) {
23170
23207
  const s = c.spec.seats.find((x) => x.id === id);
@@ -23231,7 +23268,7 @@ var GameInteractablesHousehold = (() => {
23231
23268
  for (const x of [-0.2, 0.2]) c.b("wood", x - 0.02, 0.06, zEnd, x + 0.02, highTop + 0.3, hd, shade(wood, 1.1));
23232
23269
  for (let i = 0; i < 5; i++) c.b("wood", -0.2, 0.3 + i * 0.22, zEnd + 5e-3, 0.2, 0.34 + i * 0.22, hd - 0.01, wood);
23233
23270
  for (const [id, top, ex] of [["lie_lower", lowTop, 1], ["lie_upper", highTop, -1]]) {
23234
- c.add("seats", { id, pose: "lie", pos: [0, round3(top + 0.06), round3(-hd + 0.95)], ry: FACE, eye: 0.2, exit: [round3(ex * (hw + 0.5)), 0, round3(-hd + 1.1)] });
23271
+ c.add("seats", { id, pose: "lie", pos: [0, round3(top), round3(-hd + 0.95)], ry: FACE, eye: 0.26, exit: [round3(ex * (hw + 0.5)), 0, round3(-hd + 1.1)] });
23235
23272
  c.interact(`lie_${id}`, [0, round3(top + 0.3), round3(-hd + 0.95)], { do: "sit", seat: id }, "prompt.lie", 1.8);
23236
23273
  }
23237
23274
  }