Field changes
- most empty fields now just aren't included if not specified, they're just optional instead - binary male/female gender selector is now replaced with a pronouns field, and is open to all races - clearance level removed - next of kin added - all fields are now optional (if left blank, they just wont be included. makes records less of a chore) - removed clearance - removed pre-nt employment - removed nt employment - added general employment history - removed binary m/f gender selector - added pronouns - de-gamified skills - formal education history renamed to qualifications
This commit is contained in:
parent
9b85a836fb
commit
e44e57f7ad
6 changed files with 62 additions and 142 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
<ScrollViewer>
|
||||
<StackPanel>
|
||||
<GroupBox Header="Basic Information" controls:ControlsHelper.ContentCharacterCasing="Normal"
|
||||
Height="240">
|
||||
Height="200">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="160" />
|
||||
|
|
@ -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" />
|
||||
<TextBox Height="26"
|
||||
Margin="0,26,0,0"
|
||||
TextWrapping="Wrap"
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
Margin="125,26,0,0"
|
||||
TextWrapping="Wrap" VerticalAlignment="Top"
|
||||
ToolTip="Your character's last name. Required." Grid.Column="1"
|
||||
Text="{Binding Path=LastName}" controls:TextBoxHelper.Watermark="McScientist" TabIndex="3" />
|
||||
Text="{Binding Path=LastName}" controls:TextBoxHelper.Watermark="Doe" TabIndex="3" />
|
||||
<TextBlock Grid.Column="0" Margin="10,10,10,0" TextWrapping="Wrap"
|
||||
Text="First"
|
||||
VerticalAlignment="Top" Height="16" />
|
||||
|
|
@ -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" />
|
||||
<TextBlock HorizontalAlignment="Left" Margin="5,10,0,0" TextWrapping="Wrap"
|
||||
Text="Suffix (Optional)" VerticalAlignment="Top" Grid.Column="2"
|
||||
Height="15.96" Width="150" />
|
||||
|
|
@ -71,46 +71,44 @@
|
|||
<ComboBox Grid.Column="0" x:Name="SpeciesCombo" Margin="10,73,5,0"
|
||||
VerticalAlignment="Top"
|
||||
ItemsSource="{Binding Source={StaticResource SpeciesEnum}}"
|
||||
ToolTip="Your character's species. Required."
|
||||
ToolTip="Your character's species."
|
||||
SelectionChanged="SpeciesSelectChanged" Height="26" TabIndex="5"/>
|
||||
<TextBlock HorizontalAlignment="Left" Margin="0,57,0,0" TextWrapping="Wrap"
|
||||
Text="Gender"
|
||||
Text="Pronouns"
|
||||
VerticalAlignment="Top" Grid.Column="1" Height="15.96" Width="120"/>
|
||||
<ComboBox x:Name="GenderCombo" HorizontalAlignment="Left" Margin="0,73,0,0"
|
||||
<TextBox HorizontalAlignment="Left" Margin="0,73,0,0"
|
||||
VerticalAlignment="Top" Width="120"
|
||||
ToolTip="Your character's gender. Does not apply to Dionae and IPCs."
|
||||
Grid.Column="1" Height="26" TabIndex="6">
|
||||
<ComboBoxItem Content="Male" />
|
||||
<!-- Define here instead of loading from enum as we don't want NotApplicable listed -->
|
||||
<ComboBoxItem Content="Female" />
|
||||
</ComboBox>
|
||||
ToolTip="Your character's preferred pronouns."
|
||||
Text="{Binding Path=Pronouns}"
|
||||
controls:TextBoxHelper.Watermark="he/him"
|
||||
Grid.Column="1" Height="26" TabIndex="6"/>
|
||||
<DatePicker Margin="125,73,0,0" VerticalAlignment="Top"
|
||||
SelectedDateFormat="Short" DisplayDateEnd="2470-01-01"
|
||||
DisplayDateStart="1955-01-01" DisplayDate="2458-01-01" Grid.Column="1"
|
||||
DisplayDateStart="1955-01-01" DisplayDate="2464-01-01" Grid.Column="1"
|
||||
Height="26"
|
||||
SelectedDate="{Binding Path=BirthDate}" TabIndex="7" />
|
||||
<TextBlock Margin="125,57,40.96,0" TextWrapping="Wrap" Text="Date of Birth"
|
||||
VerticalAlignment="Top" Grid.Column="1" Height="15.96" />
|
||||
<TextBlock Grid.Column="0" Margin="10,0,0,34" TextWrapping="Wrap" Text="Clearance"
|
||||
<TextBlock Grid.Column="1" Margin="0,0,0,45" TextWrapping="Wrap" Text="Next of Kin"
|
||||
VerticalAlignment="Bottom" HorizontalAlignment="Left" />
|
||||
<TextBox Height="23" Margin="10,0,0,8" TextWrapping="Wrap"
|
||||
VerticalAlignment="Bottom" Grid.ColumnSpan="2"
|
||||
Grid.Column="0"
|
||||
controls:TextBoxHelper.Watermark="Staff (Research, Xenobiology), Command (Research)"
|
||||
Text="{Binding Path=Clearance}" TabIndex="11" />
|
||||
<TextBlock HorizontalAlignment="Left" Margin="5,0,0,85"
|
||||
<TextBox Height="23" Margin="0,0,0,19" TextWrapping="Wrap"
|
||||
VerticalAlignment="Bottom" Grid.ColumnSpan="1"
|
||||
Grid.Column="1"
|
||||
controls:TextBoxHelper.Watermark="e.g. Jane Doe (mother)"
|
||||
Text="{Binding Path=NextOfKin}" TabIndex="11" />
|
||||
<TextBlock HorizontalAlignment="Left" Margin="5,0,0,45"
|
||||
TextWrapping="Wrap" Text="Employed As" VerticalAlignment="Bottom" Grid.Column="2" />
|
||||
<TextBox Height="23" Margin="5,0,10,59" TextWrapping="Wrap"
|
||||
VerticalAlignment="Bottom" controls:TextBoxHelper.Watermark="Xenobiologist"
|
||||
<TextBox Height="23" Margin="5,0,10,19" TextWrapping="Wrap"
|
||||
VerticalAlignment="Bottom" controls:TextBoxHelper.Watermark="Assistant"
|
||||
Text="{Binding Path=EmployedAs}" Grid.Column="2" TabIndex="10" />
|
||||
<TextBox Grid.Column="2" Height="23" Margin="5,73,10.5,0"
|
||||
TextWrapping="Wrap" VerticalAlignment="Top" controls:TextBoxHelper.Watermark="Sol Alliance"
|
||||
Text="{Binding Path=Citizenship}" TabIndex="8" />
|
||||
<TextBlock Grid.Column="2" HorizontalAlignment="Left" Margin="5,57,0,0" TextWrapping="Wrap" Text="Citizenship" VerticalAlignment="Top" />
|
||||
<ComboBox Grid.Column="0" x:Name="SubSpeciesCombo" Margin="10,120,140,0"
|
||||
<ComboBox Grid.Column="0" x:Name="SubSpeciesCombo" Margin="10,120,5,0"
|
||||
VerticalAlignment="Top"
|
||||
ToolTip="Your character's ethnic group or subtype."
|
||||
SelectionChanged="SpeciesSelectChanged" Height="26" TabIndex="9" Grid.ColumnSpan="2"
|
||||
SelectionChanged="SpeciesSelectChanged" Height="26" TabIndex="9"
|
||||
/>
|
||||
<TextBlock Grid.Column="0" Margin="10,104,10,0" TextWrapping="Wrap"
|
||||
Text="Subtype/Ethnicity"
|
||||
|
|
@ -184,9 +182,6 @@
|
|||
<RowDefinition Height="122" MinHeight="60" />
|
||||
<RowDefinition Height="122" MinHeight="60" />
|
||||
<RowDefinition Height="122" MinHeight="60" />
|
||||
<RowDefinition Height="122" MinHeight="60" />
|
||||
<RowDefinition Height="122" MinHeight="60" />
|
||||
<RowDefinition Height="0" />
|
||||
</Grid.RowDefinitions>
|
||||
<GridSplitter Grid.Row="0" Grid.ColumnSpan="1" HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Bottom" Margin="0" Height="10" />
|
||||
|
|
@ -201,45 +196,32 @@
|
|||
<GridSplitter Grid.Row="5" Grid.ColumnSpan="1" HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Bottom" Margin="0" Height="10" />
|
||||
<TextBox Margin="0,10,0,10" AcceptsReturn="True"
|
||||
TextWrapping="Wrap" controls:TextBoxHelper.Watermark="Public Record"
|
||||
TextWrapping="Wrap"
|
||||
controls:TextBoxHelper.Watermark="Public Record"
|
||||
controls:TextBoxHelper.UseFloatingWatermark="True" VerticalScrollBarVisibility="Auto"
|
||||
controls:TextBoxHelper.IsSpellCheckContextMenuEnabled="True" Grid.Row="0"
|
||||
ToolTip="Public employment notes posted on security and medical records. One per line."
|
||||
d:LayoutOverrides="VerticalAlignment" Text="{Binding Path=EmploymentPublicRecord}" />
|
||||
<TextBox Margin="0,10,0,10" AcceptsReturn="True"
|
||||
TextWrapping="Wrap" controls:TextBoxHelper.Watermark="Experience"
|
||||
TextWrapping="Wrap" controls:TextBoxHelper.Watermark="Employment History"
|
||||
controls:TextBoxHelper.UseFloatingWatermark="True" VerticalScrollBarVisibility="Auto"
|
||||
controls:TextBoxHelper.IsSpellCheckContextMenuEnabled="True" Grid.Row="1"
|
||||
ToolTip="Jobs/departments worked with NT. One per line."
|
||||
ToolTip="Previous jobs that the character has worked. One per line.
No need to put hyphens/bulletpoints; they'll be added automatically.

