Inheritance: BaseShirt
Esempio n. 1
0
        public override void InitOutfit()
        {
            Item item = null;

            int hairHue = Utility.RandomHairHue();
            Utility.AssignRandomHair(this, hairHue);

            item = new Shirt();
            AddItem(item);
            item.Hue = Utility.RandomNondyedHue();

            AddLoot(LootPack.Poor);

            if (!Female)
            {
                Utility.AssignRandomFacialHair(this, hairHue);

                item = new ShortPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
            else
            {
                item = new Skirt();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
        }
Esempio n. 2
0
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new LongPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new StrawHat();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
         AddItem( item );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new StrawHat();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
         AddItem( item );
     }
 }
Esempio n. 3
0
 public override void InitOutfit()
 {
     if ( Female )
     {
         Item item = null;
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         LootPack.Poor.Generate( this );
     }
     else
     {
         Item item = null;
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new ShortPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
     }
 }
Esempio n. 4
0
        public Bard()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Name = NameList.RandomName( Female ? "female" : "male" );
            Title = "the bard";
            Hue = Utility.RandomSkinHue();
            SetStr( 16, 30 );
            SetDex( 26, 40 );
            SetInt( 26, 40 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 15, 37.5 );
            SetSkill( SkillName.MagicResist, 15, 37.5 );
            SetSkill( SkillName.Parry, 15, 37.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );
            SetSkill( SkillName.Musicianship, 55, 77.5 );
            SetSkill( SkillName.Provocation, 55, 77.5 );
            SetSkill( SkillName.Discordance, 55, 77.5 );
            SetSkill( SkillName.Peacemaking, 55, 77.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new ShortPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                item = Loot.RandomInstrument();
                PackItem( item );
                PackGold( 15, 100 );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                item = Loot.RandomInstrument();
                PackItem( item );
                PackGold( 15, 100 );
            }
        }
Esempio n. 5
0
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new ShortPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Shoes();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         PackGold( 15, 100 );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Shoes();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         PackGold( 15, 100 );
     }
 }
Esempio n. 6
0
 public override void InitOutfit()
 {
     Item item = null;
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = AddRandomFacialHair( item.Hue );
     item = new Shirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new ShortPants();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
     AddItem( item );
     item = new QuarterStaff();
     AddItem( item );
     PackGold( 15, 100 );
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = new Shirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new ShortPants();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
     AddItem( item );
     item = new QuarterStaff();
     AddItem( item );
     PackGold( 15, 50 );
 }
Esempio n. 7
0
        public Ranger()
            : base(AIType.AI_Archer, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 71, 85 );
            SetDex( 76, 90 );
            SetInt( 61, 75 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 65, 87.5 );
            SetSkill( SkillName.MagicResist, 65, 87.5 );
            SetSkill( SkillName.Parry, 65, 87.5 );
            SetSkill( SkillName.Swords, 35, 57.5 );
            SetSkill( SkillName.Macing, 35, 57.5 );
            SetSkill( SkillName.Fencing, 35, 57.5 );
            SetSkill( SkillName.Wrestling, 35, 57.5 );
            SetSkill( SkillName.Archery, 55, 77.5 );
            SetSkill( SkillName.Hiding, 45, 67.5 );
            SetSkill( SkillName.Camping, 55, 77.5 );
            SetSkill( SkillName.AnimalLore, 55, 77.5 );
            SetSkill( SkillName.Herding, 45, 67.5 );
            SetSkill( SkillName.Tracking, 45, 67.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomGreenHue();
                AddItem( item );
                item = new ShortPants();
                item.Hue = 443;
                AddItem( item );
                PackGold( 15, 100 );
                item = new Bow();
                AddItem( item );
                item = new Arrow( Utility.RandomMinMax( 5, 25 ) );
                PackItem( item );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomGreenHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = 443;
                AddItem( item );
                PackGold( 15, 100 );
                item = new Bow();
                AddItem( item );
                item = new Arrow( Utility.RandomMinMax( 5, 25 ) );
                PackItem( item );
            }
        }
Esempio n. 8
0
        public Sculpter()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the sculpter";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 16, 30 );
            SetDex( 26, 40 );
            SetInt( 21, 35 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 15, 37.5 );
            SetSkill( SkillName.MagicResist, 15, 37.5 );
            SetSkill( SkillName.Parry, 15, 37.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );
            SetSkill( SkillName.Anatomy, 25, 47.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new ShortPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                item = new HalfApron();
                item.Hue = 2301;
                AddItem( item );
                PackGold( 15, 100 );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                item = new HalfApron();
                item.Hue = 2301;
                AddItem( item );
                PackGold( 15, 100 );
            }
        }
