From 2c6caa2aa4ffd2ddc4d6c3e24b47b237bea7f7ae Mon Sep 17 00:00:00 2001 From: ThePix Date: Thu, 19 Jul 2018 12:41:47 +0100 Subject: [PATCH] Conjugate modified for verbs ending "y" So now the "y" becomes "ies" at the end of a verb, unless it is "ey" --- WorldModel/WorldModel/Core/Languages/English.aslx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/WorldModel/WorldModel/Core/Languages/English.aslx b/WorldModel/WorldModel/Core/Languages/English.aslx index 95e878215..7c2cfee78 100644 --- a/WorldModel/WorldModel/Core/Languages/English.aslx +++ b/WorldModel/WorldModel/Core/Languages/English.aslx @@ -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)