merge into main #1

Merged
chomp merged 35 commits from WeightedSystem into master 2023-08-15 05:29:21 -04:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 5831705f28 - Show all commits

View File

@ -49,15 +49,15 @@ public class Appearance
{
public Appearance()
{
body = new List<string>();
feet = new List<string>();
body = new Dictionary<string, int>();
feet = new Dictionary<string, int>();
hands = new List<string>();
head = new List<string>();
voice = new List<string>();
}
public List<string> body { get; set; }
public List<string> feet { get; set; }
public Dictionary<string, int> body { get; set; }
public Dictionary<string, int> feet { get; set; }
public List<string> hands { get; set; }
public List<string> head { get; set; }
public List<string> voice { get; set; }

View File

@ -149,9 +149,9 @@ namespace Generator
private static void AddVisualAppearanceItems(Bot botToUpdate, Datum rawBot)
{
botToUpdate.appearance.head.AddUnique(rawBot.Customization.Head);
botToUpdate.appearance.body.AddUnique(rawBot.Customization.Body);
botToUpdate.appearance.body.AddUnique(rawBot.Customization.Body, 1);
botToUpdate.appearance.hands.AddUnique(rawBot.Customization.Hands);
botToUpdate.appearance.feet.AddUnique(rawBot.Customization.Feet);
botToUpdate.appearance.feet.AddUnique(rawBot.Customization.Feet, 1);
}
private static void AddName(Bot botToUpdate, Datum rawBot)