Skip to content

Commit 92019c5

Browse files
Auto-update definitions
1 parent f159b62 commit 92019c5

25 files changed

+7469
-4497
lines changed

dist/library/lua/dfhack.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,11 @@ COLOR_DARKGRAY = COLOR_DARKGREY
6767
---| `COLOR_GRAY`
6868
---| `COLOR_DARKGRAY`
6969

70-
dfhack.HIDE_CONSOLE_ON_STARTUP = true
7170
---@nodiscard
7271
---@return boolean
7372
function dfhack.getHideConsoleOnStartup() end
7473
function dfhack.setHideConsoleOnStartup(value) end
7574

76-
dfhack.HIDE_ARMOK_TOOLS = false
7775
---@nodiscard
7876
---@return boolean
7977
function dfhack.getMortalMode() end

dist/library/lua/plugins/buildingplan/unlink_mechanisms.lua

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,10 @@
22
---@meta plugins.buildingplan.unlink_mechanisms
33

44
---@class unlinkMechanisms
5-
---@field ConfirmWindow unlinkMechanisms.ConfirmWindow
6-
---@field ConfirmScreen unlinkMechanisms.ConfirmScreen
75
---@field MechLinkOverlay unlinkMechanisms.MechLinkOverlay
86
---@field MechItemOverlay unlinkMechanisms.MechItemOverlay
97
local unlinkMechanisms
108

11-
saved_mode = saved_mode or 0
12-
13-
------------------------
14-
15-
local ConfirmWindow
16-
17-
function ConfirmWindow:init() end
18-
19-
function ConfirmWindow:proceed() end
20-
21-
function ConfirmWindow:suppress() end
22-
23-
local ConfirmScreen
24-
25-
function ConfirmScreen:init() end
26-
279
local MechLinkOverlay
2810

2911
function MechLinkOverlay:init() end
@@ -42,8 +24,6 @@ function MechLinkOverlay:activate_button(n) end
4224

4325
function MechLinkOverlay:ask_unlink_all() end
4426

45-
function MechLinkOverlay:do_unlink_all() end
46-
4727
function MechLinkOverlay:update_buttons() end
4828

4929
function MechLinkOverlay:preUpdateLayout(parent_rect) end
@@ -64,8 +44,6 @@ function MechItemOverlay:activate_button(n) end
6444

6545
function MechItemOverlay:ask_free_all() end
6646

67-
function MechItemOverlay:do_free_all() end
68-
6947
function MechItemOverlay:update_buttons() end
7048

7149
function MechItemOverlay:fix_layout() end

dist/library/lua/plugins/dwarfvet.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ local HospitalZone
2727

2828
function HospitalZone:find_spot(unit_pos) end
2929

30-
-- TODO: If health.requires_recovery is set, the creature can't move under its own power
30+
-- TODO: If health.should_not_move is set, the creature can't move under its own power
3131
-- and a Recover Wounded or Pen/Pasture job must be created by hand
3232
function HospitalZone:assign_spot(unit, unit_pos) end
3333

dist/library/lua/plugins/plant.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-- THIS FILE WAS GENERATED AUTOMATICALLY. DO NOT EDIT.
2+
---@meta plugins.plant
3+
4+
---@class plant
5+
local plant
6+
7+
{
8+
tree = 3, --sapling_to_tree_threshold
9+
["1x1"] = 3,
10+
["2x2"] = 201, --kapok, ginkgo, highwood
11+
["3x3"] = 401, --highwood (tower-cap is bugged)
12+
}
13+
14+
function plant.parse_commandline(opts, pos_1, pos_2, filter_vec, args) end
15+
16+
return plant

dist/library/modules/units.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,11 @@ function dfhack.units.getNemesis(unit) end
365365
---@param unit df.unit
366366
function dfhack.units.makeown(unit) end
367367

368+
---@param race number
369+
---@param caste number
370+
---@return df.unit
371+
function dfhack.units.create(race, caste) end
372+
368373
---@param unit df.unit
369374
---@param attr df.physical_attribute_type
370375
---@return integer

0 commit comments

Comments
 (0)