Esempio n. 9
0
        public BaseShieldGuard( Mobile target )
            : base(target)
        {
            Item item = null;

            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            SpeechHue = Utility.RandomDyedHue();
            Name = NameList.RandomName(Female ? "female" : "male");
            Hue = Utility.RandomSkinHue();
            Title = "the guard";

            BaseSoundID = 332;

            int hairHue = Utility.RandomHairHue();
            Utility.AssignRandomHair(this, hairHue);

            item = new Shirt();
            AddItem(item);
            item.Hue = Utility.RandomNondyedHue();

            item = new PlateChest();
            AddItem(item);

            item = new PlateLegs();
            AddItem(item);

            item = new PlateArms();
            AddItem(item);

            item = new Tunic();
            AddItem(item);
            if ( Type == GuildType.Order )
                item.Hue = Utility.RandomBlueHue();
            else
                item.Hue = Utility.RandomRedHue();

            item = new VikingSword();
            AddItem(item);

            item = Shield;
            item.Movable = false;
            AddItem(item);

            if (!Female)
            {
                Utility.AssignRandomFacialHair(this, hairHue);

                item = new ShortPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
            else
            {
                item = new Skirt();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
        }
Esempio n. 10
0
        public Beggar()
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the beggar";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 26, 40 );
            SetDex( 21, 35 );
            SetInt( 36, 50 );
            Karma = Utility.RandomMinMax( 4, -5 );

            SetSkill( SkillName.Tactics, 15, 37.5 );
            SetSkill( SkillName.MagicResist, 15, 37.5 );
            SetSkill( SkillName.Parry, 15, 37.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );
            SetSkill( SkillName.Begging, 55, 77.5 );
            SetSkill( SkillName.Snooping, 25, 47.5 );
            SetSkill( SkillName.Stealing, 15, 37.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new LongPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                if ( Utility.RandomBool() )
                {
                    item = new Sandals();
                    AddItem( item );
                }
                LootPack.Poor.Generate( this );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                if ( Utility.RandomBool() )
                {
                    item = new Sandals();
                    AddItem( item );
                }
                LootPack.Poor.Generate( this );
            }
        }
Esempio n. 11
0
        public Sculptor()
            : base(AIType.AI_Melee, FightMode.Aggressor, 12, 1, 0.5, 0.75)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            SpeechHue = Utility.RandomDyedHue();
            Name = NameList.RandomName(Female ? "female" : "male");
            Hue = Utility.RandomSkinHue();
            SetStr(16, 30);
            SetDex(26, 40);
            SetInt(21, 35);
            Job = JobFragment.sculptor;
            Title = "the sculptor";

            BaseSoundID = 332;
            SetSkill(SkillName.Wrestling, 15, 37.5);
            SetSkill(SkillName.Fencing, 15, 37.5);
            SetSkill(SkillName.Macing, 15, 37.5);
            SetSkill(SkillName.Swords, 15, 37.5);
            SetSkill(SkillName.Parry, 15, 37.5);
            SetSkill(SkillName.Tactics, 15, 37.5);
            SetSkill(SkillName.MagicResist, 15, 37.5);
            SetSkill(SkillName.Anatomy, 25, 47.5);

            Item item = null;

            int hairHue = Utility.RandomHairHue();
            Utility.AssignRandomHair(this, hairHue);

            item = new Shirt();
            AddItem(item);
            item.Hue = Utility.RandomNondyedHue();

            item = new Shoes();
            AddItem(item);
            item.Hue = Utility.RandomNeutralHue();

            item = new HalfApron();
            AddItem(item);
            item.Hue = 2301;

            PackGold(15, 100);

            if (!Female)
            {
                Utility.AssignRandomFacialHair(this, hairHue);

                item = new ShortPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
            else
            {
                item = new Skirt();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
        }
Esempio n. 12
0
        public Miner()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the miner";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 66, 80 );
            SetDex( 51, 65 );
            SetInt( 41, 55 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Mining, 45, 67.5 );
            SetSkill( SkillName.Tactics, 35, 57.5 );
            SetSkill( SkillName.MagicResist, 35, 57.5 );
            SetSkill( SkillName.Parry, 35, 57.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = 946;
                AddItem( item );
                item = new ShortPants();
                item.Hue = Utility.RandomBlueHue();
                AddItem( item );
                item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
                item.Hue = 443;
                AddItem( item );
                item = new Pickaxe();
                AddItem( item );
                LootPack.Meager.Generate( this );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = 946;
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomBlueHue();
                AddItem( item );
                item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
                item.Hue = 443;
                AddItem( item );
                item = new Pickaxe();
                AddItem( item );
                LootPack.Meager.Generate( this );
            }
        }
Esempio n. 13
0
        public Sailor()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the sailor";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 66, 80 );
            SetDex( 66, 80 );
            SetInt( 41, 55 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 45, 67.5 );
            SetSkill( SkillName.MagicResist, 45, 67.5 );
            SetSkill( SkillName.Parry, 45, 67.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = 2301;
                AddItem( item );
                item = new ShortPants();
                item.Hue = 2301;
                AddItem( item );
                item = new Cutlass();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                PackGold( 15, 100 );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = 2301;
                AddItem( item );
                item = new ShortPants();
                item.Hue = 2301;
                AddItem( item );
                item = new Cutlass();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                PackGold( 15, 100 );
            }
        }
Esempio n. 14
0
		public WindSummoner() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.2 )
		{
			Title = "the Wind Summoner";

			Hue = Utility.RandomSkinHue();
			Body = 0x190;
			Name = NameList.RandomName( "male" );
			BaseSoundID = 0;

			Item hat = new WizardsHat();
			hat.Movable = false;
			hat.Hue = 1154;
			EquipItem( hat );

			Item shirt = new Shirt();
			shirt.Movable = false;
			shirt.Hue = 1154;
			EquipItem( shirt );

			Item skirt = new Skirt();
			skirt.Movable = false;
			skirt.Hue = 1154;
			EquipItem( skirt );

			Item Sandals = new Sandals();
			Sandals.Movable = false;
			Sandals.Hue = 1154;
			EquipItem( Sandals );

			SetStr( 110, 120 );
			SetDex( 86, 95 );
			SetInt( 161, 170 );

			SetHits( 120, 130 );

			SetDamage( 5, 13 );

			SetSkill( SkillName.Wrestling, 70.3, 77.8 );
			SetSkill( SkillName.Tactics, 80.5, 87.0 );
			SetSkill( SkillName.MagicResist, 90.6, 92.8);
			SetSkill( SkillName.Magery, 94.7, 96.0 );
			SetSkill( SkillName.EvalInt, 40.1, 44.1 );
			SetSkill( SkillName.Meditation, 21.1, 30.1 );

			Fame = 9000;
			Karma = -9000;

			VirtualArmor = 45;

			PackPotion();
			PackItem( new Bandage( Utility.RandomMinMax( 5, 10 ) ) );

			if ( 0.005 > Utility.RandomDouble() )
				PackItem( new ObsidianStatue() );
		}
