From f782813c259ff5ae2d38c425da11b0f3c4fa1c94 Mon Sep 17 00:00:00 2001 From: Dale McCoy <21223975+DaleStan@users.noreply.github.com> Date: Sun, 8 Jan 2023 20:29:56 -0500 Subject: [PATCH 1/2] Remove textplate's in-game-only items that cause false-positive accessibility warnings. --- YAFC/Data/Mod-fixes/textplates.textplates.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 YAFC/Data/Mod-fixes/textplates.textplates.lua diff --git a/YAFC/Data/Mod-fixes/textplates.textplates.lua b/YAFC/Data/Mod-fixes/textplates.textplates.lua new file mode 100644 index 00000000..a487c804 --- /dev/null +++ b/YAFC/Data/Mod-fixes/textplates.textplates.lua @@ -0,0 +1,7 @@ +local textplates = ...; + +for _,plate in pairs(textplates.types) do + plate.symbols = {} +end + +return textplates; From c4b6bd1b09a819db559794d050f6557e260b6ce8 Mon Sep 17 00:00:00 2001 From: Dale McCoy <21223975+DaleStan@users.noreply.github.com> Date: Sun, 15 Jan 2023 15:17:53 -0500 Subject: [PATCH 2/2] Filter out the in-game-only items from Even More Textplates too. --- YAFC/Data/Mod-fixes/EvenMoreTextPlates.globals.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 YAFC/Data/Mod-fixes/EvenMoreTextPlates.globals.lua diff --git a/YAFC/Data/Mod-fixes/EvenMoreTextPlates.globals.lua b/YAFC/Data/Mod-fixes/EvenMoreTextPlates.globals.lua new file mode 100644 index 00000000..3383d144 --- /dev/null +++ b/YAFC/Data/Mod-fixes/EvenMoreTextPlates.globals.lua @@ -0,0 +1,7 @@ +local evenmoretextplates = ...; + +for _,plate in pairs(evenmoretextplates.new_types) do + plate.symbols = {} +end + +return evenmoretextplates;