@korial29/tiny-fps 1.20.1 → 1.20.3

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.
@@ -6329,14 +6329,29 @@ var FLOATS$2 = [
6329
6329
  note(mine, "float", box(10, -.2, 138, 13, .5, 141, METAL)),
6330
6330
  note(mine, "float", box(23, -1.6, 132.6, 26, .2, 135, METAL))
6331
6331
  ];
6332
- /** The camp: the pod, the flag's step by it, a crate under each rack with a tarpaulin over it. */
6332
+ /** The camp: the pod, the flag's step by it, a tarpaulin over the camp's racks. */
6333
6333
  var POD_BOX = note(mine, "pod", box(POD[0] - 3, .75, POD[1] - 3, POD[0] + 3, 4.25, POD[1] + 3, METAL));
6334
6334
  var DAIS = note(mine, "dais", box(POD[0] - 2, .75, POD[1] - 10, POD[0] + 2, 1.3, POD[1] - 6, PAINT, RED));
6335
- var crate = (x, z, h = .4, tint) => lay("crate", x - 1.5, z - 1.5, x + 1.5, z + 1.5, h, WOOD, tint);
6335
+ /**
6336
+ * A crate on the sand with a pack on it: its top 0.1 m over the highest sand under it, so a player
6337
+ * runs over it without a jump from its low side too (under STEP_H; the user, 2026-11-27).
6338
+ */
6339
+ var crate = (x, z) => lay("crate", x - 1.5, z - 1.5, x + 1.5, z + 1.5, .1, WOOD);
6340
+ /** A metal plate on the sand with a pack on it, as low as a crate for the same reason. */
6341
+ var plate = (x0, z0, x1, z1) => lay("panel", x0, z0, x1, z1, .1, METAL);
6336
6342
  /** A tarpaulin on four poles 3.6 m high (the user, 2026-11-26: taller), wider than deep: no pole on a diagonal of the crate under it, where it would hide the rack from a spawn. */
6337
6343
  var shelter = (x, z) => [box(x - 2.6, 4.85, z - 2.1, x + 2.6, 5, z + 2.1, PAINT, RED), ...[-1, 1].flatMap((a) => [-1, 1].map((b) => box(x + 2.5 * a - .1, .75, z + 2 * b - .1, x + 2.5 * a + .1, 4.85, z + 2 * b + .1, STEEL)))].map((b) => note(mine, "shelter", b));
6338
- var [GUNS$1, BLADES] = [crate(49, 221), crate(71, 221)];
6339
- var [RIFLES, RAILS] = [crate(84, 185, .4, RED), crate(33, 153, .4, RED)];
6344
+ /**
6345
+ * A rack standing on the sand as it is walked there: no crate under it, which a player running at
6346
+ * the rack had to jump onto (the user, 2026-11-27).
6347
+ */
6348
+ var sand = (x, z) => [
6349
+ x,
6350
+ walked(x, z),
6351
+ z
6352
+ ];
6353
+ var [GUNS$1, BLADES] = [sand(49, 221), sand(71, 221)];
6354
+ var [RIFLES, RAILS] = [sand(84, 185), sand(38, 156)];
6340
6355
  /** The debris between the camp and the wing, a line to run: a panel, a container, the landing gear, a second container, the wing. */
6341
6356
  var PANEL = lay("panel", 67, 184.5, 70.5, 188, .65, METAL);
6342
6357
  var CONTAINER = lay("container", 68.5, 176, 71.1, 182, 1.875, METAL, ORANGE);
@@ -6348,19 +6363,19 @@ var BOGIE = lay("gear", 67.6, 169.6, 72, 170.6, 1.2, STEEL);
6348
6363
  var SCRAP = {
6349
6364
  camp: [crate(76, 213), crate(40, 217)],
6350
6365
  west: [
6351
- lay("panel", 44.5, 191.5, 47.5, 194.5, .5, METAL),
6366
+ plate(44.5, 191.5, 47.5, 194.5),
6352
6367
  lay("container", 33, 173.7, 39, 176.3, 2.2, METAL, ORANGE),
6353
- lay("panel", 41, 163.5, 44, 166.5, .4, METAL),
6368
+ plate(41, 163.5, 44, 166.5),
6354
6369
  lay("panel", 25.5, 159.5, 28.5, 162.5, .5, METAL),
6355
- lay("panel", 50.5, 139.5, 53.5, 142.5, .4, METAL),
6370
+ plate(50.5, 139.5, 53.5, 142.5),
6356
6371
  lay("container", 49.5, 132.4, 52.5, 135, 2.6, METAL, ORANGE)
6357
6372
  ],
6358
6373
  east: [
6359
- lay("panel", 62.5, 145.5, 65.5, 148.5, .4, METAL),
6374
+ plate(58.5, 140.5, 61.5, 143.5),
6360
6375
  crate(80, 171),
6361
6376
  crate(85.5, 165),
6362
6377
  crate(84, 153),
6363
- lay("panel", 84.5, 135.5, 87.5, 138.5, .4, METAL)
6378
+ plate(84.5, 141.5, 87.5, 144.5)
6364
6379
  ],
6365
6380
  cover: [
6366
6381
  lay("panel", 78, 156.6, 83, 157, 2.6, METAL),
@@ -6453,12 +6468,8 @@ var half = [
6453
6468
  ...FLOATS$2,
6454
6469
  POD_BOX,
6455
6470
  DAIS,
6456
- GUNS$1,
6457
- BLADES,
6458
6471
  ...shelter(49, 221),
6459
6472
  ...shelter(71, 221),
6460
- RIFLES,
6461
- RAILS,
6462
6473
  PANEL,
6463
6474
  CONTAINER,
6464
6475
  GEAR,
@@ -6535,10 +6546,10 @@ var team = (red) => {
6535
6546
  250 - z,
6536
6547
  Math.PI
6537
6548
  ]),
6538
- rack: side(on(GUNS$1)),
6539
- blade: side(on(BLADES)),
6540
- rifle: side(on(RIFLES)),
6541
- rail: side(on(RAILS))
6549
+ rack: side(GUNS$1),
6550
+ blade: side(BLADES),
6551
+ rifle: side(RIFLES),
6552
+ rail: side(RAILS)
6542
6553
  };
6543
6554
  };
6544
6555
  /** Where red's buggy is parked, x and z: by the camp's east crate, inside the level sand (FLATS). */