Skip to content

Commit fc8cbec

Browse files
authored
Merge pull request #4937 from myk002/myk_createitem_docs
update docs for dfhack.items.createItem
2 parents 5f192a4 + 7bae8d0 commit fc8cbec

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/dev/Lua API.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,9 +2100,10 @@ Items module
21002100
``df.global.game.main_interface.trade.mer``), then the value is modified by civ
21012101
properties and any trade agreements that might be in effect.
21022102

2103-
* ``dfhack.items.createItem(unit, item_type, item_subtype, mat_type, mat_index, growth_print, no_floor)``
2103+
* ``dfhack.items.createItem(unit, item_type, item_subtype, mat_type, mat_index, no_floor)``
21042104

2105-
Creates an item, similar to the `createitem` plugin.
2105+
Creates an item, similar to the `createitem` plugin. Returns a list of created
2106+
``df.item`` objects.
21062107

21072108
* ``dfhack.items.checkMandates(item)``
21082109

0 commit comments

Comments
 (0)