public SexChangeConfirmGump( Mobile from, SexChangeDeed deed ) : base( 200, 200 ) { m_Deed = deed; m_Mobile = from; //this.Closable=false; //this.Disposable=true; //this.Dragable=true; this.Resizable=false; this.AddPage(0); this.AddBackground(0, 0, 300, 120, 9270); //this.AddAlphaRegion(11, 14, 332, 95); //this.AddItem(297, 38, 4168); this.AddLabel( 28, 15, 255, "Changing sex involves intense magic." ); this.AddLabel( 28, 31, 255, "Your facial hair, if any, will dissapear." ); this.AddLabel( 28, 47, 255, "Are you sure you want to proceed?" ); AddButton( 28, 70, 4005, 4007, 1, GumpButtonType.Reply, 0 ); AddLabel( 80, 70, 255, "Yes" ); AddButton( 130, 70, 4005, 4007, 0, GumpButtonType.Reply, 0 ); AddLabel( 182, 70, 255, "No" ); //this.AddItem(12, 38, 4171); }
public SexChangeConfirmGump(Mobile from, SexChangeDeed deed) : base(200, 200) { m_Deed = deed; m_Mobile = from; //this.Closable=false; //this.Disposable=true; //this.Dragable=true; this.Resizable = false; this.AddPage(0); this.AddBackground(0, 0, 300, 120, 9270); //this.AddAlphaRegion(11, 14, 332, 95); //this.AddItem(297, 38, 4168); this.AddLabel(28, 15, 255, "Changing sex involves intense magic."); this.AddLabel(28, 31, 255, "Your facial hair, if any, will dissapear."); this.AddLabel(28, 47, 255, "Are you sure you want to proceed?"); AddButton(28, 70, 4005, 4007, 1, GumpButtonType.Reply, 0); AddLabel(80, 70, 255, "Yes"); AddButton(130, 70, 4005, 4007, 0, GumpButtonType.Reply, 0); AddLabel(182, 70, 255, "No"); //this.AddItem(12, 38, 4171); }
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 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; }