Esempio n. 15
0
        public Actor()
            : base(AIType.AI_Melee, FightMode.Aggressor, 12, 1, 0.5, 0.75)
        {
            Job = JobFragment.actor;
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 21, 35 );
            SetDex( 26, 40 );
            SetInt( 26, 40 );

            SetFameLevel( 1 );

            BaseSoundID = 332;
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Parry, 15, 37.5 );
            SetSkill( SkillName.Tactics, 15, 37.5 );
            SetSkill( SkillName.MagicResist, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );

            Item item = null;

            int hairHue = Utility.RandomHairHue();
            Utility.AssignRandomHair( this, hairHue );

            item = new Shirt();
            AddItem( item );
            item.Hue = Utility.RandomNondyedHue();

            item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals();
            AddItem( item );
            item.Hue = Utility.RandomNeutralHue();

            PackGold( 15, 100 );

            if ( !Female )
            {
                Utility.AssignRandomFacialHair( this, hairHue );

                item = new ShortPants();
                AddItem( item );
                item.Hue = Utility.RandomNondyedHue();
                Title = "the actor";
            } else {
                item = new Skirt();
                AddItem( item );
                item.Hue = Utility.RandomNondyedHue();
                Title = "the actress";
            }
        }
Esempio n. 16
0
        public OclloRunner()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the runner";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 26, 40 );
            SetDex( 31, 45 );
            SetInt( 16, 30 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 15, 37.5 );
            SetSkill( SkillName.MagicResist, 15, 37.5 );
            SetSkill( SkillName.Parry, 15, 37.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new LongPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Sandals();
                AddItem( item );
                LootPack.Poor.Generate( this );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Sandals();
                AddItem( item );
                LootPack.Poor.Generate( this );
            }
        }
Esempio n. 17
0
        public HarborMaster()
            : base(AIType.AI_Melee, FightMode.Aggressor, 12, 1, 0.5, 0.75)
        {
            Title = "the harbor master";

            SetStr(86, 100);
            SetDex(66, 80);
            SetInt(71, 85);
            Hue = Utility.RandomSkinHue();
            SpeechHue = Utility.RandomDyedHue();

            Female = Utility.RandomBool();
            Body = 401;
            Name = NameList.RandomName(Female ? "female" : "male");
            Job = JobFragment.master;

            BaseSoundID = 332;
            SetSkill(SkillName.Swords, 15, 37.5);
            SetSkill(SkillName.Fencing, 15, 37.5);
            SetSkill(SkillName.Macing, 15, 37.5);
            SetSkill(SkillName.Parry, 55, 77.5);
            SetSkill(SkillName.Tactics, 45, 67.5);
            SetSkill(SkillName.MagicResist, 55, 77.5);
            SetSkill(SkillName.Wrestling, 15, 37.5);

            Item item = null;

            int hairHue = Utility.RandomHairHue();
            Utility.AssignRandomHair(this, hairHue);

            Utility.AssignRandomFacialHair(this, hairHue);

            item = new Shirt();
            AddItem(item);
            item.Hue = Utility.RandomNondyedHue();

            item = new ShortPants();
            AddItem(item);
            item.Hue = Utility.RandomNondyedHue();

            item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
            AddItem(item);

            item = new QuarterStaff();
            AddItem(item);

            PackGold(15, 100);
        }
Esempio n. 18
0
 public override void InitOutfit()
 {
     Item item = null;
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = new Shirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new Skirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals();
     item.Hue = Utility.RandomNeutralHue();
     AddItem( item );
     PackGold( 15, 100 );
 }
		public HolidayBaker ()
		{
			Name = "Tilly";
            Title = "Quest Giver";

            Body = 401;
            Hue = 1002;
			CantWalk = true;
			Blessed = true;
			
			Item skirt;
			skirt = new Skirt();
			skirt.Hue = 1368;
			AddItem( skirt );
          

			Item shirt;
			shirt = new Shirt();
            skirt.Hue = 1368;
			AddItem( shirt );
          

			Item shoes;
			shoes = new Shoes();
			shoes.Hue = 1368;
			AddItem( shoes );
            

			Item JesterHat;
            JesterHat = new JesterHat();
            JesterHat.Hue = 1368;
            AddItem(JesterHat);
            

            Item FullApron;
            FullApron = new FullApron();
            FullApron .Hue = 1368;
            AddItem(FullApron);

            Item LongHair = new LongHair(8252);
            LongHair.Movable = false;
            LongHair.Hue = 1153;
            AddItem(LongHair);

           
		}
Esempio n. 20
0
        public override void InitOutfit()
        {
            Item item = null;

            int hairHue = Utility.RandomHairHue();
            Utility.AssignRandomHair(this, hairHue);

            item = new Shirt();
            AddItem(item);
            item.Hue = Utility.RandomNondyedHue();

            item = new Skirt();
            AddItem(item);
            item.Hue = Utility.RandomNondyedHue();

            AddLoot(LootPack.Poor);
        }
Esempio n. 21
0
 public override void InitOutfit()
 {
     Item item = null;
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = AddRandomFacialHair( item.Hue );
     item = new Shirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new ShortPants();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new Shoes();
     item.Hue = Utility.RandomNeutralHue();
     AddItem( item );
     item = Loot.RandomInstrument();
     PackItem( item );
     PackGold( 15, 100 );
 }
Esempio n. 22
0
 public override void InitOutfit()
 {
     Item item = null;
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = AddRandomFacialHair( item.Hue );
     item = new Shirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new ShortPants();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new Shoes();
     item.Hue = Utility.RandomNeutralHue();
     AddItem( item );
     item = new HalfApron();
     item.Hue = 2301;
     AddItem( item );
 }
Esempio n. 23
0
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new ShortPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         switch ( Utility.Random( 4 ) )
         {
             case 0: item = new Boots(); break;
             case 1: item = new ThighBoots(); break;
             case 2: item = new Shoes(); break;
             case 3: default: item = new Sandals(); break;
         }
         AddItem( item );
         PackGold( 15, 100 );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         switch ( Utility.Random( 4 ) )
         {
             case 0: item = new Boots(); break;
             case 1: item = new ThighBoots(); break;
             case 2: item = new Shoes(); break;
             case 3: default: item = new Sandals(); break;
         }
         AddItem( item );
         PackGold( 15, 100 );
     }
 }
