diff --git a/AuroraRecordGenerator/Record.cs b/AuroraRecordGenerator/Record.cs
index bcb6ba4..d2cf8cb 100644
--- a/AuroraRecordGenerator/Record.cs
+++ b/AuroraRecordGenerator/Record.cs
@@ -19,14 +19,14 @@ namespace AuroraRecordGenerator
[ProtoMember(4)]
public string NameSuffix { get; set; } = string.Empty;
- [ProtoMember(5, IsRequired = true)]
+ [ProtoMember(5)]
public SpeciesType Species { get; set; } = SpeciesType.Human;
[ProtoMember(16)]
public SpeciesSubType Subspecies { get; set; } = SpeciesSubType.None;
[ProtoMember(6, IsRequired = true)]
- public GenderType Gender { get; set; }
+ public string Pronouns { get; set; } = string.Empty;
[ProtoMember(7)]
public DateTime BirthDate { get; set; } = Info.IcDate;
@@ -58,7 +58,7 @@ namespace AuroraRecordGenerator
// 16 & 17 used to be PictureUrl and PictureCredit, now unused.
[ProtoMember(18)]
- public string Clearance { get; set; } = string.Empty;
+ public string NextOfKin { get; set; } = string.Empty;
[ProtoMember(19)]
public string MedicalPublicRecord { get; set; } = string.Empty;
@@ -78,6 +78,8 @@ namespace AuroraRecordGenerator
[ProtoMember(24)]
public bool NoBorg { get; set; } = false;
+ // 25 was NoClone, now unused
+
[ProtoMember(26)]
public bool NoRevive { get; set; } = false;
@@ -102,9 +104,6 @@ namespace AuroraRecordGenerator
[ProtoMember(33)]
public string EmploymentExperience { get; set; } = string.Empty;
- [ProtoMember(34)]
- public string EmploymentPreNtEmployment { get; set; } = string.Empty;
-
[ProtoMember(35)]
public string EmploymentFormalEducation { get; set; } = string.Empty;
diff --git a/AuroraRecordGenerator/RecordEditor.xaml b/AuroraRecordGenerator/RecordEditor.xaml
index ae9dfe0..363f04e 100644
--- a/AuroraRecordGenerator/RecordEditor.xaml
+++ b/AuroraRecordGenerator/RecordEditor.xaml
@@ -25,7 +25,7 @@
+ Height="200">
@@ -36,7 +36,7 @@
Margin="10,26,5,0"
TextWrapping="Wrap" VerticalAlignment="Top"
ToolTip="Your character's first name. Required."
- Text="{Binding Path=FirstName}" controls:TextBoxHelper.Watermark="Urist" TabIndex="1" />
+ Text="{Binding Path=FirstName}" controls:TextBoxHelper.Watermark="John" TabIndex="1" />
+ Text="{Binding Path=LastName}" controls:TextBoxHelper.Watermark="Doe" TabIndex="3" />
@@ -61,7 +61,7 @@
Margin="5,26,10.5,0" TextWrapping="Wrap"
ToolTip="Your character's name suffix, if present. Optional." Grid.Column="2"
VerticalAlignment="Top"
- Text="{Binding Path=NameSuffix}" controls:TextBoxHelper.Watermark="the Third" TabIndex="4" />
+ Text="{Binding Path=NameSuffix}" controls:TextBoxHelper.Watermark="Jr." TabIndex="4" />
@@ -71,46 +71,44 @@
-
-
-
-
-
+
-
-
-
+
-
-
-
-
-
@@ -201,45 +196,32 @@
-
-
+ ToolTip="Any other skills of note, or training being undertaken currently.
e.g.
First Aid training
Chemistry student at Mendell University" />
@@ -259,7 +241,7 @@
-
+
diff --git a/AuroraRecordGenerator/RecordEditor.xaml.cs b/AuroraRecordGenerator/RecordEditor.xaml.cs
index f6dd04f..f56f171 100644
--- a/AuroraRecordGenerator/RecordEditor.xaml.cs
+++ b/AuroraRecordGenerator/RecordEditor.xaml.cs
@@ -19,7 +19,6 @@ namespace AuroraRecordGenerator
// Initialize the record object used for storage and generation
Data = new Record();
DataContext = Data;
- ProtoBuf.Serializer.PrepareSerializer();
ProtoBuf.Serializer.PrepareSerializer();
ProtoBuf.Serializer.PrepareSerializer();
ProtoBuf.Serializer.PrepareSerializer();
@@ -38,32 +37,6 @@ namespace AuroraRecordGenerator
var type = (SpeciesType)SpeciesCombo.SelectedValue;
- switch (type)
- {
- // non-gendered species
- case SpeciesType.Diona:
- case SpeciesType.IPC:
- case SpeciesType.Vaurca:
- Debug.WriteLine("Disabled GenderCombo, type is " + type);
- GenderCombo.IsEnabled = false;
- GenderCombo.Text = "N/A";
- break;
- // gendered species
- case SpeciesType.Human:
- case SpeciesType.Skrell:
- case SpeciesType.Tajara:
- case SpeciesType.Unathi:
- Debug.WriteLine("Enabled GenderCombo, type is " + type);
- GenderCombo.IsEnabled = true;
- break;
-
- case SpeciesType.None:
- break;
-
- default:
- throw new ArgumentOutOfRangeException();
- }
-
Debug.WriteLine("Updating subspecies types.");
var types = GetSpeciesOptions(type);
var itemsSource = types as IList ?? types.ToList();
@@ -90,20 +63,6 @@ namespace AuroraRecordGenerator
// Figure out their species too.
Data.Species = (SpeciesType)SpeciesCombo.SelectedValue;
- // Finally, gender.
- switch ((string)GenderCombo.SelectionBoxItem)
- {
- case "Male":
- Data.Gender = GenderType.Male;
- break;
- case "Female":
- Data.Gender = GenderType.Female;
- break;
- default:
- Data.Gender = GenderType.NotApplicable;
- break;
- }
-
var wnd = new GeneratedResultWindow(Data);
wnd.Show();
}
diff --git a/AuroraRecordGenerator/RecordFormatter.cs b/AuroraRecordGenerator/RecordFormatter.cs
index 50bc1e1..6cbb278 100644
--- a/AuroraRecordGenerator/RecordFormatter.cs
+++ b/AuroraRecordGenerator/RecordFormatter.cs
@@ -28,9 +28,7 @@ namespace AuroraRecordGenerator
private IList _employmentPublicRecord;
private IList _employmentExperience;
- private IList _employmentPreNtEmployment;
private IList _employmentFormalEducation;
- private IList _employmentNtEmployment;
private IList _employmentSkills;
private void UpdateSplitRecords()
@@ -56,9 +54,7 @@ namespace AuroraRecordGenerator
// employment
_employmentPublicRecord = _targetRecord.EmploymentPublicRecord?.LineSplit();
_employmentExperience = _targetRecord.EmploymentExperience?.LineSplit();
- _employmentPreNtEmployment = _targetRecord.EmploymentPreNtEmployment?.LineSplit();
_employmentFormalEducation = _targetRecord.EmploymentFormalEducation?.LineSplit();
- _employmentNtEmployment = _targetRecord.EmploymentNtEmploymentHistory?.LineSplit();
_employmentSkills = _targetRecord.EmploymentSkills?.LineSplit();
// flush the record cache so they're regenerated
diff --git a/AuroraRecordGenerator/RecordFormatterGenerationMethods.cs b/AuroraRecordGenerator/RecordFormatterGenerationMethods.cs
index 86cc71f..0c48610 100644
--- a/AuroraRecordGenerator/RecordFormatterGenerationMethods.cs
+++ b/AuroraRecordGenerator/RecordFormatterGenerationMethods.cs
@@ -12,17 +12,24 @@ namespace AuroraRecordGenerator
record.AppendLine("/// PUBLIC RECORD ///");
record.AppendLine(MakeNameLine());
record.AppendLine($"Date of Birth: {_targetRecord.BirthDate.ToString("MMMM")} {_targetRecord.BirthDate.Day.Ordinalize()}, {_targetRecord.BirthDate.Year}");
- record.AppendLine($"Species: {_targetRecord.Species.Humanize()}");// might fuck up the names
+ record.AppendLine($"Species: {_targetRecord.Species.Humanize()}"); // might fuck up the names
if (_targetRecord.Subspecies != SpeciesSubType.None)
{
record.AppendLine($"{_targetRecord.Subspecies.GetAttributeOfType()?.FieldName ?? "Subspecies"}: {Utility.SubspeciesNiceName(_targetRecord.Subspecies)}");
}
- record.AppendLine(_targetRecord.Species.HasGender()
- ? $"Gender: {_targetRecord.Gender.Humanize()}"
- : "Gender: Not Applicable.");
- record.AppendLine($"Citizenship: {_targetRecord.Citizenship.IfEmpty("Not Specified.")}");
- record.AppendLine($"Clearance Level: {_targetRecord.Clearance.IfEmpty("Not Specified")}");
- record.AppendLine($"Employed As: {_targetRecord.EmployedAs.IfEmpty("Assistant")}");
+ if (_targetRecord.Pronouns.Any())
+ {
+ record.AppendLine($"Pronouns: {_targetRecord.Pronouns}");
+ }
+ if (_targetRecord.Citizenship.Any()) {
+ record.AppendLine($"Citizenship: {_targetRecord.Citizenship}");
+ }
+ if (_targetRecord.NextOfKin.Any()) {
+ record.AppendLine($"Next of Kin: {_targetRecord.NextOfKin}");
+ }
+ if (_targetRecord.EmployedAs.Any()) {
+ record.AppendLine($"Employed As: {_targetRecord.EmployedAs}");
+ }
if (_targetRecord.CharHeight != null)
record.AppendLine($"Height: {_targetRecord.CharHeight} cm ({Utility.CmToFeet(_targetRecord.CharHeight.Value)})");
@@ -31,13 +38,13 @@ namespace AuroraRecordGenerator
// Eye color
var trimmedEye = _targetRecord.EyeColor.Trim();
- record.AppendFormat("Eye Color: {0}\n", trimmedEye.Length > 0 ? trimmedEye : "Not Specified.");
+ record.AppendFormat("Eye Color: {0}\n", trimmedEye.Length > 0 ? trimmedEye : "Not specified.");
var bodyColor = _targetRecord.SkinColor.Trim();
- record.AppendFormat("Skin/Body Color: {0}\n", bodyColor.Length > 0 ? bodyColor : "Not Specified.");
+ record.AppendFormat("Skin/Body Color: {0}\n", bodyColor.Length > 0 ? bodyColor : "Not specified.");
var hairColor = _targetRecord.HairColor.Trim();
- record.AppendFormat("Hair Color: {0}\n", hairColor.Length > 0 ? hairColor : "Not Specified.");
+ record.AppendFormat("Hair Color: {0}\n", hairColor.Length > 0 ? hairColor : "Not specified.");
// identifying features
var trimmedFeatures = _targetRecord.DistinguishingFeatures.Trim();
@@ -48,15 +55,15 @@ namespace AuroraRecordGenerator
// general notes
WriteSectionIfAny(ref record,
- "General Notes:",
+ "Shared Employment Notes:",
_employmentPublicRecord);
WriteSectionIfAny(ref record,
- "Medical Notes:",
+ "Shared Medical Notes:",
_medicalPublicRecord);
WriteSectionIfAny(ref record,
- "Security Notes:",
+ "Shared Security Notes:",
_securityPublicRecord);
_commonRecords = record.ToString();
@@ -72,8 +79,6 @@ namespace AuroraRecordGenerator
if (!_employmentExperience.Any() &&
!_employmentFormalEducation.Any() &&
- !_employmentNtEmployment.Any() &&
- !_employmentPreNtEmployment.Any() &&
!_employmentPublicRecord.Any() &&
!_employmentSkills.Any())
{
@@ -85,23 +90,15 @@ namespace AuroraRecordGenerator
recordText.AppendLine();
WriteSectionIfAny(ref recordText,
- "Experience:",
+ "Employment History:",
_employmentExperience);
WriteSectionIfAny(ref recordText,
- "Formal Education History:",
+ "Qualifications:",
_employmentFormalEducation);
WriteSectionIfAny(ref recordText,
- "Pre-NanoTrasen Employment History:",
- _employmentPreNtEmployment);
-
- WriteSectionIfAny(ref recordText,
- "NanoTrasen Employment History:",
- _employmentNtEmployment);
-
- WriteSectionIfAny(ref recordText,
- "Trained in the following:",
+ "Other skills:",
_employmentSkills);
}
diff --git a/AuroraRecordGenerator/Types.cs b/AuroraRecordGenerator/Types.cs
index f888cd0..74b194e 100644
--- a/AuroraRecordGenerator/Types.cs
+++ b/AuroraRecordGenerator/Types.cs
@@ -90,19 +90,6 @@ namespace AuroraRecordGenerator
HumanOffworld
}
- [ProtoContract]
- public enum GenderType
- {
- [ProtoEnum]
- NotApplicable = 0,
-
- [ProtoEnum]
- Male,
-
- [ProtoEnum]
- Female
- }
-
public static class Info
{
///