This is a Terraria mod that introduces a new item, the Lottery Ticket:
Lottery Ticket
It has a 1:10 chance of 1-3 of them being dropped by any mob. When used in a Extractinator it has a 1:3 chance of producing the following items:
Note that these figures are orientative, subject to change, and do not exactly reflect the current implementation.
Install from the Mod Browser or download from https://github.com/raydeejay/Lottery/releases.
The source code is included.
Github repository: https://github.com/raydeejay/Lottery
License: MIT