The lindworm makes one bite attack against a Medium or smaller target it is grappling. If the attack hits, the target is also swallowed, and the grapple ends. While swallowed, the target is blinded and restrained, it has total cover against attacks and other effects outside the lindworm, and it takes 21 (6d6) acid damage at the start of each of the lindworm's turns. A lindworm can have only one creature swallowed at a time. If the lindworm takes 30 damage or more on a single turn from the swallowed creature, the lindworm must succeed on a DC 14 Constitution saving throw at the end of that turn or regurgitate the creature, which falls prone in a space within 10 feet of the lindworm. If the lindworm dies, a swallowed creature is no longer restrained by it and can escape from the corpse by using 15 feet of movement, exiting prone.