A municipal corporation may regulate or prohibit the conduct of any dangerous, offensive or unhealthful business, trade or employment; the transportation of any offensive substance; the manufacture, storage, transportation, possession and use of any explosive or inflammable substance; and the use and exhibition of fireworks and the discharge of firearms. A municipal corporation may also require the maintenance of safety devices on storage equipment for such substances or items.
Any municipal corporation that regulates or prohibits the discharge of firearms shall provide an exemption for the killing of deer pursuant to § 29.1-529. Such exemption shall apply on land of at least five acres that is zoned for agricultural use.
Va. Code § 15.2-1113