#W# Created an animal clan so the wilderness animals won't be decimated!

This commit is contained in:
WarrentyExpired 2026-07-13 19:42:54 -04:00
parent 7f040e1951
commit 50731a5ed5
40 changed files with 77 additions and 32 deletions

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "an ape";
Body = 319;
BaseSoundID = 0x9E;
Clan = Clan.Animal;
SetStr( 73, 115 );
SetDex( 46, 65 );
@ -53,4 +54,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -14,6 +14,7 @@ namespace Server.Mobiles
Body = 211;
Hue = 0x8FD;
BaseSoundID = 0xA3;
Clan = Clan.Animal;
SetStr( 76, 100 );
SetDex( 56, 75 );
@ -55,4 +56,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a brown bear";
Body = 211;
BaseSoundID = 0xA3;
Clan = Clan.Animal;
SetStr( 76, 100 );
SetDex( 26, 45 );
@ -53,4 +54,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a cave bear";
Body = 266;
BaseSoundID = 0xA3;
Clan = Clan.Animal;
SetStr( 126, 155 );
SetDex( 81, 105 );
@ -51,4 +52,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -13,6 +13,7 @@ namespace Server.Mobiles
Name = "a grizzly bear";
Body = 212;
BaseSoundID = 0xA3;
Clan = Clan.Animal;
SetStr( 126, 155 );
SetDex( 81, 105 );
@ -54,4 +55,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a kodiak bear";
Body = 267;
BaseSoundID = 0xA3;
Clan = Clan.Animal;
SetStr( 126, 155 );
SetDex( 81, 105 );
@ -51,4 +52,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a panda bear";
Body = 112;
BaseSoundID = 0xA3;
Clan = Clan.Animal;
SetStr( 76, 100 );
SetDex( 56, 75 );
@ -53,4 +54,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a snow bear";
Body = 268;
BaseSoundID = 0xA3;
Clan = Clan.Animal;
SetStr( 126, 155 );
SetDex( 81, 105 );
@ -51,4 +52,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -13,6 +13,7 @@ namespace Server.Mobiles
Name = "an axebeak";
Body = 295;
BaseSoundID = 0x2EE;
Clan = Clan.Animal;
SetStr( 96, 120 );
SetDex( 86, 110 );
@ -53,4 +54,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -29,6 +29,7 @@ namespace Server.Mobiles
Body = 6;
BaseSoundID = 0x1B;
Clan = Clan.Animal;
VirtualArmor = Utility.RandomMinMax( 0, 6 );
@ -71,4 +72,4 @@ namespace Server.Mobiles
Hue = Utility.RandomBirdHue();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a chicken";
Body = 208;
BaseSoundID = 0x6E;
Clan = Clan.Animal;
SetStr( 5 );
SetDex( 15 );

View file

@ -13,6 +13,7 @@ namespace Server.Mobiles
Name = "an eagle";
Body = 5;
BaseSoundID = 0x2EE;
Clan = Clan.Animal;
SetStr( 31, 47 );
SetDex( 36, 60 );

View file

@ -14,6 +14,7 @@ namespace Server.Mobiles
Body = 224;
Hue = 1184;
BaseSoundID = 0x8F;
Clan = Clan.Animal;
SetStr( 504, 700 );
SetDex( 202, 300 );
@ -62,4 +63,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a turkey";
Body = 306;
BaseSoundID = 0x6E;
Clan = Clan.Animal;
SetStr( 15 );
SetDex( 15 );
@ -55,4 +56,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -13,6 +13,7 @@ namespace Server.Mobiles
Body = 217;
Hue = Utility.RandomAnimalHue();
BaseSoundID = 0x85;
Clan = Clan.Animal;
SetStr( 27, 37 );
SetDex( 28, 43 );

View file

