typed-factorio 1.6.0 → 1.6.1
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/Changelog.md +5 -0
- package/generated/classes.d.ts +26 -26
- package/generated/concepts.d.ts +53 -100
- package/package.json +1 -1
package/Changelog.md
CHANGED
package/generated/classes.d.ts
CHANGED
@@ -10842,7 +10842,7 @@ interface LuaForce {
|
|
10842
10842
|
* ```
|
10843
10843
|
* @see {@link https://lua-api.factorio.com/latest/LuaForce.html#LuaForce.chart Online documentation}
|
10844
10844
|
*/
|
10845
|
-
chart(surface: SurfaceIdentification, area: BoundingBoxWrite): void
|
10845
|
+
chart(surface: SurfaceIdentification, area: BoundingBoxWrite | BoundingBoxArray): void
|
10846
10846
|
/**
|
10847
10847
|
* Erases chart data for this force.
|
10848
10848
|
* @param surface Which surface to erase chart data for or if not provided all surfaces charts are erased.
|
@@ -11005,7 +11005,7 @@ interface LuaForce {
|
|
11005
11005
|
* Finds all custom chart tags within the given bounding box on the given surface.
|
11006
11006
|
* @see {@link https://lua-api.factorio.com/latest/LuaForce.html#LuaForce.find_chart_tags Online documentation}
|
11007
11007
|
*/
|
11008
|
-
find_chart_tags(surface: SurfaceIdentification, area?: BoundingBoxWrite): LuaCustomChartTag[]
|
11008
|
+
find_chart_tags(surface: SurfaceIdentification, area?: BoundingBoxWrite | BoundingBoxArray): LuaCustomChartTag[]
|
11009
11009
|
/**
|
11010
11010
|
* Gets the saved progress for the given technology or `nil` if there is no saved progress.
|
11011
11011
|
* @param technology The technology
|
@@ -16039,7 +16039,7 @@ interface LuaItemStack {
|
|
16039
16039
|
/**
|
16040
16040
|
* The area to deconstruct
|
16041
16041
|
*/
|
16042
|
-
readonly area: BoundingBoxWrite
|
16042
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
16043
16043
|
/**
|
16044
16044
|
* If chunks covered by fog-of-war are skipped.
|
16045
16045
|
*/
|
@@ -16065,7 +16065,7 @@ interface LuaItemStack {
|
|
16065
16065
|
/**
|
16066
16066
|
* The area to deconstruct
|
16067
16067
|
*/
|
16068
|
-
readonly area: BoundingBoxWrite
|
16068
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
16069
16069
|
/**
|
16070
16070
|
* If chunks covered by fog-of-war are skipped.
|
16071
16071
|
*/
|
@@ -16092,7 +16092,7 @@ interface LuaItemStack {
|
|
16092
16092
|
/**
|
16093
16093
|
* The bounding box
|
16094
16094
|
*/
|
16095
|
-
readonly area: BoundingBoxWrite
|
16095
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
16096
16096
|
/**
|
16097
16097
|
* When true, blueprintable tiles are always included in the blueprint. When false they're only included if no entities exist in the setup area.
|
16098
16098
|
*/
|
@@ -16681,7 +16681,7 @@ interface BaseItemStack {
|
|
16681
16681
|
/**
|
16682
16682
|
* The area to deconstruct
|
16683
16683
|
*/
|
16684
|
-
readonly area: BoundingBoxWrite
|
16684
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
16685
16685
|
/**
|
16686
16686
|
* If chunks covered by fog-of-war are skipped.
|
16687
16687
|
*/
|
@@ -16707,7 +16707,7 @@ interface BaseItemStack {
|
|
16707
16707
|
/**
|
16708
16708
|
* The area to deconstruct
|
16709
16709
|
*/
|
16710
|
-
readonly area: BoundingBoxWrite
|
16710
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
16711
16711
|
/**
|
16712
16712
|
* If chunks covered by fog-of-war are skipped.
|
16713
16713
|
*/
|
@@ -16734,7 +16734,7 @@ interface BaseItemStack {
|
|
16734
16734
|
/**
|
16735
16735
|
* The bounding box
|
16736
16736
|
*/
|
16737
|
-
readonly area: BoundingBoxWrite
|
16737
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
16738
16738
|
/**
|
16739
16739
|
* When true, blueprintable tiles are always included in the blueprint. When false they're only included if no entities exist in the setup area.
|
16740
16740
|
*/
|
@@ -21977,7 +21977,7 @@ interface HighlightBoxSurfaceCreateEntity extends BaseSurfaceCreateEntity {
|
|
21977
21977
|
/**
|
21978
21978
|
* The bounding box defining the highlight box using absolute map coordinates. If specified, the general `position` parameter still needs to be present, but will be ignored. If not specified, the game falls back to the `source` parameter first, then the `target` parameter second. One of these three parameters need to be specified.
|
21979
21979
|
*/
|
21980
|
-
readonly bounding_box?: BoundingBoxWrite
|
21980
|
+
readonly bounding_box?: BoundingBoxWrite | BoundingBoxArray
|
21981
21981
|
/**
|
21982
21982
|
* Specifies the graphical appearance (color) of the highlight box. Defaults to `"electricity"`.
|
21983
21983
|
*/
|
@@ -22141,7 +22141,7 @@ interface LuaSurface {
|
|
22141
22141
|
* ```
|
22142
22142
|
* @see {@link https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.find_entities Online documentation}
|
22143
22143
|
*/
|
22144
|
-
find_entities(area?: BoundingBoxWrite): LuaEntity[]
|
22144
|
+
find_entities(area?: BoundingBoxWrite | BoundingBoxArray): LuaEntity[]
|
22145
22145
|
/**
|
22146
22146
|
* Find all entities of the given type or name in the given area.
|
22147
22147
|
*
|
@@ -22164,7 +22164,7 @@ interface LuaSurface {
|
|
22164
22164
|
* @see {@link https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.find_entities_filtered Online documentation}
|
22165
22165
|
*/
|
22166
22166
|
find_entities_filtered(params: {
|
22167
|
-
readonly area?: BoundingBoxWrite
|
22167
|
+
readonly area?: BoundingBoxWrite | BoundingBoxArray
|
22168
22168
|
/**
|
22169
22169
|
* Has precedence over area field.
|
22170
22170
|
*/
|
@@ -22195,7 +22195,7 @@ interface LuaSurface {
|
|
22195
22195
|
* @see {@link https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.find_tiles_filtered Online documentation}
|
22196
22196
|
*/
|
22197
22197
|
find_tiles_filtered(params: {
|
22198
|
-
readonly area?: BoundingBoxWrite
|
22198
|
+
readonly area?: BoundingBoxWrite | BoundingBoxArray
|
22199
22199
|
/**
|
22200
22200
|
* Ignored if not given with radius.
|
22201
22201
|
*/
|
@@ -22229,7 +22229,7 @@ interface LuaSurface {
|
|
22229
22229
|
* @see {@link https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.count_entities_filtered Online documentation}
|
22230
22230
|
*/
|
22231
22231
|
count_entities_filtered(params: {
|
22232
|
-
readonly area?: BoundingBoxWrite
|
22232
|
+
readonly area?: BoundingBoxWrite | BoundingBoxArray
|
22233
22233
|
readonly position?: MapPosition | MapPositionArray
|
22234
22234
|
/**
|
22235
22235
|
* If given with position, will count all entities within the radius of the position.
|
@@ -22258,7 +22258,7 @@ interface LuaSurface {
|
|
22258
22258
|
* @see {@link https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.count_tiles_filtered Online documentation}
|
22259
22259
|
*/
|
22260
22260
|
count_tiles_filtered(params: {
|
22261
|
-
readonly area?: BoundingBoxWrite
|
22261
|
+
readonly area?: BoundingBoxWrite | BoundingBoxArray
|
22262
22262
|
/**
|
22263
22263
|
* Ignored if not given with radius.
|
22264
22264
|
*/
|
@@ -22314,7 +22314,7 @@ interface LuaSurface {
|
|
22314
22314
|
*/
|
22315
22315
|
find_non_colliding_position_in_box(
|
22316
22316
|
name: string,
|
22317
|
-
search_space: BoundingBoxWrite,
|
22317
|
+
search_space: BoundingBoxWrite | BoundingBoxArray,
|
22318
22318
|
precision: double,
|
22319
22319
|
force_to_tile_center?: boolean
|
22320
22320
|
): MapPosition | nil
|
@@ -22368,7 +22368,7 @@ interface LuaSurface {
|
|
22368
22368
|
/**
|
22369
22369
|
* Box to find units within.
|
22370
22370
|
*/
|
22371
|
-
readonly area: BoundingBoxWrite
|
22371
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
22372
22372
|
/**
|
22373
22373
|
* Force performing the search.
|
22374
22374
|
*/
|
@@ -22656,7 +22656,7 @@ interface LuaSurface {
|
|
22656
22656
|
/**
|
22657
22657
|
* The area to mark for deconstruction.
|
22658
22658
|
*/
|
22659
|
-
readonly area: BoundingBoxWrite
|
22659
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
22660
22660
|
/**
|
22661
22661
|
* The force whose bots should perform the deconstruction.
|
22662
22662
|
*/
|
@@ -22685,7 +22685,7 @@ interface LuaSurface {
|
|
22685
22685
|
/**
|
22686
22686
|
* The area to cancel deconstruction orders in.
|
22687
22687
|
*/
|
22688
|
-
readonly area: BoundingBoxWrite
|
22688
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
22689
22689
|
/**
|
22690
22690
|
* The force whose deconstruction orders to cancel.
|
22691
22691
|
*/
|
@@ -22714,7 +22714,7 @@ interface LuaSurface {
|
|
22714
22714
|
/**
|
22715
22715
|
* The area to mark for upgrade.
|
22716
22716
|
*/
|
22717
|
-
readonly area: BoundingBoxWrite
|
22717
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
22718
22718
|
/**
|
22719
22719
|
* The force whose bots should perform the upgrade.
|
22720
22720
|
*/
|
@@ -22743,7 +22743,7 @@ interface LuaSurface {
|
|
22743
22743
|
/**
|
22744
22744
|
* The area to cancel upgrade orders in.
|
22745
22745
|
*/
|
22746
|
-
readonly area: BoundingBoxWrite
|
22746
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
22747
22747
|
/**
|
22748
22748
|
* The force whose upgrade orders to cancel.
|
22749
22749
|
*/
|
@@ -22825,7 +22825,7 @@ interface LuaSurface {
|
|
22825
22825
|
* @see {@link https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.destroy_decoratives Online documentation}
|
22826
22826
|
*/
|
22827
22827
|
destroy_decoratives(params: {
|
22828
|
-
readonly area?: BoundingBoxWrite
|
22828
|
+
readonly area?: BoundingBoxWrite | BoundingBoxArray
|
22829
22829
|
readonly position?: TilePosition | TilePositionArray
|
22830
22830
|
readonly name?: string | readonly string[] | LuaDecorativePrototype | readonly LuaDecorativePrototype[]
|
22831
22831
|
readonly collision_mask?: CollisionMaskLayer | readonly CollisionMaskLayer[]
|
@@ -22866,7 +22866,7 @@ interface LuaSurface {
|
|
22866
22866
|
* @see {@link https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.find_decoratives_filtered Online documentation}
|
22867
22867
|
*/
|
22868
22868
|
find_decoratives_filtered(params: {
|
22869
|
-
readonly area?: BoundingBoxWrite
|
22869
|
+
readonly area?: BoundingBoxWrite | BoundingBoxArray
|
22870
22870
|
readonly position?: TilePosition | TilePositionArray
|
22871
22871
|
readonly name?: string | readonly string[] | LuaDecorativePrototype | readonly LuaDecorativePrototype[]
|
22872
22872
|
readonly collision_mask?: CollisionMaskLayer | readonly CollisionMaskLayer[]
|
@@ -22934,8 +22934,8 @@ interface LuaSurface {
|
|
22934
22934
|
* @see {@link https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.clone_area Online documentation}
|
22935
22935
|
*/
|
22936
22936
|
clone_area(params: {
|
22937
|
-
readonly source_area: BoundingBoxWrite
|
22938
|
-
readonly destination_area: BoundingBoxWrite
|
22937
|
+
readonly source_area: BoundingBoxWrite | BoundingBoxArray
|
22938
|
+
readonly destination_area: BoundingBoxWrite | BoundingBoxArray
|
22939
22939
|
readonly destination_surface?: SurfaceIdentification
|
22940
22940
|
readonly destination_force?: LuaForce | string
|
22941
22941
|
/**
|
@@ -23054,7 +23054,7 @@ interface LuaSurface {
|
|
23054
23054
|
/**
|
23055
23055
|
* The dimensions of the object that's supposed to travel the path.
|
23056
23056
|
*/
|
23057
|
-
readonly bounding_box: BoundingBoxWrite
|
23057
|
+
readonly bounding_box: BoundingBoxWrite | BoundingBoxArray
|
23058
23058
|
/**
|
23059
23059
|
* The list of masks the `bounding_box` collides with.
|
23060
23060
|
*/
|
@@ -23219,7 +23219,7 @@ interface LuaSurface {
|
|
23219
23219
|
* @param area The tile area.
|
23220
23220
|
* @see {@link https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.build_checkerboard Online documentation}
|
23221
23221
|
*/
|
23222
|
-
build_checkerboard(area: BoundingBoxWrite): void
|
23222
|
+
build_checkerboard(area: BoundingBoxWrite | BoundingBoxArray): void
|
23223
23223
|
/**
|
23224
23224
|
* The name of this surface. Names are unique among surfaces.
|
23225
23225
|
* @remarks the default surface can't be renamed.
|
package/generated/concepts.d.ts
CHANGED
@@ -351,7 +351,7 @@ interface ScriptArea {
|
|
351
351
|
* @see {@link https://lua-api.factorio.com/latest/Concepts.html#ScriptArea Online documentation}
|
352
352
|
*/
|
353
353
|
interface ScriptAreaWrite {
|
354
|
-
readonly area: BoundingBoxWrite
|
354
|
+
readonly area: BoundingBoxWrite | BoundingBoxArray
|
355
355
|
readonly name: string
|
356
356
|
readonly color: Color | ColorArray
|
357
357
|
readonly id: uint
|
@@ -1144,8 +1144,8 @@ interface BlueprintEntity {
|
|
1144
1144
|
readonly output_priority?: "right" | "left"
|
1145
1145
|
/** Filter of the splitter. Name of the item prototype the filter is set to. */
|
1146
1146
|
readonly filter?: string
|
1147
|
-
/** Filters of the filter inserter or loader. Array of {@link
|
1148
|
-
readonly filters?:
|
1147
|
+
/** Filters of the filter inserter or loader. Array of {@link InventoryFilter} objects. */
|
1148
|
+
readonly filters?: InventoryFilter[]
|
1149
1149
|
/** Filter mode of the filter inserter. Either "whitelist" or "blacklist". */
|
1150
1150
|
readonly filter_mode?: "whitelist" | "blacklist"
|
1151
1151
|
/** The stack size the inserter is set to. */
|
@@ -1155,13 +1155,13 @@ interface BlueprintEntity {
|
|
1155
1155
|
/** The pickup position the inserter is set to. */
|
1156
1156
|
readonly pickup_position?: MapPosition
|
1157
1157
|
/** Used by {@link https://wiki.factorio.com/Prototype/LogisticContainer Prototype/LogisticContainer}. */
|
1158
|
-
readonly request_filters?:
|
1158
|
+
readonly request_filters?: LogisticFilter[]
|
1159
1159
|
/** Whether this requester chest can request from buffer chests. */
|
1160
1160
|
readonly request_from_buffers?: boolean
|
1161
1161
|
/** Used by {@link https://wiki.factorio.com/Programmable_speaker Programmable speaker}. */
|
1162
|
-
readonly parameters?:
|
1162
|
+
readonly parameters?: ProgrammableSpeakerParameters
|
1163
1163
|
/** Used by {@link https://wiki.factorio.com/Programmable_speaker Programmable speaker}. */
|
1164
|
-
readonly alert_parameters?:
|
1164
|
+
readonly alert_parameters?: ProgrammableSpeakerAlertParameters
|
1165
1165
|
/** Used by the rocket silo, whether auto launch is enabled. */
|
1166
1166
|
readonly auto_launch?: boolean
|
1167
1167
|
/** Used by {@link https://wiki.factorio.com/Prototype/SimpleEntityWithForce Prototype/SimpleEntityWithForce} or {@link https://wiki.factorio.com/Prototype/SimpleEntityWithOwner Prototype/SimpleEntityWithOwner}. */
|
@@ -1215,63 +1215,58 @@ interface BlueprintCircuitConnection {
|
|
1215
1215
|
}
|
1216
1216
|
|
1217
1217
|
interface BlueprintInventory {
|
1218
|
-
readonly filters?:
|
1218
|
+
readonly filters?: InventoryFilter[]
|
1219
1219
|
/** The index of the first inaccessible item slot due to limiting with the red "bar". 0-based. */
|
1220
1220
|
readonly bar?: uint16
|
1221
1221
|
}
|
1222
1222
|
|
1223
|
-
interface BlueprintItemFilter {
|
1224
|
-
/** Name of the item prototype this filter is set to. */
|
1225
|
-
readonly name: string
|
1226
|
-
/** Index of the filter, 1-based. */
|
1227
|
-
readonly index: uint
|
1228
|
-
}
|
1229
|
-
|
1230
1223
|
interface BlueprintInfinitySettings {
|
1231
1224
|
/** Whether the "remove unfiltered items" checkbox is checked. */
|
1232
1225
|
readonly remove_unfiltered_items: boolean
|
1233
1226
|
/** Filters of the infinity container. */
|
1234
|
-
readonly filters?:
|
1235
|
-
}
|
1236
|
-
|
1237
|
-
interface BlueprintInfinityFilter {
|
1238
|
-
/** Name of the item prototype this filter is set to. */
|
1239
|
-
readonly name: string
|
1240
|
-
/** Number the filter is set to. */
|
1241
|
-
readonly count: uint
|
1242
|
-
/** Mode of the filter. Either "at-least", "at-most", or "exactly". */
|
1243
|
-
readonly mode: "at-least" | "at-most" | "exactly"
|
1244
|
-
/** Index of the filter, 1-based. */
|
1245
|
-
readonly index: uint
|
1246
|
-
}
|
1247
|
-
|
1248
|
-
interface BlueprintLogisticFilter {
|
1249
|
-
/** Name of the item prototype this filter is set to. */
|
1250
|
-
readonly name: string
|
1251
|
-
/** Index of the filter, 1-based. */
|
1252
|
-
readonly index: uint
|
1253
|
-
/** Number the filter is set to. Is 0 for storage chests. */
|
1254
|
-
readonly count: uint
|
1227
|
+
readonly filters?: InfinityInventoryFilter[]
|
1255
1228
|
}
|
1256
1229
|
|
1257
|
-
interface
|
1258
|
-
|
1259
|
-
readonly
|
1260
|
-
|
1261
|
-
readonly
|
1262
|
-
|
1263
|
-
readonly
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
readonly
|
1269
|
-
|
1270
|
-
readonly
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1230
|
+
interface BlueprintControlBehavior {
|
1231
|
+
readonly condition?: CircuitCondition
|
1232
|
+
readonly circuit_condition?: CircuitCondition
|
1233
|
+
readonly filters?: Signal[]
|
1234
|
+
readonly is_on?: boolean
|
1235
|
+
readonly arithmetic_conditions?: ArithmeticCombinatorParameters
|
1236
|
+
readonly decider_conditions?: DeciderCombinatorParameters
|
1237
|
+
readonly circuit_enable_disable?: boolean
|
1238
|
+
readonly circuit_read_resources?: boolean
|
1239
|
+
readonly circuit_resource_read_mode?: defines.control_behavior.mining_drill.resource_read_mode
|
1240
|
+
readonly read_stopped_train?: boolean
|
1241
|
+
readonly train_stopped_signal?: SignalID
|
1242
|
+
readonly read_from_train?: boolean
|
1243
|
+
readonly send_to_train?: boolean
|
1244
|
+
readonly circuit_mode_of_operation?:
|
1245
|
+
| defines.control_behavior.inserter.circuit_mode_of_operation
|
1246
|
+
| defines.control_behavior.logistic_container.circuit_mode_of_operation
|
1247
|
+
| defines.control_behavior.lamp.circuit_mode_of_operation
|
1248
|
+
readonly circuit_read_hand_contents?: boolean
|
1249
|
+
readonly circuit_hand_read_mode?: defines.control_behavior.inserter.hand_read_mode
|
1250
|
+
readonly circuit_set_stack_size?: boolean
|
1251
|
+
readonly stack_control_input_signal?: SignalID
|
1252
|
+
readonly use_colors?: boolean
|
1253
|
+
readonly read_robot_stats?: boolean
|
1254
|
+
readonly read_logistics?: boolean
|
1255
|
+
readonly available_logistic_output_signal?: boolean
|
1256
|
+
readonly total_logistic_output_signal?: boolean
|
1257
|
+
readonly available_construction_output_signal?: boolean
|
1258
|
+
readonly total_construction_output_signal?: boolean
|
1259
|
+
readonly circuit_contents_read_mode?: defines.control_behavior.transport_belt.content_read_mode
|
1260
|
+
readonly output_signal?: SignalID
|
1261
|
+
readonly circuit_close_signal?: boolean
|
1262
|
+
readonly circuit_read_signal?: boolean
|
1263
|
+
readonly red_output_signal?: SignalID
|
1264
|
+
readonly orange_output_signal?: SignalID
|
1265
|
+
readonly green_output_signal?: SignalID
|
1266
|
+
readonly blue_output_signal?: SignalID
|
1267
|
+
readonly circuit_open_gate?: boolean
|
1268
|
+
readonly circuit_read_sensor?: boolean
|
1269
|
+
readonly circuit_parameters?: ProgrammableSpeakerCircuitParameters
|
1275
1270
|
}
|
1276
1271
|
|
1277
1272
|
/**
|
@@ -1335,8 +1330,8 @@ interface BlueprintEntityWrite {
|
|
1335
1330
|
readonly output_priority?: "right" | "left"
|
1336
1331
|
/** Filter of the splitter. Name of the item prototype the filter is set to. */
|
1337
1332
|
readonly filter?: string
|
1338
|
-
/** Filters of the filter inserter or loader. Array of {@link
|
1339
|
-
readonly filters?:
|
1333
|
+
/** Filters of the filter inserter or loader. Array of {@link InventoryFilter} objects. */
|
1334
|
+
readonly filters?: InventoryFilter[]
|
1340
1335
|
/** Filter mode of the filter inserter. Either "whitelist" or "blacklist". */
|
1341
1336
|
readonly filter_mode?: "whitelist" | "blacklist"
|
1342
1337
|
/** The stack size the inserter is set to. */
|
@@ -1346,13 +1341,13 @@ interface BlueprintEntityWrite {
|
|
1346
1341
|
/** The pickup position the inserter is set to. */
|
1347
1342
|
readonly pickup_position?: MapPosition
|
1348
1343
|
/** Used by {@link https://wiki.factorio.com/Prototype/LogisticContainer Prototype/LogisticContainer}. */
|
1349
|
-
readonly request_filters?:
|
1344
|
+
readonly request_filters?: LogisticFilter[]
|
1350
1345
|
/** Whether this requester chest can request from buffer chests. */
|
1351
1346
|
readonly request_from_buffers?: boolean
|
1352
1347
|
/** Used by {@link https://wiki.factorio.com/Programmable_speaker Programmable speaker}. */
|
1353
|
-
readonly parameters?:
|
1348
|
+
readonly parameters?: ProgrammableSpeakerParameters
|
1354
1349
|
/** Used by {@link https://wiki.factorio.com/Programmable_speaker Programmable speaker}. */
|
1355
|
-
readonly alert_parameters?:
|
1350
|
+
readonly alert_parameters?: ProgrammableSpeakerAlertParameters
|
1356
1351
|
/** Used by the rocket silo, whether auto launch is enabled. */
|
1357
1352
|
readonly auto_launch?: boolean
|
1358
1353
|
/** Used by {@link https://wiki.factorio.com/Prototype/SimpleEntityWithForce Prototype/SimpleEntityWithForce} or {@link https://wiki.factorio.com/Prototype/SimpleEntityWithOwner Prototype/SimpleEntityWithOwner}. */
|
@@ -8847,45 +8842,3 @@ type RaiseableEvents =
|
|
8847
8842
|
| typeof defines.events.script_raised_destroy
|
8848
8843
|
| typeof defines.events.script_raised_revive
|
8849
8844
|
| typeof defines.events.script_raised_set_tiles
|
8850
|
-
|
8851
|
-
interface BlueprintControlBehavior {
|
8852
|
-
readonly condition?: CircuitCondition
|
8853
|
-
readonly circuit_condition?: CircuitCondition
|
8854
|
-
readonly filters?: Signal[]
|
8855
|
-
readonly is_on?: boolean
|
8856
|
-
readonly arithmetic_conditions?: ArithmeticCombinatorParameters
|
8857
|
-
readonly decider_conditions?: DeciderCombinatorParameters
|
8858
|
-
readonly circuit_enable_disable?: boolean
|
8859
|
-
readonly circuit_read_resources?: boolean
|
8860
|
-
readonly circuit_resource_read_mode?: defines.control_behavior.mining_drill.resource_read_mode
|
8861
|
-
readonly read_stopped_train?: boolean
|
8862
|
-
readonly train_stopped_signal?: SignalID
|
8863
|
-
readonly read_from_train?: boolean
|
8864
|
-
readonly send_to_train?: boolean
|
8865
|
-
readonly circuit_mode_of_operation?:
|
8866
|
-
| defines.control_behavior.inserter.circuit_mode_of_operation
|
8867
|
-
| defines.control_behavior.logistic_container.circuit_mode_of_operation
|
8868
|
-
| defines.control_behavior.lamp.circuit_mode_of_operation
|
8869
|
-
readonly circuit_read_hand_contents?: boolean
|
8870
|
-
readonly circuit_hand_read_mode?: defines.control_behavior.inserter.hand_read_mode
|
8871
|
-
readonly circuit_set_stack_size?: boolean
|
8872
|
-
readonly stack_control_input_signal?: SignalID
|
8873
|
-
readonly use_colors?: boolean
|
8874
|
-
readonly read_robot_stats?: boolean
|
8875
|
-
readonly read_logistics?: boolean
|
8876
|
-
readonly available_logistic_output_signal?: boolean
|
8877
|
-
readonly total_logistic_output_signal?: boolean
|
8878
|
-
readonly available_construction_output_signal?: boolean
|
8879
|
-
readonly total_construction_output_signal?: boolean
|
8880
|
-
readonly circuit_contents_read_mode?: defines.control_behavior.transport_belt.content_read_mode
|
8881
|
-
readonly output_signal?: SignalID
|
8882
|
-
readonly circuit_close_signal?: boolean
|
8883
|
-
readonly circuit_read_signal?: boolean
|
8884
|
-
readonly red_output_signal?: SignalID
|
8885
|
-
readonly orange_output_signal?: SignalID
|
8886
|
-
readonly green_output_signal?: SignalID
|
8887
|
-
readonly blue_output_signal?: SignalID
|
8888
|
-
readonly circuit_open_gate?: boolean
|
8889
|
-
readonly circuit_read_sensor?: boolean
|
8890
|
-
readonly circuit_parameters?: ProgrammableSpeakerCircuitParameters
|
8891
|
-
}
|