Add DefaultName property to Mobiles & Items (#18)

This commit is contained in:
Kamron Batman 2018-08-09 17:18:41 -07:00 • committed by GitHub
parent b06f5bf60d
commit 8ee42c8ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
713 changed files with 5112 additions and 4987 deletions

View file

@ -13,6 +13,8 @@ namespace Server.Engines.Quests.Necro
{
public class Horus : BaseQuester
{
public override string DefaultName => "Horus";
[Constructible]
public Horus() : base( "the Guardian" )
{
@ -24,8 +26,6 @@ namespace Server.Engines.Quests.Necro
Hue = 0x83F3;
Body = 0x190;
Name = "Horus";
}
public override void InitOutfit()
@ -195,4 +195,4 @@ namespace Server.Engines.Quests.Necro
int version = reader.ReadInt();
}
}
}
}

View file

@ -7,6 +7,8 @@ namespace Server.Engines.Quests.Necro
{
public class Maabus : BaseQuester
{
public override string DefaultName => "Maabus";
public Maabus()
{
}
@ -14,7 +16,6 @@ namespace Server.Engines.Quests.Necro
public override void InitBody()
{
Body = 0x94;
Name = "Maabus";
}
public Maabus( Serial serial ) : base( serial )
@ -44,4 +45,4 @@ namespace Server.Engines.Quests.Necro
int version = reader.ReadInt();
}
}
}
}

View file

@ -10,6 +10,8 @@ namespace Server.Engines.Quests.Necro
{
public class Mardoth : BaseQuester
{
public override string DefaultName => "Mardoth";
[Constructible]
public Mardoth() : base( "the Ancient Necromancer" )
{
@ -21,8 +23,6 @@ namespace Server.Engines.Quests.Necro
Hue = 0x8849;
Body = 0x190;
Name = "Mardoth";
}
public override bool OnDragDrop( Mobile from, Item dropped )
@ -227,4 +227,4 @@ namespace Server.Engines.Quests.Necro
int version = reader.ReadInt();
}
}
}
}