Skip to content

Commit

Permalink
Added THE NAMING SYSTEM!
Browse files Browse the repository at this point in the history
Only touched 2 base files and summarized it because had no other choice from my understanding
  • Loading branch information
Adrian16199 committed Sep 21, 2023
1 parent 36ccac8 commit 8386ea9
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Content.Shared/Humanoid/NamingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +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",
("first", GetFirstName(speciesProto, gender)), ("last", GetLastName(speciesProto)));
//End of Nyano code for Oni naming
case SpeciesNaming.TheFirstofLast:
return Loc.GetString("namepreset-thefirstoflast",
("first", GetFirstName(speciesProto, gender)), ("last", GetLastName(speciesProto)));
Expand Down
3 changes: 3 additions & 0 deletions Content.Shared/Humanoid/Prototypes/SpeciesPrototype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,8 @@ public enum SpeciesNaming : byte
{
FirstLast,
FirstDashFirst,
//Start of Nyano code for Oni naming
XnoY,
//End of Nyano code for Oni naming
TheFirstofLast,
}
1 change: 1 addition & 0 deletions Resources/Locale/en-US/nyanotrasen/species/namepreset.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
namepreset-x-no-y = {$last}-no-{$first}
21 changes: 21 additions & 0 deletions Resources/Prototypes/Nyanotrasen/Datasets/Names/oni_female.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- type: dataset
id: names_oni_female
values:
- Akari #
- Kira
- Kirameki
- Aki #
- Akiho
- Akimi
- Akashi #
- Saya
- Aporo #
- Arute
- Meguru
- Tiara #
- Suisei
- Io #
- Aoi
- Mizu
- Shuten #epic references
- Suika
31 changes: 31 additions & 0 deletions Resources/Prototypes/Nyanotrasen/Datasets/Names/oni_location.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
- type: dataset
id: names_oni_location
values:
- Amiboshi
- Amefuriboshi
- Aoboshi
- Ashitareboshi
- Chirikoboshi
- Chichiriboshi
- Ekieboshi
- Inamiboshi
- Hatsuinoshi
- Hikitsuboshi
- Hotohoriboshi
- Karasukiboshi
- Miboshi
- Namameboshi
- Nakagoboshi
- Nuriboshi
- Soiboshi
- Suboshi
- Subaruboshi
- Tamaonoboshi
- Tasukiboshi
- Tataraboshi
- Tomiteboshi
- Tomoboshi
- Tokakiboshi
- Torokiboshi
- Umiyameboshi
- Urukiboshi
20 changes: 20 additions & 0 deletions Resources/Prototypes/Nyanotrasen/Datasets/Names/oni_male.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- type: dataset
id: names_oni_male
values:
- Kiyoshi #
- Satoshi #
- Teru #
- Hiroshi
- Takashi #
- Eeichi #永一
- Eeichirou #永一朗
- Kyousaburou
- Tsutomu
- Tsuyoshi
- Kenshi
- Kenji
- Kenichi
- Susumu
- Kyounosuke
- Suisei #Mars
- Shuten #Reference
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: XnoY

- type: markingPoints
id: MobOniMarkingLimits
Expand Down

0 comments on commit 8386ea9

Please sign in to comment.