Skip to content

Commit 46ea359

Browse files
committed
Factorio API version 2.0.30
1 parent d885ab5 commit 46ea359

File tree

9 files changed

+23
-12
lines changed

9 files changed

+23
-12
lines changed

dist/classes.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.29
5+
// Factorio version 2.0.30
66
// API version 6
77

88
declare namespace runtime {
@@ -6752,6 +6752,10 @@ interface LuaEntity extends LuaControl {
67526752
* The filter mode for this filter inserter. `nil` if this inserter doesn't use filters.
67536753
*/
67546754
inserter_filter_mode?: 'whitelist' | 'blacklist';
6755+
/**
6756+
* The spoil priority for this inserter.
6757+
*/
6758+
inserter_spoil_priority: 'fresh_first' | 'none' | 'spoiled_first';
67556759
/**
67566760
* Sets the stack size limit on this inserter.
67576761
*
@@ -7283,7 +7287,7 @@ interface LuaEntityPrototype extends LuaPrototypeBase {
72837287
/**
72847288
* The fluid usage of this generator prototype.
72857289
*/
7286-
get_fluid_usage_per_tick(this: void, quality?: QualityID): LuaQualityPrototype | null;
7290+
get_fluid_usage_per_tick(this: void, quality?: QualityID): double | null;
72877291
/**
72887292
* The extension speed of this inserter.
72897293
*/

dist/concepts.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.29
5+
// Factorio version 2.0.30
66
// API version 6
77

88
declare namespace runtime {

dist/datacollection.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.29
5+
// Factorio version 2.0.30
66
// API version 6
77

88
declare namespace prototype {

dist/defines.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.29
5+
// Factorio version 2.0.30
66
// API version 6
77

88
declare namespace defines {

dist/events.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.29
5+
// Factorio version 2.0.30
66
// API version 6
77

88
declare namespace runtime {

dist/global.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.29
5+
// Factorio version 2.0.30
66
// API version 6
77

88
/**

dist/prototypes.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.29
5+
// Factorio version 2.0.30
66
// API version 6
77

88
declare namespace prototype {
@@ -1725,6 +1725,10 @@ interface ConstantCombinatorPrototype extends EntityWithOwnerPrototype {
17251725
circuit_wire_max_distance?: double;
17261726
draw_circuit_wires?: bool;
17271727
draw_copper_wires?: bool;
1728+
/**
1729+
* When not zero, toggle entity will enable constant combinator for that amount of ticks and then turn it off.
1730+
*/
1731+
pulse_duration?: uint;
17281732
sprites?: Sprite4Way;
17291733
}
17301734
/**
@@ -9755,6 +9759,8 @@ interface UtilityConstants extends PrototypeBase {
97559759
show_chunk_components_collision_mask: CollisionMaskConnector;
97569760
small_area_size: float;
97579761
small_blueprint_area_size: float;
9762+
space_LPF_max_cutoff_frequency: float;
9763+
space_LPF_min_cutoff_frequency: float;
97589764
/**
97599765
* Variables: speed, thrust, weight, width, height
97609766
*/

dist/types.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.29
5+
// Factorio version 2.0.30
66
// API version 6
77

88
declare namespace prototype {
@@ -6327,9 +6327,10 @@ interface MinableProperties {
63276327
*/
63286328
result?: ItemID;
63296329
/**
6330-
* The items that are returned when this object is mined.
6330+
* The items or fluids that are returned when this object is mined.
63316331
*/
63326332
results?: ProductPrototype[];
6333+
transfer_entity_health_to_products?: bool;
63336334
}
63346335
interface MineEntityTechnologyTrigger {
63356336
entity: EntityID;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "factorio-types",
3-
"version": "1.2.20",
3+
"version": "1.2.21",
44
"description": "Typescript declarations for the Factorio mod API",
55
"main": "index.d.ts",
66
"repository": "https://github.com/sguest/factorio-types.git",
@@ -23,7 +23,7 @@
2323
"src/**/*.d.ts",
2424
"dist/**/*.d.ts"
2525
],
26-
"factorioVersion": "2.0.29",
26+
"factorioVersion": "2.0.30",
2727
"dependencies": {
2828
"lua-types": "^2.13.1"
2929
},

0 commit comments

Comments
 (0)