|MOD||This page includes mods. The content is not part of normal DF as released. Changing game files can sometimes cause unexpected results, and should always be done with care and caution.|
A display case is a building that shows off the fruits of your fortress in a way your dwarves can appreciate. To build it takes one block, one clear glass box, and one object to display; the displayed object is both protected from thieves and added to the value of the room and the fortress. Unfortunately, dwarves will not admire the object directly like they might built furniture, but it's still better than stuffing those legendary amulets and figurines into a bin.
This mod was originally created by user kaypy on the forum, and serves as a great introduction to modding.
To install the mod, add this workshop to your raw/objects/building_custom.txt file:
Display case Requires: 1 unit building material 1 clear glass box 1 object to display [BUILDING_WORKSHOP:DISPLAY_CASE] [NAME:Display Case] [NAME_COLOR:7:0:1] [DIM:1:1] [WORK_LOCATION:1:1] [BUILD_LABOR:MASON] [BUILD_KEY:CUSTOM_SHIFT_D] [BLOCK:1:0] [TILE:0:1:'#'] [COLOR:0:1:0:7:0] [TILE:1:1:'#'] [COLOR:1:1:0:7:0] [TILE:2:1:'#'] [COLOR:2:1:0:7:0] [TILE:3:1:147] [COLOR:3:1:7:0:0] [BUILD_ITEM:1:BLOCKS:NONE:NONE:NONE][CAN_USE_ARTIFACT] [BUILD_ITEM:1:BOX:NONE:GLASS_CLEAR:NONE][CAN_USE_ARTIFACT] [BUILD_ITEM:1:NONE:NONE:NONE:NONE][CAN_USE_ARTIFACT]
Then, in raw/objects/entity_default.txt add this line under [ENTITY:MOUNTAIN]:
That's it. Now every dwarven civilization you generate will be able to create "display case" buildings. (Note that generating a new world is necessary to pick up the changes to the mountain entity; if you want to add display cases to an existing world you can "re-purpose" the soap makers workshop or screw press workshops.) To build a display case, use , , .