Formatting FIxes (#58)

This commit is contained in:
Kamron Batman 2019-10-04 23:08:13 -07:00 • committed by GitHub
parent 57fb9fb525
commit 096d39609e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1318 changed files with 11633 additions and 22129 deletions

View file

@ -49,30 +49,15 @@ namespace Server.Mobiles
public override int Hides => 15;
public override FoodType FavoriteFood => FoodType.GrainsAndHay;
public override int GetAngerSound()
{
return 0x4F8;
}
public override int GetAngerSound() => 0x4F8;
public override int GetIdleSound()
{
return 0x4F7;
}
public override int GetIdleSound() => 0x4F7;
public override int GetAttackSound()
{
return 0x4F6;
}
public override int GetAttackSound() => 0x4F6;
public override int GetHurtSound()
{
return 0x4F9;
}
public override int GetHurtSound() => 0x4F9;
public override int GetDeathSound()
{
return 0x4F5;
}
public override int GetDeathSound() => 0x4F5;
public override void OnDeath(Container c)
{

View file

@ -47,20 +47,11 @@ namespace Server.Mobiles
public override int Hides => 15;
public override FoodType FavoriteFood => FoodType.FruitsAndVegies | FoodType.GrainsAndHay;
public override int GetAttackSound()
{
return 0x82;
}
public override int GetAttackSound() => 0x82;
public override int GetHurtSound()
{
return 0x83;
}
public override int GetHurtSound() => 0x83;
public override int GetDeathSound()
{
return 0x84;
}
public override int GetDeathSound() => 0x84;
public override void Serialize(GenericWriter writer)
{

View file

@ -46,20 +46,11 @@ namespace Server.Mobiles
public override int Hides => 8;
public override FoodType FavoriteFood => FoodType.FruitsAndVegies | FoodType.GrainsAndHay;
public override int GetAttackSound()
{
return 0x82;
}
public override int GetAttackSound() => 0x82;
public override int GetHurtSound()
{
return 0x83;
}
public override int GetHurtSound() => 0x83;
public override int GetDeathSound()
{
return 0x84;
}
public override int GetDeathSound() => 0x84;
public override void Serialize(GenericWriter writer)
{

View file

@ -90,10 +90,7 @@ namespace Server.Mobiles
return true;
}
public override DeathMoveResult GetInventoryMoveResultFor(Item item)
{
return DeathMoveResult.MoveToCorpse;
}
public override DeathMoveResult GetInventoryMoveResultFor(Item item) => DeathMoveResult.MoveToCorpse;
public override bool IsSnoop(Mobile from)
{
@ -117,15 +114,9 @@ namespace Server.Mobiles
return base.OnDragDrop(from, item);
}
public override bool CheckNonlocalDrop(Mobile from, Item item, Item target)
{
return PackAnimal.CheckAccess(this, from);
}
public override bool CheckNonlocalDrop(Mobile from, Item item, Item target) => PackAnimal.CheckAccess(this, from);
public override bool CheckNonlocalLift(Mobile from, Item item)
{
return PackAnimal.CheckAccess(this, from);
}
public override bool CheckNonlocalLift(Mobile from, Item item) => PackAnimal.CheckAccess(this, from);
public override void OnDoubleClick(Mobile from)
{

View file

@ -89,10 +89,7 @@ namespace Server.Mobiles
return true;
}
public override DeathMoveResult GetInventoryMoveResultFor(Item item)
{
return DeathMoveResult.MoveToCorpse;
}
public override DeathMoveResult GetInventoryMoveResultFor(Item item) => DeathMoveResult.MoveToCorpse;
public override bool IsSnoop(Mobile from)
{
@ -116,15 +113,9 @@ namespace Server.Mobiles
return base.OnDragDrop(from, item);
}
public override bool CheckNonlocalDrop(Mobile from, Item item, Item target)
{
return PackAnimal.CheckAccess(this, from);
}
public override bool CheckNonlocalDrop(Mobile from, Item item, Item target) => PackAnimal.CheckAccess(this, from);
public override bool CheckNonlocalLift(Mobile from, Item item)
{
return PackAnimal.CheckAccess(this, from);
}
public override bool CheckNonlocalLift(Mobile from, Item item) => PackAnimal.CheckAccess(this, from);
public override void OnDoubleClick(Mobile from)
{