mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.22.27
This commit is contained in:
parent
07bc3dee33
commit
e3e2de9e9b
15 changed files with 255 additions and 32 deletions
|
|
@ -396,9 +396,8 @@ function getAdjective(string) {
|
|||
|
||||
const end = string.slice(-1); // last letter of string
|
||||
if (end === "a") return string += "n";
|
||||
if (end === "i") return string += "an";
|
||||
if (end === "o") return string = trimVowels(string) + "an";
|
||||
if (end === "c" || end === "y" || end === "u") return string += "an";
|
||||
if (vowel(end) || end === "c") return string += "an"; // ceiuy
|
||||
if (end === "m" || end === "n") return string += "ese";
|
||||
if (end === "q") return string += "i";
|
||||
return trimVowels(string) + "ian";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue