infinity expantion

This commit is contained in:
33333-33333 2026-05-28 19:37:28 +09:00
commit ea0067dc0a
10 changed files with 2792 additions and 70 deletions

View file

@ -1327,6 +1327,18 @@ export function attachIdsAndNames(points, prefix, seed, kindOverride = null, nam
return points.map((p, i) => {
const id = `${prefix}-${i}`;
const kind = kindOverride || p.kind;
if (prefix === "logistics") {
return {
...p,
id,
name: null,
facilityLabel: p.facilityLabel || "Logistics Park",
kind,
labelStyle: "facility",
suppressSettlementLabel: true,
insidePrefecture: Boolean(p.insidePrefecture),
};
}
const name = generateEntityName(seed + prefix.length * 1000, id, { ...p, kind }, nameFields, usedNames, nameDebug);
if (usedNames) usedNames.add(name);
return {