"Q:" How many members of the U.S.S. Enterprise does it take to change a light bulb?
"A:" Seven - Scotty will report to Captain Kirk that the light bulb in the
Engineering Section is burnt out, to which Kirk will send Bones
to pronounce the bulb dead. Scotty, after checking around, notices
that they have no more new light bulbs, and complains that he can't
see in the dark to tend to his engines. Kirk must make an emergency
stop at the next uncharted planet, Alpha Regula IV, to procure a
light bulb from the natives. Kirk, Spock, Bones, Sulu, and 3 red
shirt security officers beam down. The 3 security officers are
promptly killed by the natives, and the rest of the landing party
is captured. Meanwhile, back in orbit, Scotty notices a Klingon ship
approaching and must warp out of orbit to escape detection.
Bones cures the native king who is suffering from the flu, and as
a reward the landing party is set free and given all the light bulbs
they can carry. Scotty cripples the Klingon ship and warps back to the
planet just in time to beam up Kirk et al. The new bulb is inserted,
and the Enterprise continues with its five year mission.