File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1395,9 +1395,9 @@ Job module
13951395 Attach a real item to this job. If the item is intended to satisfy a job_item
13961396 filter, the index of that filter should be passed in ``filter_idx ``; otherwise,
13971397 pass ``-1 ``. Similarly, if you don't care where the item is inserted, pass
1398- ``-1 `` for ``insert_idx ``. The ``role `` param is a ``df.job_item_ref.T_role ``.
1398+ ``-1 `` for ``insert_idx ``. The ``role `` param is a ``df.job_role_type ``.
13991399 If the item needs to be brought to the job site, then the value should be
1400- ``df.job_item_ref.T_role .Hauled ``.
1400+ ``df.job_role_type .Hauled ``.
14011401
14021402* ``dfhack.job.isSuitableItem(job_item, item_type, item_subtype) ``
14031403
@@ -2108,7 +2108,7 @@ Items module
21082108* ``dfhack.items.moveToInventory(item,unit[,use_mode[,body_part]]) ``
21092109
21102110 Move the item to the unit inventory. Returns *false * if impossible.
2111- ``use_mode `` defaults to ``df.unit_inventory_item.T_mode .Hauled ``.
2111+ ``use_mode `` defaults to ``df.inv_item_role_type .Hauled ``.
21122112 ``body_part `` defaults to ``-1 ``.
21132113
21142114* ``dfhack.items.remove(item[,no_uncat]) ``
You can’t perform that action at this time.
0 commit comments