fix: Codegens resources (#1272)
This commit is contained in:
parent
59ed0a5bb4
commit
82637a77cd
59 changed files with 2435 additions and 2695 deletions
|
|
@ -1,36 +1,20 @@
|
|||
namespace Server.Items
|
||||
using ModernUO.Serialization;
|
||||
|
||||
namespace Server.Items;
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class BagOfReagents : Bag
|
||||
{
|
||||
public class BagOfReagents : Bag
|
||||
[Constructible]
|
||||
public BagOfReagents(int amount = 50)
|
||||
{
|
||||
[Constructible]
|
||||
public BagOfReagents(int amount = 50)
|
||||
{
|
||||
DropItem(new BlackPearl(amount));
|
||||
DropItem(new Bloodmoss(amount));
|
||||
DropItem(new Garlic(amount));
|
||||
DropItem(new Ginseng(amount));
|
||||
DropItem(new MandrakeRoot(amount));
|
||||
DropItem(new Nightshade(amount));
|
||||
DropItem(new SulfurousAsh(amount));
|
||||
DropItem(new SpidersSilk(amount));
|
||||
}
|
||||
|
||||
public BagOfReagents(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
DropItem(new BlackPearl(amount));
|
||||
DropItem(new Bloodmoss(amount));
|
||||
DropItem(new Garlic(amount));
|
||||
DropItem(new Ginseng(amount));
|
||||
DropItem(new MandrakeRoot(amount));
|
||||
DropItem(new Nightshade(amount));
|
||||
DropItem(new SulfurousAsh(amount));
|
||||
DropItem(new SpidersSilk(amount));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue