public static void Main(string[] args) { InitializeLogging.Perform(); using (var driver = new GameDriver()) { driver.ChangeState(GameState.Initializing); driver.IsMouseVisible = true; driver.Content.RootDirectory = "Content"; driver.BackgroundColor = Color.DarkGray; driver.TimeScale = 1.0f; driver.Graphics = GenerateDeviceManager(driver); driver.TextureBank = new TextureBank().Initialize(driver); driver.SpriteBatch = new SpriteBatch(driver.GraphicsDevice); driver.GameCamera = GenerateGameCamera(driver); driver.GameInterface = GameInterface.Initialize(driver); driver.ShopBackground = ShopBackground.Initialize(driver); driver.Phone = PhoneMachine.Initialize(driver); driver.Money = Money.Initialize(driver); driver.HotSpots = LoadHotSpots.Perform(driver); driver.Toys = LoadToys.Perform(driver); driver.Clock = DeskClock.Initialize(driver); driver.SewingKit = SewingKit.Initialize(driver); driver.PaintingKit = PaintingKit.Initialize(driver); driver.Customer = Customer.Initialize(driver); DebugMonitor.Initialize(driver); driver.ChangeState(GameState.SplashScreen).ChangeState(GameState.WaitingForClient); driver.Run(); } DisposeLogging.Perform(); }
public InternalSellInfo() { Add(typeof(Pickaxe), Pickaxe.GetSBSellValue()); Add(typeof(Shovel), Shovel.GetSBSellValue()); Add(typeof(Lockpick), Lockpick.GetSBSellValue()); Add(typeof(Scissors), Scissors.GetSBSellValue()); Add(typeof(Tongs), Tongs.GetSBSellValue()); Add(typeof(SledgeHammer), SledgeHammer.GetSBSellValue()); Add(typeof(SmithHammer), SmithHammer.GetSBSellValue()); Add(typeof(MortarPestle), MortarPestle.GetSBSellValue()); Add(typeof(TinkerTools), TinkerTools.GetSBSellValue()); Add(typeof(SewingKit), SewingKit.GetSBSellValue()); Add(typeof(Skillet), Skillet.GetSBSellValue()); Add(typeof(RollingPin), RollingPin.GetSBSellValue()); Add(typeof(MapmakersPen), MapmakersPen.GetSBSellValue()); Add(typeof(ScribesPen), ScribesPen.GetSBSellValue()); Add(typeof(Scorp), Scorp.GetSBSellValue()); Add(typeof(DrawKnife), DrawKnife.GetSBSellValue()); Add(typeof(Saw), Saw.GetSBSellValue()); Add(typeof(DovetailSaw), DovetailSaw.GetSBSellValue()); Add(typeof(Froe), Froe.GetSBSellValue()); Add(typeof(Hammer), Hammer.GetSBSellValue()); Add(typeof(Inshave), Inshave.GetSBSellValue()); Add(typeof(JointingPlane), JointingPlane.GetSBSellValue()); Add(typeof(WoodenPlane), WoodenPlane.GetSBSellValue()); Add(typeof(SmoothingPlane), SmoothingPlane.GetSBSellValue()); }
public InternalBuyInfo() { Add(new GenericBuyInfo("Pickaxe", typeof(Pickaxe), Pickaxe.GetSBPurchaseValue(), 50, 0xE86, 0)); Add(new GenericBuyInfo("Shovel", typeof(Shovel), Shovel.GetSBPurchaseValue(), 50, 0xF39, 0)); Add(new GenericBuyInfo("Hatchet", typeof(Hatchet), Hatchet.GetSBPurchaseValue(), 50, 0xF43, 0)); Add(new GenericBuyInfo("Lockpick", typeof(Lockpick), Lockpick.GetSBPurchaseValue(), 250, 0x14FC, 0)); Add(new GenericBuyInfo("Scissors", typeof(Scissors), Scissors.GetSBPurchaseValue(), 50, 0xF9F, 0)); Add(new GenericBuyInfo("Tongs", typeof(Tongs), Tongs.GetSBPurchaseValue(), 50, 0xFBB, 0)); Add(new GenericBuyInfo("SledgeHammer", typeof(SledgeHammer), SledgeHammer.GetSBPurchaseValue(), 50, 0xFB5, 0)); Add(new GenericBuyInfo("SmithHammer", typeof(SmithHammer), SmithHammer.GetSBPurchaseValue(), 50, 0x13E3, 0)); Add(new GenericBuyInfo("MortarPestle", typeof(MortarPestle), MortarPestle.GetSBPurchaseValue(), 50, 0xE9B, 0)); Add(new GenericBuyInfo("TinkerTools", typeof(TinkerTools), TinkerTools.GetSBPurchaseValue(), 50, 0x1EB8, 0)); Add(new GenericBuyInfo("SewingKit", typeof(SewingKit), SewingKit.GetSBPurchaseValue(), 50, 0xF9D, 0)); Add(new GenericBuyInfo("Skillet", typeof(Skillet), Skillet.GetSBPurchaseValue(), 50, 0x97F, 0)); Add(new GenericBuyInfo("RollingPin", typeof(RollingPin), RollingPin.GetSBPurchaseValue(), 50, 0x1043, 0)); Add(new GenericBuyInfo("MapmakersPen", typeof(MapmakersPen), MapmakersPen.GetSBPurchaseValue(), 50, 0x0FBF, 0)); Add(new GenericBuyInfo("ScribesPen", typeof(ScribesPen), ScribesPen.GetSBPurchaseValue(), 50, 0x0FBF, 0)); Add(new GenericBuyInfo("Scorp", typeof(Scorp), Scorp.GetSBPurchaseValue(), 50, 0x10E7, 0)); Add(new GenericBuyInfo("DrawKnife", typeof(DrawKnife), DrawKnife.GetSBPurchaseValue(), 50, 0x10E4, 0)); Add(new GenericBuyInfo("Saw", typeof(Saw), Saw.GetSBPurchaseValue(), 50, 0x1034, 0)); Add(new GenericBuyInfo("DovetailSaw", typeof(DovetailSaw), DovetailSaw.GetSBPurchaseValue(), 50, 0x1028, 0)); Add(new GenericBuyInfo("Froe", typeof(Froe), Froe.GetSBPurchaseValue(), 50, 0x10E5, 0)); Add(new GenericBuyInfo("Hammer", typeof(Hammer), Hammer.GetSBPurchaseValue(), 50, 0x102A, 0)); Add(new GenericBuyInfo("Inshave", typeof(Inshave), Inshave.GetSBPurchaseValue(), 50, 0x10E6, 0)); Add(new GenericBuyInfo("JointingPlane", typeof(JointingPlane), JointingPlane.GetSBPurchaseValue(), 50, 0x1030, 0)); Add(new GenericBuyInfo("WoodenPlane", typeof(WoodenPlane), WoodenPlane.GetSBPurchaseValue(), 50, 0x102C, 0)); Add(new GenericBuyInfo("SmoothingPlane", typeof(SmoothingPlane), SmoothingPlane.GetSBPurchaseValue(), 50, 0x1032, 0)); }
public InternalSellInfo() { Add(typeof(BoltOfCloth), BoltOfCloth.GetSBSellValue()); Add(typeof(Scissors), Scissors.GetSBSellValue()); Add(typeof(SewingKit), SewingKit.GetSBSellValue()); Add(typeof(Dyes), Dyes.GetSBSellValue()); Add(typeof(DyeTub), DyeTub.GetSBSellValue()); }
public InternalBuyInfo() { Add(new GenericBuyInfo("Bolt of Cloth", typeof(BoltOfCloth), Bandage.GetSBPurchaseValue(), 50, 0xf95, 0)); Add(new GenericBuyInfo("Scissors", typeof(Scissors), Scissors.GetSBPurchaseValue(), 25, 0xF9F, 0)); Add(new GenericBuyInfo("Sewing Kit", typeof(SewingKit), SewingKit.GetSBPurchaseValue(), 50, 0xF9D, 0)); Add(new GenericBuyInfo("Dyes", typeof(Dyes), Dyes.GetSBPurchaseValue(), 25, 0xFA9, 0)); Add(new GenericBuyInfo("Dye Tub", typeof(DyeTub), DyeTub.GetSBPurchaseValue(), 25, 0xFAB, 0)); }
public InternalBuyInfo() { Add(new GenericBuyInfo("Bolt of Cloth", typeof(BoltOfCloth), BoltOfCloth.GetSBPurchaseValue(), 50, 0xf95, 0)); Add(new GenericBuyInfo("Scissors", typeof(Scissors), Scissors.GetSBPurchaseValue(), 25, 0xF9F, 0)); Add(new GenericBuyInfo("Sewing Kit", typeof(SewingKit), SewingKit.GetSBPurchaseValue(), 50, 0xF9D, 0)); Add(new GenericBuyInfo("Dyes", typeof(Dyes), Dyes.GetSBPurchaseValue(), 25, 0xFA9, 0)); Add(new GenericBuyInfo("Dye Tub", typeof(DyeTub), DyeTub.GetSBPurchaseValue(), 25, 0xFAB, 0)); //Hats Add(new GenericBuyInfo("Skull Cap", typeof(SkullCap), SkullCap.GetSBPurchaseValue(), 25, 0x1544, 0)); Add(new GenericBuyInfo("Bandana", typeof(Bandana), Bandana.GetSBPurchaseValue(), 25, 0x1540, 0)); Add(new GenericBuyInfo("Floppy Hat", typeof(FloppyHat), FloppyHat.GetSBPurchaseValue(), 25, 0x1713, 0)); Add(new GenericBuyInfo("Cap", typeof(Cap), Cap.GetSBPurchaseValue(), 25, 0x1715, 0)); Add(new GenericBuyInfo("Wide Brim Hat", typeof(WideBrimHat), WideBrimHat.GetSBPurchaseValue(), 25, 0x1714, 0)); Add(new GenericBuyInfo("Tall Straw Hat", typeof(TallStrawHat), TallStrawHat.GetSBPurchaseValue(), 25, 0x1716, 0)); Add(new GenericBuyInfo("Bonnet", typeof(Bonnet), Bonnet.GetSBPurchaseValue(), 25, 0x1719, 0)); Add(new GenericBuyInfo("Feathered Hat", typeof(FeatheredHat), FeatheredHat.GetSBPurchaseValue(), 25, 0x171A, 0)); Add(new GenericBuyInfo("Tricorne Hat", typeof(TricorneHat), TricorneHat.GetSBPurchaseValue(), 25, 0x171B, 0)); Add(new GenericBuyInfo("Jester Hat", typeof(JesterHat), JesterHat.GetSBPurchaseValue(), 25, 0x171C, 0)); Add(new GenericBuyInfo("Wizards Hat", typeof(WizardsHat), WizardsHat.GetSBPurchaseValue(), 25, 0x1718, 0)); //Shirts Add(new GenericBuyInfo("Doublet", typeof(Doublet), Doublet.GetSBPurchaseValue(), 25, 0x1F7B, 0)); Add(new GenericBuyInfo("Shirt", typeof(Shirt), Shirt.GetSBPurchaseValue(), 25, 0x1517, 0)); Add(new GenericBuyInfo("Fancy Shirt", typeof(FancyShirt), FancyShirt.GetSBPurchaseValue(), 25, 0x1EFD, 0)); Add(new GenericBuyInfo("Tunic", typeof(Tunic), Tunic.GetSBPurchaseValue(), 25, 0x1FA1, 0)); Add(new GenericBuyInfo("Surcoat", typeof(Surcoat), Surcoat.GetSBPurchaseValue(), 25, 0x1FFD, 0)); Add(new GenericBuyInfo("Jester Suit", typeof(JesterSuit), JesterSuit.GetSBPurchaseValue(), 25, 0x1F9F, 0)); Add(new GenericBuyInfo("Plain Dress", typeof(PlainDress), PlainDress.GetSBPurchaseValue(), 25, 0x1F01, 0)); Add(new GenericBuyInfo("Fancy Dress", typeof(FancyDress), FancyDress.GetSBPurchaseValue(), 25, 0x1EFF, 0)); Add(new GenericBuyInfo("Robe", typeof(Robe), Robe.GetSBPurchaseValue(), 25, 0x1F03, 0)); //Pants Add(new GenericBuyInfo("Short Pants", typeof(ShortPants), ShortPants.GetSBPurchaseValue(), 25, 0x152E, 0)); Add(new GenericBuyInfo("Long Pants", typeof(LongPants), LongPants.GetSBPurchaseValue(), 25, 0x1539, 0)); Add(new GenericBuyInfo("Kilt", typeof(Kilt), Kilt.GetSBPurchaseValue(), 25, 0x1537, 0)); Add(new GenericBuyInfo("Skirt", typeof(Skirt), Skirt.GetSBPurchaseValue(), 25, 0x1516, 0)); Add(new GenericBuyInfo("Cloak", typeof(Cloak), Cloak.GetSBPurchaseValue(), 25, 0x1515, 0)); Add(new GenericBuyInfo("Body Sash", typeof(BodySash), BodySash.GetSBPurchaseValue(), 25, 0x1541, 0)); Add(new GenericBuyInfo("Half Apron", typeof(HalfApron), HalfApron.GetSBPurchaseValue(), 25, 0x153b, 0)); Add(new GenericBuyInfo("Full Apron", typeof(FullApron), FullApron.GetSBPurchaseValue(), 25, 0x153d, 0)); //Shoes Add(new GenericBuyInfo("Sandals", typeof(Sandals), Sandals.GetSBPurchaseValue(), 25, 0x170D, 0)); Add(new GenericBuyInfo("Shoes", typeof(Shoes), Shoes.GetSBPurchaseValue(), 25, 0x170F, 0)); Add(new GenericBuyInfo("Boots", typeof(Boots), Boots.GetSBPurchaseValue(), 25, 0x170B, 0)); Add(new GenericBuyInfo("Thigh Boots", typeof(ThighBoots), ThighBoots.GetSBPurchaseValue(), 25, 0x1711, 0)); //TEST: FIX //Add( new GenericBuyInfo( typeof( SpoolOfThread ), 18, 20, 0xFA0, 0 ) ); //Add( new GenericBuyInfo( typeof( Flax ), 156, 20, 0x1A9C, 0 ) ); //Add( new GenericBuyInfo( typeof( Cotton ), 156, 20, 0xDF9, 0 ) ); //Add( new GenericBuyInfo( typeof( Wool ), 78, 20, 0xDF8, 0 ) ); }
public InternalSellInfo() { Add(typeof(BoltOfCloth), BoltOfCloth.GetSBSellValue()); Add(typeof(Scissors), Scissors.GetSBSellValue()); Add(typeof(SewingKit), SewingKit.GetSBSellValue()); Add(typeof(Dyes), Dyes.GetSBSellValue()); Add(typeof(DyeTub), DyeTub.GetSBSellValue()); Add(typeof(SkullCap), SkullCap.GetSBSellValue()); Add(typeof(Bandana), Bandana.GetSBSellValue()); Add(typeof(FloppyHat), FloppyHat.GetSBSellValue()); Add(typeof(Cap), Cap.GetSBSellValue()); Add(typeof(WideBrimHat), WideBrimHat.GetSBSellValue()); Add(typeof(TallStrawHat), TallStrawHat.GetSBSellValue()); Add(typeof(Bonnet), Bonnet.GetSBSellValue()); Add(typeof(FeatheredHat), FeatheredHat.GetSBSellValue()); Add(typeof(TricorneHat), TricorneHat.GetSBSellValue()); Add(typeof(JesterHat), JesterHat.GetSBSellValue()); Add(typeof(WizardsHat), WizardsHat.GetSBSellValue()); Add(typeof(Doublet), Doublet.GetSBSellValue()); Add(typeof(Shirt), Shirt.GetSBSellValue()); Add(typeof(FancyShirt), FancyShirt.GetSBSellValue()); Add(typeof(Tunic), Tunic.GetSBSellValue()); Add(typeof(Surcoat), Surcoat.GetSBSellValue()); Add(typeof(JesterSuit), JesterSuit.GetSBSellValue()); Add(typeof(PlainDress), PlainDress.GetSBSellValue()); Add(typeof(FancyDress), FancyDress.GetSBSellValue()); Add(typeof(Robe), Robe.GetSBSellValue()); Add(typeof(ShortPants), ShortPants.GetSBSellValue()); Add(typeof(LongPants), LongPants.GetSBSellValue()); Add(typeof(Kilt), Kilt.GetSBSellValue()); Add(typeof(Skirt), Skirt.GetSBSellValue()); Add(typeof(Cloak), Cloak.GetSBSellValue()); Add(typeof(BodySash), BodySash.GetSBSellValue()); Add(typeof(HalfApron), HalfApron.GetSBSellValue()); Add(typeof(FullApron), FullApron.GetSBSellValue()); Add(typeof(Sandals), Sandals.GetSBSellValue()); Add(typeof(Shoes), Shoes.GetSBSellValue()); Add(typeof(Boots), Boots.GetSBSellValue()); Add(typeof(ThighBoots), ThighBoots.GetSBSellValue()); }
public override void OnResponse(NetState state, RelayInfo info) { PlayerMobile m = m_user; ToolBox box = i_box; BaseTool tool; BaseHarvestTool toola; Hatchet toolh; Container pack = m.Backpack; switch (info.ButtonID) { default: { break; } case 2: { box.OW(m); break; } case 3: { tool = new Tongs(); tool.UsesRemaining = box.i_S; pack.DropItem(tool); box.i_S = 0; break; } case 4: { tool = new MouldingPlane(); tool.UsesRemaining = box.i_C; pack.DropItem(tool); box.i_C = 0; break; } case 5: { tool = new TinkerTools(); tool.UsesRemaining = box.i_Ti; pack.DropItem(tool); box.i_Ti = 0; break; } case 6: { tool = new SewingKit(); tool.UsesRemaining = box.i_T; pack.DropItem(tool); box.i_T = 0; break; } case 7: { toolh = new Hatchet(); toolh.UsesRemaining = box.i_L; pack.DropItem(toolh); box.i_L = 0; break; } case 8: { tool = new ScribesPen(); tool.UsesRemaining = box.i_Sc; pack.DropItem(tool); box.i_Sc = 0; break; } case 9: { toola = new Shovel(); toola.UsesRemaining = box.i_M; pack.DropItem(toola); box.i_M = 0; break; } case 10: { tool = new Skillet(); tool.UsesRemaining = box.i_Co; pack.DropItem(tool); box.i_Co = 0; break; } case 11: { tool = new FletcherTools(); tool.UsesRemaining = box.i_F; pack.DropItem(tool); box.i_F = 0; break; } case 12: { tool = new MortarPestle(); tool.UsesRemaining = box.i_A; pack.DropItem(tool); box.i_A = 0; break; } case 13: { tool = new MalletAndChisel(); tool.UsesRemaining = box.i_St; pack.DropItem(tool); box.i_St = 0; break; } case 14: { tool = new MapmakersPen(); tool.UsesRemaining = box.i_Ca; pack.DropItem(tool); box.i_Ca = 0; break; } case 15: { GargoylesPickaxe item = new GargoylesPickaxe(); item.UsesRemaining = box.i_Garg; pack.DropItem(item); box.i_Garg = 0; break; } case 16: { ProspectorsTool item = new ProspectorsTool(); item.UsesRemaining = box.i_Pros; pack.DropItem(item); box.i_Pros = 0; break; } case 17: { Blowpipe item = new Blowpipe(); item.UsesRemaining = box.i_G; pack.DropItem(item); box.i_G = 0; break; } } if (info.ButtonID > 2) { box.NG(m, box); } }
public InternalSellInfo() { Add(typeof(Arrow), Arrow.GetSBSellValue()); Add(typeof(Bolt), Bolt.GetSBSellValue()); Add(typeof(Bandage), Bandage.GetSBSellValue()); Add(typeof(Scissors), Scissors.GetSBSellValue()); Add(typeof(SewingKit), SewingKit.GetSBSellValue()); Add(typeof(Dyes), Dyes.GetSBSellValue()); Add(typeof(DyeTub), DyeTub.GetSBSellValue()); Add(typeof(Lockpick), Lockpick.GetSBSellValue()); Add(typeof(Skillet), Skillet.GetSBSellValue()); Add(typeof(Dagger), Dagger.GetSBSellValue()); Add(typeof(Lantern), Lantern.GetSBSellValue()); Add(typeof(Torch), Torch.GetSBSellValue()); Add(typeof(Candle), Candle.GetSBSellValue()); Add(typeof(Bedroll), Bedroll.GetSBSellValue()); Add(typeof(Backpack), Backpack.GetSBSellValue()); Add(typeof(Bag), Bag.GetSBSellValue()); Add(typeof(Pouch), Pouch.GetSBSellValue()); Add(typeof(WoodenBox), WoodenBox.GetSBSellValue()); }
public InternalBuyInfo() { Add(new GenericBuyInfo("Arrow", typeof(Arrow), Arrow.GetSBPurchaseValue(), 500, 0xF3F, 0)); Add(new GenericBuyInfo("Bolt", typeof(Bolt), Bolt.GetSBPurchaseValue(), 500, 0x1BFB, 0)); Add(new GenericBuyInfo("Bandage", typeof(Bandage), Bandage.GetSBPurchaseValue(), 250, 0xE21, 0)); Add(new GenericBuyInfo("Scissors", typeof(Scissors), Scissors.GetSBPurchaseValue(), 25, 0xF9F, 0)); Add(new GenericBuyInfo("Sewing Kit", typeof(SewingKit), SewingKit.GetSBPurchaseValue(), 50, 0xF9D, 0)); Add(new GenericBuyInfo("Dyes", typeof(Dyes), Dyes.GetSBPurchaseValue(), 25, 0xFA9, 0)); Add(new GenericBuyInfo("Dye Tub", typeof(DyeTub), DyeTub.GetSBPurchaseValue(), 25, 0xFAB, 0)); Add(new GenericBuyInfo("Lockpick", typeof(Lockpick), Lockpick.GetSBPurchaseValue(), 100, 0x14FC, 0)); Add(new GenericBuyInfo("Skillet", typeof(Skillet), Skillet.GetSBPurchaseValue(), 50, 0x97F, 0)); Add(new GenericBuyInfo("Dagger", typeof(Dagger), Dagger.GetSBPurchaseValue(), 25, 0xF52, 0)); Add(new GenericBuyInfo("Lantern", typeof(Lantern), Lantern.GetSBPurchaseValue(), 25, 0xA25, 0)); Add(new GenericBuyInfo("Torch", typeof(Torch), Torch.GetSBPurchaseValue(), 25, 0xF6B, 0)); Add(new GenericBuyInfo("Candle", typeof(Candle), Candle.GetSBPurchaseValue(), 25, 0xA28, 0)); Add(new GenericBuyInfo("Bedroll", typeof(Bedroll), Bedroll.GetSBPurchaseValue(), 25, 0xA57, 0)); Add(new GenericBuyInfo("Backpack", typeof(Backpack), Backpack.GetSBPurchaseValue(), 25, 0x9B2, 0)); Add(new GenericBuyInfo("Bag", typeof(Bag), Bag.GetSBPurchaseValue(), 25, 0xE76, 0)); Add(new GenericBuyInfo("Pouch", typeof(Pouch), Pouch.GetSBPurchaseValue(), 25, 0xE79, 0)); Add(new GenericBuyInfo("Wooden Box", typeof(WoodenBox), WoodenBox.GetSBPurchaseValue(), 25, 0xE7D, 0)); }
private static void InvokeReward(Mobile from, SkillInfo skillInfo) { //Gump is problematic, would need to track if they have recieved their //reward for each skill, and recheck each login incase they closed the gump without accepting etc //Just give them a reward directly for now. Item rewardItem = null; switch (skillInfo.SkillID) { case 0: // alchemy rewardItem = new MortarPestle(); break; case 7: // Blacksmithy rewardItem = new SmithHammer(); break; case 8: // Bowcraft/fletching rewardItem = new Bow(); break; case 11: // Carpentry rewardItem = new SmoothingPlane(); break; case 23: // Inscription rewardItem = new ScribesPen(); break; case 25: // Magery rewardItem = new Spellbook(); (rewardItem as Spellbook).Content = ulong.MaxValue; break; case 34: // Tailoring rewardItem = new SewingKit(); break; case 35: // Animal Taming rewardItem = new ShepherdsCrook(); break; /* case 44: //Lumberjacking * rewardItem = new Hatchet(); * break; * case 45: // Mining * rewardItem = new Pickaxe(); * break;*/ //Bardic skills case 9: case 15: case 22: case 29: rewardItem = new Drums(); break; //"Thieving" skills case 21: case 28: case 33: case 47: rewardItem = new Cloak(); break; } if (rewardItem != null) { rewardItem.Hue = MythikStaticValues.GetGMRewardHue(); rewardItem.LootType = LootType.Blessed; if (rewardItem.DefaultName != null) { rewardItem.Name = from.RawName + "'s " + rewardItem.DefaultName; } from.PlaceInBackpack(rewardItem); from.SendAsciiMessage("You have recieved an item for becoming a Grand Master."); } else { from.SendAsciiMessage("You have recieved nothing but a sense of self worth for your efforts becoming a Grand Master."); } }