This guide details completing the "For Whom the Bell Tolls" quest in Kingdom Come: Deliverance 2. This main quest follows "Wedding Crashers," finding you tasked with saving Hans from execution in Trosky Castle.
1. Hauling Sacks: Begin by transporting sacks from a wagon to a nearby shed. This is a mandatory task; repeat until complete.

2. Assisting the Blacksmith: Next, help the blacksmith by crafting a horseshoe using materials found at the forge. Deliver the finished horseshoe to the stables.

3. Aiding Fanka the Cook: Retrieve a lockpick from a red pot in the forge. Use it (or not) to gain access to the noble's kitchen by assisting Fanka. Helping her improves your reputation.

4. Interacting with the Chamberlain: Speak to the ailing chamberlain. Persuading him to allow you to brew a Digestive Potion grants access to the surgeon's workshop; otherwise, stealth is required.

5. Crafting the Fever Tonicum: Whether through persuasion or stealth, access the surgeon's workshop. Create a Fever Tonicum (and a Digestive Potion if you helped the chamberlain). Sufficient ingredients are available within the workshop.

6. Thomas's Treatment: If you secured access via the chamberlain, return with the Digestive Potion to gain entry to Thomas's room. If using stealth, navigate carefully through the castle, potentially distracting guards, to reach Thomas. Administer the Fever Tonicum to complete the quest.

Successfully completing these steps before the bell tolls twelve times earns you reputation. Regardless of timing, the quest's conclusion remains consistent.