From 65d89539560244493401e822a34c495236bffef7 Mon Sep 17 00:00:00 2001 From: WarrentyExpired Date: Tue, 3 Nov 2026 14:09:40 -0500 Subject: [PATCH] #W# Tools: Mining and fishing now require the tool to be equiped to use. --- Projects/UOContent/Engines/Harvest/Fishing.cs | 6 ++++++ Projects/UOContent/Engines/Harvest/Mining.cs | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/Projects/UOContent/Engines/Harvest/Fishing.cs b/Projects/UOContent/Engines/Harvest/Fishing.cs index 2eb04702d..2f4cad4e4 100644 --- a/Projects/UOContent/Engines/Harvest/Fishing.cs +++ b/Projects/UOContent/Engines/Harvest/Fishing.cs @@ -519,6 +519,12 @@ namespace Server.Engines.Harvest return false; } + if (tool.Parent != from) + { + from.SendMessage("You must equip your fishing pole to be able to catch fish."); + return false; + } + if (from.Mounted) { from.SendLocalizedMessage(500971); // You can't fish while riding! diff --git a/Projects/UOContent/Engines/Harvest/Mining.cs b/Projects/UOContent/Engines/Harvest/Mining.cs index dd7f5c747..f01a8fd21 100644 --- a/Projects/UOContent/Engines/Harvest/Mining.cs +++ b/Projects/UOContent/Engines/Harvest/Mining.cs @@ -303,6 +303,12 @@ namespace Server.Engines.Harvest return false; } + if (tool.Parent != from) + { + from.SendMessage("You must equip this to mine ore."); + return false; + } + if (from.IsBodyMod && !from.Body.IsHuman) { from.SendLocalizedMessage(501865); // You can't mine while polymorphed.