Skip to content

Commit 67f9992

Browse files
Auto-update definitions
1 parent cccbd6b commit 67f9992

20 files changed

+1654
-729
lines changed

dist/library/structures/df.army.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ df.army_nemesis_flag = {}
9898
---@field needs_build_up number
9999
---@field mount_nemid number References: `df.nemesis_record`
100100
---@field travel_rate number
101+
---@field section_master_acid number References: `df.army_controller`
102+
---@field section_index number
101103

102104
---@class identity.army_nemesisst: DFCompoundType
103105
---@field _kind 'struct-type'

dist/library/structures/df.army_controller.lua

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,10 @@ df.army_controller_flag = {}
10111011
---@field assigned_squads DFNumberVector
10121012
---@field assigned_epp_entity_id DFNumberVector
10131013
---@field assigned_epp_epp_id DFNumberVector
1014+
---@field section_type _army_controller_section_type
1015+
---@field section_role _army_controller_section_role
1016+
---@field section_linked_index DFNumberVector
1017+
---@field section_stid DFNumberVector
10141018
---@field mission_report df.mission_report
10151019
---@field data df.army_controller.T_data
10161020
---@field goal df.army_controller_goal_type
@@ -1032,6 +1036,38 @@ function df.army_controller.find(key) end
10321036
---@return army_controller_vector # df.global.world.army_controllers.all
10331037
function df.army_controller.get_vector() end
10341038

1039+
---@class _army_controller_section_type: DFContainer
1040+
---@field [integer] df.army_controller_section_type
1041+
local _army_controller_section_type
1042+
1043+
---@nodiscard
1044+
---@param index integer
1045+
---@return DFPointer<df.army_controller_section_type>
1046+
function _army_controller_section_type:_field(index) end
1047+
1048+
---@param index '#'|integer
1049+
---@param item df.army_controller_section_type
1050+
function _army_controller_section_type:insert(index, item) end
1051+
1052+
---@param index integer
1053+
function _army_controller_section_type:erase(index) end
1054+
1055+
---@class _army_controller_section_role: DFContainer
1056+
---@field [integer] df.army_controller_section_role_type
1057+
local _army_controller_section_role
1058+
1059+
---@nodiscard
1060+
---@param index integer
1061+
---@return DFPointer<df.army_controller_section_role_type>
1062+
function _army_controller_section_role:_field(index) end
1063+
1064+
---@param index '#'|integer
1065+
---@param item df.army_controller_section_role_type
1066+
function _army_controller_section_role:insert(index, item) end
1067+
1068+
---@param index integer
1069+
function _army_controller_section_role:erase(index) end
1070+
10351071
---@class (exact) df.army_controller.T_data: DFStruct
10361072
---@field _type identity.army_controller.data
10371073
---@field goal_site_invasion df.army_controller_goal_site_invasionst

dist/library/structures/df.building.lua

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,8 @@ df.building_archflag = {}
617617
---@field flags df.building_archflag
618618
---@field hitpoints number
619619
---@field max_hitpoints number
620+
---@field damage_mat number
621+
---@field damage_matg number
620622

621623
---@class identity.building_design: DFCompoundType
622624
---@field _kind 'struct-type'
@@ -1486,6 +1488,7 @@ df.stockpile_furniture_mat = {}
14861488
---| 31 # WHEELBARROW
14871489
---| 32 # OTHER_LARGE_TOOLS
14881490
---| 33 # SAND_BAG
1491+
---| 34 # BOLT_THROWER_PARTS
14891492

14901493
---@class identity.furniture_type: DFEnumType
14911494
---@field NONE -1 bay12: StockpileFurnitureItemType
@@ -1558,6 +1561,8 @@ df.stockpile_furniture_mat = {}
15581561
---@field [32] "OTHER_LARGE_TOOLS"
15591562
---@field SAND_BAG 33
15601563
---@field [33] "SAND_BAG"
1564+
---@field BOLT_THROWER_PARTS 34
1565+
---@field [34] "BOLT_THROWER_PARTS"
15611566
df.furniture_type = {}
15621567

15631568
---@class (exact) df.stockpile_parameter_furniturest: DFStruct
@@ -3172,23 +3177,31 @@ df.building_cagest = {}
31723177
function df.building_cagest:new() end
31733178

31743179
---@alias df.siegeengine_type
3180+
---| -1 # NONE
31753181
---| 0 # Catapult
31763182
---| 1 # Ballista
3183+
---| 2 # BoltThrower
31773184

