You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dist/library/df.advmode.lua
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1745,9 +1745,11 @@ df.adventure_optionst = {}
1745
1745
1746
1746
functiondf.adventure_optionst:getDescription() end
1747
1747
1748
+
---@returnitem
1748
1749
functiondf.adventure_optionst:getIngestedItem() end
1749
1750
1750
1751
---for "pick up vermin": the first argument is set to the vermin index if an item was allocated and this was the last vermin of its type the second argument is set to true if an item was allocated, false otherwise the third argument is set to true if the second argument is false the first and third arguments are not changed in all other cases returns an item_verminst pointer for all other types (as of 0.47.04): does not modify arguments 1 and 2 argument 3 is set to true if a fire was started returns nullptr
1752
+
---@returnitem
1751
1753
functiondf.adventure_optionst:performAction() end
1752
1754
1753
1755
---@returninteger
@@ -1770,15 +1772,19 @@ function df.adventure_optionst:getTargetPosZ() end
1770
1772
1771
1773
functiondf.adventure_optionst:deleteSpatter() end
1772
1774
1775
+
---@returnunit
1773
1776
functiondf.adventure_optionst:getSuckBloodUnitID() end
1774
1777
1775
1778
---@returnboolean
1776
1779
functiondf.adventure_optionst:isIngestFromContainer() end
1777
1780
1781
+
---@returnbuilding
1778
1782
functiondf.adventure_optionst:getBuildingContainer() end
1779
1783
1784
+
---@returnitem
1780
1785
functiondf.adventure_optionst:getItemContainer() end
1781
1786
1787
+
---@returnunit
1782
1788
functiondf.adventure_optionst:getUnitContainer() end
0 commit comments