Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
43
Scripts/Items/Decorative/CrystalBall.cs
Normal file
43
Scripts/Items/Decorative/CrystalBall.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
// By Neon
|
||||
// Improved By Dddie
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class MagicCrystalBall : Item
|
||||
{
|
||||
[Constructable]
|
||||
public MagicCrystalBall() : base( 0xE2E )
|
||||
{
|
||||
this.Name = "a crystal ball";
|
||||
this.Weight = 10;
|
||||
this.Stackable = false;
|
||||
this.LootType = LootType.Blessed;
|
||||
this.Light = LightType.Circle150;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick( Mobile from )
|
||||
{
|
||||
this.PublicOverheadMessage( MessageType.Regular, 0x3B2, 1007000 + Utility.Random( 28 ));
|
||||
}
|
||||
|
||||
public MagicCrystalBall( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user