This commit is contained in:
Unstable Kitsune
2023-12-09 22:53:52 -05:00
parent 487f90ea32
commit 41364fa9f1
70 changed files with 3001 additions and 1 deletions

View File

@@ -0,0 +1,84 @@
using System;
using Server.Items;
namespace Server.Items
{
public class WolvenShiftOrb : Item
{
[Constructable]
public WolvenShiftOrb() : base( 22334 )
{
Movable = true;
Hue = 705;
Name = "A Wolven Shapeshift Orb";
LootType = LootType.Blessed;
}
public WolvenShiftOrb( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
public override void OnDoubleClick( Mobile from )
{
if ( !from.InRange( GetWorldLocation(), 2 ) )
{
from.SendLocalizedMessage( 500446 ); // That is too far away.
}
else
{
if ( from.Mounted == true )
{
from.SendLocalizedMessage( 1042561 );
}
else
{
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
{
from.BodyMod = 719;
from.HueMod = 0x0;
}
else
{
if (from.Female == true )
{
from.BodyMod = 401;
}
else
{
from.BodyMod = 400;
from.HueMod = -1;
}
{
}
}
}
}
}
}
}