personaforge/PersonalityArchetype.cs
Tony Bark eeb30cf67d Personality Archetypes
Swapped old code (was an AI-generated template, anyway) for the new PersonalityGen-based one.
2025-04-28 05:58:37 -04:00

36 lines
1.1 KiB
C#

namespace PersonaForge;
public class PersonalityArchetype
{
public string Name { get; set; }
public Dictionary<string, double> TraitBiases { get; set; } = new();
// TODO: Load default archetypes from a file or database
public static List<PersonalityArchetype> DefaultArchetypes() => new()
{
new PersonalityArchetype
{
Name = "Grumpy",
TraitBiases = new Dictionary<string, double>
{
{ "Nice", 0.2 },
{ "Playful", 0.4 },
{ "Outgoing", 0.6 },
{ "Neat", 0.7 },
{ "Active", 0.5 }
}
},
new PersonalityArchetype
{
Name = "Party Animal",
TraitBiases = new Dictionary<string, double>
{
{ "Outgoing", 0.9 },
{ "Playful", 0.8 },
{ "Active", 0.7 },
{ "Nice", 0.5 },
{ "Neat", 0.3 }
}
}
};
}