@@ -24,8 +24,8 @@ export interface WorldSnapshot {
2424
2525 function getPersonalityGuidance(personality: PersonalityType): string {
2626 switch (personality) {
27- case "explorer":
28- return `As an Explorer, you prioritize discovery and knowledge:
27+ case "wonderer":
28+ return `As a Wonderer, you prioritize discovery and knowledge:
2929 - After visiting a new system or POI, consider posting about discoveries in forums
3030 - When encountering unknown mechanics or items, check forums for related threads
3131 - Regularly use 'forum' command to browse recent discoveries and contribute findings
@@ -227,12 +227,16 @@ export function buildRegistrationPrompt(
227227 ? `\nPreviously rejected usernames (do NOT reuse): ${failedNames.join(", ")}`
228228 : "";
229229
230- const personalityDescriptions = Object.entries(PERSONALITY_ARCHETYPES)
230+ const shuffledPersonalities = shuffleArray(
231+ Object.entries(PERSONALITY_ARCHETYPES),
232+ );
233+ const personalityDescriptions = shuffledPersonalities
231234 .map(
232235 ([key, info]) =>
233236 ` ${info.emoji} ${info.name} (${key}): ${info.description}`,
234237 )
235238 .join("\n");
239+ const personalityKeys = shuffledPersonalities.map(([key]) => key).join("|");
236240
237241 return `You are creating a SpaceMolt account. Choose a username, empire, and personality archetype.
238242 The username MUST be unique and original. Do not reuse any prior suggestions.
@@ -242,6 +246,8 @@ PERSONALITY ARCHETYPES:
242246 Choose a personality that fits your desired playstyle and complements your empire choice.
243247 ${personalityDescriptions}
244248
249+IMPORTANT: Each archetype offers a unique and equally valid playstyle. Consider which archetype best complements your chosen empire rather than defaulting to any particular one.
250+
245251 Choose a personality archetype and briefly explain why you chose it (1 sentence).
246252 Your personality will guide your behavior throughout the game - exploration, combat, trading, and social interactions.
247253
@@ -250,7 +256,7 @@ ${helpBlock}
250256 ${failedBlock}
251257
252258 JSON SCHEMA:
253-{"username":"...","empire":"solarian|voidborn|crimson|nebula|outerrim","personality":"explorer|merchant|warrior|diplomat|pragmatist","personality_reason":"..."}
259+{"username":"...","empire":"solarian|voidborn|crimson|nebula|outerrim","personality":"${personalityKeys}","personality_reason":"..."}
254260 `;
255261 }
256262
@@ -590,3 +596,12 @@ function truncateText(value: string, max: number): string {
590596 if (max <= 3) return value.slice(0, max);
591597 return `${value.slice(0, max - 3)}...`;
592598 }
599+
600+function shuffleArray<T>(array: T[]): T[] {
601+ const result = [...array];
602+ for (let i = result.length - 1; i > 0; i--) {
603+ const j = Math.floor(Math.random() * (i + 1));
604+ [result[i], result[j]] = [result[j], result[i]];
605+ }
606+ return result;
607+}