Skip to content

Commit

Permalink
Auto-update definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 19, 2024
1 parent 9919a60 commit b73982d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/library/lua/gui/materials.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function MaterialDialog:addMaterial(choices, mat, typ, idx, pfix, parent) end

function MaterialDialog:pushContext(name, choices) end

function MaterialDialog:onGoBack() end
function MaterialDialog:onEsc() end

function MaterialDialog:submitMaterial(typ, index) end

Expand Down
8 changes: 4 additions & 4 deletions dist/library/modules/job.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@ function dfhack.job.checkBuildingsNow() end

function dfhack.job.checkDesignationsNow() end

---@param item df.job_item
---@param jitem df.job_item
---@param itype df.item_type
---@param isubtype integer
---@return boolean
function dfhack.job.isSuitableItem(item, itype, isubtype) end
function dfhack.job.isSuitableItem(jitem, itype, isubtype) end

---@param item df.job_item
---@param jitem df.job_item
---@param mat_type integer
---@param mat_index integer
---@param itype df.item_type
---@return boolean
function dfhack.job.isSuitableMaterial(item, mat_type, mat_index, itype) end
function dfhack.job.isSuitableMaterial(jitem, mat_type, mat_index, itype) end

---@param job df.job
---@return string
Expand Down
4 changes: 2 additions & 2 deletions dist/library/structures/df.jobs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -418,12 +418,12 @@ function df.job_spec_data:new() end
---@field job_subtype df.job_subtype_surgery bay12: stage
---@field pos df.coord
---@field completion_timer number toady: duration; -1 every time unit.counters.job_counter is below 0
---@field maxdur number
---@field maxdur number uninitialized
---@field flags df.job_flags
---@field mat_type number References: `df.material`
---@field mat_index number
---@field spell number almost certainly no longer used
---@field item_type df.item_type for Bait Trap jobs
---@field item_type df.item_type for Bait Trap jobs; otherwise uninitialized
---@field item_subtype number when StoreInStockpile this is a unit_labor
---@field specflag df.job_spec_flags
---@field specdata df.job_spec_data
Expand Down

0 comments on commit b73982d

Please sign in to comment.