@@ -15,21 +15,21 @@ public sealed partial class SpeciesPrototype : IPrototype
15
15
/// <summary>
16
16
/// User visible name of the species.
17
17
/// </summary>
18
- [ DataField ( "name" , required : true ) ]
18
+ [ DataField ( required : true ) ]
19
19
public string Name { get ; private set ; } = default ! ;
20
20
21
21
/// <summary>
22
22
/// Descriptor. Unused...? This is intended
23
23
/// for an eventual integration into IdentitySystem
24
24
/// (i.e., young human person, young lizard person, etc.)
25
25
/// </summary>
26
- [ DataField ( "descriptor" ) ]
26
+ [ DataField ]
27
27
public string Descriptor { get ; private set ; } = "humanoid" ;
28
28
29
29
/// <summary>
30
30
/// Whether the species is available "at round start" (In the character editor)
31
31
/// </summary>
32
- [ DataField ( "roundStart" , required : true ) ]
32
+ [ DataField ( required : true ) ]
33
33
public bool RoundStart { get ; private set ; } = false ;
34
34
35
35
// The below two are to avoid fetching information about the species from the entity
@@ -47,14 +47,14 @@ public sealed partial class SpeciesPrototype : IPrototype
47
47
/// <summary>
48
48
/// Default skin tone for this species. This applies for non-human skin tones.
49
49
/// </summary>
50
- [ DataField ( "defaultSkinTone" ) ]
50
+ [ DataField ]
51
51
public Color DefaultSkinTone { get ; private set ; } = Color . White ;
52
52
53
53
/// <summary>
54
54
/// Default human skin tone for this species. This applies for human skin tones.
55
55
/// See <see cref="SkinColor.HumanSkinTone"/> for the valid range of skin tones.
56
56
/// </summary>
57
- [ DataField ( "defaultHumanSkinTone" ) ]
57
+ [ DataField ]
58
58
public int DefaultHumanSkinTone { get ; private set ; } = 20 ;
59
59
60
60
/// <summary>
@@ -66,60 +66,66 @@ public sealed partial class SpeciesPrototype : IPrototype
66
66
/// <summary>
67
67
/// Humanoid species variant used by this entity.
68
68
/// </summary>
69
- [ DataField ( "prototype" , required : true , customTypeSerializer : typeof ( PrototypeIdSerializer < EntityPrototype > ) ) ]
69
+ [ DataField ( required : true , customTypeSerializer : typeof ( PrototypeIdSerializer < EntityPrototype > ) ) ]
70
70
public string Prototype { get ; private set ; } = default ! ;
71
71
72
72
/// <summary>
73
73
/// Prototype used by the species for the dress-up doll in various menus.
74
74
/// </summary>
75
- [ DataField ( "dollPrototype" , required : true , customTypeSerializer : typeof ( PrototypeIdSerializer < EntityPrototype > ) ) ]
75
+ [ DataField ( required : true , customTypeSerializer : typeof ( PrototypeIdSerializer < EntityPrototype > ) ) ]
76
76
public string DollPrototype { get ; private set ; } = default ! ;
77
77
78
78
/// <summary>
79
79
/// Method of skin coloration used by the species.
80
80
/// </summary>
81
- [ DataField ( "skinColoration" , required : true ) ]
81
+ [ DataField ( required : true ) ]
82
82
public HumanoidSkinColor SkinColoration { get ; private set ; }
83
83
84
- [ DataField ( "maleFirstNames" ) ]
84
+ [ DataField ]
85
85
public string MaleFirstNames { get ; private set ; } = "names_first_male" ;
86
86
87
- [ DataField ( "femaleFirstNames" ) ]
87
+ [ DataField ]
88
88
public string FemaleFirstNames { get ; private set ; } = "names_first_female" ;
89
89
90
- [ DataField ( "lastNames" ) ]
90
+ [ DataField ]
91
91
public string LastNames { get ; private set ; } = "names_last" ;
92
92
93
- [ DataField ( "naming" ) ]
93
+ [ DataField ]
94
94
public SpeciesNaming Naming { get ; private set ; } = SpeciesNaming . FirstLast ;
95
95
96
- [ DataField ( "sexes" ) ]
96
+ [ DataField ]
97
97
public List < Sex > Sexes { get ; private set ; } = new ( ) { Sex . Male , Sex . Female } ;
98
98
99
99
/// <summary>
100
100
/// Characters younger than this are too young to be hired by Nanotrasen.
101
101
/// </summary>
102
- [ DataField ( "minAge" ) ]
102
+ [ DataField ]
103
103
public int MinAge = 18 ;
104
104
105
105
/// <summary>
106
106
/// Characters younger than this appear young.
107
107
/// </summary>
108
- [ DataField ( "youngAge" ) ]
108
+ [ DataField ]
109
109
public int YoungAge = 30 ;
110
110
111
111
/// <summary>
112
112
/// Characters older than this appear old. Characters in between young and old age appear middle aged.
113
113
/// </summary>
114
- [ DataField ( "oldAge" ) ]
114
+ [ DataField ]
115
115
public int OldAge = 60 ;
116
116
117
117
/// <summary>
118
118
/// Characters cannot be older than this. Only used for restrictions...
119
119
/// although imagine if ghosts could age people WYCI...
120
120
/// </summary>
121
- [ DataField ( "maxAge" ) ]
121
+ [ DataField ]
122
122
public int MaxAge = 120 ;
123
+
124
+ /// <summary>
125
+ /// The Style used for the guidebook info link in the character profile editor
126
+ /// </summary>
127
+ [ DataField ]
128
+ public string GuideBookIcon = "SpeciesInfoDefault" ;
123
129
}
124
130
125
131
public enum SpeciesNaming : byte
0 commit comments