Skip to content

Commit

Permalink
fix namepreset
Browse files Browse the repository at this point in the history
  • Loading branch information
nixsilvam404 committed Aug 22, 2024
1 parent ed681bb commit c71987d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Content.Shared/Humanoid/NamingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public string GetName(string species, Gender? gender = null)
// Parkstation-Ipc-Start
case SpeciesNaming.FirstDashLast:
return Loc.GetString("namepreset-firstdashlast",
("first", GetFirstName(speciesProto, gender)), ("last", GetLastName(speciesProto)));
("first", GetFirstName(speciesProto, gender)), ("last", GetLastName(speciesProto, gender)));
// Parkstation-Ipc-End
case SpeciesNaming.FirstLast:
default:
Expand Down
3 changes: 2 additions & 1 deletion Resources/Locale/en-US/species/namepreset.ftl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
namepreset-first = {$first}
namepreset-firstlast = {$first} {$last}
namepreset-firstdashfirst = {$first1}-{$first2}
# Start ADT tweak: Drask
# Start ADT tweak: Drask, IPC
namepreset-firstdashfirstdashfirst = { $first1 }-{ $first2 }-{ $first3 }
namepreset-firstdashlast = { $first }-{ $last }
# End ADT tweak
namepreset-thefirstoflast = The {$first} of {$last}

0 comments on commit c71987d

Please sign in to comment.