@adatechnology/game-interactables-household 0.6.0 → 0.7.1

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 CHANGED
@@ -33,7 +33,7 @@ interface HouseholdItem extends PropItem {
33
33
  id: string;
34
34
  label?: string;
35
35
  }>;
36
- /** `conduit_run`: polyline in object-local coordinates. */
36
+ /** `conduit_run`: polyline in object-local coordinates. `service_mast`: the axis of the mast's pipe, foot to the weatherhead's open end (default: a straight mast of the item's height bent over the top). */
37
37
  points?: Vec3[];
38
38
  /** `service_entrance`: where the drop wire ends (the house attachment point), object-local. */
39
39
  house?: Vec3;
@@ -58,6 +58,8 @@ interface HouseholdTypeDef {
58
58
  solid: boolean;
59
59
  /** A big piece standing free on the floor: a person leans on it and pushes it instead of picking it up. Absent for what is carried by hand or fixed to the house. */
60
60
  pushable?: boolean;
61
+ /** Fixed where it is laid, to the house or the ground (a service mast clamped to the wall and set in the sidewalk): a host never makes it a loose body. */
62
+ fixed?: boolean;
61
63
  /**
62
64
  * Real mass of the whole object, empty, in kg (a fridge 70, a camping table 4.5). The drawing is solid blocks, so a mass from its volume would be far off (a fridge of
63
65
  * two tonnes): a host that builds a physical body splits this mass over the pieces. Absent for what is built into the ground (a fireplace, a well).
@@ -18901,6 +18901,7 @@ var GameInteractablesHousehold = (() => {
18901
18901
  wall_switch: { body: { material: "plastic", joint: "screw" }, parts: [["rocker", { material: "plastic", joint: "clip", piece: "rocker" }]] },
18902
18902
  service_entrance: { body: { material: "steel", joint: "bolt" }, parts: [["meter_door", door("steel")]] },
18903
18903
  conduit_run: { body: { material: "plastic", joint: "clip" }, parts: [] },
18904
+ service_mast: { body: { material: "steel", joint: "clip" }, parts: [] },
18904
18905
  electrical_panel: {
18905
18906
  body: { material: "steel", joint: "screw" },
18906
18907
  parts: [[/^breaker/, { material: "plastic", joint: "clip", piece: "breaker" }], ["door", door("steel")]]
@@ -20094,6 +20095,7 @@ var GameInteractablesHousehold = (() => {
20094
20095
  "type.wall_socket": "Wall socket",
20095
20096
  "type.wall_switch": "Light switch",
20096
20097
  "type.service_entrance": "Service entrance pole",
20098
+ "type.service_mast": "Service mast (pontalete)",
20097
20099
  "type.conduit_run": "Conduit run",
20098
20100
  "type.tv": "Television",
20099
20101
  "type.microwave": "Microwave",
@@ -20338,6 +20340,7 @@ var GameInteractablesHousehold = (() => {
20338
20340
  "type.wall_socket": "Tomada",
20339
20341
  "type.wall_switch": "Interruptor",
20340
20342
  "type.service_entrance": "Poste de entrada de energia",
20343
+ "type.service_mast": "Pontalete de entrada de energia",
20341
20344
  "type.conduit_run": "Eletroduto",
20342
20345
  "type.tv": "Televis\xE3o",
20343
20346
  "type.microwave": "Micro-ondas",
@@ -20844,6 +20847,17 @@ var GameInteractablesHousehold = (() => {
20844
20847
  solid: true,
20845
20848
  massKg: 60
20846
20849
  },
20850
+ {
20851
+ id: "service_mast",
20852
+ group: "electrical",
20853
+ w: 0.1,
20854
+ d: 0.25,
20855
+ h: 4.4,
20856
+ y: 0,
20857
+ solid: true,
20858
+ massKg: 14,
20859
+ fixed: true
20860
+ },
20847
20861
  {
20848
20862
  id: "electrical_panel",
20849
20863
  group: "electrical",
@@ -21199,8 +21213,8 @@ var GameInteractablesHousehold = (() => {
21199
21213
  const oy = vertical ? s * (len / 2 - 0.025) : 0;
21200
21214
  c.b("metal", x + ox - 6e-3, y + oy - 6e-3, zf, x + ox + 6e-3, y + oy + 6e-3, zf + 0.02, dark);
21201
21215
  }
21202
- c.b("metal", x - gx / 2, y - gy / 2, zf + 0.018, x + gx / 2, y + gy / 2, zf + HANDLE, color);
21203
- c.b("metal", x - gx / 2 + (vertical ? 3e-3 : 0), y - gy / 2 + (vertical ? 0 : 3e-3), zf + HANDLE, x + gx / 2 - (vertical ? 3e-3 : 0), y + gy / 2 - (vertical ? 0 : 3e-3), zf + HANDLE + 5e-4, shade(color, 1.2));
21216
+ c.b("metal", x - gx / 2, y - gy / 2, zf + 0.018, x + gx / 2, y + gy / 2, zf + HANDLE - 2e-3, color);
21217
+ c.b("metal", x - gx / 2 + (vertical ? 3e-3 : 0), y - gy / 2 + (vertical ? 0 : 3e-3), zf + HANDLE - 2e-3, x + gx / 2 - (vertical ? 3e-3 : 0), y + gy / 2 - (vertical ? 0 : 3e-3), zf + HANDLE, shade(color, 1.2));
21204
21218
  }
21205
21219
  function hingedDoor(c, o) {
21206
21220
  const t = o.t ?? 0.02;
@@ -21231,11 +21245,11 @@ var GameInteractablesHousehold = (() => {
21231
21245
  c.b(mat, o.x0, o.y0 + r, o.zf - 3e-3, o.x0 + r, o.y1 - r, o.zf, shade(o.color, 1.06));
21232
21246
  c.b(mat, o.x1 - r, o.y0 + r, o.zf - 3e-3, o.x1, o.y1 - r, o.zf, shade(o.color, 1.06));
21233
21247
  } else {
21234
- c.b(mat, o.x0, o.y0, zIn, o.x1, o.y1, o.zf, o.color);
21235
- c.b(mat, o.x0 + 6e-3, o.y0 + 6e-3, o.zf - 2e-3, o.x1 - 6e-3, o.y1 - 6e-3, o.zf, shade(o.color, 1.04));
21248
+ c.b(mat, o.x0, o.y0, zIn, o.x1, o.y1, o.zf - 2e-3, o.color);
21249
+ c.b(mat, o.x0 + 6e-3, o.y0 + 6e-3, o.zf - 4e-3, o.x1 - 6e-3, o.y1 - 6e-3, o.zf, shade(o.color, 1.04));
21236
21250
  }
21237
21251
  const inner = o.inner ?? mix(o.color, 16777215, 0.55);
21238
- c.b("plain", o.x0 + 0.014, o.y0 + 0.014, zIn - 4e-3, o.x1 - 0.014, o.y1 - 0.014, zIn, inner);
21252
+ c.b("plain", o.x0 + 0.014, o.y0 + 0.014, zIn - 3e-3, o.x1 - 0.014, o.y1 - 0.014, zIn, inner);
21239
21253
  c.b("plain", o.x0 + 6e-3, o.y0 + 6e-3, zIn - 2e-3, o.x1 - 6e-3, o.y0 + 0.014, zIn, 3815996);
21240
21254
  c.b("plain", o.x0 + 6e-3, o.y1 - 0.014, zIn - 2e-3, o.x1 - 6e-3, o.y1 - 6e-3, zIn, 3815996);
21241
21255
  c.b("plain", o.x0 + 6e-3, o.y0 + 0.014, zIn - 2e-3, o.x0 + 0.014, o.y1 - 0.014, zIn, 3815996);
@@ -21273,7 +21287,7 @@ var GameInteractablesHousehold = (() => {
21273
21287
  const m = Math.min(0.04, (o.y1 - o.y0) / 4);
21274
21288
  c.b("wood", o.x0 + m, o.y0 + m, o.zf - 5e-3, o.x1 - m, o.y1 - m, o.zf - 1e-3, shade(o.color, 0.94));
21275
21289
  c.b("wood", o.x0 + m + 0.01, o.y0 + m + 0.01, o.zf - 1e-3, o.x1 - m - 0.01, o.y1 - m - 0.01, o.zf, mix(o.color, 16777215, 0.08));
21276
- c.b("wood", bx0, yb, zBack, bx1, yb + 8e-3, zFront, shade(o.color, 0.85));
21290
+ c.b("wood", bx0 + th, yb, zBack + th, bx1 - th, yb + 8e-3, zFront, shade(o.color, 0.85));
21277
21291
  c.b("wood", bx0, yb, zBack, bx0 + th, yt, zFront, shade(o.color, 0.88));
21278
21292
  c.b("wood", bx1 - th, yb, zBack, bx1, yt, zFront, shade(o.color, 0.88));
21279
21293
  c.b("wood", bx0 + th, yb, zBack, bx1 - th, yt, zBack + th, shade(o.color, 0.82));
@@ -21314,10 +21328,10 @@ var GameInteractablesHousehold = (() => {
21314
21328
  }
21315
21329
  function shelf(c, x0, x1, y, z0, z1, color, t = 0.016, glass = false) {
21316
21330
  if (glass) {
21317
- c.b("glass", x0, y - 6e-3, z0, x1, y, z1, 13625066);
21331
+ c.b("glass", x0, y - 6e-3, z0, x1, y, z1 - 0.012, 13625066);
21318
21332
  c.b("plain", x0, y - 8e-3, z1 - 0.012, x1, y + 0.012, z1, 15003376);
21319
21333
  } else {
21320
- c.b("wood", x0, y - t, z0, x1, y, z1, color);
21334
+ c.b("wood", x0, y - t, z0, x1, y, z1 - 3e-3, color);
21321
21335
  c.b("wood", x0, y - t, z1 - 3e-3, x1, y, z1, shade(color, 1.12));
21322
21336
  }
21323
21337
  }
@@ -21351,7 +21365,8 @@ var GameInteractablesHousehold = (() => {
21351
21365
  id: `${id}_cord`,
21352
21366
  kind: "cord",
21353
21367
  radius: 4e-3,
21354
- points: [plug, [plug[0], Math.max(floor, plug[1] - 0.08), plug[2] - 0.04], [plug[0] + 0.05, floor, plug[2] - 0.2]]
21368
+ // (down the back from the plug, never behind it: behind the back is the wall the device stands against)
21369
+ points: [plug, [plug[0], Math.max(floor, plug[1] - 0.08), plug[2]], [plug[0] + 0.05, floor, plug[2]]]
21355
21370
  });
21356
21371
  }
21357
21372
 
@@ -21403,7 +21418,20 @@ var GameInteractablesHousehold = (() => {
21403
21418
  c.interact("use_switch", [0, round3(cy), round3(zp + 0.02)], { do: "toggle_switch", switch: "switch" }, "prompt.switch", 1);
21404
21419
  c.spec.colliders = [];
21405
21420
  }
21421
+ var NETWORK_POST = { half: 0.07, anchor: 5.7, bracket: 0.06 };
21422
+ function networkPost(c) {
21423
+ const { h } = c;
21424
+ const { half, anchor, bracket } = NETWORK_POST;
21425
+ c.b("plain", -half, 0, -half, half, h, half, c.main(11119009));
21426
+ c.b("metal", -0.02, anchor - 0.06, -half - bracket, 0.02, anchor + 0.04, -half - 2e-3, 4869200);
21427
+ c.add("wires", { id: "earth", kind: "cable", radius: 6e-3, points: [[0.04, 1.2, -half - 0.01], [0.04, 0.9, -half - 0.05], [0.04, 0.05, -half - 0.12]] });
21428
+ c.cyl("metal", 0.04, 1e-3, -half - 0.12, 0.01, 0.3, 12088115, "cyl6");
21429
+ c.spec.colliders = [];
21430
+ c.collider("pole", -half, 0, -half, half, h, half);
21431
+ c.add("damage", { target: "self", kind: "masonry", hp: 400 });
21432
+ }
21406
21433
  function serviceEntrance(c) {
21434
+ if (c.M.variant === "network") return networkPost(c);
21407
21435
  const { hw, h } = c;
21408
21436
  const pole = c.main(11119009);
21409
21437
  const top = h - 0.1;
@@ -21478,6 +21506,33 @@ var GameInteractablesHousehold = (() => {
21478
21506
  c.add("wires", { id: "conduit", kind: "conduit", radius: 0.012, points: pts });
21479
21507
  c.spec.colliders = [];
21480
21508
  }
21509
+ var MAST = { radius: 0.021, bend: 0.08, capRadius: 0.032, capLength: 0.06, color: 11120307 };
21510
+ function mastAxis(h) {
21511
+ const top = h - MAST.bend - MAST.radius * 1.2;
21512
+ const arc = Array.from({ length: 8 }, (_, index) => {
21513
+ const angle = Math.PI * (index + 1) / 8;
21514
+ return [0, round3(top + MAST.bend * Math.sin(angle)), round3(-MAST.bend * Math.cos(angle))];
21515
+ });
21516
+ return [[0, 0, -MAST.bend], [0, top, -MAST.bend], ...arc];
21517
+ }
21518
+ function pipeSegment(c, a, b) {
21519
+ const dy = b[1] - a[1];
21520
+ const dz = b[2] - a[2];
21521
+ const length = Math.hypot(dy, dz);
21522
+ if (length < 1e-4) return;
21523
+ if (Math.abs(dz) < 1e-6 && dy > 0) return void c.cyl("metal", a[0], a[1], a[2], MAST.radius, length, MAST.color, "cyl");
21524
+ const reach = length + MAST.radius * 0.4;
21525
+ c.cyl("metal", a[0], (a[1] + b[1]) / 2, (a[2] + b[2]) / 2, MAST.radius, reach, MAST.color, "cyl", Math.atan2(dz, dy), 0);
21526
+ }
21527
+ function serviceMast(c) {
21528
+ const points = c.M.points && c.M.points.length >= 2 ? c.M.points.map((p) => [...p]) : mastAxis(c.h);
21529
+ for (let index = 0; index + 1 < points.length; index++) pipeSegment(c, points[index], points[index + 1]);
21530
+ const end = points[points.length - 1];
21531
+ c.cyl("metal", end[0], end[1] - MAST.capLength, end[2], MAST.capRadius, MAST.capLength, MAST.color, "cyl");
21532
+ c.spec.colliders = [];
21533
+ const foot = points[0];
21534
+ c.collider("mast", foot[0] - MAST.radius, foot[1], foot[2] - MAST.radius, foot[0] + MAST.radius, end[1], foot[2] + MAST.radius);
21535
+ }
21481
21536
  function tv(c) {
21482
21537
  const { hw, hd, w, h, y0 } = c;
21483
21538
  const bz = 0.04;
@@ -21696,8 +21751,8 @@ var GameInteractablesHousehold = (() => {
21696
21751
  var STEEL = 11843772;
21697
21752
  var CHROME = 13817562;
21698
21753
  function tap2(c, x, y, z, id, partId) {
21699
- c.cyl("metal", x, y, z, 0.03, 0.02, STEEL, "cyl");
21700
- c.cyl("metal", x, y + 0.02, z, 0.017, 0.2, CHROME, "cyl");
21754
+ c.cyl("metal", x, y - 2e-3, z, 0.03, 0.022, STEEL, "cyl");
21755
+ c.cyl("metal", x, y + 0.02, z, 0.017, 0.19, CHROME, "cyl");
21701
21756
  c.cyl("metal", x, y + 0.2, z, 0.021, 0.02, STEEL, "cyl");
21702
21757
  c.b("metal", x - 0.015, y + 0.205, z, x + 0.015, y + 0.235, z + 0.015, CHROME);
21703
21758
  c.b("metal", x - 0.014, y + 0.205, z + 0.015, x + 0.014, y + 0.235, z + 0.19, CHROME);
@@ -21855,10 +21910,11 @@ var GameInteractablesHousehold = (() => {
21855
21910
  const y0 = o.top - 0.04;
21856
21911
  const zf = hd - HANDLE + 0.02;
21857
21912
  const col = o.counter;
21858
- c.b("wood", -hw, y0, -hd, o.bx0, o.top, zf, col);
21859
- c.b("wood", o.bx1, y0, -hd, hw, o.top, zf, col);
21860
- c.b("wood", o.bx0, y0, -hd, o.bx1, o.top, o.bz0, col);
21861
- c.b("wood", o.bx0, y0, o.bz1, o.bx1, o.top, zf, col);
21913
+ const g = 0.01;
21914
+ c.b("wood", -hw, y0, -hd, o.bx0 - g, o.top, zf, col);
21915
+ c.b("wood", o.bx1 + g, y0, -hd, hw, o.top, zf, col);
21916
+ c.b("wood", o.bx0 - g, y0, -hd, o.bx1 + g, o.top, o.bz0 - g, col);
21917
+ c.b("wood", o.bx0 - g, y0, o.bz1 + g, o.bx1 + g, o.top, zf, col);
21862
21918
  const wall = o.steel ? 12896460 : 16054006;
21863
21919
  const floor = o.steel ? 11449014 : 15133162;
21864
21920
  const mat = o.steel ? "metal" : "plain";
@@ -21875,10 +21931,10 @@ var GameInteractablesHousehold = (() => {
21875
21931
  c.b(mat, o.bx1, o.top, o.bz0, o.bx1 + 0.02, o.top + 4e-3, o.bz1, wall);
21876
21932
  }
21877
21933
  function pipes(c, x, top, z) {
21878
- const wall = -c.hd + 0.03;
21934
+ const wall = -c.hd + 2e-3;
21879
21935
  c.cyl("metal", x, 0.2, z, 0.02, top - 0.2 - 0.12, 13159632, "cyl6");
21880
21936
  c.rod("plain", "x", x + 0.06, 0.2, z, 0.02, 0.14, 15263976, "cyl6");
21881
- c.cyl("plain", x + 0.13, 0.08, z, 0.02, 0.14, 15263976, "cyl6");
21937
+ c.cyl("plain", x + 0.13, 0.07, z, 0.022, 0.15, 15263976, "cyl6");
21882
21938
  c.rod("plain", "z", x + 0.13, 0.09, (z + wall) / 2, 0.02, z - wall, 15263976, "cyl6");
21883
21939
  }
21884
21940
  function sinkKitchen(c) {
@@ -21943,7 +21999,7 @@ var GameInteractablesHousehold = (() => {
21943
21999
  const tubTop = 0.88;
21944
22000
  const wall = 13619664;
21945
22001
  const bw = c.w - 0.04;
21946
- for (const sx of [-1, 1]) for (const sz of [-1, 1]) c.b("metal", sx * (hw - 0.04) - 0.02, 0, sz * (hd - 0.04) - 0.02, sx * (hw - 0.04) + 0.02, tubTop - 0.3, sz * (hd - 0.04) + 0.02, 6975090);
22002
+ for (const sx of [-1, 1]) for (const sz of [-1, 1]) c.b("metal", sx * (hw - 0.04) - 0.02, 0, sz * (hd - 0.04) - 0.02, sx * (hw - 0.04) + 0.02, tubTop - 0.32, sz * (hd - 0.04) + 0.02, 6975090);
21947
22003
  c.b("metal", -hw, tubTop - 0.34, -hd, hw, tubTop - 0.3, hd, 6975090);
21948
22004
  const x0 = -bw / 2;
21949
22005
  const x1 = bw / 2;
@@ -22078,16 +22134,16 @@ var GameInteractablesHousehold = (() => {
22078
22134
  const baseTop = 0.28;
22079
22135
  for (const sx of [-1, 1]) for (const sz of [-1, 1]) c.b("wood", sx * (hw - 0.07) - 0.025, 0, sz * (hd - 0.07) - 0.025, sx * (hw - 0.07) + 0.025, legH, sz * (hd - 0.07) + 0.025, 3811870);
22080
22136
  c.b("fabric", -hw, legH, -hd, hw, baseTop, hd, dark);
22081
- c.b("fabric", -hw + armW, baseTop - 0.01, hd - 0.02, hw - armW, baseTop + 0.02, hd, shade(fab, 0.7));
22137
+ c.b("fabric", -hw + armW, baseTop - 0.01, hd - 0.02, hw - armW, baseTop + 0.02, hd + 4e-3, shade(fab, 0.7));
22082
22138
  const bt = 0.2;
22083
22139
  c.b("fabric", -hw, baseTop, -hd, hw, h - 0.07 - bt / 2, -hd + bt, fab);
22084
- c.rod("fabric", "x", 0, h - 0.07 - bt / 2, -hd + bt / 2, bt / 2, c.w, fab);
22140
+ c.rod("fabric", "x", 0, h - 0.07 - bt / 2, -hd + bt / 2, bt / 2, c.w - 4e-3, fab);
22085
22141
  const armTop = 0.62;
22086
22142
  for (const s of [-1, 1]) {
22087
22143
  const x0 = s < 0 ? -hw : hw - armW;
22088
- c.b("fabric", x0, baseTop, -hd + bt, x0 + armW, armTop - armW / 2, hd, fab);
22089
- c.rod("fabric", "z", x0 + armW / 2, armTop - armW / 2, (-hd + bt + hd) / 2, armW / 2, hd - (-hd + bt), fab);
22090
- c.b("fabric", s < 0 ? x0 + armW - 0.012 : x0, baseTop + 0.02, -hd + bt, s < 0 ? x0 + armW : x0 + 0.012, armTop - armW / 2, hd - 0.02, light);
22144
+ c.b("fabric", s < 0 ? x0 : x0 + 6e-3, baseTop, -hd + bt, s < 0 ? x0 + armW - 6e-3 : x0 + armW, armTop - armW / 2, hd, fab);
22145
+ c.rod("fabric", "z", x0 + armW / 2, armTop - armW / 2, (-hd + bt + hd) / 2, armW / 2, hd - (-hd + bt) - 4e-3, fab);
22146
+ c.b("fabric", s < 0 ? x0 + armW - 0.012 : x0, baseTop + 0.02, -hd + bt + 3e-3, s < 0 ? x0 + armW : x0 + 0.012, armTop - armW / 2 + 3e-3, hd - 0.02, light);
22091
22147
  }
22092
22148
  const ix0 = -hw + armW;
22093
22149
  const ix1 = hw - armW;
@@ -22101,7 +22157,7 @@ var GameInteractablesHousehold = (() => {
22101
22157
  const col = i % 2 === 0 ? light : fab;
22102
22158
  c.b("fabric", x0, baseTop + 0.02, sz0 + 0.02, x1, seatY, sz1, col);
22103
22159
  c.b("fabric", x0 + 0.01, seatY, sz0 + 0.03, x1 - 0.01, seatY + 0.025, sz1 - 0.01, mix(col, 16777215, 0.06));
22104
- c.b("fabric", x0, baseTop + 0.02, sz1 - 6e-3, x1, seatY + 0.02, sz1, shade(col, 0.75));
22160
+ c.b("fabric", x0 + 3e-3, baseTop + 0.025, sz1 - 6e-3, x1 - 3e-3, seatY + 0.02, sz1 + 3e-3, shade(col, 0.75));
22105
22161
  c.b("fabric", x0 + 5e-3, seatY + 0.02, sz0 + 0.02, x1 - 5e-3, h - 0.12, sz0 + 0.19, col, 0, -0.18);
22106
22162
  const cx = (x0 + x1) / 2;
22107
22163
  seats.push({ id: `seat_${i + 1}`, pose: "sit", pos: [round3(cx), round3(seatY + 0.03), round3(sz0 + (sz1 - sz0) * 0.55)], ry: FACE, exit: [round3(cx), 0, round3(hd + 0.55)] });
@@ -22125,14 +22181,14 @@ var GameInteractablesHousehold = (() => {
22125
22181
  const seatY = 0.45;
22126
22182
  const lt = 0.035;
22127
22183
  for (const sx of [-1, 1]) for (const sz of [-1, 1]) c.b("wood", sx * (hw - lt / 2 - 0.01) - lt / 2, 0, sz * (hd - lt / 2 - 0.01) - lt / 2, sx * (hw - lt / 2 - 0.01) + lt / 2, sz < 0 ? h : seatY - 0.03, sz * (hd - lt / 2 - 0.01) + lt / 2, shade(wood, sz < 0 ? 0.9 : 1));
22128
- c.b("wood", -hw + 0.01, seatY - 0.09, -hd + 0.01, hw - 0.01, seatY - 0.04, -hd + 0.04, shade(wood, 0.85));
22129
- c.b("wood", -hw + 0.01, seatY - 0.09, hd - 0.04, hw - 0.01, seatY - 0.04, hd - 0.01, shade(wood, 0.85));
22130
- c.b("wood", -hw + 0.01, seatY - 0.09, -hd + 0.04, -hw + 0.04, seatY - 0.04, hd - 0.04, shade(wood, 0.85));
22131
- c.b("wood", hw - 0.04, seatY - 0.09, -hd + 0.04, hw - 0.01, seatY - 0.04, hd - 0.04, shade(wood, 0.85));
22184
+ c.b("wood", -hw + 0.014, seatY - 0.09, -hd + 0.014, hw - 0.014, seatY - 0.04, -hd + 0.04, shade(wood, 0.85));
22185
+ c.b("wood", -hw + 0.014, seatY - 0.09, hd - 0.04, hw - 0.014, seatY - 0.04, hd - 0.014, shade(wood, 0.85));
22186
+ c.b("wood", -hw + 0.014, seatY - 0.09, -hd + 0.04, -hw + 0.04, seatY - 0.04, hd - 0.04, shade(wood, 0.85));
22187
+ c.b("wood", hw - 0.04, seatY - 0.09, -hd + 0.04, hw - 0.014, seatY - 0.04, hd - 0.04, shade(wood, 0.85));
22132
22188
  c.b("wood", -hw, seatY - 0.03, -hd, hw, seatY, hd, wood);
22133
22189
  c.b("fabric", -hw + 0.02, seatY, -hd + 0.05, hw - 0.02, seatY + 0.04, hd - 0.02, cush);
22134
22190
  c.b("fabric", -hw + 0.03, seatY + 0.04, -hd + 0.06, hw - 0.03, seatY + 0.045, hd - 0.03, mix(cush, 16777215, 0.1));
22135
- c.b("wood", -hw + 0.01, h - 0.1, -hd + 0.01, hw - 0.01, h - 0.03, -hd + 0.04, wood);
22191
+ c.b("wood", -hw + 0.014, h - 0.1, -hd + 0.014, hw - 0.014, h - 0.03, -hd + 0.04, wood);
22136
22192
  for (let i = 0; i < 3; i++) c.b("wood", -hw + 0.07 + i * ((c.w - 0.14) / 3), seatY + 0.06, -hd + 0.015, -hw + 0.07 + i * ((c.w - 0.14) / 3) + 0.04, h - 0.1, -hd + 0.035, shade(wood, 1.05));
22137
22193
  c.add("seats", { id: "seat", pose: "sit", pos: [0, round3(seatY + 0.05), 0.02], ry: FACE, exit: [0, 0, round3(hd + 0.45)] });
22138
22194
  c.interact("sit", [0, seatY + 0.3, 0.1], { do: "sit", seat: "seat" }, "prompt.sit", 1.5);
@@ -22144,8 +22200,8 @@ var GameInteractablesHousehold = (() => {
22144
22200
  const frameTop = 0.3;
22145
22201
  const matTop = 0.54;
22146
22202
  for (const sx of [-1, 1]) for (const sz of [-1, 1]) c.b("wood", sx * (hw - 0.04) - 0.035, 0, sz * (hd - 0.04) - 0.035, sx * (hw - 0.04) + 0.035, 0.16, sz * (hd - 0.04) + 0.035, shade(wood, 0.8));
22147
- c.b("wood", -hw, 0.14, -hd, -hw + 0.05, frameTop, hd, wood);
22148
- c.b("wood", hw - 0.05, 0.14, -hd, hw, frameTop, hd, wood);
22203
+ c.b("wood", -hw, 0.14, -hd + 0.06, -hw + 0.05, frameTop, hd - 0.05, wood);
22204
+ c.b("wood", hw - 0.05, 0.14, -hd + 0.06, hw, frameTop, hd - 0.05, wood);
22149
22205
  c.b("wood", -hw, 0.14, hd - 0.05, hw, 0.44, hd, shade(wood, 1.05));
22150
22206
  c.b("wood", -hw, 0.14, -hd, hw, h, -hd + 0.06, shade(wood, 0.92));
22151
22207
  c.b("wood", -hw + 0.06, h - 0.08, -hd + 0.06, hw - 0.06, h - 0.02, -hd + 0.07, shade(wood, 1.12));
@@ -22187,10 +22243,10 @@ var GameInteractablesHousehold = (() => {
22187
22243
  const x = sx * (hw - 0.06);
22188
22244
  c.b("metal", x - 0.025, 0, -hd + 0.05, x + 0.025, seatY - 0.03, -hd + 0.09, iron);
22189
22245
  c.b("metal", x - 0.025, 0, hd - 0.09, x + 0.025, seatY - 0.03, hd - 0.05, iron);
22190
- c.b("metal", x - 0.025, seatY - 0.05, -hd + 0.04, x + 0.025, seatY - 0.02, hd - 0.04, iron);
22246
+ c.b("metal", x - 0.02, seatY - 0.05, -hd + 0.04, x + 0.02, seatY - 0.02, hd - 0.04, iron);
22191
22247
  c.b("metal", x - 0.025, seatY - 0.02, -hd + 0.04, x + 0.025, h, -hd + 0.08, iron);
22192
- c.b("metal", x - 0.03, 0.62, -hd + 0.04, x + 0.03, 0.655, hd - 0.12, iron);
22193
- c.b("metal", x - 0.025, seatY - 0.02, hd - 0.12, x + 0.025, 0.62, hd - 0.09, iron);
22248
+ c.b("metal", x - 0.03, 0.62, -hd + 0.045, x + 0.03, 0.655, hd - 0.12, iron);
22249
+ c.b("metal", x - 0.025, seatY - 0.04, hd - 0.12, x + 0.025, 0.62, hd - 0.09, iron);
22194
22250
  }
22195
22251
  for (let i = 0; i < 5; i++) c.b("wood", -hw + 0.03, seatY - 0.02, -hd + 0.09 + i * ((c.d - 0.18) / 5), hw - 0.03, seatY + 0.015, -hd + 0.09 + i * ((c.d - 0.18) / 5) + (c.d - 0.18) / 5 - 0.012, i % 2 ? wood : shade(wood, 1.06));
22196
22252
  for (let i = 0; i < 3; i++) c.b("wood", -hw + 0.03, 0.55 + i * 0.1, -hd + 0.025, hw - 0.03, 0.55 + i * 0.1 + 0.075, -hd + 0.05, i % 2 ? wood : shade(wood, 1.06));
@@ -22230,7 +22286,7 @@ var GameInteractablesHousehold = (() => {
22230
22286
  c.b("wood", -hw + post, highTop + 0.04, zEnd - post - 0.45, -hw + post + 0.03, highTop + 0.07, zEnd - post, wood);
22231
22287
  c.b("wood", hw - post - 0.03, highTop + 0.04, zEnd - post - 0.45, hw - post, highTop + 0.07, zEnd - post, wood);
22232
22288
  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));
22233
- for (let i = 0; i < 5; i++) c.b("wood", -0.2, 0.3 + i * 0.22, zEnd, 0.2, 0.34 + i * 0.22, hd - 0.01, wood);
22289
+ 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);
22234
22290
  for (const [id, top, ex] of [["lie_lower", lowTop, 1], ["lie_upper", highTop, -1]]) {
22235
22291
  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)] });
22236
22292
  c.interact(`lie_${id}`, [0, round3(top + 0.3), round3(-hd + 0.95)], { do: "sit", seat: id }, "prompt.lie", 1.8);
@@ -22404,10 +22460,12 @@ var GameInteractablesHousehold = (() => {
22404
22460
  // src/builders/storage.ts
22405
22461
  var sideOf = (c, fallback) => c.M.hinge ?? fallback;
22406
22462
  function doorLedge(c, x0, x1, y, zIn, depth, color) {
22407
- c.b("plain", x0, y, zIn - depth, x1, y + 8e-3, zIn, color);
22408
- c.b("plain", x0, y, zIn - depth, x1, y + 0.05, zIn - depth + 8e-3, mix(color, 16777215, 0.3));
22409
- c.b("plain", x0, y, zIn - depth, x0 + 8e-3, y + 0.05, zIn, mix(color, 16777215, 0.3));
22410
- c.b("plain", x1 - 8e-3, y, zIn - depth, x1, y + 0.05, zIn, mix(color, 16777215, 0.3));
22463
+ const zLip = zIn - depth + 8e-3;
22464
+ const zEnd = zIn - 2e-3;
22465
+ c.b("plain", x0 + 8e-3, y, zLip, x1 - 8e-3, y + 8e-3, zEnd, color);
22466
+ c.b("plain", x0, y, zIn - depth, x1, y + 0.05, zLip, mix(color, 16777215, 0.3));
22467
+ c.b("plain", x0, y, zLip, x0 + 8e-3, y + 0.05, zEnd, mix(color, 16777215, 0.3));
22468
+ c.b("plain", x1 - 8e-3, y, zLip, x1, y + 0.05, zEnd, mix(color, 16777215, 0.3));
22411
22469
  }
22412
22470
  function fridge(c) {
22413
22471
  const { hw, hd, h } = c;
@@ -22421,7 +22479,7 @@ var GameInteractablesHousehold = (() => {
22421
22479
  const sh = shell(c, { x0: -hw, x1: hw, y0: 0.05, y1: h, z0: -hd, z1: zb, color: body, inner: lining, t: 0.04, tTop: 0.03, tBottom: 0.05, tBack: 0.03, material: "plain" });
22422
22480
  c.b("plain", -hw + 0.03, 0, -hd + 0.03, hw - 0.03, 0.05, zb - 0.04, 2895408);
22423
22481
  const yd = h - fh - 0.04;
22424
- c.b("plain", sh.ix0, yd, sh.iz0, sh.ix1, yd + 0.04, zb, shade(body, 0.92));
22482
+ c.b("plain", sh.ix0 + 3e-3, yd, sh.iz0, sh.ix1 - 3e-3, yd + 0.04, zb, shade(body, 0.92));
22425
22483
  c.b("plain", sh.ix0 + 3e-3, yd - 3e-3, sh.iz0 + 3e-3, sh.ix1 - 3e-3, yd, zb, lining);
22426
22484
  c.b("plain", sh.ix0 + 3e-3, yd + 0.04, sh.iz0 + 3e-3, sh.ix1 - 3e-3, yd + 0.043, zb, lining);
22427
22485
  const fy0 = sh.iy0;
@@ -22429,7 +22487,7 @@ var GameInteractablesHousehold = (() => {
22429
22487
  const levels = [fy0, fy0 + 0.28, fy0 + 0.56, fy0 + 0.84];
22430
22488
  for (const y of levels.slice(1)) {
22431
22489
  shelf(c, sh.ix0 + 4e-3, sh.ix1 - 4e-3, y, sh.iz0 + 0.01, sz1, 13625066, 0.016, true);
22432
- for (const s of [-1, 1]) c.b("plain", s < 0 ? sh.ix0 : sh.ix1 - 0.012, y - 0.03, sh.iz0 + 0.01, s < 0 ? sh.ix0 + 0.012 : sh.ix1, y - 6e-3, sz1 - 0.02, 15003376);
22490
+ for (const s of [-1, 1]) c.b("plain", s < 0 ? sh.ix0 + 3e-3 : sh.ix1 - 0.012, y - 0.03, sh.iz0 + 0.01, s < 0 ? sh.ix0 + 0.012 : sh.ix1 - 3e-3, y - 6e-3, sz1 - 0.02, 15003376);
22433
22491
  }
22434
22492
  const slotsF = levels.flatMap((y) => c.row(sh.ix0 + 0.02, sh.ix1 - 0.02, y + (y === fy0 ? 3e-3 : 0), (sh.iz0 + 0.03 + sz1) / 2, 2, [0.3, 0.26, 0.3]));
22435
22493
  const zy = yd + 0.043;
@@ -22498,7 +22556,7 @@ var GameInteractablesHousehold = (() => {
22498
22556
  c.b("plain", -hw + 0.03, 0, -hd + 0.03, hw - 0.03, 0.04, zb - 0.04, 2895408);
22499
22557
  const fz = 0.2;
22500
22558
  const yd = h - fz - 0.03;
22501
- c.b("plain", sh.ix0, yd, sh.iz0, sh.ix1, yd + 0.03, zb, shade(body, 0.92));
22559
+ c.b("plain", sh.ix0 + 3e-3, yd, sh.iz0, sh.ix1 - 3e-3, yd + 0.03, zb, shade(body, 0.92));
22502
22560
  c.b("plain", sh.ix0 + 3e-3, yd - 3e-3, sh.iz0 + 3e-3, sh.ix1 - 3e-3, yd, zb, lining);
22503
22561
  const fy0 = sh.iy0;
22504
22562
  const sz1 = zdi - 0.1;
@@ -22570,7 +22628,7 @@ var GameInteractablesHousehold = (() => {
22570
22628
  const info = drawer2(c, { id: "drawer", x0: -hw + 3e-3, x1: hw - 3e-3, y0: yDr, y1: top - 3e-3, zf, zb: sh.iz0, color: front, handle: "bar_h", handleLen: 0.18 });
22571
22629
  const midY = (0.1 + yDr) / 2;
22572
22630
  const shelfY = midY;
22573
- shelf(c, sh.ix0, sh.ix1, shelfY, sh.iz0, sh.iz1 - 0.02, body);
22631
+ shelf(c, sh.ix0 + 3e-3, sh.ix1 - 3e-3, shelfY, sh.iz0, sh.iz1 - 0.02, body);
22574
22632
  const zc = (sh.iz0 + sh.iz1 - 0.02) / 2;
22575
22633
  const n = c.w >= 0.6 ? 2 : 1;
22576
22634
  const ids = doorsAcross(c, { x0: -hw + 3e-3, x1: hw - 3e-3, y0: 0.103, y1: yDr - 3e-3, zf, t, color: front, inner: lining, handle: "bar_v", side: sideOf(c, "left") });
@@ -22599,7 +22657,7 @@ var GameInteractablesHousehold = (() => {
22599
22657
  const y1 = y0 + h;
22600
22658
  const sh = shell(c, { x0: -hw, x1: hw, y0, y1, z0: -hd, z1: zr, color: body, inner: lining, t: 0.018 });
22601
22659
  const shelfY = y0 + h / 2;
22602
- shelf(c, sh.ix0, sh.ix1, shelfY, sh.iz0, sh.iz1 - 0.02, body);
22660
+ shelf(c, sh.ix0 + 3e-3, sh.ix1 - 3e-3, shelfY, sh.iz0, sh.iz1 - 0.02, body);
22603
22661
  const n = c.w >= 0.6 ? 2 : 1;
22604
22662
  const ids = doorsAcross(c, { x0: -hw + 3e-3, x1: hw - 3e-3, y0: y0 + 3e-3, y1: y1 - 3e-3, zf, t, color: front, inner: lining, handle: "knob", side: sideOf(c, "left") });
22605
22663
  const zc = (sh.iz0 + sh.iz1 - 0.02) / 2;
@@ -22622,7 +22680,7 @@ var GameInteractablesHousehold = (() => {
22622
22680
  const sh = shell(c, { x0: -hw, x1: hw, y0: 0.08, y1: h, z0: -hd, z1: zr, color: body, inner: lining, t: 0.018, material: garage ? "metal" : "wood" });
22623
22681
  c.b("wood", -hw + 0.01, 0, -hd + 0.03, hw - 0.01, 0.08, zr - 0.04, 3815478);
22624
22682
  const ys = [0.45, 0.8, 1.15, 1.5, 1.85].filter((y) => y < h - 0.2);
22625
- for (const y of ys) shelf(c, sh.ix0, sh.ix1, y, sh.iz0, sh.iz1 - (garage ? 0.02 : 0.025), body);
22683
+ for (const y of ys) shelf(c, sh.ix0 + 3e-3, sh.ix1 - 3e-3, y, sh.iz0, sh.iz1 - (garage ? 0.02 : 0.025), body);
22626
22684
  const dmax = sh.iz1 - 0.03 - sh.iz0 - 0.05;
22627
22685
  const zc = (sh.iz0 + sh.iz1 - 0.03) / 2;
22628
22686
  const levels = [sh.iy0, ...ys];
@@ -22646,17 +22704,17 @@ var GameInteractablesHousehold = (() => {
22646
22704
  const sh = shell(c, { x0: -hw, x1: hw, y0: 0.1, y1: h, z0: -hd, z1: zr, color: body, inner: lining, t: 0.02, tBack: 0.012 });
22647
22705
  c.b("wood", -hw + 0.01, 0, -hd + 0.03, hw - 0.01, 0.1, zr - 0.04, 3815478);
22648
22706
  const yBoard = 0.372;
22649
- c.b("wood", sh.ix0, yBoard, sh.iz0, sh.ix1, yBoard + 0.018, sh.iz1, shade(body, 0.95));
22650
- c.b("plain", sh.ix0, yBoard + 0.018, sh.iz0, sh.ix1, yBoard + 0.021, sh.iz1, lining);
22707
+ c.b("wood", sh.ix0 + 3e-3, yBoard, sh.iz0, sh.ix1 - 3e-3, yBoard + 0.018, sh.iz1, shade(body, 0.95));
22708
+ c.b("plain", sh.ix0 + 3e-3, yBoard + 0.018, sh.iz0, sh.ix1 - 3e-3, yBoard + 0.021, sh.iz1, lining);
22651
22709
  const gap = 3e-3;
22652
22710
  const dw = (c.w - 6e-3 - gap * (n - 1)) / n;
22653
22711
  const dx = (i) => -hw + 3e-3 + i * (dw + gap);
22654
22712
  const xs = dx(n - 1) - gap / 2;
22655
- c.b("wood", xs - 9e-3, yBoard + 0.018, sh.iz0, xs + 9e-3, sh.iy1, sh.iz1 - 0.02, shade(body, 0.95));
22713
+ c.b("wood", xs - 9e-3, yBoard + 0.021, sh.iz0, xs + 9e-3, sh.iy1, sh.iz1 - 0.02, shade(body, 0.95));
22656
22714
  const rodY = Math.min(1.82, h - 0.28);
22657
22715
  const zc = (sh.iz0 + sh.iz1) / 2 - 0.02;
22658
- c.rod("metal", "x", (sh.ix0 + xs - 9e-3) / 2, rodY, zc, 0.0125, xs - 9e-3 - sh.ix0, 11843772);
22659
- for (const x of [sh.ix0 + 0.01, xs - 0.02]) c.b("metal", x - 0.01, rodY - 0.03, zc - 0.03, x + 0.01, rodY + 0.03, zc + 0.03, 9212054);
22716
+ c.rod("metal", "x", (sh.ix0 + 3e-3 + xs - 9e-3) / 2, rodY, zc, 0.0125, xs - 9e-3 - sh.ix0 - 3e-3, 11843772);
22717
+ for (const x of [sh.ix0 + 0.013, xs - 0.02]) c.b("metal", x - 0.01, rodY - 0.03, zc - 0.03, x + 0.01, rodY + 0.03, zc + 0.03, 9212054);
22660
22718
  const span2 = xs - 9e-3 - sh.ix0 - 0.1;
22661
22719
  const count = Math.max(4, Math.floor(span2 / 0.07));
22662
22720
  const palette = [3824266, 11029050, 4880970, 14209216, 2763312, 9071258, 13148224];
@@ -22672,7 +22730,7 @@ var GameInteractablesHousehold = (() => {
22672
22730
  drawPieces(c, g.pieces, { x, y: rodY - 0.09 * scale, z: zc, yaw, scale });
22673
22731
  }
22674
22732
  const sy = [0.7, 1.05, 1.4, 1.75].filter((y) => y < h - 0.2);
22675
- for (const y of sy) shelf(c, xs + 9e-3, sh.ix1, y, sh.iz0, sh.iz1 - 0.02, body);
22733
+ for (const y of sy) shelf(c, xs + 9e-3, sh.ix1 - 3e-3, y, sh.iz0, sh.iz1 - 0.02, body);
22676
22734
  const levels = [yBoard + 0.021, ...sy];
22677
22735
  const cols = sh.ix1 - (xs + 0.02) >= 0.3 ? 2 : 1;
22678
22736
  const shelfSlots = levels.flatMap((y, i) => {
@@ -22802,7 +22860,7 @@ var GameInteractablesHousehold = (() => {
22802
22860
  const y1 = y0 + h;
22803
22861
  const sh = shell(c, { x0: -hw, x1: hw, y0, y1, z0: -hd, z1: zf - t - 3e-3, color: body, inner: lining, t: 0.015, tBack: 0.01, material: "plain" });
22804
22862
  const shelfYs = [y0 + h / 3, y0 + 2 * h / 3];
22805
- for (const y of shelfYs) shelf(c, sh.ix0, sh.ix1, y, sh.iz0, sh.iz1 - 0.01, 13625066, 0.016, true);
22863
+ for (const y of shelfYs) shelf(c, sh.ix0 + 3e-3, sh.ix1 - 3e-3, y, sh.iz0, sh.iz1 - 0.01, 13625066, 0.016, true);
22806
22864
  const levels = [sh.iy0, ...shelfYs];
22807
22865
  const zc = (sh.iz0 + sh.iz1) / 2;
22808
22866
  const slots = levels.flatMap((y, i) => c.row(sh.ix0 + 0.01, sh.ix1 - 0.01, y, zc, 4, [0.12, (i < levels.length - 1 ? levels[i + 1] - y : sh.iy1 - y) - 0.025, sh.iz1 - sh.iz0 - 0.03]));
@@ -23517,7 +23575,7 @@ var GameInteractablesHousehold = (() => {
23517
23575
  c.b("plain", -ow, hearthY, zw + 0.1, -ow + 0.04, openTop, zs, lin);
23518
23576
  c.b("plain", ow - 0.04, hearthY, zw + 0.1, ow, openTop, zs, lin);
23519
23577
  c.b("plain", -ow + 0.04, hearthY, zw + 0.1, ow - 0.04, hearthY + 0.03, zs, shade(lin, 0.75));
23520
- c.b("plain", -ow, openTop - 0.02, zw + 0.1, ow, openTop, zs, shade(lin, 0.8));
23578
+ c.b("plain", -ow + 0.04, openTop - 0.02, zw + 0.1, ow - 0.04, openTop, zs, shade(lin, 0.8));
23521
23579
  c.b("metal", -ow - 0.02, openTop, zs - 0.03, ow + 0.02, openTop + 0.04, zs + 5e-3, 3816512);
23522
23580
  masonry(-ow, openTop, zw, ow, mantelY, zs - 0.03);
23523
23581
  c.b("wood", -hw, mantelY, zw, hw, mantelY + 0.07, zs + 0.07, c.wood(6965808));
@@ -23528,16 +23586,16 @@ var GameInteractablesHousehold = (() => {
23528
23586
  masonry(-bw, mantelY + 0.07, zw, bw, breastTop, zw + 0.45);
23529
23587
  masonry(-stackHalf, breastTop, zw, stackHalf, chimneyTop - 0.08, zw + 0.4);
23530
23588
  c.b("plain", -stackHalf - 0.04, chimneyTop - 0.08, zw, stackHalf + 0.04, chimneyTop - 0.04, zw + 0.44, 13617596);
23531
- c.b("plain", -0.13, chimneyTop - 0.04, zw + 0.07, 0.13, chimneyTop, zw + 0.33, 10130570);
23532
- c.b("plain", -0.1, chimneyTop - 2e-3, zw + 0.1, 0.1, chimneyTop, zw + 0.3, 4866106);
23589
+ c.b("plain", -0.13, chimneyTop - 0.04, zw + 0.07, 0.13, chimneyTop - 2e-3, zw + 0.33, 10130570);
23590
+ c.b("plain", -0.1, chimneyTop - 4e-3, zw + 0.1, 0.1, chimneyTop, zw + 0.3, 4866106);
23533
23591
  const fz = zw + 0.1 + (sd - 0.1) * 0.5;
23534
23592
  const gy = hearthY + 0.03;
23535
23593
  for (const s of [-1, 1]) {
23536
23594
  c.b("metal", s * 0.27 - 0.02, gy, fz - 0.17, s * 0.27 + 0.02, gy + 0.2, fz - 0.15, IRON);
23537
23595
  c.b("metal", s * 0.27 - 0.02, gy, fz + 0.15, s * 0.27 + 0.02, gy + 0.2, fz + 0.17, IRON);
23538
- c.b("metal", s * 0.27 - 0.02, gy + 0.08, fz - 0.17, s * 0.27 + 0.02, gy + 0.1, fz + 0.17, IRON);
23596
+ c.b("metal", s * 0.27 - 0.015, gy + 0.08, fz - 0.15, s * 0.27 + 0.015, gy + 0.1, fz + 0.15, IRON);
23539
23597
  }
23540
- for (let i = 0; i < 5; i++) c.b("metal", -0.28, gy + 0.08, fz - 0.14 + i * 0.07, 0.28, gy + 0.095, fz - 0.128 + i * 0.07, shade(IRON, 1.3));
23598
+ for (let i = 0; i < 5; i++) c.b("metal", -0.28, gy + 0.083, fz - 0.14 + i * 0.07, 0.28, gy + 0.097, fz - 0.128 + i * 0.07, shade(IRON, 1.3));
23541
23599
  const log = 5914154;
23542
23600
  c.rod("wood", "x", 0, gy + 0.17, fz - 0.09, 0.06, 0.56, log);
23543
23601
  c.rod("wood", "x", 0.02, gy + 0.17, fz + 0.09, 0.055, 0.5, shade(log, 1.1));
@@ -24045,6 +24103,7 @@ var GameInteractablesHousehold = (() => {
24045
24103
  wall_switch: wallSwitch,
24046
24104
  service_entrance: serviceEntrance,
24047
24105
  conduit_run: conduitRun,
24106
+ service_mast: serviceMast,
24048
24107
  electrical_panel: electricalPanel,
24049
24108
  power_meter: powerMeter,
24050
24109
  tv,