Skip to content

Commit

Permalink
LastNoFirst (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: Colin-Tel <[email protected]>
  • Loading branch information
FluffiestFloof and Colin-Tel authored Sep 26, 2023
1 parent 9d7fe04 commit b2980d9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Content.Shared/Humanoid/NamingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ public string GetName(string species, Gender? gender = null)

switch (speciesProto.Naming)
{
//Start of Nyano code for Oni naming
case SpeciesNaming.XnoY:
return Loc.GetString("namepreset-x-no-y",
// Start of Nyano code for Oni naming
case SpeciesNaming.LastNoFirst:
return Loc.GetString("namepreset-lastnofirst",
("first", GetFirstName(speciesProto, gender)), ("last", GetLastName(speciesProto)));
//End of Nyano code for Oni naming
// End of Nyano code for Oni naming
case SpeciesNaming.TheFirstofLast:
return Loc.GetString("namepreset-thefirstoflast",
("first", GetFirstName(speciesProto, gender)), ("last", GetLastName(speciesProto)));
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Humanoid/Prototypes/SpeciesPrototype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public enum SpeciesNaming : byte
FirstLast,
FirstDashFirst,
//Start of Nyano code for Oni naming
XnoY,
LastNoFirst,
//End of Nyano code for Oni naming
TheFirstofLast,
}
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/nyanotrasen/species/namepreset.ftl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
namepreset-x-no-y = {$last}-no-{$first}
namepreset-lastnofirst = {$last}-no-{$first}
2 changes: 1 addition & 1 deletion Resources/Prototypes/Nyanotrasen/Species/Oni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
maleFirstNames: names_oni_male
femaleFirstNames: names_oni_female
lastNames: names_oni_location
naming: XnoY
naming: LastNoFirst

- type: markingPoints
id: MobOniMarkingLimits
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Roles/Jobs/Fun/misc_startinggear.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@
pocket1: DoubleEmergencyOxygenTankFilled
pocket2: BaseUplinkRadio40TC
belt: ClothingBeltMilitaryWebbing
#inhand:
#right hand: NukeOpsDeclarationOfWar Declaring War is inherently LRP so it has been removed in DeltaV
# inhand: # DeltaV - Prevent commander spawning with the declaration of war
# right hand: NukeOpsDeclarationOfWar
innerclothingskirt: ClothingUniformJumpskirtOperative
satchel: ClothingBackpackDuffelSyndicateOperative
duffelbag: ClothingBackpackDuffelSyndicateOperative
Expand Down

0 comments on commit b2980d9

Please sign in to comment.