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 ); } }
public RaresVendor() : base( "the custom provisioner" ) { Item temp; temp = new Shoes(); temp.Hue = 1953; temp.Movable = false; AddItem(temp); temp = new LongPants(); temp.Hue = 01; temp.Movable = false; AddItem(temp); temp = new Doublet(); temp.Hue = 1953; temp.Movable = false; AddItem(temp); temp = new FancyShirt(); temp.Hue = 01; temp.Movable = false; AddItem(temp); temp = new FloppyHat(); temp.Hue = 1953; temp.Movable = false; AddItem(temp); temp = new Cloak(); temp.Hue = 1953; temp.Movable = false; AddItem(temp); }
public UncleJohn() { Name = "Uncle John"; Title = "the farming fool"; Body = 0x190; Hue = Utility.RandomSkinHue(); Boots b = new Boots(); b.Hue = 1; AddItem( b ); LongPants lp = new LongPants(); lp.Hue = 292; AddItem( lp ); FancyShirt fs = new FancyShirt(); fs.Hue = 1153; AddItem( fs ); Pitchfork pf = new Pitchfork(); AddItem( pf ); AddItem( new LongHair(1337)); }
public override void InitOutfit() { Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new FancyShirt(); item.Hue = Utility.RandomOrangeHue(); AddItem( item ); item = new LongPants(); item.Hue = 2305; AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); PackGold( 15, 100 ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new FancyShirt(); item.Hue = Utility.RandomOrangeHue(); AddItem( item ); item = new Skirt(); item.Hue = 2305; AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); PackGold( 15, 100 ); } }
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 ); } }
public FreddyKruger() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Freddy Kruger"; Body = 185; Hue = 2949; SetStr( 481, 705 ); SetDex( 291, 315 ); SetInt( 226, 350 ); SetHits(12000, 14000 ); SetDamage( 25, 40 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 35, 40 ); SetResistance( ResistanceType.Fire, 30, 40 ); SetResistance( ResistanceType.Cold, 30, 40 ); SetResistance( ResistanceType.Poison, 30, 40 ); SetResistance( ResistanceType.Energy, 30, 40 ); SetSkill( SkillName.EvalInt, 80.2, 100.0 ); SetSkill( SkillName.Magery, 95.1, 100.0 ); SetSkill( SkillName.Meditation, 27.5, 50.0 ); SetSkill( SkillName.MagicResist, 77.5, 100.0 ); SetSkill( SkillName.Tactics, 65.0, 87.5 ); SetSkill( SkillName.Wrestling, 20.3, 80.0 ); Fame = 0; Karma = -10500; VirtualArmor = 90; LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 1175; gloves.Movable = false; AddItem( gloves ); LongPants legs = new LongPants(); legs.Hue = 1175; legs.Movable = false; AddItem( legs ); FingersOfFreddy weapon = new FingersOfFreddy(); weapon.Movable = false; AddItem( weapon ); Boots boots = new Boots(); boots.Hue = 1175; boots.Movable = false; AddItem( boots ); }
public BookCollector() : base() //----------------------------------------------------------------------------------------------------// { Body = 400; Hue = Utility.RandomSkinHue(); if (Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); } else { Name = NameList.RandomName("male"); } //----------------------------------------------------------------------------------------------------// //Title = "[A Book Collector]"; //CantWalk = true; Direction = Direction.South; Hue = Utility.RandomSkinHue(); Utility.AssignRandomHair(this); Blessed = true; BodySash bs = new BodySash(); bs.Hue = 33; AddItem(bs); //PlateArms pa = new PlateArms(); //pa.Hue = 0; //AddItem(pa); FormalShirt pc = new FormalShirt(); pc.Hue = 0; AddItem(pc); //PlateGloves pg = new PlateGloves(); //pg.Hue = 0; //AddItem(pg); LongPants pl = new LongPants(); pl.Hue = 0; AddItem(pl); Sandals pt = new Sandals(); pt.Hue = 0; AddItem(pt); //----------------------------------------------------------------------------------------------------// }
public Mayor() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the mayor"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 36, 50 ); SetDex( 36, 50 ); SetInt( 51, 65 ); Karma = Utility.RandomMinMax( 53, -5 ); SetSkill( SkillName.Tactics, 25, 47.5 ); SetSkill( SkillName.MagicResist, 25, 47.5 ); SetSkill( SkillName.Parry, 25, 47.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 FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomRedHue(); AddItem( item ); LootPack.Rich.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomRedHue(); AddItem( item ); LootPack.Rich.Generate( this ); } }
public father():base(AIType.AI_Melee, FightMode.None, 20, 1, 1.5, 3.0) { Name = "Gary"; Body = 400; SpeechHue = 9; CantWalk = true; Hue = 46; Blessed = true; SetStr( 1025, 1250 ); SetDex( 120, 125 ); SetInt( 1800, 1935 ); SetHits( 5000, 5550 ); SetSkill( SkillName.MagicResist, 205.0, 220.0 ); SetSkill( SkillName.Focus, 216.0, 230.0); SetSkill( SkillName.Magery, 219.0, 225.0 ); SetSkill( SkillName.Meditation, 212.0, 215.0 ); VirtualArmor = 44; Container pack = new Backpack(); pack.Movable = false; AddItem( pack ); Item Boots = new Boots(); Boots.Hue = 351; Boots.Name = "Work Boots"; Boots.Movable = false; AddItem( Boots ); Item LongPants = new LongPants(); LongPants.Hue = 1282; LongPants.Name = "Wrangler Jeans"; LongPants.Movable = false; AddItem( LongPants ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1321; FancyShirt.Name = "Flannel Button-Up Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item hair = new Item( 0x203B ); hair.Hue = 1836; hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); Item ring = new GoldRing(); ring.Name = "Wedding Ring"; ring.Movable = false; AddItem( ring ); }
public override void InitOutfit() { SetWearable(new FancyShirt(), 2498); SetWearable(new Shoes(), 2413); Item pants = new LongPants(); pants.ItemID = 0x2FC3; pants.Name = "Elven Pants"; SetWearable(pants, 1910); }
public Finlor() { Name = "Finlor"; Title = "the Sea Captain"; Body = 0x190; Hue = Utility.RandomSkinHue(); Blessed = true; CantWalk = true; Direction = Direction.South; ThighBoots tb = new ThighBoots(); tb.Hue = 0; AddItem( tb ); LongPants lp = new LongPants(); lp.Hue = 6; AddItem( lp ); FancyShirt fs = new FancyShirt(); fs.Hue = 0; AddItem( fs ); TricorneHat th = new TricorneHat(); th.Hue = 52; AddItem( th ); BodySash bs = new BodySash(); bs.Hue = 6; AddItem( bs ); Cloak cl = new Cloak(); cl.Hue = 38; AddItem( cl ); Scimitar sc = new Scimitar(); AddItem( sc ); GoldBeadNecklace gn = new GoldBeadNecklace(); AddItem( gn ); GoldBracelet gb = new GoldBracelet(); AddItem( gb ); GoldEarrings ge = new GoldEarrings(); AddItem( ge ); GoldRing gr = new GoldRing(); AddItem( gr ); AddItem( new PonyTail(1149)); AddItem( new Vandyke(1149)); }
public Prisoner() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the peasant"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 11, 25 ); SetDex( 11, 25 ); SetInt( 31, 45 ); 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 FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); LootPack.Poor.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); LootPack.Poor.Generate( this ); } }
public Santa () { Name = "SantaClaus"; Title = "Quest Giver"; Body = 400; Hue = 1002; CantWalk = true; Blessed = true; Item longpants; longpants = new LongPants(); longpants.Hue = 1109; AddItem( longpants ); Item tunic; tunic = new Tunic(); tunic.Hue = 33; AddItem( tunic ); Item leatherninjabelt; leatherninjabelt = new LeatherNinjaBelt(); leatherninjabelt.Hue = 1109; AddItem(leatherninjabelt); FacialHairItemID = 0x204C; FacialHairHue = 1153; Item JesterHat; JesterHat = new JesterHat(); JesterHat.Hue = 33; AddItem(JesterHat); HairItemID = 0x203C; HairHue = 1153; Item boots; boots = new Boots(); boots.Hue = 1109; AddItem( boots ); }
public override void InitOutfit() { BearMask head = new BearMask(); head.Hue = 347; AddItem( head ); Tunic chest = new Tunic(); chest.Hue = 347; AddItem( chest ); LongPants leg = new LongPants(); leg.Hue = 347; AddItem( leg ); ThighBoots feet = new ThighBoots(); feet.Hue = 347; AddItem( feet ); }
public LordSanta() { Name = "Lord Santa"; Title = "the Ruler of the green dudes"; Body = 0x190; CantWalk = true; Hue = Utility.RandomSkinHue(); Item Boots = new Boots(); Boots.Hue = 33; Boots.Name = "Santa Boots"; Boots.Movable = false; AddItem( Boots ); Item Doublet = new Doublet(); Doublet.Hue = 33; Doublet.Name = "Santa's Doublet"; Doublet.Movable = false; AddItem( Doublet ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 33; FancyShirt.Name = "Santa's Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 33; LongPants.Name = "Santa's Pants"; LongPants.Movable = false; AddItem( LongPants ); Item WizardsHat = new WizardsHat(); WizardsHat.Hue = 33; WizardsHat.Name = "Santa's Hat"; WizardsHat.Movable = false; AddItem( WizardsHat ); int hairHue = 1153; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new LongHair( hairHue ) ); break; case 1: AddItem( new LongBeard( hairHue ) ); break; } Blessed = true; }
public VelaTheSorceress() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Name = "Vela"; Title = "the sorceress"; SetStr(110); SetDex(100); SetInt(1000); Hue = Utility.RandomSkinHue(); Body = 0x191; HairItemID = 0x203C; HairHue = 0x46D; Item item = new FancyShirt(); item.Hue = 1150; AddItem(item); item = new LongPants(); item.Hue = 108; AddItem(item); item = new Shoes(); item.Hue = 108; AddItem(item); item = new BraceletOfProtection(); item.Movable = false; PackItem(item); item = new Hephaestus(); item.Movable = false; PackItem(item); item = new GargishHephaestus(); item.Movable = false; PackItem(item); item = new BlightOfTheTundra(); item.Movable = false; PackItem(item); item = new GargishBlightOfTheTundra(); item.Movable = false; PackItem(item); }
public Barthus() { Name = "Barthus"; Title = "the Shipmate"; Body = 0x190; Hue = Utility.RandomSkinHue(); Blessed = true; CantWalk = true; Direction = Direction.South; Boots bt = new Boots(); bt.Hue = 0; AddItem( bt ); LongPants lp = new LongPants(); lp.Hue = 0; AddItem( lp ); FancyShirt fs = new FancyShirt(); fs.Hue = 0; AddItem( fs ); TricorneHat th = new TricorneHat(); th.Hue = 0; AddItem( th ); Scimitar sc = new Scimitar(); AddItem( sc ); GoldBeadNecklace gn = new GoldBeadNecklace(); AddItem( gn ); GoldBracelet gb = new GoldBracelet(); AddItem( gb ); GoldEarrings ge = new GoldEarrings(); AddItem( ge ); GoldRing gr = new GoldRing(); AddItem( gr ); AddItem( new PonyTail(1149)); AddItem( new Vandyke(1149)); }
public Pilock() { Name = "Pilock"; Title = "the farmer"; Body = 0x190; CantWalk = true; Hue = Utility.RandomSkinHue(); Item Boots = new Boots(); Boots.Hue = 2112; Boots.Name = "Farming Boots"; Boots.Movable = false; AddItem( Boots ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1267; FancyShirt.Name = "Farming Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 847; LongPants.Name = "Farming Pants"; LongPants.Movable = false; AddItem( LongPants ); Item Cloak = new Cloak(); Cloak.Hue = 1267; Cloak.Name = "Farming Cloak"; Cloak.Movable = false; AddItem( Cloak ); int hairHue = 1814; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new PonyTail( hairHue ) ); break; case 1: AddItem( new Goatee( hairHue ) ); break; } Blessed = true; }
public override void InitOutfit() { Item item = null; if ( !Female ) { 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 ); PackGold( 100, 150 ); } else { 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 ); PackGold( 100, 150 ); } }
public FarmerJones() { Name = "Jones"; Title = "the Farmer"; Body = 0x190; CantWalk = true; Hue = Utility.RandomSkinHue(); Item Boots = new Boots(); Boots.Hue = 2829; Boots.Name = "Non-Leather Boots"; Boots.Movable = false; AddItem( Boots ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 2829; FancyShirt.Name = "Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 847; LongPants.Name = "Pants"; LongPants.Movable = false; AddItem( LongPants ); Item Pitchfork = new Pitchfork(); //Cloak.Hue = 1267; Pitchfork.Name = "Farm Tool"; Pitchfork.Movable = false; AddItem( Pitchfork ); int hairHue = 1814; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new PonyTail( hairHue ) ); break; case 1: AddItem( new Goatee( hairHue ) ); break; } Blessed = true; }
public MonsterContractDealer() { Name = "Rio"; Title = "The Contract Dealer"; Body = 0x190; CantWalk = true; Hue = Utility.RandomSkinHue(); AddItem( ItemSet( new Cloak() ) ); AddItem( ItemSet( new Robe() ) ); AddItem( ItemSet1( new ShepherdsCrook() ) ); Item Boots = new Boots(); Boots.Hue = 2112; Boots.Name = "Non-Leather Boots"; Boots.Movable = false; AddItem( Boots ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1267; FancyShirt.Name = "Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 847; LongPants.Name = "Pants"; LongPants.Movable = false; AddItem( LongPants ); int hairHue = 1814; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new PonyTail( hairHue ) ); break; case 1: AddItem( new Goatee( hairHue ) ); break; } Blessed = true; }
public GrandpaTam() { Name = "Grandpa Tam"; Title = "the old coot"; Body = 0x190; Hue = Utility.RandomSkinHue(); Blessed = true; Boots b = new Boots(); b.Hue = 1; AddItem( b ); LongPants lp = new LongPants(); lp.Hue = 292; AddItem( lp ); FancyShirt fs = new FancyShirt(); fs.Hue = 1153; AddItem( fs ); AddItem( new LongHair(1150)); }
public EvilElf() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Evil Elf"; Body = 400; Hue = 1002; SetStr( 796, 825 ); SetDex( 86, 105 ); SetInt( 436, 475 ); SetHits( 478, 495 ); SetDamage( 20, 30 ); Item longpants; longpants = new LongPants(); longpants.Hue = 1368; AddItem( longpants); longpants.LootType = LootType.Newbied; Item tunic; tunic = new Tunic(); tunic.Hue = 1368; AddItem( tunic ); tunic.LootType = LootType.Newbied; Item JesterHat; JesterHat = new JesterHat(); JesterHat.Hue = 1368; AddItem(JesterHat); JesterHat.LootType = LootType.Newbied; Item boots; boots = new Boots(); boots.Hue = 1109; AddItem( boots ); boots.LootType = LootType.Newbied; FacialHairItemID = 0x204B; FacialHairHue = 996; HairItemID = 0x203C; HairHue = 996; Item leatherninjabelt; leatherninjabelt = new LeatherNinjaBelt(); leatherninjabelt.Hue = 1109; AddItem( leatherninjabelt ); leatherninjabelt.LootType = LootType.Newbied; DoubleAxe weapon = new DoubleAxe(); weapon.Movable = false; AddItem(weapon); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 55, 60 ); SetResistance( ResistanceType.Fire, 61, 71 ); SetResistance( ResistanceType.Cold, 30, 40 ); SetResistance( ResistanceType.Poison, 25, 35 ); SetResistance( ResistanceType.Energy, 35, 45 ); SetSkill( SkillName.MagicResist, 99.2, 100 ); SetSkill( SkillName.Tactics, 97.6, 100 ); SetSkill( SkillName.Wrestling, 90.1, 92.5 ); SetSkill( SkillName.Anatomy, 75.1, 78 ); PackGold( 250, 350 ); PackItem(new RedPaintBarrel()); }
public AEvilElf() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "An Evil Elf"; Body = 400; BaseSoundID = 357; SetStr( 80, 110 ); SetDex( 80, 90 ); SetInt( 80, 90 ); SetHits( 200 ); SetDamage( 5, 20 ); SetDamageType( ResistanceType.Physical, 50 ); SetDamageType( ResistanceType.Fire, 25 ); SetDamageType( ResistanceType.Energy, 25 ); SetResistance( ResistanceType.Physical, 40, 40 ); SetResistance( ResistanceType.Fire, 40 ); SetResistance( ResistanceType.Cold, 40, 40 ); SetResistance( ResistanceType.Poison, 34 ); SetResistance( ResistanceType.Energy, 40, 40 ); SetSkill( SkillName.Anatomy, 90 ); SetSkill( SkillName.EvalInt, 50.1, 70.0 ); SetSkill( SkillName.Magery, 50.5, 70.0 ); SetSkill( SkillName.Meditation, 60 ); SetSkill( SkillName.MagicResist, 40.5, 50.0 ); SetSkill( SkillName.Tactics, 60.1, 60.0 ); SetSkill( SkillName.Wrestling, 60.1, 60.0 ); Fame = 24000; Karma = -24000; Kills = 10; Hue = 0; VirtualArmor = 12; Item Boots = new Boots(); Boots.Hue = 1369; Boots.Name = "Elf Boots"; Boots.Movable = false; AddItem( Boots ); Item Doublet = new Doublet(); Doublet.Hue = 1369; Doublet.Name = "Elf's Doublet"; Doublet.Movable = false; AddItem( Doublet ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1369; FancyShirt.Name = "Elf's Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 1369; LongPants.Name = "Elf's Pants"; LongPants.Movable = false; AddItem( LongPants ); PackItem( new YellowSnow() ); }
public static void EquipVhalurian(Armament a, Mobile m) { if (a == Armament.LightCavalry) a = (Armament)1; else if (a == Armament.HeavyCavalry) a = (Armament)3; Surcoat coat = new Surcoat(); coat.Name = "A Surcoat of the Rivergate Militia"; coat.Hue = 2932; coat.ItemID = 15479; m.EquipItem(coat); switch (a) { case Armament.Light: { LeatherBoots boots = new LeatherBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2101; m.EquipItem(boots); Beret beret = new Beret(); beret.Hue = 2932; m.EquipItem(beret); StuddedChest sc = new StuddedChest(); sc.Resource = CraftResource.BeastLeather; sc.Hue = 2101; m.EquipItem(sc); StuddedLegs sl = new StuddedLegs(); sl.Resource = CraftResource.BeastLeather; sl.Hue = 2101; m.EquipItem(sl); StuddedArms sa = new StuddedArms(); sa.Resource = CraftResource.BeastLeather; sa.Hue = 2101; m.EquipItem(sa); StuddedGloves sg = new StuddedGloves(); sg.Resource = CraftResource.BeastLeather; sg.Hue = 2101; m.EquipItem(sg); StuddedGorget so = new StuddedGorget(); so.Resource = CraftResource.BeastLeather; so.Hue = 2101; m.EquipItem(so); VhalurianMace vm = new VhalurianMace(); vm.Resource = CraftResource.Iron; vm.Hue = 0; m.EquipItem(vm); WoodenShield ws = new WoodenShield(); ws.Resource = CraftResource.Oak; ws.Hue = 0; m.EquipItem(ws); break; } case Armament.Medium: { ChainChest cc = new ChainChest(); cc.Resource = CraftResource.Bronze; cc.Hue = 2101; m.EquipItem(cc); ChainLegs cl = new ChainLegs(); cl.Resource = CraftResource.Bronze; cl.Hue = 2101; m.EquipItem(cl); ChainCoif co = new ChainCoif(); co.Resource = CraftResource.Bronze; co.Hue = 2101; m.EquipItem(co); RingmailArms ra = new RingmailArms(); ra.Resource = CraftResource.Bronze; ra.Hue = 2101; m.EquipItem(ra); RingmailGloves rg = new RingmailGloves(); rg.Resource = CraftResource.Bronze; rg.Hue = 2101; m.EquipItem(rg); VhalurianMetalKiteShield vmks = new VhalurianMetalKiteShield(); vmks.Resource = CraftResource.Bronze; vmks.Hue = 2101; m.EquipItem(vmks); LeatherBoots boots = new LeatherBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2101; m.EquipItem(boots); if (m.Female) { VhalurianGladius sword = new VhalurianGladius(); sword.Resource = CraftResource.Bronze; m.EquipItem(sword); } else { VhalurianBroadsword sword = new VhalurianBroadsword(); sword.Resource = CraftResource.Bronze; m.EquipItem(sword); } break; } case Armament.Heavy: { VhalurianOrnatePlateChest vopc = new VhalurianOrnatePlateChest(); vopc.Resource = CraftResource.Bronze; vopc.Hue = 2101; m.EquipItem(vopc); VhalurianOrnatePlateLegs vopl = new VhalurianOrnatePlateLegs(); vopl.Resource = CraftResource.Bronze; vopl.Hue = 2101; m.EquipItem(vopl); VhalurianOrnatePlateGorget vopo = new VhalurianOrnatePlateGorget(); vopo.Resource = CraftResource.Bronze; vopo.Hue = 2101; m.EquipItem(vopo); PlateSabatons ps = new PlateSabatons(); ps.Resource = CraftResource.Bronze; ps.Hue = 2105; m.EquipItem(ps); VhalurianOrnatePlateArms vopa = new VhalurianOrnatePlateArms(); vopa.Resource = CraftResource.Bronze; vopa.Hue = 2101; m.EquipItem(vopa); VhalurianOrnatePlateGloves vopg = new VhalurianOrnatePlateGloves(); vopg.Resource = CraftResource.Bronze; vopg.Hue = 2101; m.EquipItem(vopg); VhalurianOrnateKiteShield voks = new VhalurianOrnateKiteShield(); voks.Resource = CraftResource.Bronze; voks.Hue = 2102; m.EquipItem(voks); m.EquipItem(new Cloak(1133)); if (m.Female) { VhalurianWarHammer hammer = new VhalurianWarHammer(); hammer.Resource = CraftResource.Bronze; m.EquipItem(hammer); VhalurianOrnateHelm voh = new VhalurianOrnateHelm(); voh.Resource = CraftResource.Bronze; voh.Hue = 2102; m.EquipItem(voh); } else { VhalurianBastardSword sword = new VhalurianBastardSword(); sword.Resource = CraftResource.Bronze; m.EquipItem(sword); VhalurianOrnatePlateHelm voph = new VhalurianOrnatePlateHelm(); voph.Resource = CraftResource.Bronze; voph.Hue = 2102; m.EquipItem(voph); } break; } case Armament.Ranged: { LeatherBoots boots = new LeatherBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2101; m.EquipItem(boots); LeatherCap cap = new LeatherCap(); cap.Resource = CraftResource.RegularLeather; cap.Hue = 2101; m.EquipItem(cap); LeatherChest lc = new LeatherChest(); lc.Resource = CraftResource.RegularLeather; lc.Hue = 2101; m.EquipItem(lc); Quiver qv = new Quiver(); qv.Layer = Layer.Earrings; m.EquipItem(qv); LongPants lp = new LongPants(); lp.Resource = CraftResource.Cotton; lp.Hue = 2101; m.EquipItem(lp); LeatherArms la = new LeatherArms(); la.Resource = CraftResource.RegularLeather; la.Hue = 2101; m.EquipItem(la); LeatherGloves lg = new LeatherGloves(); lg.Resource = CraftResource.RegularLeather; lg.Hue = 2101; m.EquipItem(lg); VhalurianLongbow bow = new VhalurianLongbow(); bow.Resource = CraftResource.Yew; m.EquipItem(bow); if (m is BaseCreature) { BaseCreature bc = m as BaseCreature; bc.AI = AIType.AI_Archer; bc.PackItem(new Arrow(Utility.RandomMinMax(10, 20))); } break; } } }
public static void EquipSociety(Armament a, Mobile m) { if (a == Armament.LightCavalry) a = (Armament)1; else if (a == Armament.HeavyCavalry) a = (Armament)3; switch (a) { case Armament.Light: { LeatherChest chest = new LeatherChest(); chest.Resource = CraftResource.BeastLeather; chest.Hue = 2830; LeatherArms arms = new LeatherArms(); arms.Resource = CraftResource.BeastLeather; arms.Hue = 2830; LeatherLegs legs = new LeatherLegs(); legs.Resource = CraftResource.BeastLeather; legs.Hue = 2830; LeatherGorget gorget = new LeatherGorget(); gorget.Resource = CraftResource.BeastLeather; gorget.Hue = 2830; LeatherGloves gloves = new LeatherGloves(); gloves.Resource = CraftResource.BeastLeather; gloves.Hue = 2830; ThighBoots boots = new ThighBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2830; m.EquipItem(chest); m.EquipItem(arms); m.EquipItem(legs); m.EquipItem(gorget); m.EquipItem(gloves); m.EquipItem(boots); Shortsword ss = new Shortsword(); ss.Resource = CraftResource.Bronze; m.EquipItem(ss); VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield(); shield.Resource = CraftResource.Bronze; shield.Name = "Society of Rymaliel Kite Shield"; shield.Hue = 2413; shield.ItemID = 15726; m.EquipItem(shield); break; } case Armament.Medium: { ChainChest chest = new ChainChest(); chest.Resource = CraftResource.Bronze; chest.Hue = 2830; ChainArms arms = new ChainArms(); arms.Resource = CraftResource.Bronze; arms.Hue = 2830; ChainLegs legs = new ChainLegs(); legs.Resource = CraftResource.Bronze; legs.Hue = 2830; ChainGorget gorget = new ChainGorget(); gorget.Resource = CraftResource.Bronze; gorget.Hue = 2830; ChainGloves gloves = new ChainGloves(); gloves.Resource = CraftResource.Bronze; gloves.Hue = 2830; VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield(); shield.Resource = CraftResource.Bronze; shield.Name = "Society of Rymaliel Kite Shield"; shield.Hue = 2413; shield.ItemID = 15726; m.EquipItem(shield); FlangedMace fm = new FlangedMace(); fm.Resource = CraftResource.Bronze; m.EquipItem(fm); ThighBoots boots = new ThighBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2989; m.EquipItem(chest); m.EquipItem(arms); m.EquipItem(legs); m.EquipItem(gorget); m.EquipItem(gloves); m.EquipItem(shield); m.EquipItem(fm); m.EquipItem(boots); break; } case Armament.Heavy: { PlateChest chest = new PlateChest(); chest.Resource = CraftResource.Bronze; chest.Hue = 2830; PlateArms arms = new PlateArms(); arms.Resource = CraftResource.Bronze; arms.Hue = 2830; PlateLegs legs = new PlateLegs(); legs.Resource = CraftResource.Bronze; legs.Hue = 2830; PlateGorget gorget = new PlateGorget(); gorget.Resource = CraftResource.Bronze; gorget.Hue = 2830; PlateGloves gloves = new PlateGloves(); gloves.Resource = CraftResource.Bronze; gloves.Hue = 2830; CloseHelm helm = new CloseHelm(); helm.Resource = CraftResource.Bronze; helm.Hue = 2830; VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield(); shield.Resource = CraftResource.Bronze; shield.Name = "Society of Rymaliel Kite Shield"; shield.Hue = 2413; shield.ItemID = 15726; m.EquipItem(shield); Longsword sword = new Longsword(); sword.Resource = CraftResource.Iron; m.EquipItem(chest); m.EquipItem(arms); m.EquipItem(legs); m.EquipItem(gorget); m.EquipItem(gloves); m.EquipItem(shield); m.EquipItem(helm); m.EquipItem(sword); m.EquipItem(new ElegantCloak(2751)); break; } case Armament.Ranged: { LeatherChest chest = new LeatherChest(); chest.Resource = CraftResource.BeastLeather; chest.Hue = 2830; LongPants legs = new LongPants(); legs.Resource = CraftResource.Wool; legs.Hue = 2830; LeatherGorget gorget = new LeatherGorget(); gorget.Resource = CraftResource.BeastLeather; gorget.Hue = 2830; LeatherGloves gloves = new LeatherGloves(); gloves.Resource = CraftResource.BeastLeather; gloves.Hue = 2830; ThighBoots boots = new ThighBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2830; WingedHelm helm = new WingedHelm(); helm.Resource = CraftResource.Copper; CompositeBow bow = new CompositeBow(); bow.Resource = CraftResource.Ash; m.EquipItem(chest); m.EquipItem(legs); m.EquipItem(gorget); m.EquipItem(gloves); m.EquipItem(boots); m.EquipItem(helm); m.EquipItem(bow); if (m is BaseCreature) { BaseCreature bc = m as BaseCreature; bc.AI = AIType.AI_Archer; bc.PackItem(new Arrow(Utility.RandomMinMax(10, 20))); } break; } } Surcoat coat = new Surcoat(); coat.ItemID = 15483; coat.Name = "A Surcoat of the Society of Rymaliel"; m.EquipItem(coat); }
public ManOfSin() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.2, 0.4 ) { Title = "Power Of Darkness"; Name = "Lucifer"; Body = 0x190; BaseSoundID = 0x165; Hue = 1194; Item BoneGloves = new BoneGloves(); BoneGloves.Hue = 1194; BoneGloves.LootType = LootType.Blessed; BoneGloves.Movable = false; AddItem( BoneGloves ); Item BoneChest = new BoneChest(); BoneChest.Hue = 1194; BoneChest.LootType = LootType.Blessed; BoneChest.Movable = false; AddItem( BoneChest ); Item BoneArms = new BoneArms(); BoneArms.Hue = 1194; BoneArms.LootType = LootType.Blessed; BoneArms.Movable = false; AddItem( BoneArms ); Item BoneHelm = new BoneHelm(); BoneHelm.Hue = 1194; BoneHelm.LootType = LootType.Blessed; BoneHelm.Movable = false; AddItem( BoneHelm ); Item LongPants = new LongPants(); LongPants.Hue = 1194; LongPants.LootType = LootType.Blessed; LongPants.Movable = false; AddItem( LongPants ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1194; FancyShirt.LootType = LootType.Blessed; FancyShirt.Movable = false; AddItem( FancyShirt ); Item Boots = new Boots(); Boots.Hue = 1; Boots.LootType = LootType.Blessed; Boots.Movable = false; AddItem( Boots ); Item DeathAxe = new DeathAxe(); DeathAxe.Hue = 1194; DeathAxe.LootType = LootType.Blessed; DeathAxe.Movable = false; AddItem( DeathAxe ); SetStr( 300, 450 ); SetDex( 150, 300 ); SetInt( 420, 420 ); SetHits( 10000, 15000 ); SetDamage( 20, 28 ); SetDamageType( ResistanceType.Physical, 100 ); SetDamageType( ResistanceType.Cold, 100 ); SetDamageType( ResistanceType.Fire, 100 ); SetDamageType( ResistanceType.Energy, 100 ); SetDamageType( ResistanceType.Poison, 100 ); SetResistance( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Cold, 100 ); SetResistance( ResistanceType.Fire, 100 ); SetResistance( ResistanceType.Energy, 100 ); SetResistance( ResistanceType.Poison, 100 ); SetSkill( SkillName.Anatomy, 99.0, 100.0 ); SetSkill( SkillName.EvalInt, 99.0, 100.0 ); SetSkill( SkillName.Magery, 99.0, 100.0 ); SetSkill( SkillName.MagicResist, 99.0, 100.0 ); SetSkill( SkillName.Swords, 99.0, 100.0 ); SetSkill( SkillName.Tactics, 99.0, 100.0 ); SetSkill( SkillName.Lumberjacking, 99.0, 100.0 ); Fame = -15000; Karma = -15000; VirtualArmor = 35; PackItem( new Gold( 50, 60 ) ); new SkeletalMount().Rider = this; }
public UndeadArcherPirate() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.175, 0.2) { Title = "the unrested pirate"; Body = Utility.RandomList(400, 50, 3); Team = 1; Kills = 10; Hue = 0; SpeechHue=1153; this.Body = 0x190; this.Name = NameList.RandomName( "male" ); SetStr( 60, 85 ); SetDex( 50, 70 ); SetInt( 10, 20 ); SetDamage( 5, 7 ); SetSkill( SkillName.Archery, 35.0, 50.0 ); SetSkill( SkillName.MagicResist, 23.0, 27.5 ); SetSkill( SkillName.Tactics, 40.0, 45.5 ); SetSkill( SkillName.Healing, 30.2, 35.9 ); SetSkill( SkillName.Anatomy, 45.2, 50.9 ); SetSkill( SkillName.Swords, 50.0, 60.0); SetSkill(SkillName.Stealth, 120.0, 180.0); SetSkill(SkillName.Hiding, 120.0, 180.0); Fame = 2500; Karma = -2500; VirtualArmor = 0; Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) ); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); Item beard = new Item( Utility.RandomList( 0x2040, 0x203E , 0x204C, 0x204B, 0x203F ) ); beard.Hue = hair.Hue; beard.Layer = Layer.FacialHair; beard.Movable = false; AddItem( beard ); PackGold( 70, 95 ); PackItem( new Bandage( 10 ) ); Item crossbow = new Crossbow(); EquipItem( crossbow ); switch ( Utility.Random( 3 ) ) { case 0: { Item fancyshirt = new FancyShirt(); fancyshirt.Hue = Utility.RandomNeutralHue(); EquipItem( fancyshirt ); break; } case 1: { Item doublet = new Doublet(); doublet.Hue = Utility.RandomNeutralHue(); EquipItem( doublet ); break; } case 2: { break; } } switch ( Utility.Random( 2 ) ) { case 0: { Item longpants = new LongPants(); longpants.Hue = Utility.RandomNeutralHue(); EquipItem( longpants ); break; } case 1: { Item shortpants = new ShortPants(); shortpants.Hue = Utility.RandomNeutralHue(); EquipItem( shortpants ); break; } } switch ( Utility.Random( 4 ) ) { case 0: { Item boots = new Boots(); boots.Hue = 0; EquipItem( boots ); break; } case 1: { Item shoes = new Shoes(); shoes.Hue = 1713; EquipItem( shoes ); break; } case 3: { Item thighboots = new ThighBoots(); thighboots.Hue = 0; EquipItem( thighboots ); break; } case 4: { break; } } switch ( Utility.Random( 3 ) ) { case 0: { Item Bandana = new Bandana(); Bandana.Hue = Utility.RandomBirdHue(); EquipItem( Bandana ); break; } case 1: { Item skullcap = new SkullCap(); skullcap.Hue = Utility.RandomBirdHue(); EquipItem( skullcap ); break; } case 3: { break; } } }
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); } }
public UndeadSwordPirateSTR() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.175, 0.2) { Title = "the unrested pirate"; Body = 400; Team = 1; Kills = 10; Hue = Utility.RandomSkinHue(); SpeechHue=1153; this.Body = 0x190; this.Name = NameList.RandomName( "male" ); SetStr( 90, 100 ); SetDex( 85, 100 ); SetInt( 10, 20 ); SetSkill( SkillName.Archery, 95.0, 100.0 ); SetSkill( SkillName.MagicResist, 75.0, 100.0 ); SetSkill( SkillName.Tactics, 90.0, 100.0 ); SetSkill( SkillName.Healing, 75.0, 100.0 ); SetSkill( SkillName.Anatomy, 90.0, 100.0 ); SetSkill(SkillName.Swords, 95.0, 100.0); SetSkill(SkillName.Stealth, 120.0, 180.0); SetSkill(SkillName.Hiding, 120.0, 180.0); Fame = 4500; Karma = -4500; VirtualArmor = 0; Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) ); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; Item beard = new Item( Utility.RandomList( 0x2040, 0x203E , 0x204C, 0x204B, 0x203F ) ); beard.Hue = hair.Hue; beard.Layer = Layer.FacialHair; beard.Movable = false; AddItem( beard ); AddItem( hair ); PackGold( 70, 95 ); PackItem( new Bandage( 20 ) ); switch ( Utility.Random( 2 ) ) { case 0: { Item scimitar = new Scimitar(); EquipItem( scimitar ); break; } case 1: { Item cutlass = new Cutlass(); EquipItem( cutlass ); break; } } switch ( Utility.Random( 3 ) ) { case 0: { Item fancyshirt = new FancyShirt(); fancyshirt.Hue = Utility.RandomNeutralHue(); EquipItem( fancyshirt ); break; } case 1: { Item doublet = new Doublet(); doublet.Hue = Utility.RandomNeutralHue(); EquipItem( doublet ); break; } case 2: { break; } } switch ( Utility.Random( 2 ) ) { case 0: { Item longpants = new LongPants(); longpants.Hue = Utility.RandomNeutralHue(); EquipItem( longpants ); break; } case 1: { Item shortpants = new ShortPants(); shortpants.Hue = Utility.RandomNeutralHue(); EquipItem( shortpants ); break; } } switch ( Utility.Random( 4 ) ) { case 0: { Item boots = new Boots(); boots.Hue = 0; EquipItem( boots ); break; } case 1: { Item shoes = new Shoes(); shoes.Hue = 1713; EquipItem( shoes ); break; } case 3: { Item thighboots = new ThighBoots(); thighboots.Hue = 0; EquipItem( thighboots ); break; } case 4: { break; } } switch ( Utility.Random( 3 ) ) { case 0: { Item Bandana = new Bandana(); Bandana.Hue = Utility.RandomBirdHue(); EquipItem( Bandana ); break; } case 1: { Item skullcap = new SkullCap(); skullcap.Hue = Utility.RandomBirdHue(); EquipItem( skullcap ); break; } case 3: { break; } } }