From 8b60c4594327506316a9ff803bf00a4d41f81d3c Mon Sep 17 00:00:00 2001 From: MahtraDR <93822896+MahtraDR@users.noreply.github.com> Date: Wed, 21 Feb 2024 10:31:36 +1300 Subject: [PATCH] [scripts][outdoorsmanship] Add foraging deprecation notice. As per title. --- outdoorsmanship.lic | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/outdoorsmanship.lic b/outdoorsmanship.lic index 95c78b1550..4e6e8a2ed8 100644 --- a/outdoorsmanship.lic +++ b/outdoorsmanship.lic @@ -53,6 +53,14 @@ class Outdoorsmanship attempt = 0 # Failsafe counter to prevent an infinite loop if item isn't collectable in the room while (DRSkill.getxp(@skill_name) < @end_exp) && (attempt < @targetxp) if @train_method == 'forage' + DRC.message("#########################################################################") + DRC.message("##############################NOTICE#####################################") + DRC.message("Using FORAGE is going to be deprecated in favor of using COLLECT PRACTICE") + DRC.message("If you are seeing this message, you should remove the line") + DRC.message("outdoors_method: forage") + DRC.message("From your yaml") + DRC.message("This functionality will be completely removed on the 28th of Feb 2024") + DRC.message("#########################################################################") DRCA.crafting_magic_routine(@settings) DRC.forage?(@forage_item) DRCI.dispose_trash(@forage_item, @worn_trashcan, @worn_trashcan_verb)