e.g.
Police Cadet, Mendell City [2450 - 2454]
Police Officer, Mendell City [2454 - Ongoing]"
|
||||
d:LayoutOverrides="VerticalAlignment" Text="{Binding Path=EmploymentExperience}" />
|
||||
<TextBox Margin="0,10,0,10" AcceptsReturn="True"
|
||||
TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"
|
||||
controls:TextBoxHelper.Watermark="Pre-NanoTrasen Employment History"
|
||||
controls:TextBoxHelper.UseFloatingWatermark="True" Grid.Row="2"
|
||||
controls:TextBoxHelper.IsSpellCheckContextMenuEnabled="True"
|
||||
ToolTip="Jobs/experience from before NT employment. One per line."
|
||||
Text="{Binding Path=EmploymentPreNtEmployment}" />
|
||||
<TextBox Margin="0,10,0,10" AcceptsReturn="True"
|
||||
TextWrapping="Wrap" Grid.Row="3"
|
||||
controls:TextBoxHelper.Watermark="Formal Education"
|
||||
TextWrapping="Wrap" Grid.Row="2"
|
||||
controls:TextBoxHelper.Watermark="Formal Education / Qualifications"
|
||||
controls:TextBoxHelper.UseFloatingWatermark="True" VerticalScrollBarVisibility="Auto"
|
||||
controls:TextBoxHelper.IsSpellCheckContextMenuEnabled="True"
|
||||
ToolTip="Formal education completed or in-progress. One per-line."
|
||||
ToolTip="Formal education completed / qualifications acquired. One per-line.
No need for bulletpoints; they'll be added automatically.