Esempio n. 24
0
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = 443;
         AddItem( item );
         item = new ShortPants();
         item.Hue = 2305;
         AddItem( item );
         item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
         AddItem( item );
         item = new SkinningKnife();
         AddItem( item );
         PackGold( 15, 100 );
         item = new SkinningKnife();
         AddItem( item );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = 443;
         AddItem( item );
         item = new Skirt();
         item.Hue = 2305;
         AddItem( item );
         item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
         AddItem( item );
         item = new SkinningKnife();
         AddItem( item );
         PackGold( 15, 100 );
         item = new SkinningKnife();
         AddItem( item );
     }
 }
Esempio n. 25
0
        public override void InitBody()
        {
            InitStats(100, 100, 25);
            Female = false;
            Race = Race.Human;

            Hue = Race.RandomSkinHue();
            Race.RandomHair(this);
            HairHue = Race.RandomHairHue();

            Item fancyShirt = new FancyShirt();
            Item shirt = new Shirt(PirateCaptain.GetRandomShirtHue());
            shirt.Layer = Layer.OuterTorso;

            AddItem(new Cloak(5));
            AddItem(new Cutlass());
            AddItem(shirt);
            AddItem(fancyShirt);
            AddItem(new LongPants());
            AddItem(new Boots());

            m_NextSay = DateTime.UtcNow;
        }
Esempio n. 26
0
        public override void InitOutfit()
        {
            SetStr( 36, 50 );
            SetDex( 31, 45 );
            SetInt( 36, 50 );
            Karma = Utility.RandomMinMax( -1, -10 );
            BaseSoundID = 342;

            if ( Female )
            {
                Title = "the bride";
                Item item = null;
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
            }
            else
            {
                Title = "the groom";
                Item item = null;
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new ShortPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
            }
        }
