Sheldon and Amy are surprised to find that Wil Wheaton's new Professor Proton show is actually very entertaining and that Wil had Howard on as a guest. On Howard's suggestion, Sheldon apologizes to Wil, mending their friendship, and tells him he wants to be on the show; but Wil asks for Amy. Sheldon tells her to do it, but she says she often doesn't do things to avoid upsetting him. Sheldon is horrified when he realises how selfish he has been, especially when he finds out that the men do the same for him. Sheldon encourages Amy to go on the show to inspire girls to pursue science while trying to control his obvious jealousy for her. Meanwhile, Leonard writes a book about a physicist that solves a murder, the protagonist Logan Dean is based on himself. Bernadette points out Logan's mean boss Illsa is similar to Penny, who thinks it is based on Bernadette, though Leonard does not correct her. However, Bernadette tells Penny the truth, upsetting her and making her mad at Leonard. After calling his mother for advice, Leonard learns that Illsa is actually like her; but abandons the book when he realizes he wrote romantic tension into the relationship between the characters.
After learning Sheldon went behind their backs to work with the military again, Leonard and Howard say Sheldon is like Thomas Edison, taking credit for others' ideas, while they are more like Nikola Tesla. Leonard and Howard bring in Barry Kripke to help create a better idea than Sheldon's, but Kripke goes to the military himself, cutting all three of them out. Meanwhile, Bernadette fears Ruchi is trying to steal her projects at work while she is on maternity leave and enlists Raj to spy on her. Though he finds proof that Ruchi may be stealing from Bernadette, Raj tries to defend Ruchi like a boyfriend would, pointing out Bernadette's hypocrisy as she would most likely have stolen from other people's projects as well. Ruchi is not happy about this and promptly dumps Raj.
Sheldon's mother Mary refuses to attend his wedding unless he invites his older brother George, with whom he is no longer speaking. Sheldon and Leonard fly to Texas to talk to George, who now owns a chain of tire stores. He refuses to attend and later explains to Leonard and Sheldon that the family sacrificed a lot to fund Sheldon's education, and he was stuck caring for their mother and sister Missy after their father died while Sheldon was in college. Sheldon never thanked him for this. Leonard takes George back to the hotel room where Sheldon apologizes for what he did and the brothers reconcile. George agrees to attend the wedding. Meanwhile, Howard and Bernadette's children contract pinkeye, infecting everyone except Penny, much to Amy's fury.
Sheldon needs half a billion dollars to prove his latest concept of string theory, which the University cannot afford to fund. Crowdfunding and selling some of his most valuable comic books to Stuart give him a small start. When Raj mentions gambling in Las Vegas, Sheldon goes there but is caught calculating odds by security before he can make any bets. Meanwhile, Amy takes Penny and Bernadette shopping for her wedding dress. She loves an old-fashioned one that the other girls admit that they find ugly, though Penny assures Amy she can make her own decisions about her wedding. Sheldon, however, comes home and sees Amy in the dress and loves how she looks.