Or.. you could clip one leg and get a couple led flash lamps and be good. If you plan to install leds it needs to be removed anyway.
https://www.marcospecialties.com/pinball-parts/05-89R
https://www.marcospecialties.com/pinball-parts/05-89B
That resistor supplies a small amount of current all the time to keep the filaments "warm" to make the bulbs last longer. If you use led flashers you have to clip off one leg or remove it because the small amount of current will make the leds glow.
The small diodes you can use 1n4007 for everything. They are 20 for $1.
https://www.greatplainselectronics.com/proddetail.asp?prod=1N4007