Mmmm

if (state == "awake") {
    if (coffee.isEmpty()) {
        coffee.refillWith("darkest roast of the ancient brew");
        status.update("Energised by the elixir of life!");
    } else {
        coffee.drink("savour the bitter ambrosia");
        energy.boost(50);
        status.update("Ready to conquer the day!");
    }
} else if (state == "asleep") {
    dream.begin("Epic Coffee Quest");
    vision.show("A mountain of coffee beans under a caffeine aurora");
    journey.embark("Climb the Espresso Peaks to reach the Sacred Mug");
    struggle.face("Battling decaf demons with a latte sword");
    triumph.achieve("Claiming the Golden Brew at dawn");
    reality.warp("Awakening with the scent of fresh coffee");
    state.set("awake");
    coffee.pour("The dream becomes reality");
    status.update("Legend of the Coffee Awakener!");
}
end;