The Enterprise travels to the shore leave planet for some well-deserved rest and relaxation. The planet can create organic androids based on the crew's imagination, but they soon discover that the planet has a hostile mind of its own. The "amusement park" planet's keeper is now dead and the untended machinery is constructing dangerous images from the crew members' thoughts.