public override void OnDoubleClick( Mobile from ) { base.OnDoubleClick(from); if(!(from is PlayerMobile)) return; // make a quest note QuestHolder newquest = new QuestHolder(); newquest.PlayerMade = true; newquest.Creator = from as PlayerMobile; newquest.Hue = 500; from.AddToBackpack(newquest); from.SendMessage("A blank quest has been added to your pack!"); }
public override void OnDoubleClick(Mobile from) { base.OnDoubleClick(from); if (!(from is PlayerMobile)) { return; } // make a quest note QuestHolder newquest = new QuestHolder(); newquest.PlayerMade = true; newquest.Creator = from as PlayerMobile; newquest.Hue = 500; from.AddToBackpack(newquest); from.SendMessage("A blank quest has been added to your pack!"); }