From ff6ab4ca0b1c7252d58f174ea5a5f4e147e06c59 Mon Sep 17 00:00:00 2001 From: Aaron McGuire Date: Sun, 20 Aug 2023 17:08:39 -0400 Subject: [PATCH] fix g-lover accessibility issues reported by vinny --- .../TourGuide/Items of the Month/2022/Autumnaton.ash | 8 +++++--- .../Items of the Month/2023/SIT Course Certificate.ash | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Source/relay/TourGuide/Items of the Month/2022/Autumnaton.ash b/Source/relay/TourGuide/Items of the Month/2022/Autumnaton.ash index a8998e3e..99c2781e 100644 --- a/Source/relay/TourGuide/Items of the Month/2022/Autumnaton.ash +++ b/Source/relay/TourGuide/Items of the Month/2022/Autumnaton.ash @@ -2,9 +2,11 @@ RegisterTaskGenerationFunction("IOTMAutumnatonGenerateTasks"); void IOTMAutumnatonGenerateTasks(ChecklistEntry [int] task_entries, ChecklistEntry [int] optional_task_entries, ChecklistEntry [int] future_task_entries) { - #if (!__misc_state["in run"]) return; - if (!get_property_boolean("hasAutumnaton")) return; - if (my_path() == $path[Legacy of Loathing]) return; + # if (!__misc_state["in run"]) return; // Turned off because TES likes this tile to appear in aftercore + if (!get_property_boolean("hasAutumnaton")) return; // Don't show if they don't actually have Fall-E + if (my_path() == $path[Legacy of Loathing]) return; // Cannot use fall-e in LoL + if (my_path().id == PATH_G_LOVER) return; // Cannot use fall-e in G-Lover + int autobotsToday = get_property_int("_autumnatonQuests"); int turncountWhereAutobotReturns = get_property_int("autumnatonQuestTurn"); diff --git a/Source/relay/TourGuide/Items of the Month/2023/SIT Course Certificate.ash b/Source/relay/TourGuide/Items of the Month/2023/SIT Course Certificate.ash index 3f1b125e..5ad04fbe 100644 --- a/Source/relay/TourGuide/Items of the Month/2023/SIT Course Certificate.ash +++ b/Source/relay/TourGuide/Items of the Month/2023/SIT Course Certificate.ash @@ -13,6 +13,9 @@ void IOTMSITCertificateGenerateTasks(ChecklistEntry [int] task_entries, Checklis // Don't generate a tile if the user doesn't have SIT. if (!lookupItem("S.I.T. Course Completion Certificate").have()) return; + // Cannot use S.I.T. in G-Lover + if (my_path().id == PATH_G_LOVER) return; + boolean completedSITToday = get_property_boolean("_sitCourseCompleted"); // Don't generate a tile if the user has completed SIT already today.