@onlyworlds/sdk 4.142.1 → 4.143.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/CHANGELOG.md +10 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,16 @@ earlier history lives in git log only.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.143.0] - 2026-11-10
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- `TRAIL_TIERS`, `trailByPlace`'s default floors: each default tier is named by its own kinds: `location, object, zone` at 0, `character, collective, creature, species` at 240, `event` at 480, and the other eleven kinds at 720. The heights and the kinds are unchanged, so every point is the same; what moves is the text a tier's name reaches, each hanging Pin's `by` (`tier event; 3 of 7 on the spiral round it`) and the recipe's `settings.tiers`. The old names were group names for sets of kinds that no source holds. A caller that passes its own `tiers` sees no change.
|
|
13
|
+
|
|
14
|
+
### Tests
|
|
15
|
+
|
|
16
|
+
- The shared trail fixture moves with it (the same bytes in both packages, its sha held in each); its main input passes these tiers, and the hero case runs on the default.
|
|
17
|
+
|
|
8
18
|
## [4.142.1] - 2026-11-10
|
|
9
19
|
|
|
10
20
|
### Fixed
|
package/dist/index.d.ts
CHANGED
|
@@ -6217,7 +6217,7 @@ interface OwTrailLayout {
|
|
|
6217
6217
|
nudged: number;
|
|
6218
6218
|
clamped: number;
|
|
6219
6219
|
}
|
|
6220
|
-
/** The default floors:
|
|
6220
|
+
/** The default floors, each named by its own kinds: location, object and zone on the ground; character, collective, creature and species at 240; event at 480; the other eleven kinds at 720. */
|
|
6221
6221
|
declare const TRAIL_TIERS: readonly OwTrailTier[];
|
|
6222
6222
|
/** Round half to even on the number's exact value (the rounding both packages use, so they agree to the pixel). */
|
|
6223
6223
|
declare function roundHalfEven(v: number): number;
|
package/dist/index.js
CHANGED
|
@@ -4214,10 +4214,10 @@ function layoutOf(map, maps, pins) {
|
|
|
4214
4214
|
// src/layout-trail.ts
|
|
4215
4215
|
var tier = (name, z, kinds) => /* @__PURE__ */ Object.freeze({ name, z, kinds: /* @__PURE__ */ Object.freeze(kinds) });
|
|
4216
4216
|
var TRAIL_TIERS = /* @__PURE__ */ Object.freeze([
|
|
4217
|
-
/* @__PURE__ */ tier("
|
|
4218
|
-
/* @__PURE__ */ tier("
|
|
4219
|
-
/* @__PURE__ */ tier("
|
|
4220
|
-
/* @__PURE__ */ tier("
|
|
4217
|
+
/* @__PURE__ */ tier("location, object, zone", 0, ["location", "object", "zone"]),
|
|
4218
|
+
/* @__PURE__ */ tier("character, collective, creature, species", 240, ["character", "collective", "creature", "species"]),
|
|
4219
|
+
/* @__PURE__ */ tier("event", 480, ["event"]),
|
|
4220
|
+
/* @__PURE__ */ tier("ability, construct, family, institution, language, law, narrative, phenomenon, relation, title, trait", 720, ["ability", "construct", "family", "institution", "language", "law", "narrative", "phenomenon", "relation", "title", "trait"])
|
|
4221
4221
|
]);
|
|
4222
4222
|
var DEFAULT_SPIRAL = { r0: 140, c: 20, angle: 2.399963 };
|
|
4223
4223
|
var DEFAULT_PARENT_RING = 140;
|