So, I have some ethereals I want to write deeds for.However, it is throwing an error on World.addI'm at a loss of how to fix it.

Errors:
+ Customs/undeeded mounts/Mounts - Ethys/MoreEtherealsDeeds.cs:
CS0030: Line 40: Cannot convert type 'Server.Mobiles.EtherealChimera' to 'Server.Mobile'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.


Code:

namespace Server.Items
{
public class EtherealChimeraDeed : Item
{
[Constructable]
public EtherealChimeraDeed() : base( 0x14F0 )
{
Movable = true;
Name = "a deed for an ethereal chimera";
}
public override void OnDoubleClick( Mobile from )
{
if ( IsChildOf( from.Backpack ) )
{
PlayerMobile pm = (PlayerMobile)from;
if ( from.Skills[SkillName.AnimalTaming].Base < 100.0)
{
from.SendMessage( "You have no clue how to use this." );
}
else
{
if ( from.Followers == 0 )
{
EtherealChimera hell = new EtherealChimera();
//hell.Controlled = true;
//hell.ControlMaster = from;

hell.Location = from.Location;
hell.Map = from.Map;
World.AddMobile( hell );
from.SendMessage( "You have created an ethereal chimera" );
this.Delete();
}
else
{
from.SendMessage( "Please shrink or stable all pets before using this deed." );
}
}
}
else
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
}
public EtherealChimeraDeed( 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();
}
}
}
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back