Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
50
Scripts/Items/Decorative/ElvenPodium.cs
Normal file
50
Scripts/Items/Decorative/ElvenPodium.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Furniture]
|
||||
[Flipable(0x2DDD, 0x2DDE)]
|
||||
public class ElvenPodium : CraftableFurniture
|
||||
{
|
||||
[Constructable]
|
||||
public ElvenPodium()
|
||||
: base(0x2DDD)
|
||||
{
|
||||
this.Weight = 1.0;
|
||||
}
|
||||
|
||||
public ElvenPodium(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int LabelNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073399;
|
||||
}
|
||||
}// elven podium
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)1); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (version == 0)
|
||||
{
|
||||
if (ItemID == 0x2D4B)
|
||||
ItemID = 0x2DDD;
|
||||
else
|
||||
ItemID = 0x2DDE;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user