factorio-types 0.0.30 → 0.0.31

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.71
5
+ // Factorio version 1.1.72
6
6
  // API version 3
7
7
 
8
8
  /**
@@ -9787,10 +9787,12 @@ interface LuaInventory {
9787
9787
 
9788
9788
  /**
9789
9789
  * Counts the number of empty stacks.
9790
+ * @param include_bar - If true, slots blocked by the current bar will be included. Defaults to true.
9790
9791
  * @param include_filtered - If true, filtered slots will be included. Defaults to false.
9791
9792
  */
9792
9793
  count_empty_stacks(this: void,
9793
- include_filtered?: boolean): void
9794
+ include_filtered?: boolean,
9795
+ include_bar?: boolean): void
9794
9796
 
9795
9797
  /**
9796
9798
  * Destroys this inventory.
@@ -9875,6 +9877,11 @@ interface LuaInventory {
9875
9877
  */
9876
9878
  is_filtered(this: void): void
9877
9879
 
9880
+ /**
9881
+ * Is every stack in this inventory full? Ignores stacks blocked by the current bar.
9882
+ */
9883
+ is_full(this: void): void
9884
+
9878
9885
  /**
9879
9886
  * Remove items from this inventory.
9880
9887
  * @param items - Items to remove.
@@ -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.71
5
+ // Factorio version 1.1.72
6
6
  // API version 3
7
7
 
8
8
  /**
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.71
5
+ // Factorio version 1.1.72
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.71
5
+ // Factorio version 1.1.72
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.71
5
+ // Factorio version 1.1.72
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.30",
3
+ "version": "0.0.31",
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",