You are known as a great alchemist and potion master, and have spent the past decade developing a series of extremely powerful potions. You have made some great progress, but the potions are not ready for consumption as the side effects will cause the drinker to erupt with power, killing all around them. Despite this, the local soldiers do not believe your claims, and five of them broke into your laboratory last night and stole the potions. You have to give each soldier the correct antidote; if you give the wrong antidote or fail to give an antidote, the power eruption will blow up your lab, and cause a chain reaction that will decimate the entire kingdom.
The colors of the five potions were blue, green, red, yellow, and clear, and each has another unique side effect. The blue and green potions cause the drinker to always speak the truth. The red and yellow potions cause the drinker to always lie. The clear potion will cause the drinker to alternate telling the truth and telling a lie; if somebody drinks the clear potion their first statement can be either the truth or a lie, but each statement after that must alternate.
The five soldiers are Alice, Barry, Charlie, Dan, and Erica. You interrogate each of them and they make the following statements:
Alice: I drank the clear potion.
Barry: Dan and Erica are both going to lie to you.
Charlie: Alice drank the red potion.
Dan: Erica and I drank the same type of potion.
Erica: I drank the green colored potion.
You go back and ask them again, and this time they tell you:
Alice: Dan drank the clear potion.
Barry: Erica did not drink the clear potion.
Charlie: Dan is going to lie to you.
Dan: Alice drank the green potion.
Erica: The person who drank the clear potion lied in their first statement to you.
You would like to question them some more, but there is no time. You can already see the unstable power seeping from them, and you have to give them the correct antidotes quickly. So who drank which potion?