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

@ -8,10 +8,11 @@ namespace Server.Mobiles
[CorpseName( "an ant lion corpse" )]
public class AntLion : BaseCreature
{
public override string DefaultName => "an ant lion";
[Constructible]
public AntLion() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "an ant lion";
Body = 787;
BaseSoundID = 1006;
@ -110,4 +111,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -8,10 +8,11 @@ namespace Server.Mobiles
[CorpseName( "a solen infiltrator corpse" )] // TODO: Corpse name?
public class BlackSolenInfiltratorQueen : BaseCreature
{
public override string DefaultName => "a black solen infiltrator";
[Constructible]
public BlackSolenInfiltratorQueen() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a black solen infiltrator";
Body = 807;
BaseSoundID = 959;
Hue = 0x453;
@ -108,4 +109,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -8,10 +8,11 @@ namespace Server.Mobiles
[CorpseName( "a solen infiltrator corpse" )]
public class BlackSolenInfiltratorWarrior : BaseCreature
{
public override string DefaultName => "a black solen infiltrator";
[Constructible]
public BlackSolenInfiltratorWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a black solen infiltrator";
Body = 806;
BaseSoundID = 959;
Hue = 0x453;
@ -44,7 +45,7 @@ namespace Server.Mobiles
SolenHelper.PackPicnicBasket( this );
PackItem( new ZoogiFungus( ( 0.05 > Utility.RandomDouble() )? 13 : 3 ) );
PackItem( new ZoogiFungus( ( 0.05 > Utility.RandomDouble() )? 13 : 3 ) );
}
public override int GetAngerSound()
@ -109,4 +110,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -11,10 +11,11 @@ namespace Server.Mobiles
private bool m_BurstSac;
public bool BurstSac{ get{ return m_BurstSac; } }
public override string DefaultName => "a black solen queen";
[Constructible]
public BlackSolenQueen() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a black solen queen";
Body = 807;
BaseSoundID = 959;
Hue = 0x453;
@ -144,7 +145,7 @@ namespace Server.Mobiles
m_BurstSac = reader.ReadBool();
break;
}
}
}
}
}
}

View file

@ -11,10 +11,11 @@ namespace Server.Mobiles
private bool m_BurstSac;
public bool BurstSac{ get{ return m_BurstSac; } }
public override string DefaultName => "a black solen warrior";
[Constructible]
public BlackSolenWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a black solen warrior";
Body = 806;
BaseSoundID = 959;
Hue = 0x453;
@ -145,7 +146,7 @@ namespace Server.Mobiles
m_BurstSac = reader.ReadBool();
break;
}
}
}
}
}
}
}

View file

@ -8,10 +8,11 @@ namespace Server.Mobiles
[CorpseName( "a solen worker corpse" )]
public class BlackSolenWorker : BaseCreature
{
public override string DefaultName => "a black solen worker";
[Constructible]
public BlackSolenWorker() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a black solen worker";
Body = 805;
BaseSoundID = 959;
Hue = 0x453;
@ -109,4 +110,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -8,10 +8,11 @@ namespace Server.Mobiles
[CorpseName( "a solen infiltrator corpse" )] // TODO: Corpse name?
public class RedSolenInfiltratorQueen : BaseCreature
{
public override string DefaultName => "a red solen infiltrator";
[Constructible]
public RedSolenInfiltratorQueen() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a red solen infiltrator";
Body = 783;
BaseSoundID = 959;
@ -107,4 +108,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -8,10 +8,11 @@ namespace Server.Mobiles
[CorpseName( "a solen infiltrator corpse" )]
public class RedSolenInfiltratorWarrior : BaseCreature
{
public override string DefaultName => "a red solen infiltrator";
[Constructible]
public RedSolenInfiltratorWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a red solen infiltrator";
Body = 782;
BaseSoundID = 959;
@ -44,7 +45,7 @@ namespace Server.Mobiles
SolenHelper.PackPicnicBasket( this );
PackItem( new ZoogiFungus( ( 0.05 < Utility.RandomDouble() )? 3 : 13 ) );
}
public override int GetAngerSound()
@ -109,4 +110,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -11,10 +11,11 @@ namespace Server.Mobiles
private bool m_BurstSac;
public bool BurstSac{ get{ return m_BurstSac; } }
public override string DefaultName => "a red solen queen";
[Constructible]
public RedSolenQueen() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a red solen queen";
Body = 783;
BaseSoundID = 959;
@ -144,7 +145,7 @@ namespace Server.Mobiles
m_BurstSac = reader.ReadBool();
break;
}
}
}
}
}
}
}

View file

@ -11,10 +11,11 @@ namespace Server.Mobiles
private bool m_BurstSac;
public bool BurstSac{ get{ return m_BurstSac; } }
public override string DefaultName => "a red solen warrior";
[Constructible]
public RedSolenWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a red solen warrior";
Body = 782;
BaseSoundID = 959;
@ -144,7 +145,7 @@ namespace Server.Mobiles
m_BurstSac = reader.ReadBool();
break;
}
}
}
}
}
}
}

View file

@ -8,10 +8,11 @@ namespace Server.Mobiles
[CorpseName( "a solen worker corpse" )]
public class RedSolenWorker : BaseCreature
{
public override string DefaultName => "a red solen worker";
[Constructible]
public RedSolenWorker() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a red solen worker";
Body = 781;
BaseSoundID = 959;
@ -108,4 +109,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}