Dave Lister takes delight in using a salvaged functioning artificial reality (AR) machine to have sex with various female game characters, but is forced by Kryten to suspend his latest endeavour. Reuniting with Cat and Rimmer, Lister learns that Starbug has strayed into a Rogue Simulant hunting zone. Despite the crew's best efforts, the ship is discovered by a battle-cruiser of xenophobic simulants that despise humanity, and promptly capture the crew after they fail to deceive them. After being knocked unconscious, the crew awaken to find the simulants have upgraded their systems, weapons and armour, intending to battle them for sport, but managed to get destroyed by the crew through pure luck. Before their destruction, the simulants' leader has Starbug infected with an "Armageddon Virus", locking the ship on a suicide course with a large volcanic moon. Kryten infects himself with the virus in order to begin creating a "dove" anti-virus program to counter it, advising the others to watch his dreams.
The group find Kryten combating the virus within a Wild West dream, in which the mechanoid is a burnt-out sheriff in a town called Existence, with the virus operating as an outlaw gang called the Apocalypse Boys, consisting of Famine, Pestilence, War, and Death. Seeing him losing, Lister, Rimmer and Cat opt to help him by entering his dream through the AR machine, utilising the abilities of characters from a Wild West-styled video game. Upon arriving and getting Kryten to recognise them, the trio distract the Apocalypse Boys to give him time to create his antidote, escaping the dream when the virus infects the AR machine and takes away their characters' special abilities. Kryten successfully completes the programme, cleansing himself of the virus, before using it to free the ship from the virus' control. Starbug plunges into the moon, but resurfaces a few seconds later unscathed, with the crew giving an appropriate "Yeeha!" before flying off into the sunset.