e.g.
Manual handling certificate [2450]
PhD in Psychology [2460]"
|
||||
Text="{Binding Path=EmploymentFormalEducation}" />
|
||||
<TextBox Margin="0,10,0,10" AcceptsReturn="True"
|
||||
TextWrapping="Wrap" Grid.Row="4"
|
||||
controls:TextBoxHelper.Watermark="NanoTrasen Employment History"
|
||||
controls:TextBoxHelper.UseFloatingWatermark="True" VerticalScrollBarVisibility="Auto"
|
||||
controls:TextBoxHelper.IsSpellCheckContextMenuEnabled="True"
|
||||
ToolTip="History with employment with NT. One per line, should be in format "Year Description"."
|
||||
Text="{Binding Path=EmploymentNtEmploymentHistory}" />
|
||||
<TextBox Margin="0,10,0,10" AcceptsReturn="True"
|
||||
TextWrapping="Wrap"
|
||||
controls:TextBoxHelper.Watermark="Trained-in/Skills" Grid.Row="5"
|
||||
controls:TextBoxHelper.Watermark="Other Skills / Ongoing Training" Grid.Row="3"
|
||||
controls:TextBoxHelper.UseFloatingWatermark="True" VerticalScrollBarVisibility="Auto"
|
||||
controls:TextBoxHelper.IsSpellCheckContextMenuEnabled="True"
|
||||
Text="{Binding Path=EmploymentSkills}"
|
||||
ToolTip="Training or Skills your character has. Anything marked as "Trained" or "Professional" in character skills should go here, along with any amatur skills of note." />
|
||||
ToolTip="Any other skills of note, or training being undertaken currently.

e.g.
First Aid training
Chemistry student at Mendell University" />
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
</TabItem>
|
||||
|
|
@ -259,7 +241,7 @@
|
|||
<RowDefinition Height="0" />
|
||||
</Grid.RowDefinitions>
|
||||
<!-- Opt-Outs -->
|
||||
<Grid Grid.Row="0" ToolTip="If the character wishes to not be cloned.">
|
||||
<Grid Grid.Row="0" ToolTip="If the character should not be borged.">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="163*"/>
|
||||
<ColumnDefinition Width="163*"/>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ namespace AuroraRecordGenerator
|
|||
// Initialize the record object used for storage and generation
|
||||
Data = new Record();
|
||||
DataContext = Data;
|
||||
ProtoBuf.Serializer.PrepareSerializer<GenderType>();
|
||||
ProtoBuf.Serializer.PrepareSerializer<SpeciesType>();
|
||||
ProtoBuf.Serializer.PrepareSerializer<SpeciesSubType>();
|
||||
ProtoBuf.Serializer.PrepareSerializer<Record>();
|
||||
|
|
@ -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<string> ?? 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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,9 +28,7 @@ namespace AuroraRecordGenerator
|
|||
|
||||
private IList<string> _employmentPublicRecord;
|
||||
private IList<string> _employmentExperience;
|
||||
private IList<string> _employmentPreNtEmployment;
|
||||
private IList<string> _employmentFormalEducation;
|
||||
private IList<string> _employmentNtEmployment;
|
||||
private IList<string> _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
|
||||
|
|
|
|||
|
|
@ -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<SubspeciesMetaAttribute>()?.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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -90,19 +90,6 @@ namespace AuroraRecordGenerator
|
|||
HumanOffworld
|
||||
}
|
||||
|
||||
[ProtoContract]
|
||||
public enum GenderType
|
||||
{
|
||||
[ProtoEnum]
|
||||
NotApplicable = 0,
|
||||
|
||||
[ProtoEnum]
|
||||
Male,
|
||||
|
||||
[ProtoEnum]
|
||||
Female
|
||||
}
|
||||
|
||||
public static class Info
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue