Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,46 @@
using System;
namespace Server.Items
{
public class DreadSpiderStatuette : BaseStatuette
{
private static readonly int[] m_Sounds = new int[]
{
0x493, 0x494, 0x495, 0x496, 0x497
};
[Constructable]
public DreadSpiderStatuette()
: base(0x25C4)
{
this.Name = "Dread Spider";
this.Weight = 5.0;
}
public DreadSpiderStatuette(Serial serial)
: base(serial)
{
}
public override void OnMovement(Mobile m, Point3D oldLocation)
{
if (this.TurnedOn && this.IsLockedDown && (!m.Hidden || m.IsPlayer()) && Utility.InRange(m.Location, this.Location, 2) && !Utility.InRange(oldLocation, this.Location, 2))
Effects.PlaySound(this.Location, this.Map, m_Sounds[Utility.Random(m_Sounds.Length)]);
base.OnMovement(m, oldLocation);
}
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();
}
}
}