#W# Change: Spinning wheels and looms process the entire stack.

This commit is contained in:
WarrentyExpired 2026-09-21 09:38:11 -04:00
parent 373369c28e
commit 128a40e2c0
5 changed files with 80 additions and 27 deletions

View file

@ -85,8 +85,17 @@ public partial class Flax : Item
}
else
{
m_Flax.Consume();
wheel.BeginSpin(m_Flax.OnSpun, from, m_Flax.Hue);
int amountToProcess = m_Flax.Amount;
int flaxHue = m_Flax.Hue;
m_Flax.Delete();
wheel.BeginSpin((w, mobile, h) =>
{
mobile.AddToBackpack(new SpoolOfThread(6 * amountToProcess)
{
Hue = h
});
mobile.SendLocalizedMessage(1010577); // You put the spools of thread in your backpack.
}, from, flaxHue);
}
}
}