Skip to content

Commit b73982d

Browse files
Auto-update definitions
1 parent 9919a60 commit b73982d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

dist/library/lua/gui/materials.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function MaterialDialog:addMaterial(choices, mat, typ, idx, pfix, parent) end
3636

3737
function MaterialDialog:pushContext(name, choices) end
3838

39-
function MaterialDialog:onGoBack() end
39+
function MaterialDialog:onEsc() end
4040

4141
function MaterialDialog:submitMaterial(typ, index) end
4242

dist/library/modules/job.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,18 @@ function dfhack.job.checkBuildingsNow() end
7171

7272
function dfhack.job.checkDesignationsNow() end
7373

74-
---@param item df.job_item
74+
---@param jitem df.job_item
7575
---@param itype df.item_type
7676
---@param isubtype integer
7777
---@return boolean
78-
function dfhack.job.isSuitableItem(item, itype, isubtype) end
78+
function dfhack.job.isSuitableItem(jitem, itype, isubtype) end
7979

80-
---@param item df.job_item
80+
---@param jitem df.job_item
8181
---@param mat_type integer
8282
---@param mat_index integer
8383
---@param itype df.item_type
8484
---@return boolean
85-
function dfhack.job.isSuitableMaterial(item, mat_type, mat_index, itype) end
85+
function dfhack.job.isSuitableMaterial(jitem, mat_type, mat_index, itype) end
8686

8787
---@param job df.job
8888
---@return string

dist/library/structures/df.jobs.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,12 @@ function df.job_spec_data:new() end
418418
---@field job_subtype df.job_subtype_surgery bay12: stage
419419
---@field pos df.coord
420420
---@field completion_timer number toady: duration; -1 every time unit.counters.job_counter is below 0
421-
---@field maxdur number
421+
---@field maxdur number uninitialized
422422
---@field flags df.job_flags
423423
---@field mat_type number References: `df.material`
424424
---@field mat_index number
425425
---@field spell number almost certainly no longer used
426-
---@field item_type df.item_type for Bait Trap jobs
426+
---@field item_type df.item_type for Bait Trap jobs; otherwise uninitialized
427427
---@field item_subtype number when StoreInStockpile this is a unit_labor
428428
---@field specflag df.job_spec_flags
429429
---@field specdata df.job_spec_data

0 commit comments

Comments
 (0)