Novel where mc is hit by hat and faints . Finds out hat has virtual world and learns blacksmith.....etc