Translate ordinal into Mechyrdian
authorTheSaminator <thesaminator@users.noreply.github.com>
Mon, 4 Jul 2022 23:33:20 +0000 (19:33 -0400)
committerTheSaminator <thesaminator@users.noreply.github.com>
Mon, 4 Jul 2022 23:33:20 +0000 (19:33 -0400)
src/jvmMain/kotlin/net/starshipfights/data/space/fleet_names.kt

index 84caad23cc7377ec2b3d2af5ccb9d9ebbc7fb260..3b81d90b7ba724c48a92cf4e79f9cb16ebbdb825 100644 (file)
@@ -17,7 +17,7 @@ private fun rangedOrdinal(max: Int, min: Int = 1) = (min..max).random().toOrdina
 private fun rangedRomanNumeral(max: Int, min: Int = 1) = (min..max).random().toRomanNumerals()
 
 fun FactionFlavor.genFleetName(): String = when (this) {
-       FactionFlavor.MECHYRDIA -> "${rangedOrdinal(999, 100)} Expediciós Flót"
+       FactionFlavor.MECHYRDIA -> "${(100..999).random()}il Expediciós Flót"
        FactionFlavor.TYLA -> "${(100..399).random()}a Kasaklas Safasra"
        FactionFlavor.OLYMPIA -> "${rangedRomanNumeral(399, 50)} Classis Belligerens Astronautica"
        FactionFlavor.TEXANDRIA -> "${(50..199).random()}te Wehrsflotte"