New worlds get generated camp names like new claims (t3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 19:00:22 -04:00
co-authored by Claude Opus 5.5
parent 54af0e51ad
commit c069abe2d2
5 changed files with 34 additions and 11 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ async function setupNewWorld(seed, w, h, name, carried, title = 'Generating worl
async function startNewWorld(seed, w, h, name = '') {
try {
const worlds = await listWorlds();
await setupNewWorld(seed, w, h, cleanWorldName(name, `World ${worlds.length + 1}`));
await setupNewWorld(seed, w, h, cleanWorldName(name, claimName(seed, worlds.map(w => w.name))));
career = { id: newWorldId(), claims: [GAME.worldId], claimNo: 1 };
GAME.careerId = career.id; GAME.claimNo = 1;
showLoading(true, 0.9, 'Saving');