Rule
A legendary creature might have a section describing its lair and the special effects it can create while there, either by act of will or simply by being present. Such a section applies only to a legendary creature that spends a great deal of time in its lair.
Source: System Reference Document 5.1, CC BY 4.0. Layout is Shieldfray's own.