Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a dread spider corpse" )]
|
||||
public class DreadSpider : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a dread spider";
|
||||
|
||||
[Constructible]
|
||||
public DreadSpider () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a dread spider";
|
||||
Body = 11;
|
||||
BaseSoundID = 1170;
|
||||
|
||||
|
|
@ -51,8 +52,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.FilthyRich );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override Poison HitPoison => Poison.Lethal;
|
||||
public override int TreasureMapLevel{ get{ return 3; } }
|
||||
|
||||
public DreadSpider( Serial serial ) : base( serial )
|
||||
|
|
@ -74,4 +75,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = 1170;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a terathan avenger corpse" )]
|
||||
public class TerathanAvenger : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a terathan avenger";
|
||||
|
||||
[Constructible]
|
||||
public TerathanAvenger() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a terathan avenger";
|
||||
Body = 152;
|
||||
BaseSoundID = 0x24D;
|
||||
|
||||
|
|
@ -50,8 +51,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Rich, 2 );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Deadly; } }
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
public override Poison HitPoison => Poison.Deadly;
|
||||
public override int TreasureMapLevel{ get{ return 3; } }
|
||||
public override int Meat{ get{ return 2; } }
|
||||
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a terathan matriarch corpse" )]
|
||||
public class TerathanMatriarch : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a terathan matriarch";
|
||||
|
||||
[Constructible]
|
||||
public TerathanMatriarch() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a terathan matriarch";
|
||||
Body = 72;
|
||||
BaseSoundID = 599;
|
||||
|
||||
|
|
@ -74,4 +75,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,10 +6,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a frost spider corpse" )]
|
||||
public class FrostSpider : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a frost spider";
|
||||
|
||||
[Constructible]
|
||||
public FrostSpider() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a frost spider";
|
||||
Body = 20;
|
||||
BaseSoundID = 0x388;
|
||||
|
||||
|
|
@ -38,7 +39,7 @@ namespace Server.Mobiles
|
|||
Fame = 775;
|
||||
Karma = -775;
|
||||
|
||||
VirtualArmor = 28;
|
||||
VirtualArmor = 28;
|
||||
|
||||
Tamable = true;
|
||||
ControlSlots = 1;
|
||||
|
|
@ -75,4 +76,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = 0x388;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a giant black widow spider corpse" )] // stupid corpse name
|
||||
public class GiantBlackWidow : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a giant black wide";
|
||||
|
||||
[Constructible]
|
||||
public GiantBlackWidow() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a giant black widow";
|
||||
Body = 0x9D;
|
||||
BaseSoundID = 0x388; // TODO: validate
|
||||
|
||||
|
|
@ -53,8 +54,8 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
public override FoodType FavoriteFood{ get{ return FoodType.Meat; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Deadly; } }
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
public override Poison HitPoison => Poison.Deadly;
|
||||
|
||||
public GiantBlackWidow( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -72,4 +73,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a giant spider corpse" )]
|
||||
public class GiantSpider : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a giant spider";
|
||||
|
||||
[Constructible]
|
||||
public GiantSpider() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a giant spider";
|
||||
Body = 28;
|
||||
BaseSoundID = 0x388;
|
||||
|
||||
|
|
@ -53,8 +54,8 @@ namespace Server.Mobiles
|
|||
|
||||
public override FoodType FavoriteFood{ get{ return FoodType.Meat; } }
|
||||
public override PackInstinct PackInstinct{ get{ return PackInstinct.Arachnid; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Regular; } }
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
public override Poison HitPoison => Poison.Regular;
|
||||
|
||||
public GiantSpider( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -72,4 +73,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a terathan drone corpse" )]
|
||||
public class TerathanDrone : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a terathan drone";
|
||||
|
||||
[Constructible]
|
||||
public TerathanDrone() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a terathan drone";
|
||||
Body = 71;
|
||||
BaseSoundID = 594;
|
||||
|
||||
|
|
@ -41,7 +42,7 @@ namespace Server.Mobiles
|
|||
Karma = -2000;
|
||||
|
||||
VirtualArmor = 24;
|
||||
|
||||
|
||||
PackItem( new SpidersSilk( 2 ) );
|
||||
}
|
||||
|
||||
|
|
@ -77,4 +78,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = 594;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a terathan warrior corpse" )]
|
||||
public class TerathanWarrior : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a terathan warrior";
|
||||
|
||||
[Constructible]
|
||||
public TerathanWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a terathan warrior";
|
||||
Body = 70;
|
||||
BaseSoundID = 589;
|
||||
|
||||
|
|
@ -75,4 +76,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue