2 of 2 added 167 characters in body

Javascript ES6, 31 bytes

$=_=>`$=${$};$()`[prompt()];$()

Explanation

The standard quine framework:

$=_=>`$=${$};$()`;$()

[prompt()], which is the addon, gets the value at the input index of the resulting quine string.