Treasure Chest 
Artifact
{4}, Sacrifice this artifact: Roll a d20.
1 | Trapped! — You lose 3 life.
2—9 | Create five Treasure tokens.
10—19 | You gain 3 life and draw three cards.
20 | Search your library for a card. If it's an artifact card, you may put it onto the battlefield. Otherwise, put that card into your hand. Then shuffle.
click a line to search just that ability, click more to combine them
Cards that do something similar expected a card that isn't here?
Reports become test cases the matcher is graded against before an update ships. Delvefall isn't a chatbot guessing, it compares the printed rules text of every card with plain math, and examples like yours decide which differences should count.
Increasing Ambition 83%
$2.13#9465
"Search your library for a card and put that card into your hand. If this spell was cast from a graveyard, instead search your library for two cards and put those cards into your hand. Then shuffle."