Elderberry (ThatToasterGuy)

The Elderberry is the third plant obtained in the Roman Empire. Elderberries grow berries over time and fire them off at zombies within 3 tiles. The Elderberry can also target Zombie Spies and will make them visible to all plants on the lawn. The plant is not affected by Conspirator Zombie's special.

Suburban Almanac Entry
Elderberry may be past is prime. He may not be the youngest crop on the lawn. But his wisdom is insurmountable. Where other plants remain blind to the two-leafed intentions of others, Elderberry can spot treachery and civil discontent a mile off. Well, he could if he could see farther than a few metres.

Plant Food
Same as Peashooter and recharges berries to maximum capacity.

Implementation
The Elderberry can grow a maximum of 20 berries. For every odd berry generated, a new berry will appear on the plant, reaching a maximum of 10. The berry generation rate of the Elderberry is normal. Once the Elderberry has fired off all of its berries, it will attack at the rate of a Peashooter.

Strategies
The Elderberry is crucial in levels with the Zombie Spy, as it is the only plant that can attack it. Hence, the Elderberry must be placed in every lane. The Glow-shroom will illuminate the Zombie Spy, allowing it to be attacked, but only if it can be targeted initially due to the Elderberry. The Elderberry is best placed farther back to avoid wasting its attack on too many zombies. It is useful to place Elderberries behind elevators in the Roman Empire to kill or significantly weaken zombies as they come out.

Trivia

 * The Elderberry is based off the sambucus genus of plants, nicknamed elders or elderberries.
 * The plant's model is based on the specific species of sambucus, sambucus cerulea, with the common names blue elder and blue elderberry.
 * Elderberry's wisdom and short-sightedness are common qualities associated with human elders.
 * The bottom leaf appears to be a beard.