merge into main #1
@ -49,15 +49,15 @@ public class Appearance
|
|||||||
{
|
{
|
||||||
public Appearance()
|
public Appearance()
|
||||||
{
|
{
|
||||||
body = new List<string>();
|
body = new Dictionary<string, int>();
|
||||||
feet = new List<string>();
|
feet = new Dictionary<string, int>();
|
||||||
hands = new List<string>();
|
hands = new List<string>();
|
||||||
head = new List<string>();
|
head = new List<string>();
|
||||||
voice = new List<string>();
|
voice = new List<string>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<string> body { get; set; }
|
public Dictionary<string, int> body { get; set; }
|
||||||
public List<string> feet { get; set; }
|
public Dictionary<string, int> feet { get; set; }
|
||||||
public List<string> hands { get; set; }
|
public List<string> hands { get; set; }
|
||||||
public List<string> head { get; set; }
|
public List<string> head { get; set; }
|
||||||
public List<string> voice { get; set; }
|
public List<string> voice { get; set; }
|
||||||
|
@ -149,9 +149,9 @@ namespace Generator
|
|||||||
private static void AddVisualAppearanceItems(Bot botToUpdate, Datum rawBot)
|
private static void AddVisualAppearanceItems(Bot botToUpdate, Datum rawBot)
|
||||||
{
|
{
|
||||||
botToUpdate.appearance.head.AddUnique(rawBot.Customization.Head);
|
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.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)
|
private static void AddName(Bot botToUpdate, Datum rawBot)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user