factorio-types 0.0.37 → 0.0.38

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 1.1.86
5
+ // Factorio version 1.1.87
6
6
  // API version 3
7
7
 
8
8
  /**
@@ -1990,7 +1990,7 @@ interface LuaEntity extends LuaControl {
1990
1990
  offer: Offer): void
1991
1991
 
1992
1992
  /**
1993
- * Checks if the entity can be destroyed
1993
+ * Whether the entity can be destroyed
1994
1994
  */
1995
1995
  can_be_destroyed(this: void): void
1996
1996
 
@@ -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 1.1.86
5
+ // Factorio version 1.1.87
6
6
  // API version 3
7
7
 
8
8
  /**
@@ -2176,9 +2176,14 @@ interface PipeConnection {
2176
2176
  target?: LuaFluidBox,
2177
2177
 
2178
2178
  /**
2179
- * The index of the connected fluidbox, if any.
2179
+ * The index of the target fluidbox, if any.
2180
2180
  */
2181
- target_index?: number,
2181
+ target_fluidbox_index?: number,
2182
+
2183
+ /**
2184
+ * The index of the target fluidbox pipe connection, if any.
2185
+ */
2186
+ target_pipe_connection_index?: number,
2182
2187
 
2183
2188
  /**
2184
2189
  * The absolute position of the connection's intended target.
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 1.1.86
5
+ // Factorio version 1.1.87
6
6
  // API version 3
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 1.1.86
5
+ // Factorio version 1.1.87
6
6
  // API version 3
7
7
 
8
8
  /**
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 1.1.86
5
+ // Factorio version 1.1.87
6
6
  // API version 3
7
7
 
8
8
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "factorio-types",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
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",