From f23391620da7e02e11eece740b4139f5426d592c Mon Sep 17 00:00:00 2001 From: "Tobias V. Langhoff" Date: Sun, 14 Dec 2025 23:32:27 +0100 Subject: [PATCH] Move LanguageCases constant to EnglishLanguageKit --- .../Materials/Inter/BasicInformKit/Sections/Utilities.i6t | 2 -- .../Inter/EnglishLanguageKit/Sections/Language.i6t | 6 ++++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inform7/Internal/Extensions/Graham Nelson/Basic Inform.i7xd/Materials/Inter/BasicInformKit/Sections/Utilities.i6t b/inform7/Internal/Extensions/Graham Nelson/Basic Inform.i7xd/Materials/Inter/BasicInformKit/Sections/Utilities.i6t index 7d2dfdf0c..d1ab067e6 100644 --- a/inform7/Internal/Extensions/Graham Nelson/Basic Inform.i7xd/Materials/Inter/BasicInformKit/Sections/Utilities.i6t +++ b/inform7/Internal/Extensions/Graham Nelson/Basic Inform.i7xd/Materials/Inter/BasicInformKit/Sections/Utilities.i6t @@ -45,8 +45,6 @@ Global indef_mode; ! "Indefinite" mode - ie, "take a brick" Global standard_interpreter = 0; -Default LanguageCases 1; - @h Final Code Dependencies. This function definition is a little misleading. The idea is that the final code-generator can inject code of its own into the body here: for example, diff --git a/inform7/Internal/Extensions/Graham Nelson/English Language.i7xd/Materials/Inter/EnglishLanguageKit/Sections/Language.i6t b/inform7/Internal/Extensions/Graham Nelson/English Language.i7xd/Materials/Inter/EnglishLanguageKit/Sections/Language.i6t index 93bfc6a18..37d0acb90 100644 --- a/inform7/Internal/Extensions/Graham Nelson/English Language.i7xd/Materials/Inter/EnglishLanguageKit/Sections/Language.i6t +++ b/inform7/Internal/Extensions/Graham Nelson/English Language.i7xd/Materials/Inter/EnglishLanguageKit/Sections/Language.i6t @@ -181,13 +181,15 @@ Constant LanguageContractionForms = 2; ! English has two: return 0; ]; +Constant LanguageCases = 1; ! The number of article cases; English has one + Array LanguageArticles --> ! Contraction form 0: Contraction form 1: ! Cdef Def Indef Cdef Def Indef - "The " "the " "a " "The " "the " "an " ! Articles 0 - "The " "the " "some " "The " "the " "some "; ! Articles 1 + "The " "the " "a " "The " "the " "an " ! Case 0, articles 0 + "The " "the " "some " "The " "the " "some "; ! Case 0, articles 1 ! a i ! s p s p