Esempio n. 27
0
        public WarriorGuard(Mobile target)
            : base(target)
        {
            SpeechHue = Utility.RandomDyedHue();
            Hue = Utility.RandomSkinHue();
            Title = "the guard";

            if (Female = Utility.RandomBool())
            {
                Body = 0x191;
                Name = NameList.RandomName("female");

                switch (Utility.Random(2))
                {
                    case 0: AddItem(new LeatherSkirt()); break;
                    case 1: AddItem(new LeatherShorts()); break;
                }

                AddItem(new FemalePlateChest());
            }
            else
            {
                Body = 0x190;
                Name = NameList.RandomName("male");

                Item item = new Shirt();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();

                item = new ShortPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();

                item = new PlateChest();
                AddItem(item);

                item = new PlateLegs();
                AddItem(item);

                item = new PlateArms();
                AddItem(item);

                item = new Tunic();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
            Utility.AssignRandomHair(this);

            if (Female)
                Utility.AssignRandomFacialHair(this, HairHue);

            Halberd weapon = new Halberd();

            weapon.Movable = false;
            weapon.Quality = WeaponQuality.Exceptional;

            AddItem(weapon);

            Container pack = new Backpack();

            pack.Movable = false;

            pack.DropItem(new Gold(10, 25));

            AddItem(pack);
        }
Esempio n. 28
0
        public override void IncreaseTier()
        {
            base.IncreaseTier();

            List <object> list = new List <object>();
            Item          c;

            // don't know names above lev 6
            switch (Tier)
            {
            case 1:
                c = new BookOfChivalry();
                c.MoveToWorld(new Point3D(2924, 979, -18), Map);
                c.Movable = false;
                list.Add(c);

                c = new Longsword();
                c.MoveToWorld(new Point3D(2923, 980, -18), Map);
                c.Movable = false;
                c.ItemID  = 0x26CF;
                list.Add(c);

                c = new Shirt();
                c.MoveToWorld(new Point3D(2924, 978, -18), Map);
                c.Movable = false;
                c.ItemID  = 0x2662;
                c.Name    = "Crisp White Shirt";
                list.Add(c);
                break;

            case 2:
                c = new GraveDust();
                c.MoveToWorld(new Point3D(2921, 972, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new NoxCrystal();
                c.MoveToWorld(new Point3D(2921, 972, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0xF91);
                c.MoveToWorld(new Point3D(2921, 972, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new NecromancerSpellbook();
                c.MoveToWorld(new Point3D(2922, 972, -18), Map);
                c.Movable = false;
                list.Add(c);

                c = new AnimateDeadScroll();
                c.MoveToWorld(new Point3D(2923, 972, -18), Map);
                c.Movable = false;
                list.Add(c);

                c = new HorrificBeastScroll();
                c.MoveToWorld(new Point3D(2923, 972, -18), Map);
                c.Movable = false;
                list.Add(c);

                c = new VampiricEmbraceScroll();
                c.MoveToWorld(new Point3D(2923, 971, -20), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0xFDD);
                c.MoveToWorld(new Point3D(2922, 971, -21), Map);
                list.Add(c);

                c = new Static(0xFDE);
                c.MoveToWorld(new Point3D(2923, 971, -21), Map);
                list.Add(c);

                break;

            case 3:
                c = new JesterSuit();
                c.MoveToWorld(new Point3D(2919, 985, -16), Map);
                c.Movable = false;
                list.Add(c);

                c = new LocalizedStatic(0xE74, 1073424);
                c.MoveToWorld(new Point3D(2919, 984, -11), Map);
                c.Movable = false;
                c.Weight  = 50.0;
                c.Hue     = 0x113;
                list.Add(c);

                c = new JesterHat();
                c.MoveToWorld(new Point3D(2919, 983, -13), Map);
                c.Movable = false;
                c.Hue     = 0x113;
                list.Add(c);

                break;

            case 4:
                c = new Static(0xD25);
                c.MoveToWorld(new Point3D(2916, 984, -13), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0x20D9);
                c.MoveToWorld(new Point3D(2916, 982, -12), Map);
                c.Name = "Gargoyle";
                list.Add(c);

                c = new Static(0x2132);
                c.MoveToWorld(new Point3D(2914, 982, -9), Map);
                list.Add(c);

                c = new Static(0x25B6);
                c.MoveToWorld(new Point3D(2913, 982, -13), Map);
                list.Add(c);

                c = new Static(0x25B6);
                c.MoveToWorld(new Point3D(2913, 982, -13), Map);
                list.Add(c);

                c = new Static(0x222E);
                c.MoveToWorld(new Point3D(2915, 983, -14), Map);
                list.Add(c);

                c = new Static(0x2211);
                c.MoveToWorld(new Point3D(2914, 984, -13), Map);
                list.Add(c);

                break;

            case 5:
                c = new LocalizedStatic(0xE30, 1073421);
                c.MoveToWorld(new Point3D(2911, 983, -12), Map);
                c.Weight = 10.0;
                list.Add(c);

                c = new LocalizedStatic(0x2937, 1073422);
                c.MoveToWorld(new Point3D(2911, 984, -13), Map);
                list.Add(c);

                c = new LocalizedStatic(0x12AA, 1073423);
                c.MoveToWorld(new Point3D(2911, 985, -14), Map);
                list.Add(c);

                c = new Static(0xEAF);
                c.MoveToWorld(new Point3D(2910, 985, -21), Map);
                c.Weight = 5.0;
                list.Add(c);

                c = new Static(0xEAE);
                c.MoveToWorld(new Point3D(2910, 986, -21), Map);
                c.Weight = 5.0;
                list.Add(c);

                break;

            case 6:
                c = new Tessen();
                c.MoveToWorld(new Point3D(2910, 966, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new Shuriken();
                c.MoveToWorld(new Point3D(2910, 965, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0x2855);
                c.MoveToWorld(new Point3D(2910, 964, -16), Map);
                c.Weight = 5.0;
                list.Add(c);

                c = new Static(0x241D);
                c.MoveToWorld(new Point3D(2910, 963, -20), Map);
                c.Weight = 5.0;
                list.Add(c);

                c = new Static(0x2409);
                c.MoveToWorld(new Point3D(2910, 963, -17), Map);
                list.Add(c);

                c = new Static(0x2416);
                c.MoveToWorld(new Point3D(2909, 965, -17), Map);
                list.Add(c);

                break;

            case 7:
                c = new Static(0x3069);
                c.MoveToWorld(new Point3D(2914, 964, -21), Map);
                list.Add(c);

                c = new Static(0x306A);
                c.MoveToWorld(new Point3D(2913, 964, -21), Map);
                list.Add(c);

                c = new Static(0x306B);
                c.MoveToWorld(new Point3D(2912, 964, -21), Map);
                list.Add(c);

                c = new ElvenLoveseatEastAddon();
                c.MoveToWorld(new Point3D(2913, 966, -21), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0x2CFC);
                c.MoveToWorld(new Point3D(2912, 963, -21), Map);
                list.Add(c);

                c = new LocalizedStatic(0x2D74, 1073425);
                c.MoveToWorld(new Point3D(2914, 963, -21), Map);
                list.Add(c);


                break;

            case 8:
                c = new Static(0x2);
                c.MoveToWorld(new Point3D(2905, 970, -15), Map);
                list.Add(c);

                c = new Static(0x3);
                c.MoveToWorld(new Point3D(2905, 969, -15), Map);
                list.Add(c);

                c = new OrderShield();
                c.MoveToWorld(new Point3D(2905, 971, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0x1579);
                c.MoveToWorld(new Point3D(2904, 971, -21), Map);
                list.Add(c);

                c = new Static(0x1613);
                c.MoveToWorld(new Point3D(2908, 969, -21), Map);
                list.Add(c);

                c = new Static(0x1614);
                c.MoveToWorld(new Point3D(2908, 968, -21), Map);
                list.Add(c);

                break;

            case 9:
                c = new Static(0x1526);
                c.MoveToWorld(new Point3D(2905, 976, -15), Map);
                list.Add(c);

                c = new Static(0x1527);
                c.MoveToWorld(new Point3D(2905, 975, -15), Map);
                list.Add(c);

                c = new Static(0x151A);
                c.MoveToWorld(new Point3D(2905, 972, -21), Map);
                list.Add(c);

                c = new Static(0x151A);
                c.MoveToWorld(new Point3D(2905, 977, -21), Map);
                list.Add(c);

                c = new Static(0x151A);
                c.MoveToWorld(new Point3D(2908, 972, -21), Map);
                list.Add(c);

                c = new Static(0x151A);
                c.MoveToWorld(new Point3D(2908, 977, -21), Map);
                list.Add(c);

                c = new Static(0x1514);
                c.MoveToWorld(new Point3D(2904, 975, -17), Map);
                list.Add(c);

                break;

            case 10:
                c = new Static(0x15C5);
                c.MoveToWorld(new Point3D(2904, 982, -21), Map);
                list.Add(c);

                c = new Static(0x15C5);
                c.MoveToWorld(new Point3D(2904, 979, -21), Map);
                list.Add(c);

                c = new Static(0x157B);
                c.MoveToWorld(new Point3D(2904, 981, -21), Map);
                list.Add(c);

                c = new Static(0x14E3);
                c.MoveToWorld(new Point3D(2905, 980, -21), Map);
                list.Add(c);

                c = new Static(0x14E4);
                c.MoveToWorld(new Point3D(2905, 981, -21), Map);
                list.Add(c);

                c = new Static(0x14E5);
                c.MoveToWorld(new Point3D(2906, 981, -21), Map);
                list.Add(c);

                c = new Static(0x14E6);
                c.MoveToWorld(new Point3D(2906, 980, -21), Map);
                list.Add(c);

                c = new ChaosShield();
                c.MoveToWorld(new Point3D(2905, 978, -19), Map);
                c.Movable = false;
                list.Add(c);

                break;

            case 11:
                c = new FemaleStuddedChest();
                c.MoveToWorld(new Point3D(2912, 976, -16), Map);
                c.Movable = false;
                c.Hue     = 0x497;
                list.Add(c);

                c = new Static(0x1EA8);
                c.MoveToWorld(new Point3D(2913, 973, -13), Map);
                c.Hue = 0x497;
                list.Add(c);

                c = new Static(0x20F8);
                c.MoveToWorld(new Point3D(2913, 975, -11), Map);
                c.Hue = 0x113;
                list.Add(c);

                c = new Static(0x20E9);
                c.MoveToWorld(new Point3D(2912, 974, -11), Map);
                c.Name = "Troll";
                list.Add(c);

                c = new Static(0x2607);
                c.MoveToWorld(new Point3D(2913, 974, -11), Map);
                list.Add(c);

                c = new Static(0x25F9);
                c.MoveToWorld(new Point3D(2912, 975, -11), Map);
                list.Add(c);

                break;

            case 12:
                c = new Static(0x1D8A);
                c.MoveToWorld(new Point3D(2915, 976, -13), Map);
                list.Add(c);

                c = new Static(0x1D8B);
                c.MoveToWorld(new Point3D(2916, 976, -13), Map);
                list.Add(c);

                c = new Static(0x234D);
                c.MoveToWorld(new Point3D(2915, 975, -10), Map);
                list.Add(c);

                c = new WizardsHat();
                c.MoveToWorld(new Point3D(2915, 974, -13), Map);
                c.Movable = false;
                list.Add(c);
                break;
            }

            if (list.Count > 0)
            {
                Tiers.Add(list);
            }
        }
Esempio n. 29
0
        public override void InitOutfit()
        {
            WipeLayers();

            // black captain's hat
            TricorneHat hat = CaptainsHat();
            hat.LootType = LootType.Newbied;
            AddItem(hat);

            if (Utility.RandomBool())
            {
                Item shirt = new Shirt(Utility.RandomRedHue());
                AddItem(shirt);
            }

            Item sash = new BodySash(0x85);
            Item hair = new Item(Utility.RandomList(0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A));
            Item pants = new LongPants(Utility.RandomRedHue());
            Item boots = new Boots(Utility.RandomRedHue());
            hair.Hue = Utility.RandomHairHue();
            hair.Layer = Layer.Hair;
            hair.Movable = false;

            Item sword;
            if (Utility.RandomBool())
                sword = new Scimitar();
            else
                sword = new Cutlass();

			sword.LootType = LootType.Newbied;

            AddItem(hair);
            AddItem(sash);
            AddItem(pants);
            AddItem(boots);
            AddItem(sword);

            if (!this.Female)
            {
                Item beard = new Item(Utility.RandomList(0x203E, 0x203F, 0x2040, 0x2041, 0x204B, 0x204C, 0x204D));
                beard.Hue = hair.Hue;
                beard.Layer = Layer.FacialHair;
                beard.Movable = false;
                AddItem(beard);
            }
        }
Esempio n. 30
0
        public override void IncreaseTier()
        {
            base.IncreaseTier();

            List<object> list = new List<object>();
            Item c;

            // don't know names above lev 6
            switch ( this.Tier )
            {
                case 1:
                    c = new BookOfChivalry();
                    c.MoveToWorld(new Point3D(2924, 979, -18), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new Longsword();
                    c.MoveToWorld(new Point3D(2923, 980, -18), this.Map);
                    c.Movable = false;
                    c.ItemID = 0x26CF;
                    list.Add(c);

                    c = new Shirt();
                    c.MoveToWorld(new Point3D(2924, 978, -18), this.Map);
                    c.Movable = false;
                    c.ItemID = 0x2662;
                    c.Name = "Crisp White Shirt";
                    list.Add(c);
                    break;
                case 2:
                    c = new GraveDust();
                    c.MoveToWorld(new Point3D(2921, 972, -17), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new NoxCrystal();
                    c.MoveToWorld(new Point3D(2921, 972, -17), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new Static(0xF91);
                    c.MoveToWorld(new Point3D(2921, 972, -17), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new NecromancerSpellbook();
                    c.MoveToWorld(new Point3D(2922, 972, -18), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new AnimateDeadScroll();
                    c.MoveToWorld(new Point3D(2923, 972, -18), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new HorrificBeastScroll();
                    c.MoveToWorld(new Point3D(2923, 972, -18), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new VampiricEmbraceScroll();
                    c.MoveToWorld(new Point3D(2923, 971, -20), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new Static(0xFDD);
                    c.MoveToWorld(new Point3D(2922, 971, -21), this.Map);
                    list.Add(c);

                    c = new Static(0xFDE);
                    c.MoveToWorld(new Point3D(2923, 971, -21), this.Map);
                    list.Add(c);

                    break;
                case 3:
                    c = new JesterSuit();
                    c.MoveToWorld(new Point3D(2919, 985, -16), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new LocalizedStatic(0xE74, 1073424);
                    c.MoveToWorld(new Point3D(2919, 984, -11), this.Map);
                    c.Movable = false;
                    c.Weight = 50.0;
                    c.Hue = 0x113;
                    list.Add(c);

                    c = new JesterHat();
                    c.MoveToWorld(new Point3D(2919, 983, -13), this.Map);
                    c.Movable = false;
                    c.Hue = 0x113;
                    list.Add(c);

                    break;
                case 4:
                    c = new Static(0xD25);
                    c.MoveToWorld(new Point3D(2916, 984, -13), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new Static(0x20D9);
                    c.MoveToWorld(new Point3D(2916, 982, -12), this.Map);
                    c.Name = "Gargoyle";
                    list.Add(c);

                    c = new Static(0x2132);
                    c.MoveToWorld(new Point3D(2914, 982, -9), this.Map);
                    list.Add(c);

                    c = new Static(0x25B6);
                    c.MoveToWorld(new Point3D(2913, 982, -13), this.Map);
                    list.Add(c);

                    c = new Static(0x25B6);
                    c.MoveToWorld(new Point3D(2913, 982, -13), this.Map);
                    list.Add(c);

                    c = new Static(0x222E);
                    c.MoveToWorld(new Point3D(2915, 983, -14), this.Map);
                    list.Add(c);

                    c = new Static(0x2211);
                    c.MoveToWorld(new Point3D(2914, 984, -13), this.Map);
                    list.Add(c);

                    break;
                case 5:
                    c = new LocalizedStatic(0xE30, 1073421);
                    c.MoveToWorld(new Point3D(2911, 983, -12), this.Map);
                    c.Weight = 10.0;
                    list.Add(c);

                    c = new LocalizedStatic(0x2937, 1073422);
                    c.MoveToWorld(new Point3D(2911, 984, -13), this.Map);
                    list.Add(c);

                    c = new LocalizedStatic(0x12AA, 1073423);
                    c.MoveToWorld(new Point3D(2911, 985, -14), this.Map);
                    list.Add(c);

                    c = new Static(0xEAF);
                    c.MoveToWorld(new Point3D(2910, 985, -21), this.Map);
                    c.Weight = 5.0;
                    list.Add(c);

                    c = new Static(0xEAE);
                    c.MoveToWorld(new Point3D(2910, 986, -21), this.Map);
                    c.Weight = 5.0;
                    list.Add(c);

                    break;
                case 6:
                    c = new Tessen();
                    c.MoveToWorld(new Point3D(2910, 966, -17), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new Shuriken();
                    c.MoveToWorld(new Point3D(2910, 965, -17), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new Static(0x2855);
                    c.MoveToWorld(new Point3D(2910, 964, -16), this.Map);
                    c.Weight = 5.0;
                    list.Add(c);

                    c = new Static(0x241D);
                    c.MoveToWorld(new Point3D(2910, 963, -20), this.Map);
                    c.Weight = 5.0;
                    list.Add(c);

                    c = new Static(0x2409);
                    c.MoveToWorld(new Point3D(2910, 963, -17), this.Map);
                    list.Add(c);

                    c = new Static(0x2416);
                    c.MoveToWorld(new Point3D(2909, 965, -17), this.Map);
                    list.Add(c);

                    break;
                case 7:
                    c = new Static(0x3069);
                    c.MoveToWorld(new Point3D(2914, 964, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x306A);
                    c.MoveToWorld(new Point3D(2913, 964, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x306B);
                    c.MoveToWorld(new Point3D(2912, 964, -21), this.Map);
                    list.Add(c);

                    c = new ElvenLoveseatEastAddon();
                    c.MoveToWorld(new Point3D(2913, 966, -21), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new Static(0x2CFC);
                    c.MoveToWorld(new Point3D(2912, 963, -21), this.Map);
                    list.Add(c);

                    c = new LocalizedStatic(0x2D74, 1073425);
                    c.MoveToWorld(new Point3D(2914, 963, -21), this.Map);
                    list.Add(c);

                    break;
                case 8:
                    c = new Static(0x2);
                    c.MoveToWorld(new Point3D(2905, 970, -15), this.Map);
                    list.Add(c);

                    c = new Static(0x3);
                    c.MoveToWorld(new Point3D(2905, 969, -15), this.Map);
                    list.Add(c);

                    c = new OrderShield();
                    c.MoveToWorld(new Point3D(2905, 971, -17), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    c = new Static(0x1579);
                    c.MoveToWorld(new Point3D(2904, 971, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x1613);
                    c.MoveToWorld(new Point3D(2908, 969, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x1614);
                    c.MoveToWorld(new Point3D(2908, 968, -21), this.Map);
                    list.Add(c);

                    break;
                case 9:
                    c = new Static(0x1526);
                    c.MoveToWorld(new Point3D(2905, 976, -15), this.Map);
                    list.Add(c);

                    c = new Static(0x1527);
                    c.MoveToWorld(new Point3D(2905, 975, -15), this.Map);
                    list.Add(c);

                    c = new Static(0x151A);
                    c.MoveToWorld(new Point3D(2905, 972, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x151A);
                    c.MoveToWorld(new Point3D(2905, 977, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x151A);
                    c.MoveToWorld(new Point3D(2908, 972, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x151A);
                    c.MoveToWorld(new Point3D(2908, 977, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x1514);
                    c.MoveToWorld(new Point3D(2904, 975, -17), this.Map);
                    list.Add(c);

                    break;
                case 10:
                    c = new Static(0x15C5);
                    c.MoveToWorld(new Point3D(2904, 982, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x15C5);
                    c.MoveToWorld(new Point3D(2904, 979, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x157B);
                    c.MoveToWorld(new Point3D(2904, 981, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x14E3);
                    c.MoveToWorld(new Point3D(2905, 980, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x14E4);
                    c.MoveToWorld(new Point3D(2905, 981, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x14E5);
                    c.MoveToWorld(new Point3D(2906, 981, -21), this.Map);
                    list.Add(c);

                    c = new Static(0x14E6);
                    c.MoveToWorld(new Point3D(2906, 980, -21), this.Map);
                    list.Add(c);

                    c = new ChaosShield();
                    c.MoveToWorld(new Point3D(2905, 978, -19), this.Map);
                    c.Movable = false;
                    list.Add(c);

                    break;
                case 11:
                    c = new FemaleStuddedChest();
                    c.MoveToWorld(new Point3D(2912, 976, -16), this.Map);
                    c.Movable = false;
                    c.Hue = 0x497;
                    list.Add(c);

                    c = new Static(0x1EA8);
                    c.MoveToWorld(new Point3D(2913, 973, -13), this.Map);
                    c.Hue = 0x497;
                    list.Add(c);

                    c = new Static(0x20F8);
                    c.MoveToWorld(new Point3D(2913, 975, -11), this.Map);
                    c.Hue = 0x113;
                    list.Add(c);

                    c = new Static(0x20E9);
                    c.MoveToWorld(new Point3D(2912, 974, -11), this.Map);
                    c.Name = "Troll";
                    list.Add(c);

                    c = new Static(0x2607);
                    c.MoveToWorld(new Point3D(2913, 974, -11), this.Map);
                    list.Add(c);

                    c = new Static(0x25F9);
                    c.MoveToWorld(new Point3D(2912, 975, -11), this.Map);
                    list.Add(c);

                    break;
                case 12:
                    c = new Static(0x1D8A);
                    c.MoveToWorld(new Point3D(2915, 976, -13), this.Map);
                    list.Add(c);

                    c = new Static(0x1D8B);
                    c.MoveToWorld(new Point3D(2916, 976, -13), this.Map);
                    list.Add(c);

                    c = new Static(0x234D);
                    c.MoveToWorld(new Point3D(2915, 975, -10), this.Map);
                    list.Add(c);

                    c = new WizardsHat();
                    c.MoveToWorld(new Point3D(2915, 974, -13), this.Map);
                    c.Movable = false;
                    list.Add(c);
                    break;
            }

            if (list.Count > 0)
                this.Tiers.Add(list);
        }
Esempio n. 31
0
        public Commoner5()
            : base(AIType.AI_Melee, FightMode.None, 10, 1, 0.8, 3.0)
        {
            SetStr( 10, 30 );
            SetDex( 10, 30 );
            SetInt( 10, 30 );

            Fame = 50;
            Karma = 50;

            SetSkill( SkillName.Fishing, 60.0, 70.0 );
            SetSkill( SkillName.Cooking, 60.0, 70.0 );

            SpeechHue = Utility.RandomDyedHue();
            Title = string.Empty;//Commoner5.Titles[Utility.Random( 0, Titles.Length )];
            Hue = Utility.RandomSkinHue();
            if ( this.Female = Utility.RandomBool() )
            {
                this.Body = 0x191;
                this.Name = NameList.RandomName( "female" );
                Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2045, 0x204A, 0x2046 , 0x2049 ) );
                hair.Hue = Utility.RandomHairHue();
                hair.Layer = Layer.Hair;
                hair.Movable = false;
                AddItem( hair );
                Item hat = null;
                switch ( Utility.Random( 5 ) )//4 hats, one empty, for no hat
                {
                    case 0: hat = new FloppyHat( Utility.RandomNeutralHue() );		break;
                    case 1: hat = new FeatheredHat( Utility.RandomNeutralHue() );	break;
                    case 2: hat = new Bonnet();			break;
                    case 3: hat = new Cap( Utility.RandomNeutralHue() );			break;
                }
                AddItem( hat );
                Item pants = null;
                switch ( Utility.Random( 3 ) )
                {
                    case 0: pants = new ShortPants( GetRandomHue() );	break;
                    case 1: pants = new LongPants( GetRandomHue() );	break;
                    case 2: pants = new Skirt( GetRandomHue() );		break;
                }
                AddItem( pants );
                Item shirt = null;
                switch ( Utility.Random( 7 ) )
                {
                    case 0: shirt = new Doublet( GetRandomHue() );		break;
                    case 1: shirt = new Surcoat( GetRandomHue() );		break;
                    case 2: shirt = new Tunic( GetRandomHue() );		break;
                    case 3: shirt = new FancyDress( GetRandomHue() );	break;
                    case 4: shirt = new PlainDress( GetRandomHue() );	break;
                    case 5: shirt = new FancyShirt( GetRandomHue() );	break;
                    case 6: shirt = new Shirt( GetRandomHue() );		break;
                }
                AddItem( shirt );
            }
            else
            {
                this.Body = 0x190;
                this.Name = NameList.RandomName( "male" );
                Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2048 ) );
                hair.Hue = Utility.RandomHairHue();
                hair.Layer = Layer.Hair;
                hair.Movable = false;
                AddItem( hair );
                Item beard = new Item( Utility.RandomList( 0x0000, 0x203E, 0x203F, 0x2040, 0x2041, 0x2067, 0x2068, 0x2069 ) );
                beard.Hue = hair.Hue;
                beard.Layer = Layer.FacialHair;
                beard.Movable = false;
                AddItem( beard );
                Item hat = null;
                switch ( Utility.Random( 7 ) ) //6 hats, one empty, for no hat
                {
                    case 0: hat = new SkullCap( GetRandomHue() );					break;
                    case 1: hat = new Bandana( GetRandomHue() );					break;
                    case 2: hat = new WideBrimHat();								break;
                    case 3: hat = new TallStrawHat( Utility.RandomNeutralHue() );	break;
                    case 4: hat = new StrawHat( Utility.RandomNeutralHue() );		break;
                    case 5: hat = new TricorneHat( Utility.RandomNeutralHue() );	break;
                }
                AddItem( hat );
                Item pants = null;
                switch ( Utility.Random( 2 ) )
                {
                    case 0: pants = new ShortPants( GetRandomHue() );	break;
                    case 1: pants = new LongPants( GetRandomHue() );	break;
                }
                AddItem( pants );
                Item shirt = null;
                switch ( Utility.Random( 5 ) )
                {
                    case 0: shirt = new Doublet( GetRandomHue() );		break;
                    case 1: shirt = new Surcoat( GetRandomHue() );		break;
                    case 2: shirt = new Tunic( GetRandomHue() );		break;
                    case 3: shirt = new FancyShirt( GetRandomHue() );	break;
                    case 4: shirt = new Shirt( GetRandomHue() );		break;
                }
                AddItem( shirt );
            }

            Item feet = null;
            switch ( Utility.Random( 3 ) )
            {
                case 0: feet = new Boots( Utility.RandomNeutralHue() );	break;
                case 1: feet = new Shoes( Utility.RandomNeutralHue() );	break;
                case 2: feet = new Sandals( Utility.RandomNeutralHue() );		break;
            }
            AddItem( feet );
            Container pack = new Backpack();

            pack.DropItem( new Gold( 0, 50 ) );

            pack.Movable = false;

            AddItem( pack );
        }