31783185
---@class identity.siegeengine_type: DFEnumType
3179-
---@field Catapult 0 bay12: BuildingSiegeEngineType, no base type
3180-
---@field [0] "Catapult" bay12: BuildingSiegeEngineType, no base type
3186+
---@field NONE -1 bay12: BuildingSiegeEngineType, no base type
3187+
---@field [-1] "NONE" bay12: BuildingSiegeEngineType, no base type
3188+
---@field Catapult 0
3189+
---@field [0] "Catapult"
31813190
---@field Ballista 1
31823191
---@field [1] "Ballista"
3192+
---@field BoltThrower 2
3193+
---@field [2] "BoltThrower"
31833194
df.siegeengine_type = {}
31843195

31853196
---@class (exact) df.building_siegeenginest: DFStruct, df.building_actual
31863197
---@field _type identity.building_siegeenginest
31873198
---@field type df.siegeengine_type
31883199
---@field facing df.building_siegeenginest.T_facing
3200+
---@field resting_orientation df.building_siegeenginest.T_resting_orientation
31893201
---@field action df.building_siegeenginest.T_action
31903202
---@field fire_timer number
31913203
---@field fill_timer number
3204+
---@field rotate_delay number
31923205

31933206
---@class identity.building_siegeenginest: DFCompoundType
31943207
---@field _kind 'class-type'
@@ -3214,6 +3227,23 @@ function df.building_siegeenginest:new() end
32143227
---@field [3] "Down"
32153228
df.building_siegeenginest.T_facing = {}
32163229

3230+
---@alias df.building_siegeenginest.T_resting_orientation
3231+
---| 0 # Orientation_Left
3232+
---| 1 # Orientation_Up
3233+
---| 2 # Orientation_Right
3234+
---| 3 # Orientation_Down
3235+
3236+
---@class identity.building_siegeenginest.resting_orientation: DFEnumType
3237+
---@field Orientation_Left 0
3238+
---@field [0] "Orientation_Left"
3239+
---@field Orientation_Up 1
3240+
---@field [1] "Orientation_Up"
3241+
---@field Orientation_Right 2
3242+
---@field [2] "Orientation_Right"
3243+
---@field Orientation_Down 3
3244+
---@field [3] "Orientation_Down"
3245+
df.building_siegeenginest.T_resting_orientation = {}
3246+
32173247
---@alias df.building_siegeenginest.T_action
32183248
---| 0 # NotInUse
32193249
---| 1 # PrepareToFire
@@ -3556,6 +3586,7 @@ df.furnace_type.attrs = {}
35563586
---@field type df.furnace_type
35573587
---@field profile df.workshop_profile
35583588
---@field custom_type number References: `df.building_def`
3589+
---@field times_used number
35593590

35603591
---@class identity.building_furnacest: DFCompoundType
35613592
---@field _kind 'class-type'
@@ -3690,6 +3721,7 @@ df.workshop_type.attrs = {}
36903721
---@field profile df.workshop_profile
36913722
---@field machine df.machine_info
36923723
---@field custom_type number References: `df.building_def`
3724+
---@field times_used number
36933725

36943726
---@class identity.building_workshopst: DFCompoundType
36953727
---@field _kind 'class-type'
@@ -3715,6 +3747,7 @@ df.building_tradedepot_flag = {}
37153747
---@class (exact) df.building_tradedepotst: DFStruct, df.building_actual
37163748
---@field _type identity.building_tradedepotst
37173749
---@field trade_flags df.building_tradedepot_flag
3750+
---@field times_used number
37183751
---@field accessible boolean
37193752

37203753
---@class identity.building_tradedepotst: DFCompoundType
@@ -3891,6 +3924,7 @@ function df.building_road_pavedst:new() end
38913924
---| 34 # TrackRampNEW
38923925
---| 35 # TrackRampSEW
38933926
---| 36 # TrackRampNSEW
3927+
---| 37 # ReinforcedWall
38943928

38953929
---@class identity.construction_type: DFEnumType
38963930
---@field NONE -1 bay12: BuildingConstructionType
@@ -3969,6 +4003,8 @@ function df.building_road_pavedst:new() end
39694003
---@field [35] "TrackRampSEW"
39704004
---@field TrackRampNSEW 36
39714005
---@field [36] "TrackRampNSEW"
4006+
---@field ReinforcedWall 37
4007+
---@field [37] "ReinforcedWall"
39724008
df.construction_type = {}
39734009

39744010
---@class (exact) df.building_constructionst: DFStruct, df.building_actual

0 commit comments

Comments
 (0)