public override void InitOutfit() { if ( Female ) { Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new FancyDress(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = new Cloak(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new Longsword(); AddItem( item ); } else { Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Cloak(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new Longsword(); AddItem( item ); } }
public Arriana() { Name = "Arriana Loveliss"; Title = "the Queens Maiden"; Body = 0x191; CantWalk = true; Hue = Utility.RandomSkinHue(); FancyDress fd = new FancyDress(); fd.Hue = 1172; AddItem( fd ); Sandals s = new Sandals(); s.Hue = 1172; AddItem( s ); AddItem( new LongHair(2213)); }
public Therasa() { Name = "Therasa"; Title = "Quest Giver"; Body = 0x191; CantWalk = true; Blessed = true; Hue = Utility.RandomSkinHue(); FancyDress fd = new FancyDress(); fd.Hue = 1172; AddItem( fd ); Sandals s = new Sandals(); s.Hue = 1172; AddItem( s ); AddItem( new LongHair(2213)); }
public Brianna() { Name = "Brianna"; Title = "the Youthful Summoner"; Body = 0x191; Direction = Direction.East; CantWalk = true; Hue = Utility.RandomSkinHue(); FancyDress fd = new FancyDress(); fd.Hue = 84; AddItem( fd ); Sandals s = new Sandals(); s.Hue = 84; AddItem( s ); AddItem( new LongHair(52)); }
public Sita() { Name = "Sita"; Title = "The Princess"; Body = 0x191; Direction = Direction.East; CantWalk = true; Hue = Utility.RandomSkinHue(); Blessed = true; FancyDress fd = new FancyDress(); fd.Hue = 84; AddItem(fd); Sandals s = new Sandals(); s.Hue = 84; AddItem(s); AddItem(new LongHair(52)); }
public Therasa() { Name = "Therasa"; Title = "the Miners Wife"; Body = 0x191; CantWalk = true; Blessed = true; Hue = Utility.RandomSkinHue(); FancyDress fd = new FancyDress(); fd.Hue = 1172; AddItem( fd ); Sandals s = new Sandals(); s.Hue = 1172; AddItem( s ); HairItemID = 0x203B; HairHue = 1175; }
public Polka() { Name = "Polka"; Body = 0x191; CantWalk = true; Hue = 0x3ea; Blessed = true; HairItemID = 0x203C; HairHue = 2213; FancyDress body = new FancyDress(); body.Hue = 1643; AddItem(body); Sandals feet = new Sandals(); feet.Hue = 1150; AddItem(feet); }
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 ); }
private void CreateClassic() { m_MoveSound = 823; m_CaptureSound = 824; m_DeathSound = 814; m_Piece.Female = true; m_Piece.BodyValue = 0x191; if ( m_BChessboard.OverrideMinorHue ) m_Piece.Hue = Hue; else m_Piece.Hue = m_BChessboard.SkinHue; m_Piece.HairItemID = 0x203C; //Long Hair m_Piece.HairHue = m_BChessboard.OverrideMinorHue ? Hue : m_BChessboard.HairHue; Item item = null; item = new FancyDress( Hue ); m_Piece.AddItem( item ); item = new Sandals( MinorHue ); m_Piece.AddItem( item ); item = new Scepter(); item.Hue = MinorHue; m_Piece.AddItem( item ); }
public EvilMsClaus() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Evil Misses Clause"; Title = "Of Red Christmas"; Body = 401; Hue = 33770; BaseSoundID = 823; SetStr( 401, 520 ); SetDex( 81, 90 ); SetInt( 401, 520 ); SetHits( 678, 695 ); SetDamage( 50, 120 ); SetDamageType( ResistanceType.Cold, 20 ); SetDamageType( ResistanceType.Energy, 50 ); SetResistance( ResistanceType.Physical, 50 ); SetResistance( ResistanceType.Fire, 50 ); SetResistance( ResistanceType.Cold, 15 ); SetResistance( ResistanceType.Poison, 60 ); SetResistance( ResistanceType.Energy, 80 ); SetSkill( SkillName.EvalInt, 200.0 ); SetSkill( SkillName.Magery, 200.0 ); SetSkill( SkillName.Meditation, 200.0 ); SetSkill( SkillName.MagicResist, 200.0 ); SetSkill( SkillName.Tactics, 100.0 ); SetSkill( SkillName.Wrestling, 200.0 ); Fame = -1500; Karma = 550000; VirtualArmor = 40; PackItem( new RudolphNose() ); if (1 > Utility.RandomDouble()) switch (Utility.Random(24)) { case 0: PackItem(new MaceOfWinter()); break; case 1: PackItem(new ChristmasKatana()); break; case 2: PackItem(new SantasStaff()); break; case 3: PackItem(new ArmsOfChristmas()); break; case 4: PackItem(new ChestOfChristmas()); break; case 5: PackItem(new GlovesOfChristmas()); break; case 6: PackItem(new GorgetOfChristmas()); break; case 7: PackItem(new HelmOfChristmas()); break; case 8: PackItem(new LegsOfChristmas()); break; case 9: PackItem(new HelmOfWinter()); break; case 10: PackItem(new LegsOfWinter()); break; case 11: PackItem(new FemaleChestOfWinter()); break; case 12: PackItem(new GlovesOfWinter()); break; case 13: PackItem(new ArmsOfWinter()); break; case 14: PackItem(new ChestOfWinter()); break; case 16: PackItem(new XmasArms()); break; case 17: PackItem(new XmasChest()); break; case 18: PackItem(new XmasGloves()); break; case 19: PackItem(new XmasHelm()); break; case 20: PackItem(new XmasLegs()); break; case 21: PackItem(new XmasHalberd()); break; case 22: PackItem(new SwordOfChristmas()); break; case 23: PackItem(new BowOfChristmas()); break; } LongPants legs = new LongPants(); legs.Hue = 1157; legs.Movable = false; AddItem( legs ); FancyDress chest = new FancyDress(); chest.Hue = 1157; chest.Movable = false; AddItem( chest ); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 1153; gloves.Movable = false; AddItem( gloves ); ElvenBoots boots = new ElvenBoots(); boots.Hue = 1153; boots.Movable = false; AddItem( boots ); Item hair = new Item( Utility.RandomList( 8252 ) ); hair.Hue = 1153; hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); PackGold( 600, 1000); }
public override void InitOutfit() { Item item = null; int hairHue = Utility.RandomHairHue(); Utility.AssignRandomHair(this, hairHue); item = new Cloak(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); item = new BodySash(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem(item); item = new Longsword(); AddItem(item); AddLoot(LootPack.FilthyRich); if (!Female) { Utility.AssignRandomFacialHair(this, hairHue); item = new FancyShirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); item = new LongPants(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } else { item = new FancyDress(); AddItem(item); item.Hue = Utility.RandomNeutralHue(); } }