public KillIndex (Mobile from, KillBook book, ArrayList list ): base( 100, 100 ) { m_Book = book; m_KillList = list; PlayerMobile m = from as PlayerMobile; from.CloseGump( typeof( KillIndex )); AddPage(0); AddImage(3, 18, 2200); //Book AddImage(63, 89, 9804); //Skull AddLabel(70, 132, 136, "Kill Book"); AddLabel(204, 32, 0, "Kill List"); AddButton(271, 34, 5601, 5605, 1, GumpButtonType.Reply, 0); //Seperators for (int s = 0; s < 5; s++) { AddImage ( 216 + (s * 16), 53, 58); AddImage(186, 53, 57); AddImage(296, 53, 59); } if ( from == m_Book.BookOwner && m_Book.BookOwner != null ) Owner( m ); else Spectator( m_Book.BookOwner, m_Book.TotKills, m_Book.TotDeaths ); }
public KillSearch( string searchString, KillBook book, ArrayList list ) : base( 100, 100 ) { Closable=true; Disposable=true; Dragable=true; Resizable=false; m_SearchString = searchString; m_KillList = list; m_Book = book; AddPage( 0 ); AddImage(3, 18, 2200); //Book AddImage(63, 89, 9804); //Skull AddLabel(70, 132, 136, "Kill Book"); //Search AddLabel(35, 170, 0, "Search Name"); AddTextEntry(33, 193, 125, 20, 0, 0, "Name"); AddButton(122, 173, 5601, 5605, 2, GumpButtonType.Reply, 0); AddLabel(204, 32, 0, "Back"); AddButton(271, 34, 5601, 5605, 1, GumpButtonType.Reply, 0); //Seperators for (int s = 0; s < 5; s++) { AddImage ( 216 + (s * 16), 53, 58); AddImage(186, 53, 57); AddImage(296, 53, 59); } AddPage( 1 ); for (int i = 0; i < m_KillList.Count; i++) { foreach (DeathEntry o in m_KillList) if( o.Name == m_SearchString) { AddHtml( 204, 75, 100, 17, m_SearchString, false, false); AddHtml( 294, 75, 60, 17, o.Deaths.ToString(), false, false ); } /*else { AddLabel( 204, 75, 0x25, "No entries found"); }*/ } }
public static void CreateReward(EventRewardInfo info, Mobile m) { if (m == null) return; Item item = null; switch (info.IncrID) { case 0: item = new MagicSewingKit(1); break; case 1: string str = "PottedCactus"; int randint = Utility.Random(6); if (randint > 0) str = str + randint.ToString(); Type type = ScriptCompiler.FindTypeByName(str); item = (Item)Activator.CreateInstance(type); item.Weight = 100; break; case 2: if (Utility.RandomBool()) item = new PottedTree(); else item = new PottedTree1(); break; case 3: switch (Utility.Random(3)) { case 0: item = new PottedPlant(); break; case 1: item = new PottedPlant1(); break; case 2: item = new PottedPlant2(); break; } break; case 4: item = new SpecialHairDye(); break; case 5: item = new SpecialBeardDye(); break; case 6: item = new TempHorseEthereal(50); item.Hue = Utility.Random(795, 7); break; case 7: item = new FireworksWand(99); break; case 8: item = new LayeredSashDeed(); break; case 9: item = new SkillBall(1); break; case 10: item = new SkillBall(5); break; case 11: item = new SkillBall(10); break; case 12: item = new SkillBall(25); break; case 13: item = new SkillBall(50); break; case 14: item = new PersonalisationDeed(); break; case 15: item = new CrystalPedestalAddonDeed(); break; case 16: item = new FountainStoneAddonDeed(); break; case 17: item = new FountainSandstoneAddonDeed(); break; case 18: item = new SquirrelStatueEastDeed(); break; case 19: item = new SquirrelStatueSouthDeed(); break; case 20: item = new ArcanistStatueEastDeed(); break; case 21: item = new ArcanistStatueSouthDeed(); break; case 22: item = new WarriorStatueEastDeed(); break; case 23: item = new WarriorStatueSouthDeed(); break; case 24: item = new TempRobe(31); ((BaseClothing)item).Attributes.RegenHits = 3; break; case 25: item = new TempCloak(31); ((BaseClothing)item).Attributes.RegenHits = 3; break; case 26: item = new CampfireDeed(); break; case 27: item = new FireDeed(); break; case 28: item = new SoulstoneFragment(); ((SoulstoneFragment)item).Account = m.Account.Username; break; case 29: item = new NameChangeDeed(); break; case 30: item = new SexChangeDeed(); break; case 31: item = new KillResetDeedAOS(); break; case 32: item = new PetBondingDeed(); break; case 33: item = new WarHorseBondingDeed(); break; case 34: item = new AntiBlessDeed(); break; case 35: item = new WhisperingRose(m.Name); break; case 36: item = new WeddingDeed(); break; case 37: item = new KillBook(); ((KillBook)item).BookOwner = m; break; } if (item != null) { m.AddToBackpack(item); m.SendMessage("The reward item has been placed into your backpack, have fun!"); } else { m.SendMessage("That item is not available. Please report the bug at the site that will open in your browser."); m.LaunchBrowser( "http://bug.casiopia.net/" ); m.AddToBackpack( new CopperBar(info.Price) ); } }
public KillGump( Mobile from, KillBook book, ArrayList list ) : base( 100, 100 ) { m_KillList = list; m_Book = book; AddPage( 0 ); AddImage(3, 18, 2200); //Book AddLabel(88, 27, 196, "My Kill Book"); AddButton(73, 32, 2103, 2103, 1, GumpButtonType.Reply, 0); //Kill Menu //Seperators for (int s = 0; s < 10; s++) { AddImage( 27, 64, 57); AddImage(137, 64, 59); if ( s < 5 ) AddImage( 57 + ((s % 5) * 16), 64, 58); else AddImage( 218 + ((s % 5) * 16) , 64, 58); AddImage(188, 64, 57); AddImage(298, 64, 59); } //Headings AddLabel(041, 47, 0, "Name" ); AddLabel(121, 47, 0, "Kills"); AddLabel(201, 47, 0, "Name" ); AddLabel(281, 47, 0, "Kills"); if ( m_KillList.Count == 0 ) AddLabel( 35, 82, 0x25, "No victims killed" ); for (int i = 0, l = 0; i < m_KillList.Count && l <= 18; i++, l++ ) { if ( (i % 18) == 0 ) { if ( i != 0 ) AddButton( 297, 22, 2206, 2206, 0, GumpButtonType.Page, (i / 18 ) + 1 ); //Next page if ( i != 0 ) l = 0; AddPage( (i / 18) + 1 ); if ( i != 0 ) AddButton( 25, 22, 2205, 2205, 0, GumpButtonType.Page, (i / 18) ); //Previous Page } DeathEntry o = (DeathEntry)m_KillList[i]; if (l <= 8) { AddLabelCropped( 40, 75 + (( l % 9 ) * 15), 100, 17, 0, o.Name ); AddLabelCropped( 140, 75 + (( l % 9 ) * 15), 60, 17, 0, o.Deaths.ToString() ); } else { AddLabelCropped( 204, 75 + (( l % 9 ) * 15), 100, 17, 0, o.Name ); //Right AddLabelCropped( 294, 75 + (( l % 9 ) * 15), 60, 17, 0, o.Deaths.ToString() ); } } }
public GoldenDonationBoxAoS() { Weight = 1.0; Hue = 2213; Item item = null; Name = "Defiance Gold Member Box of Holding"; CharacterCreation.PlaceItemIn(this, 16, 60, (item = new DonationSkillBall( 25, false ))); CharacterCreation.PlaceItemIn(this, 28, 60, (item = new DonationSkillBall( 25, false ))); CharacterCreation.PlaceItemIn(this, 40, 60, (item = new DonationSkillBall( 25, false ))); CharacterCreation.PlaceItemIn(this, 16, 81, (item = new HoodedShroudOfShadows())); item.Hue = 2213; item.Name = "Golden Shroud of Shadows"; item.LootType = LootType.Blessed; BaseContainer cont; CharacterCreation.PlaceItemIn(this, 58, 57, (cont = new Backpack())); cont.Hue = 2213; cont.Name = "a golden backpack"; CharacterCreation.PlaceItemIn(cont, 44, 65, new SulfurousAsh(10000)); CharacterCreation.PlaceItemIn(cont, 77, 65, new Nightshade(10000)); CharacterCreation.PlaceItemIn(cont, 110, 65, new SpidersSilk(10000)); CharacterCreation.PlaceItemIn(cont, 143, 65, new Garlic(10000)); CharacterCreation.PlaceItemIn(cont, 44, 128, new Ginseng(10000)); CharacterCreation.PlaceItemIn(cont, 77, 128, new Bloodmoss(10000)); CharacterCreation.PlaceItemIn(cont, 110, 128, new BlackPearl(10000)); CharacterCreation.PlaceItemIn(cont, 143, 128, new MandrakeRoot(10000)); //CharacterCreation.PlaceItemIn(this, 16, 81, new DonationBandana()); //Replaced the bandana with a deed - Edit by Blady CharacterCreation.PlaceItemIn(this, 74, 64, (item = new DonationDeed())); item.Hue = 2213; CharacterCreation.PlaceItemIn(this, 103, 58, (item = new Sandals())); item.Hue = Utility.RandomList(5, 70, 90, 110); item.LootType = LootType.Blessed; CharacterCreation.PlaceItemIn(this, 122, 53, new SpecialDonateDye()); CharacterCreation.PlaceItemIn(this, 133, 53, (item = new KillBook())); item.Hue = 2213; CharacterCreation.PlaceItemIn(this, 156, 55, (item = new EtherealHorse())); item.Hue = 2213; item.Name = "No Aged Ethereal"; ((EtherealMount)item).IsDonationItem = true; CharacterCreation.PlaceItemIn(this, 34, 83, (item = new HolyDeedofBlessing())); item.Hue = 2213; CharacterCreation.PlaceItemIn(this, 43, 83, (item = new ClothingBlessDeed())); item.Hue = 2213; CharacterCreation.PlaceItemIn(this, 58, 83, (item = new KillResetDeedAOS())); //by Blady item.Hue = 2213; CharacterCreation.PlaceItemIn(this, 73, 83, (item = new SmallBrickHouseDeed())); item.Hue = 2213; CharacterCreation.PlaceItemIn(this, 88, 83, (item = new NameChangeDeed())); item.Hue = 2213; CharacterCreation.PlaceItemIn(this, 103, 83, (item = new AntiBlessDeed())); item.Hue = 2213; //CharacterCreation.PlaceItemIn(this, 118, 83, (item = new BankCheck(100000))); //item.Hue = 2213; CharacterCreation.PlaceItemIn(this, 130, 83, (item = new MembershipTicket())); item.Hue = 2213; ((MembershipTicket)item).MemberShipTime = TimeSpan.MaxValue; }
public static Item GetItem(int productNumber) { Item item = null; switch (productNumber) { case 16133: item = new EtherealHorse(); break; case 16134: item = new EtherealLlama(); break; case 16135: item = new EtherealOstard(); break; case 16136: item = new KillBook(); break; case 16137: item = new Bag(); ((Bag)item).DropItem(new SpidersSilk(50000)); ((Bag)item).DropItem(new Nightshade(50000)); ((Bag)item).DropItem(new Bloodmoss(50000)); ((Bag)item).DropItem(new MandrakeRoot(50000)); ((Bag)item).DropItem(new Ginseng(50000)); ((Bag)item).DropItem(new Garlic(50000)); ((Bag)item).DropItem(new BlackPearl(50000)); ((Bag)item).DropItem(new SulfurousAsh(50000)); break; case 16138: item = new SpecialDonateDye(); break; case 16141: item = new Sandals(); item.Name = "magic threads"; item.Hue = 5; item.LootType = LootType.Blessed; break; case 16142: item = new Sandals(); item.Name = "magic threads"; item.Hue = 110; item.LootType = LootType.Blessed; break; case 16139: item = new Sandals(); item.Name = "magic threads"; item.Hue = 90; item.LootType = LootType.Blessed; break; case 16140: item = new Sandals(); item.Name = "magic threads"; item.Hue = 70; item.LootType = LootType.Blessed; break; case 16143: item = new HoodedShroudOfShadows(); item.Name = "a rare agapite shroud"; item.Hue = 2425; item.LootType = LootType.Blessed; break; case 16144: item = new ValoriteDonationBox(); break; case 16145: item = new SilverDonationBox(); break; case 16146: item = new GoldenDonationBox(); break; case 16147: item = new SurvivalPack(); break; case 16148: item = new EtherealSkeletal(); break; case 16149: item = new WeddingDeed(); break; case 16150: item = new DonationSandals(); break; case 16151: item = new DonationBandana(); break; case 16152: item = new MembershipTicket(); ((MembershipTicket)item).MemberShipTime = TimeSpan.FromDays(30); break; case 16153: item = new MembershipTicket(); ((MembershipTicket)item).MemberShipTime = TimeSpan.FromDays(90); break; case 16154: item = new MembershipTicket(); ((MembershipTicket)item).MemberShipTime = TimeSpan.FromDays(180); break; case 16155: item = new MembershipTicket(); ((MembershipTicket)item).MemberShipTime = TimeSpan.FromDays(360); break; case 16156: item = new SexChangeDeed(); item.LootType = LootType.Blessed; break; case 16157: item = new Item(5360); item.Name = "a Character Transfer Ticket"; item.Hue = 1266; item.LootType = LootType.Blessed; break; case 16158: item = new LayerSashDeed(); item.LootType = LootType.Blessed; break; case 16159: item = new EtherealUnicorn(); break; case 16160: item = new AOSHouseDeed7x12(); break; case 16161: item = new AOSHouseDeed12x7(); break; case 16162: item = new AOSHouseDeed15x12(); break; case 16163: item = new AOSHouseDeed12x15(); break; case 16164: item = new AOSHouseDeed18x18(); break; case 16165: item = new DonationSkillBall( 1 ); break; case 16166: item = new DonationSkillBall( 5 ); break; case 16167: item = new DonationSkillBall( 10 ); break; case 16168: item = new DonationSkillBall( 25 ); break; case 16169: item = new DonationSkillBall( 50 ); break; case 16170: item = new Bag(); ((Bag)item).DropItem(new IronIngot(50000)); break; case 16171: item = new Bag(); ((Bag)item).DropItem(new Board(50000)); break; case 16172: item = new PetBondDeed(); break; case 16184: item = new PotionBundle(); break; case 16185: item = null;//new PotionBundleAoS(); break; case 16186: item = new ApagiteDonationBox(); break; case 16187: item = new VeriteDonationBox(); break; case 16188: item = new SerpentCrest(); break; case 16189: item = new IronMaiden(); break; case 16190: item = new Guillotine(); break; case 16191: item = new BigMushroom1(); break; case 16192: item = new BigMushroom2(); break; case 16193: item = new BigMushroom3(); break; case 16194: item = new BigMushroom4(); break; case 16195: item = new LillyPad1(); break; case 16196: item = new LillyPad2(); break; case 16197: item = new LillyPad3(); break; case 16198: item = new DonationDecorArmor1(); break; case 16199: item = new DonationDecorArmor2(); break; case 16200: item = new DonationDecorArmor3(); break; case 16201: item = new DonationDecorArmor4(); break; case 16242: item = new CastleDeed(); item.LootType = LootType.Blessed; break; case 16243: item = new KeepDeed(); item.LootType = LootType.Blessed; break; case 16244: item = new BlackHairDye(); item.LootType = LootType.Blessed; break; case 16245: item = new SpecialDonateDyeBeard(); item.LootType = LootType.Blessed; break; case 16246: item = new KillDeed(); item.LootType = LootType.Blessed; break; case 16247: item = new SkinToneDeed(); item.LootType = LootType.Blessed; break; case 16248: item = new EtherealMountDeed(); item.LootType = LootType.Blessed; break; case 16249: item = new Item(5360); item.Hue = 1266; item.Name = "a house teleporter ticket"; item.LootType = LootType.Blessed; break; case 16250: item = new Item(5360); item.Hue = 1266; item.Name = "a water house spot ticket"; item.LootType = LootType.Blessed; break; case 16251: item = new ElevenBox(); break; case 16252: item = new ElvenRobe(); break; case 16253: item = new RaffleTicket(); break; case 16267: item = new PoisongreenDonationBox(); break; case 16268: item = new SoulStone(); break; case 16269: item = new SoulStoneFragment(); break; case 16270: item = new BoneTable(); break; case 16271: item = new BoneThrone(); break; case 16272: item = new OneMillionBankCheckDeed(); break; case 16273: item = new DarkblueDonationBox(); break; case 16274: ////////item = new xxx(); break; case 16275: item = new ShadowDonationBox(); break; case 16292 : item = new FishTankAddonDeed(); break; case 16294 : item = new AncientBedAddonDeed(); break; case 16296 : item = new HeroKnightShield(); break; case 16297 : item = new StoneSculpture(); break; case 16298 : item = new AncientFruitBowl(); break; case 16299 : item = new AncientRobe(); item.LootType = LootType.Blessed; break; case 16300 : item = new AncientShoes(); item.LootType = LootType.Blessed; break; case 16301 : item = new AncientCoat(); item.LootType = LootType.Blessed; break; case 16302 : item = new GardenDonationBox(); break; case 16303 : item = new DungeonDonationBox(); break; case 16304 : item = new UltimateDecorationDonationBox(); break; case 16305 : item = new ChristmasDonationBox(); break; case 16306 : item = new MetalHueBundleTicket(); break; case 16307 : item = new SpecialHueBundleTicket(); break; case 16308 : item = new SevenGMBag(); break; case 16311 : item = new PokerLowRollerTicket(); break; case 16312 : item = new PokerHighRollerTicket(); break; case 16313 : item = new MoongateLibraryDeed(); break; case 16314 : item = new DisplayCaseAddonDeed(); break; case 16315: item = new TamerDonationBox(); break; case 16316: item = new SeedBox(); break; case 16317: item = new DarkRedDonationBox(); break; case 16318: item = new DarkGreenDonationBox(); break; case 16319: item = new FireDonationBox(); break; case 16320: item = new PinkDonationBox(); break; case 16321: item = new DarkBrownDonationBox(); break; case 16322: item = new OliveDonationBox(); break; case 16323: item = new HiryuTicket(); break; case 16324: ////////item = new xxx(); break; case 16325: item = new ExtremeHueBundleTicket(); break; case 16326: item = new TribalMask(); item.Name = "Mask of the Fire God"; item.Hue = 1359; item.LootType = LootType.Blessed; break; case 16327: item = new TribalMask(); item.Name = "Mask of Velvet Purity"; item.Hue = 1374; item.LootType = LootType.Blessed; break; case 16328: item = new TribalMask(); item.Name = "Mask of the Farseer"; item.Hue = 1267; item.LootType = LootType.Blessed; break; case 16329: item = new TribalMask(); item.Name = "Mask of the Venom King"; item.Hue = 1196; item.LootType = LootType.Blessed; break; case 16330: item = new ShroudOfIllusions(); item.Name = "Shroud of the Morphling Lord"; item.Hue = 1154; item.LootType = LootType.Blessed; break; case 16331: item = new EtherealWarSteed(); break; case 16332: item = new EtherealDragonSteed(); break; // NEW DONATIONS ITEM 20-11-08 --------------------------------------------------------- case 16333: item = new TribalMask(); item.Name = "Mask of the Scoundrel"; item.Hue = 920; item.LootType = LootType.Blessed; break; case 16334: item = new TribalMask(); item.Name = "Mask of the Harrower"; item.Hue = 1194; item.LootType = LootType.Blessed; break; case 16335: item = new TribalMask(); item.Name = "Mask of the Tree Lord"; item.Hue = 1445; item.LootType = LootType.Blessed; break; case 16336: item = new TribalMask(); item.Name = "Mask of the Rich"; item.Hue = 2213; item.LootType = LootType.Blessed; break; case 16337: item = new TribalMask(); item.Name = "Mask of the Unknown"; item.Hue = 2055; item.LootType = LootType.Blessed; break; case 16338: item = new Shoes(); item.Name = "I support the shard"; item.Hue = 1166; item.LootType = LootType.Blessed; break; case 16339: item = new Shoes(); item.Name = "I support the shard"; item.Hue = 1260; item.LootType = LootType.Blessed; break; case 16340: item = new Shoes(); item.Name = "I support the shard"; item.Hue = 1153; item.LootType = LootType.Blessed; break; case 16341: item = new Shoes(); item.Name = "I support the shard"; item.Hue = 1177; item.LootType = LootType.Blessed; break; case 16342: item = new Shoes(); item.Name = "I support the shard"; item.Hue = 1266; item.LootType = LootType.Blessed; break; case 16343: item = new RoyalCloak(); item.LootType = LootType.Blessed; break; case 16344: item = new OrangeDonationBox(); break; //// New items Feb - 2009 //// //// New items Feb - 2009 //// //// New items Feb - 2009 //// case 16345: item = new GoldRing(); item.Name = "a 603-carat diamond"; item.Hue = 2067; item.LootType = LootType.Blessed; break; case 16346: item = new FireGlasses(); item.LootType = LootType.Blessed; break; case 16347: item = new ShroudOfmysterious(); item.LootType = LootType.Blessed; break; case 16348: item = new HoodedShroudOfShadows(); item.Hue = 2055; item.LootType = LootType.Blessed; break; case 16349: item = new HoodedShroudOfShadows(); item.Hue = 2054; item.LootType = LootType.Blessed; break; case 16350: item = new HoodedShroudOfShadows(); item.Hue = 2053; item.LootType = LootType.Blessed; break; case 16354: item = new TribalMask(); item.Name = "a tribal mask to be renamed."; item.Hue = 37; item.LootType = LootType.Blessed; break; case 16355: item = new TribalMask(); item.Name = "a tribal mask to be renamed."; item.Hue = 9; item.LootType = LootType.Blessed; break; case 16356: item = new TribalMask(); item.Name = "a tribal mask to be renamed."; item.Hue = 39; item.LootType = LootType.Blessed; break; case 16357: item = new TribalMask(); item.Name = "a tribal mask to be renamed."; item.Hue = 92; item.LootType = LootType.Blessed; break; case 16358: item = new BronzeStatueMaker(); item.LootType = LootType.Blessed; break; case 16359: item = new JadeStatueMaker(); item.LootType = LootType.Blessed; break; case 16360: item = new MarbleStatueMaker(); item.LootType = LootType.Blessed; break; case 16361: item = new GoldStatueMaker(); item.LootType = LootType.Blessed; break; case 16362: item = new BloodstoneStatueMaker(); item.LootType = LootType.Blessed; break; case 16363: item = new AlabasterStatueMaker(); item.LootType = LootType.Blessed; break; case 16364: item = new EtherealKirin(); item.LootType = LootType.Blessed; break; case 16365: item = new GMSafeTradeTicket(); item.LootType = LootType.Blessed; break; case 16366: item = new TheDarkSoldiers(); break; case 16367: item = new TheDarkLords(); break; case 16368: item = new TheDarkKnightsBundle(); break; case 16373: item = new Bag(); ((Bag)item).DropItem(new Bottle(10000)); break; case 16374: item = new Bag(); ((Bag)item).DropItem(new BarbedLeather(5000)); break; case 16375: item = new Bag(); ((Bag)item).DropItem(new SpinedLeather(5000)); break; case 16376: item = new Bag(); ((Bag)item).DropItem(new HornedLeather(5000)); break; case 16377: item = new CheapEvoPointsDeed(); item.LootType = LootType.Blessed; break; case 16378: item = new TitleChangeDeed(); item.LootType = LootType.Blessed; break; case 16379: item = new OceanBlueDonationBundle(); break; case 16390: item = new SkyBlueDonationBundle(); break; case 16381: item = new LayeredSpellbookTicket(); break; case 16391: item = new TeleporterDonationDeed(); break; case 16392: item = new EtherealWarSteed(); item.Name = "a donation ethereal mount"; item.Hue = 1150; item.LootType = LootType.Blessed; break; case 16393: item = new EtherealWarSteed(); item.Name = "a donation ethereal mount"; item.Hue = 1167; item.LootType = LootType.Blessed; break; case 16394: item = new EtherealWarSteed(); item.Name = "a donation ethereal mount"; item.Hue = 38; item.LootType = LootType.Blessed; break; case 16395: item = new EtherealWarSteed(); item.Name = "a donation ethereal mount"; item.Hue = 1160; item.LootType = LootType.Blessed; break; case 16396: item = new EtherealWarSteed(); item.Name = "a donation ethereal mount"; item.Hue = 1161; item.LootType = LootType.Blessed; break; case 16397: item = new EtherealWarSteed(); item.Name = "a donation ethereal mount"; item.Hue = 1140; item.LootType = LootType.Blessed; break; case 16398: item = new TribalMask(); item.Name = "a tribal mask to be renamed."; item.Hue = 1167; item.LootType = LootType.Blessed; break; case 16399: item = new TribalMask(); item.Name = "a tribal mask to be renamed."; item.Hue = 1160; item.LootType = LootType.Blessed; break; case 16400: item = new TribalMask(); item.Name = "a tribal mask to be renamed."; item.Hue = 1161; item.LootType = LootType.Blessed; break; case 16401: item = new TribalMask(); item.Name = "a tribal mask to be renamed."; item.Hue = 1172; item.LootType = LootType.Blessed; break; case 16402: item = new TribalMask(); item.Name = "a tribal mask to be renamed."; item.Hue = 1165; item.LootType = LootType.Blessed; break; case 16403: item = new TribalMask(); item.Name = "a tribal mask to be renamed."; item.Hue = 1140; item.LootType = LootType.Blessed; break; case 16404: item = new DonationDeed(); item.Name = "a supporting deed."; item.Hue = 1161; item.LootType = LootType.Blessed; break; case 16405: item = new CTFDonationTicket(); item.Name = "a ctf ticket."; item.Hue = 1110; item.LootType = LootType.Blessed; break; case 16406: item = new UHSSkinDeed(); item.Name = "a uhs skin deed."; item.Hue = 1110; item.LootType = LootType.Blessed; break; case 16407: item = new BlackBeardHairDye(); item.Name = "a black beard hair dye."; item.Hue = 1175; item.LootType = LootType.Blessed; break; default: item = null; break; } return item; }