Files
abysmal-isle/Scripts/Scripts-master/Items/Misc/BossDyeTub.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

50 lines
1.2 KiB
C#

using System;
namespace Server.Items
{
public class BossDyeTub : DyeTub
{
[Constructable]
public BossDyeTub(int i)
{
//this.Redyable = false; //Remove this before the 'switch (i)'
switch (i)
{
case 1:
{
this.Hue = 0x300;
this.DyedHue = this.Hue;
this.Redyable = false;//<--add this into the switch case itself
break;
}
case 2:
{
this.Hue = 0x489;
this.DyedHue = this.Hue;
this.Redyable = false;//<--add this into the switch case itself
break;
}
}
}
public BossDyeTub(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();
}
}
}