angband/v4 — pull request #29 by CunningGabe (2012-03-28 00:44:57+00:00)
Title: Room template

This adds two room templates -- a library, filled with scrolls, and a larder, filled with food.

As part of this change, we now have a way to create a level-appropriate item of a specified tval. This paves the way for other improvements of this type, such as themed chests and more nuanced monster drops. Eventually, it would be nice for the new get_obj_num_by_kind function to take some tester, so that we can filter the item list in other ways. But this is a start :)