@ -14,6 +14,7 @@ namespace Server.Mobiles
Body = 225;
Hue = Utility.RandomList( 946, 947 );
BaseSoundID = 0xE5;
Clan = Clan.Animal;
SetStr( 56, 80 );
SetDex( 56, 75 );
@ -55,4 +56,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -13,6 +13,7 @@ namespace Server.Mobiles
Name = "a timber wolf";
Body = 225;
BaseSoundID = 0xE5;
Clan = Clan.Animal;
SetStr( 56, 80 );
SetDex( 56, 75 );
@ -54,4 +55,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
{
Name = "a white wolf";
Body = 225;
Clan = Clan.Animal;
Hue = Utility.RandomList( 2301, 1154 );
@ -57,4 +58,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a bull";
Body = Utility.RandomList( 232, 233 );
BaseSoundID = 0x64;
Clan = Clan.Animal;
if ( 0.5 >= Utility.RandomDouble() )
Hue = 0x901;

View file

@ -30,6 +30,7 @@ namespace Server.Mobiles
Name = "a cow";
Body = Utility.RandomList( 216, 231 );
BaseSoundID = 0x78;
Clan = Clan.Animal;
SetStr( 30 );
SetDex( 15 );

View file

@ -14,6 +14,7 @@ namespace Server.Mobiles
Body = 201;
Hue = Utility.RandomAnimalHue();
BaseSoundID = 0x69;
Clan = Clan.Animal;
SetStr( 9 );
SetDex( 35 );

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a cougar";
Body = 214;
BaseSoundID = 0x73;
Clan = Clan.Animal;
SetStr( 56, 80 );
SetDex( 66, 85 );
@ -53,4 +54,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a lion";
Body = 236;
BaseSoundID = 0x0B2;
Clan = Clan.Animal;
SetStr( 126, 155 );
SetDex( 81, 105 );
@ -53,4 +54,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -13,6 +13,7 @@ namespace Server.Mobiles
Body = 214;
Hue = 0x901;
BaseSoundID = 0x462;
Clan = Clan.Animal;
SetStr( 61, 85 );
SetDex( 86, 105 );
@ -54,4 +55,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -14,6 +14,7 @@ namespace Server.Mobiles
Body = 214;
Hue = 2301;
BaseSoundID = 0x73;
Clan = Clan.Animal;
SetStr( 56, 80 );
SetDex( 66, 85 );
@ -55,4 +56,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a tiger";
Body = 327;
BaseSoundID = 0x0B2;
Clan = Clan.Animal;
SetStr( 126, 155 );
SetDex( 81, 105 );
@ -53,4 +54,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
{
Name = "a deer";
Body = 234;
Clan = Clan.Animal;
SetStr( 41, 71 );
SetDex( 47, 77 );
@ -68,4 +69,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a mountain goat";
Body = 289;
BaseSoundID = 0x99;
Clan = Clan.Animal;
SetStr( 22, 64 );
SetDex( 56, 75 );
@ -54,4 +55,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -29,6 +29,7 @@ namespace Server.Mobiles
ItemID = m_IDs[random * 2 + 1];
BaseSoundID = 0xA8;
Invulnerable = true;
Clan = Clan.Animal;
SetStr( 22, 98 );
SetDex( 56, 75 );
@ -69,4 +70,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -17,6 +17,7 @@ namespace Server.Mobiles
Invulnerable = true;
BaseSoundID = 0x3F3;
Clan = Clan.Animal;
SetStr( 21, 49 );
SetDex( 56, 75 );
@ -57,4 +58,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -17,6 +17,7 @@ namespace Server.Mobiles
Body = 291;
BaseSoundID = 0xA8;
Invulnerable = true;
Clan = Clan.Animal;
SetStr( 44, 120 );
SetDex( 36, 55 );
@ -199,4 +200,4 @@ namespace Server.Mobiles
from.Use( item );
}
}
}
}

View file

@ -16,6 +16,7 @@ namespace Server.Mobiles
Body = 292;
BaseSoundID = 0x3F3;
Invulnerable = true;
Clan = Clan.Animal;
SetStr( 52, 80 );
SetDex( 36, 55 );
@ -126,4 +127,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a pig";
Body = 203;
BaseSoundID = 0xC4;
Clan = Clan.Animal;
SetStr( 20 );
SetDex( 20 );

View file

@ -13,6 +13,7 @@ namespace Server.Mobiles
Name = "a bat";
Body = 43;
BaseSoundID = 0x270;
Clan = Clan.Animal;
SetStr( 91, 110 );
SetDex( 91, 115 );
@ -58,4 +59,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -11,6 +11,7 @@ namespace Server.Mobiles
{
Name = "a rabbit";
Body = 205;
Clan = Clan.Animal;
if ( 0.5 >= Utility.RandomDouble() )
Hue = Utility.RandomAnimalHue();
@ -61,4 +62,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -11,6 +11,7 @@ namespace Server.Mobiles
{
Name = "a squirrel";
Body = 229;
Clan = Clan.Animal;
SetStr( 6, 10 );
SetDex( 26, 38 );
@ -56,4 +57,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -45,6 +45,7 @@ namespace Server.Mobiles
Name = "a sheep";
Body = 207;
BaseSoundID = 0xD6;
Clan = Clan.Animal;
SetStr( 19 );
SetDex( 25 );

View file

@ -12,6 +12,7 @@ namespace Server.Mobiles
Name = "a walrus";
Body = 221;
BaseSoundID = 0xE0;
Clan = Clan.Animal;
SetStr( 21, 29 );
SetDex( 46, 55 );
@ -53,4 +54,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -19,6 +19,7 @@ namespace Server.Mobiles
Name = "a wooly banta";
Body = 264;
BaseSoundID = 0x508;
Clan = Clan.Animal;
SetStr( 176, 200 );
SetDex( 26, 45 );
@ -57,4 +58,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -34,7 +34,8 @@ namespace Server.Mobiles
Demonic,
Wizard,
Humanoid,
Citizen
Citizen,
Animal
}
public enum OrderType
@ -647,6 +648,11 @@ namespace Server.Mobiles
if ( !m_bSummoned && !m_bControlled && !c.m_bSummoned && !c.m_bControlled )
{
if ( this.Region.Name == "DungeonRegion" || this.Map.Name == "Underworld" )
{
return false;
}
if ( Clan == Clan.Animal || c.Clan == Clan.Animal )
{
return false;
}