Perfectly Preserved Pie (Fallout 4)

The perfectly preserved pie is a consumable item in Fallout 4.

Characteristics
The pie's most significant difference from many other foodstuffs found throughout the wasteland is its preservative-filled nature, lacking any radiation when compared to most other pre-War foodstuffs.

Obtaining

 * The perfectly preserved pie can be obtained from any Port-A-Diner, with a small chance of dispensing. Obtaining the pie on any particular attempt is determined by the formula...
 * $$chance = \frac{ ( luck \times 2 ) + ( attempts \times 0.5 ) } {10}$$
 * ...where...
 * chance: the percentage chance of obtaining the pie
 * luck: the Sole Survivor's Luck, even if the Port-A-Diner is operated by a companion
 * attempts: the number of previous attempts made to obtain the pie
 * ...thus, even with a Luck of 10, there's still only a 2% chance of obtaining the pie on the first attempt. Regardless of Luck, a pie will always be dispensed after 2000 attempts, though you should reasonably expect to get it no later than the 99% mark.

Port-A-Diner locations

 * With the Automatron add-on installed, one can be found in a wall mounted Eat'o'tronic 3000 in the Mechanist's lair.
 * With the Nuka-World add-on installed, two slices of pie can be found on the counter in Cappy's Cafe, not contained within a Port-A-Diner.