Poetic Ingenuity

Whenever one or more Dinosaurs you control attack, create that many Treasure tokens.
Whenever you cast an artifact spell, create a 3/1 red Dinosaur creature token. This ability triggers only once each turn.