Replaces corpse name (#23)

This commit is contained in:
Kamron Batman 2018-08-14 23:50:00 +08:00 • committed by GitHub
parent 632e8b4757
commit 6987d0c18e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
367 changed files with 378 additions and 396 deletions

View file

@ -3,9 +3,9 @@ using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName("a parrot corpse")]
public class Parrot : BaseCreature
{
public override string CorpseName => "a parrot corpse";
public override string DefaultName => "a parrot";
[Constructible]

View file

@ -4,9 +4,9 @@ using Server.Misc;
namespace Server.Mobiles
{
[CorpseName( "a bird corpse" )]
public class Bird : BaseCreature
{
public override string CorpseName => "a bird corpse";
[Constructible]
public Bird() : base( AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
{
@ -79,9 +79,9 @@ namespace Server.Mobiles
}
}
[CorpseName( "a bird corpse" )]
public class TropicalBird : BaseCreature
{
public override string CorpseName => "a bird corpse";
public override string DefaultName => "a tropical bird";
[Constructible]

View file

@ -3,10 +3,10 @@ using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a cat corpse" )]
[TypeAlias( "Server.Mobiles.Housecat" )]
public class Cat : BaseCreature
{
public override string CorpseName => "a cat corpse";
public override string DefaultName => "a cat";
[Constructible]

View file

@ -3,9 +3,9 @@ using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a dog corpse" )]
public class Dog : BaseCreature
{
public override string CorpseName => "a dog corpse";
public override string DefaultName => "a dog";
[Constructible]

View file

@ -3,9 +3,9 @@ using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a rat corpse" )]
public class Rat : BaseCreature
{
public override string CorpseName => "a rat corpse";
public override string DefaultName => "a rat";
[Constructible]