ModernUO/Projects/UOContent/Special Systems/Items/Supply Bags/AlchemyBag.cs
Kamron Batman fbafd7210d
fix(core): Converts some packets & misc fixes/cleanup (#414)
- [X] Adds a stop music packet
- [X] Converts chat packets
- [X] Breaks out chat code a little bit more
- [X] Converts character statue animation packet
- [X] Renames some folders to have spaces
- [X] Organizes and consolidates incoming/outgoing packets for other content
- [X] Fixes virtual checks
2021-01-16 21:01:54 -08:00

36 lines
827 B
C#

using System;
namespace Server.Items
{
public class AlchemyBag : Bag
{
[Constructible]
public AlchemyBag(int amount = 5000)
{
Hue = 0x250;
DropItem(new MortarPestle(Math.Max(amount / 1000, 1)));
DropItem(new BagOfReagents(5000));
DropItem(new Bottle(5000));
}
public AlchemyBag(Serial serial) : base(serial)
{
}
public override string DefaultName => "an Alchemy Kit";
public override void Serialize(IGenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(IGenericReader reader)
{
base.Deserialize(reader);
var version = reader.ReadInt();
}
}
}