Personality Archetypes

Swapped old code (was an AI-generated template, anyway) for the new PersonalityGen-based one.
This commit is contained in:
Tony Bark 2025-04-28 05:58:37 -04:00
parent 83784d2c00
commit eeb30cf67d
3 changed files with 40 additions and 56 deletions

36
PersonalityArchetype.cs Normal file
View file

@ -0,0 +1,36 @@
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 }
}
}
};
}