Skip to content

Commit

Permalink
Conjugate modified for verbs ending "y"
Browse files Browse the repository at this point in the history
So now the "y" becomes "ies" at the end of a verb, unless it is "ey"
  • Loading branch information
ThePix authored Jul 19, 2018
1 parent dd0bd96 commit 2c6caa2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion WorldModel/WorldModel/Core/Languages/English.aslx
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,12 @@
}
default {
if (gender = "it") {
return (verb + "s")
if (EndsWith(verb, "y") and not EndsWith(verb, "ey")) {
return (Mid(verb, 1, Lengthof(verb) - 1) + "ies")
}
else {
return (verb + "s")
}
}
else {
return (verb)
Expand Down

0 comments on commit 2c6caa2

Please # to comment.