This example project has a chest which will randomly pick an item when you open it. It uses the reusable WeightedRandomList.cs script which lets you assign different weights to each item in the list so some are more often chosen than others. Bring WeightedRandomList.cs into your Game Dev projects whenever you need it.
The 3D Models come from the amazing KayKit: Dungeon Pack 1.0