#W# Crafting: If you have a salvage bag in your backpack crafted items go in it instead of your backpack.

This commit is contained in:
WarrentyExpired 2026-11-04 19:37:31 -05:00
parent c4c73b236a
commit 9944c00870
2 changed files with 10 additions and 3 deletions

View file

@ -1552,8 +1552,15 @@ namespace Server.Engines.Craft
item.Amount = maxAmount;
}
}
from.AddToBackpack(item);
Item salvageBag = from.Backpack.FindItemByType(typeof(Server.Items.SalvageBag));
if (salvageBag is Container salvageContainer && !salvageContainer.Deleted)
{
salvageContainer.DropItem(item);
}
else
{
from.AddToBackpack(item);
}
// --- Queue System Tally (Success) ---
{

View file

@ -19,9 +19,9 @@ namespace Server.Mobiles
{
if (Core.ML)
{
Add(new GenericBuyInfo("1079931", typeof(SalvageBag), 1255, 20, 0xE76, Utility.RandomBlueHue()));
}
Add(new GenericBuyInfo("1079931", typeof(SalvageBag), 1255, 20, 0xE76, Utility.RandomBlueHue()));
Add(new GenericBuyInfo("1060834", typeof(PlantBowl), 2, 20, 0x15FD, 0));
Add(new GenericBuyInfo(typeof(Arrow), 2, 20, 0xF3F, 0));