The ability will trigger if you don’t control an artifact, even for a brief moment during the resolution of another spell or ability.

Artwork
Loading artwork…
Covetous Dragon
World Championship Decks 1999 · #kb80 · EN
Nonfoil—Foil—
Card rules
Flying
When you control no artifacts, sacrifice this creature.
6/5
Gatha survived as long as he did by giving all Keld's predators exactly what they wanted.
Rare · Illustrated by rk post
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
PreDH Legal
Premodern Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The ability only checks if you control no artifacts at the time it triggers. It does not check again on resolution. So gaining control of an artifact before then will not save the Dragon.