mirror of
https://github.com/runuo/runuo
synced 2026-08-11 22:26:04 -04:00
Secondary changes: - Region fixes, mainly for New Haven. - Recipe system changes. - Enabled ML craftables. - Dyeing/cutting restrictions for quest items. - Moved IsInvulnerable from BaseVendor to BaseCreature. - Moved RandomBrightHue to Utility. - Items no longer decay when attached to a spawner. - Quest item hue is now faked through packets, instead of overriding Hue. - Re-enabled item drag effects for SA clients. - Fixed AssignRandomFacialHair bug in Utility. - Added random hue comments to Utility.
43 lines
956 B
C#
43 lines
956 B
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class TaintedTreeSample : Item // On OSI the base class is Kindling, and it's ignitable...
|
|
{
|
|
public override int LabelNumber{ get{ return 1074997; } } // Tainted Tree Sample
|
|
|
|
public override bool Nontransferable { get { return true; } }
|
|
|
|
public override void AddNameProperties( ObjectPropertyList list )
|
|
{
|
|
base.AddNameProperties( list );
|
|
AddQuestItemProperty( list );
|
|
}
|
|
|
|
[Constructable]
|
|
public TaintedTreeSample() : base( 0xDE2 )
|
|
{
|
|
LootType = LootType.Blessed;
|
|
Hue = 0x9D;
|
|
}
|
|
|
|
public TaintedTreeSample( 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();
|
|
}
|
|
}
|
|
}
|