Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Template for new versions:
## Fixes

## Misc Improvements
- `createitem`: created items can now be placed onto/into tables, nests, bookcases, display cases, and altars
- The ``fpause`` console command can now be used to force world generation to pause (as it did prior to version 50).

## Documentation
Expand Down
5 changes: 5 additions & 0 deletions plugins/createitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ command_result df_createitem (color_ostream &out, vector<string> &parameters) {
}
switch (building->getType())
{ using namespace df::enums::building_type;
case Table:
case Coffin:
case Furnace:
case TradeDepot:
Expand All @@ -294,8 +295,12 @@ command_result df_createitem (color_ostream &out, vector<string> &parameters) {
case AnimalTrap:
case Cage:
case Wagon:
case Nest:
case NestBox:
case Hive:
case Bookcase:
case DisplayFurniture:
case OfferingPlace:
break;
default:
out.printerr("The selected building cannot be used for item storage!\n");
Expand Down