factorio-types 1.2.15 → 1.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/classes.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.0.22
5
+ // Factorio version 2.0.23
6
6
  // API version 6
7
7
 
8
8
  declare namespace runtime {
@@ -8338,7 +8338,7 @@ interface LuaEquipmentGrid {
8338
8338
  get(this: void, position: EquipmentPosition): LuaEquipment | null;
8339
8339
  /**
8340
8340
  * Get counts of all equipment in this grid.
8341
- * @returns The counts, indexed by equipment names.
8341
+ * @returns List of all equipment in the grid.
8342
8342
  */
8343
8343
  get_contents(this: void): EquipmentWithQualityCounts[];
8344
8344
  /**
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.0.22
5
+ // Factorio version 2.0.23
6
6
  // API version 6
7
7
 
8
8
  declare namespace runtime {
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.0.22
5
+ // Factorio version 2.0.23
6
6
  // API version 6
7
7
 
8
8
  declare namespace prototype {
package/dist/defines.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.0.22
5
+ // Factorio version 2.0.23
6
6
  // API version 6
7
7
 
8
8
  declare namespace defines {
package/dist/events.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.0.22
5
+ // Factorio version 2.0.23
6
6
  // API version 6
7
7
 
8
8
  declare namespace runtime {
@@ -228,6 +228,7 @@ interface on_cancelled_upgrade {
228
228
  * Called when a cargo pod departs a surface.
229
229
  */
230
230
  interface on_cargo_pod_finished_ascending {
231
+ cargo_pod: LuaEntity;
231
232
  /**
232
233
  * True for pods spawned on a rocket. This event triggers for platform and modded pods as well, but only when true will the pod count towards rocket launch statistics and trigger 'rocket-launched' achievement with objective_condition.
233
234
  */
package/dist/global.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.0.22
5
+ // Factorio version 2.0.23
6
6
  // API version 6
7
7
 
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.0.22
5
+ // Factorio version 2.0.23
6
6
  // API version 6
7
7
 
8
8
  declare namespace prototype {
package/dist/types.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.0.22
5
+ // Factorio version 2.0.23
6
6
  // API version 6
7
7
 
8
8
  declare namespace prototype {
@@ -4701,6 +4701,7 @@ interface FogEffectProperties {
4701
4701
  */
4702
4702
  fog_type?: 'vulcanus' | 'gleba';
4703
4703
  shape_noise_texture: EffectTexture;
4704
+ tick_factor?: float;
4704
4705
  }
4705
4706
  interface FogMaskShapeDefinition {
4706
4707
  falloff?: float;
@@ -10960,7 +10961,7 @@ interface TileTransitionsToTiles extends TileTransitions {
10960
10961
  interface TileTransitionsVariants {
10961
10962
  empty_transitions?: bool;
10962
10963
  light?: TileLightPictures[];
10963
- main: TileMainPictures[];
10964
+ main?: TileMainPictures[];
10964
10965
  material_background?: MaterialTextureParameters;
10965
10966
  /**
10966
10967
  * Must have the same `count` as material_background.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "factorio-types",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "description": "Typescript declarations for the Factorio mod API",
5
5
  "main": "index.d.ts",
6
6
  "repository": "https://github.com/sguest/factorio-types.git",
@@ -23,7 +23,7 @@
23
23
  "src/**/*.d.ts",
24
24
  "dist/**/*.d.ts"
25
25
  ],
26
- "factorioVersion": "2.0.22",
26
+ "factorioVersion": "2.0.23",
27
27
  "dependencies": {
28
28
  "lua-types": "^2.13.1"
29
29
  },