#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.

This commit is contained in:
WarrentyExpired 2026-08-06 11:06:05 -04:00
parent b51c58f514
commit 3045c83799
3512 changed files with 627673 additions and 0 deletions

View file

@ -0,0 +1,69 @@
using System;
using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a cougar corpse" )]
public class Cougar : BaseCreature
{
[Constructable]
public Cougar() : base( AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
{
Name = "a cougar";
Body = 63;
BaseSoundID = 0x73;
SetStr( 56, 80 );
SetDex( 66, 85 );
SetInt( 26, 50 );
SetHits( 34, 48 );
SetMana( 0 );
SetDamage( 4, 10 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 20, 25 );
SetResistance( ResistanceType.Fire, 5, 10 );
SetResistance( ResistanceType.Cold, 10, 15 );
SetResistance( ResistanceType.Poison, 5, 10 );
SetSkill( SkillName.MagicResist, 15.1, 30.0 );
SetSkill( SkillName.Tactics, 45.1, 60.0 );
SetSkill( SkillName.Wrestling, 45.1, 60.0 );
Fame = 450;
Karma = 0;
VirtualArmor = 16;
Tamable = true;
ControlSlots = 1;
MinTameSkill = 41.1;
}
public override int Meat{ get{ return 1; } }
public override int Hides{ get{ return 10; } }
public override FoodType FavoriteFood{ get{ return FoodType.Fish | FoodType.Meat; } }
public override PackInstinct PackInstinct{ get{ return PackInstinct.Feline; } }
public Cougar(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int) 0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View file

@ -0,0 +1,77 @@
using System;
using Server.Items;
using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a hell cat corpse" )]
[TypeAlias( "Server.Mobiles.Hellcat" )]
public class HellCat : BaseCreature
{
[Constructable]
public HellCat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a hell cat";
Body = 0xC9;
Hue = Utility.RandomList( 0x647, 0x650, 0x659, 0x662, 0x66B, 0x674);
BaseSoundID = 0x69;
SetStr( 51, 100 );
SetDex( 52, 150 );
SetInt( 13, 85 );
SetHits( 48, 67 );
SetDamage( 6, 12 );
SetDamageType( ResistanceType.Physical, 40 );
SetDamageType( ResistanceType.Fire, 60 );
SetResistance( ResistanceType.Physical, 25, 35 );
SetResistance( ResistanceType.Fire, 80, 90 );
SetResistance( ResistanceType.Energy, 15, 20 );
SetSkill( SkillName.MagicResist, 45.1, 60.0 );
SetSkill( SkillName.Tactics, 40.1, 55.0 );
SetSkill( SkillName.Wrestling, 30.1, 40.0 );
Fame = 1000;
Karma = -1000;
VirtualArmor = 30;
Tamable = true;
ControlSlots = 1;
MinTameSkill = 71.1;
}
public override void GenerateLoot()
{
AddLoot( LootPack.Meager );
}
public override bool HasBreath{ get{ return true; } } // fire breath enabled
public override int Hides{ get{ return 10; } }
public override HideType HideType{ get{ return HideType.Spined; } }
public override FoodType FavoriteFood{ get{ return FoodType.Meat; } }
public override PackInstinct PackInstinct{ get{ return PackInstinct.Feline; } }
public HellCat(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int) 0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View file

@ -0,0 +1,70 @@
using System;
using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a panther corpse" )]
public class Panther : BaseCreature
{
[Constructable]
public Panther() : base( AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
{
Name = "a panther";
Body = 0xD6;
Hue = 0x901;
BaseSoundID = 0x462;
SetStr( 61, 85 );
SetDex( 86, 105 );
SetInt( 26, 50 );
SetHits( 37, 51 );
SetMana( 0 );
SetDamage( 4, 12 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 20, 25 );
SetResistance( ResistanceType.Fire, 5, 10 );
SetResistance( ResistanceType.Cold, 10, 15 );
SetResistance( ResistanceType.Poison, 5, 10 );
SetSkill( SkillName.MagicResist, 15.1, 30.0 );
SetSkill( SkillName.Tactics, 50.1, 65.0 );
SetSkill( SkillName.Wrestling, 50.1, 65.0 );
Fame = 450;
Karma = 0;
VirtualArmor = 16;
Tamable = true;
ControlSlots = 1;
MinTameSkill = 53.1;
}
public override int Meat{ get{ return 1; } }
public override int Hides{ get{ return 10; } }
public override FoodType FavoriteFood{ get{ return FoodType.Meat | FoodType.Fish; } }
public override PackInstinct PackInstinct{ get{ return PackInstinct.Feline; } }
public Panther(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int) 0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View file

@ -0,0 +1,75 @@
using System;
using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a hell cat corpse" )]
[TypeAlias( "Server.Mobiles.Preditorhellcat" )]
public class PredatorHellCat : BaseCreature
{
[Constructable]
public PredatorHellCat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a hell cat";
Body = 127;
BaseSoundID = 0xBA;
SetStr( 161, 185 );
SetDex( 96, 115 );
SetInt( 76, 100 );
SetHits( 97, 131 );
SetDamage( 5, 17 );
SetDamageType( ResistanceType.Physical, 75 );
SetDamageType( ResistanceType.Fire, 25 );
SetResistance( ResistanceType.Physical, 25, 35 );
SetResistance( ResistanceType.Fire, 30, 40 );
SetResistance( ResistanceType.Energy, 5, 15 );
SetSkill( SkillName.MagicResist, 75.1, 90.0 );
SetSkill( SkillName.Tactics, 50.1, 65.0 );
SetSkill( SkillName.Wrestling, 50.1, 65.0 );
Fame = 2500;
Karma = -2500;
VirtualArmor = 30;
Tamable = true;
ControlSlots = 1;
MinTameSkill = 89.1;
}
public override void GenerateLoot()
{
AddLoot( LootPack.Average );
}
public override bool HasBreath{ get{ return true; } } // fire breath enabled
public override int Hides{ get{ return 10; } }
public override HideType HideType{ get{ return HideType.Spined; } }
public override FoodType FavoriteFood{ get{ return FoodType.Meat; } }
public override PackInstinct PackInstinct{ get{ return PackInstinct.Feline; } }
public PredatorHellCat(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int) 0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View file

@ -0,0 +1,71 @@
using System;
using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a leopard corpse" )]
[TypeAlias( "Server.Mobiles.Snowleopard" )]
public class SnowLeopard : BaseCreature
{
[Constructable]
public SnowLeopard() : base( AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
{
Name = "a snow leopard";
Body = Utility.RandomList( 64, 65 );
BaseSoundID = 0x73;
SetStr( 56, 80 );
SetDex( 66, 85 );
SetInt( 26, 50 );
SetHits( 34, 48 );
SetMana( 0 );
SetDamage( 3, 9 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 20, 25 );
SetResistance( ResistanceType.Fire, 5, 10 );
SetResistance( ResistanceType.Cold, 30, 40 );
SetResistance( ResistanceType.Poison, 10, 20 );
SetResistance( ResistanceType.Energy, 20, 30 );
SetSkill( SkillName.MagicResist, 25.1, 35.0 );
SetSkill( SkillName.Tactics, 45.1, 60.0 );
SetSkill( SkillName.Wrestling, 40.1, 50.0 );
Fame = 450;
Karma = 0;
VirtualArmor = 24;
Tamable = true;
ControlSlots = 1;
MinTameSkill = 53.1;
}
public override int Meat{ get{ return 1; } }
public override int Hides{ get{ return 8; } }
public override FoodType FavoriteFood{ get{ return FoodType.Meat | FoodType.Fish; } }
public override PackInstinct PackInstinct{ get{ return PackInstinct.Feline; } }
public SnowLeopard(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int) 0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}