Jim discovers an ancient treasure map hidden by Moonbeard, an ancient Space Pirate. It promises atreasure of “Ruby, sapphire, emerald, gold”. The gang has to decipher three clues to find thetreasure – which turns out to be the root-ball of a tree. They plant it, and a Rainbow Tree sprouts,revealing branches of "ruby, sapphire, emerald, and gold".