typed-factorio 1.10.1 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typed-factorio",
3
- "version": "1.10.1",
3
+ "version": "1.11.0",
4
4
  "description": "Featureful typescript definitions for the the Factorio modding lua api.",
5
5
  "keywords": [
6
6
  "factorio",
@@ -14882,6 +14882,11 @@ interface LuaInventory extends ReadonlyArray<LuaItemStack> {
14882
14882
  * @see {@link https://lua-api.factorio.com/latest/LuaInventory.html#LuaInventory.is_empty Online documentation}
14883
14883
  */
14884
14884
  is_empty(): boolean
14885
+ /**
14886
+ * Is every stack in this inventory full? Ignores stacks blocked by the current bar.
14887
+ * @see {@link https://lua-api.factorio.com/latest/LuaInventory.html#LuaInventory.is_full Online documentation}
14888
+ */
14889
+ is_full(): boolean
14885
14890
  /**
14886
14891
  * Get counts of all items in this inventory.
14887
14892
  * @returns The counts, indexed by item names.
@@ -14959,9 +14964,10 @@ interface LuaInventory extends ReadonlyArray<LuaItemStack> {
14959
14964
  /**
14960
14965
  * Counts the number of empty stacks.
14961
14966
  * @param include_filtered If true, filtered slots will be included. Defaults to false.
14967
+ * @param include_bar If true, slots blocked by the current bar will be included. Defaults to true.
14962
14968
  * @see {@link https://lua-api.factorio.com/latest/LuaInventory.html#LuaInventory.count_empty_stacks Online documentation}
14963
14969
  */
14964
- count_empty_stacks(include_filtered?: boolean): uint
14970
+ count_empty_stacks(include_filtered?: boolean, include_bar?: boolean): uint
14965
14971
  /**
14966
14972
  * Gets the number of the given item that can be inserted into this inventory.
14967
14973
  * @param item The item to check.
@@ -1230,7 +1230,7 @@ interface BlueprintInfinitySettings {
1230
1230
  interface BlueprintControlBehavior {
1231
1231
  readonly condition?: CircuitCondition
1232
1232
  readonly circuit_condition?: CircuitCondition
1233
- readonly filters?: Signal[]
1233
+ readonly filters?: ConstantCombinatorParameters[]
1234
1234
  readonly is_on?: boolean
1235
1235
  readonly arithmetic_conditions?: ArithmeticCombinatorParameters
1236
1236
  readonly decider_conditions?: DeciderCombinatorParameters