ServUO--
Hi I have a little custom ingot that I am trying to figure out how to bind the the player on pickup.
I will be adding it to a mob as a random drop for a quest turn in.
Below is the code the code. Without any of my random tests.
using System;
namespace Server.Items
{
public class FrostIngot : Item
{
public override bool IsArtifact { get { return true; } }
[Constructable]
public FrostIngot()
: base(0x1bf2)
{
Weight = 1.0;
Name = "Ingot of Frost";
Hue = 2212;
}
public FrostIngot(Serial serial)
: base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}
Hi I have a little custom ingot that I am trying to figure out how to bind the the player on pickup.
I will be adding it to a mob as a random drop for a quest turn in.
Below is the code the code. Without any of my random tests.
using System;
namespace Server.Items
{
public class FrostIngot : Item
{
public override bool IsArtifact { get { return true; } }
[Constructable]
public FrostIngot()
: base(0x1bf2)
{
Weight = 1.0;
Name = "Ingot of Frost";
Hue = 2212;
}
public FrostIngot(Serial serial)
: base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}
Last edited: