#W# Initial Commit: Avatars Conquest

This commit is contained in:
WarrentyExpired 2026-07-04 10:35:30 -04:00
commit 5df497787a
7510 changed files with 416048 additions and 0 deletions

View file

@ -0,0 +1,41 @@
using Server;
using System;
namespace Server.Items
{
[FlipableAttribute( 0x0890, 0x0891 )]
public class ChestOfSecrets : Item
{
[Constructable]
public ChestOfSecrets() : base( 0x0890 )
{
Name = "golden chest";
Light = LightType.Circle150;
Movable = false;
}
public override void OnDoubleClick( Mobile from )
{
if ( !from.InRange( this.GetWorldLocation(), 2 ) )
from.SendMessage( "That is too far away!" );
else if ( !Server.Misc.QuestFunctions.MonstersNearby( from ) )
from.SendMessage( "You find nothing of interest in the chest." );
}
public ChestOfSecrets( 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();
}
}
}