#W# Tools: Mining and fishing now require the tool to be equiped to use.

This commit is contained in:
WarrentyExpired 2026-11-03 14:09:40 -05:00
parent 15830c7e23
commit 65d8953956
2 changed files with 12 additions and 0 deletions

View file

@ -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!

View file

@ -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.