Skip to content

Commit 0789f3f

Browse files
authored
Merge pull request #5675 from quietust/createitem_buildings
createitem - add a few more building targets
2 parents 522eb7b + be72466 commit 0789f3f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Template for new versions:
6161
## Fixes
6262

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

6667
## Documentation

plugins/createitem.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ command_result df_createitem (color_ostream &out, vector<string> &parameters) {
280280
}
281281
switch (building->getType())
282282
{ using namespace df::enums::building_type;
283+
case Table:
283284
case Coffin:
284285
case Furnace:
285286
case TradeDepot:
@@ -294,8 +295,12 @@ command_result df_createitem (color_ostream &out, vector<string> &parameters) {
294295
case AnimalTrap:
295296
case Cage:
296297
case Wagon:
298+
case Nest:
297299
case NestBox:
298300
case Hive:
301+
case Bookcase:
302+
case DisplayFurniture:
303+
case OfferingPlace:
299304
break;
300305
default:
301306
out.printerr("The selected building cannot be used for item storage!\n");

0 commit comments

Comments
 (0)