#3666
vanilla
A cursed magic lamp may generate a demon lord (possibly pacified) instead of a djinni when rubbed. Possibly you could read the lamp to see the name of the demon lord it contains.