From 4c42cfd9e125b7ebdd8d733c105c28bbb3980617 Mon Sep 17 00:00:00 2001 From: Aaron McGuire Date: Tue, 13 Aug 2024 00:45:36 -0400 Subject: [PATCH] small tweaks; version push, bofa tile tweak, CCSC in bones recs --- .../Items of the Month/2023/Book of Facts.ash | 13 +++++++++++++ Source/relay/TourGuide/Quests/Level 13.ash | 2 ++ Source/relay/TourGuide/Settings.ash | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Source/relay/TourGuide/Items of the Month/2023/Book of Facts.ash b/Source/relay/TourGuide/Items of the Month/2023/Book of Facts.ash index e4639ec0..c4ff4b43 100644 --- a/Source/relay/TourGuide/Items of the Month/2023/Book of Facts.ash +++ b/Source/relay/TourGuide/Items of the Month/2023/Book of Facts.ash @@ -11,11 +11,24 @@ void IOTMBookofFactsGenerateTasks(ChecklistEntry [int] task_entries, ChecklistEn // If they have an eagle, remind them they can eagle-banish to make it easier to find the habitat guys string eagleString = lookupFamiliar("Patriotic Eagle").familiar_is_usable() ? "; remember, you can phylum-banish with your Patriotic Eagle to make it easier!" : "." ; + phylum eaglePhylumBanished = $phylum[none]; + + if (get_property("banishedPhyla") != "") + eaglePhylumBanished = get_property("banishedPhyla").split_string(":")[1].to_phylum(); if (habitat_monster != $monster[none] && fights_left > 0) { description.listAppend("Neaaaar, faaaaaaar, wherever you spaaaaaaar, I believe that the heart does go onnnnn."); description.listAppend("Appears as a wandering monster in any zone. Try a place with few competing monsters"+eagleString); + + if (eaglePhylumBanished == habitat_monster.phylum) { + description.listAppend(HTMLGenerateSpanFont(`WARNING: {habitat_monster}'s phylum is banished!`, "red")); + } + + if (habitat_monster.is_banished()) { + description.listAppend(HTMLGenerateSpanFont(`WARNING: {habitat_monster} is banished!`, "red")); + } + optional_task_entries.listAppend(ChecklistEntryMake("__monster " + habitat_monster, "", ChecklistSubentryMake("Fight " + pluralise(fights_left, "more non-native " + habitat_monster, "more non-native " + habitat_monster + "s"), "", description), -4)); } diff --git a/Source/relay/TourGuide/Quests/Level 13.ash b/Source/relay/TourGuide/Quests/Level 13.ash index 3200bb70..0c675d6d 100644 --- a/Source/relay/TourGuide/Quests/Level 13.ash +++ b/Source/relay/TourGuide/Quests/Level 13.ash @@ -1134,6 +1134,8 @@ void QLevel13GenerateTasks(ChecklistEntry [int] task_entries, ChecklistEntry [in } if (my_mp() < $skill[saucegeyser].mp_cost() * 4.0) subentry.entries.listAppend(HTMLGenerateSpanFont("Restore some MP first.", "red")); + if (__iotms_usable[lookupItem("candy cane sword cane")]) + subentry.entries.listAppend("Also, consider using your Candy Cane Sword Cane's surprisingly sweet slash to cut the wall's HP by 75%!"); if (need_modifier_output) { subentry.modifiers.listAppend("mysticality"); diff --git a/Source/relay/TourGuide/Settings.ash b/Source/relay/TourGuide/Settings.ash index 6ad6e269..cee0dec9 100644 --- a/Source/relay/TourGuide/Settings.ash +++ b/Source/relay/TourGuide/Settings.ash @@ -1,5 +1,5 @@ //These settings are for development. Don't worry about editing them. -string __version = "2.2.1"; // pushed to 2.2.1 on jill/leaves tiles +string __version = "2.2.2"; // pushed to 2.2.1 on jill/leaves tiles //Path and name of the .js file. In case you change either. string __javascript = "TourGuide/TourGuide.js";