Add default weight value for clothing
This commit is contained in:
parent
76112630db
commit
5831705f28
@ -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; }
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user