factorio-types 1.2.26 → 1.2.28
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 +5 -4
- package/dist/concepts.d.ts +5 -3
- package/dist/datacollection.d.ts +1 -1
- package/dist/defines.d.ts +1 -1
- package/dist/events.d.ts +1 -1
- package/dist/global.d.ts +1 -1
- package/dist/prototypes.d.ts +390 -385
- package/dist/types.d.ts +379 -383
- package/package.json +2 -2
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.
|
|
5
|
+
// Factorio version 2.0.41
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -8261,6 +8261,7 @@ interface LuaEntityPrototype extends LuaPrototypeBase {
|
|
|
8261
8261
|
* The result units and spawn points with weight and evolution factor for a biter spawner entity.
|
|
8262
8262
|
*/
|
|
8263
8263
|
readonly result_units?: UnitSpawnDefinition[];
|
|
8264
|
+
readonly rewire_neighbours_when_destroying: boolean;
|
|
8264
8265
|
/**
|
|
8265
8266
|
* The rising speed for this rocket silo rocket prototype.
|
|
8266
8267
|
*/
|
|
@@ -16049,7 +16050,7 @@ interface LuaSchedule {
|
|
|
16049
16050
|
*/
|
|
16050
16051
|
clear_interrupts(this: void): void;
|
|
16051
16052
|
/**
|
|
16052
|
-
* @param
|
|
16053
|
+
* @param interrupt_index If provided, clears the records for this interrupt.
|
|
16053
16054
|
*/
|
|
16054
16055
|
clear_records(this: void, interrupt_index?: uint): void;
|
|
16055
16056
|
/**
|
|
@@ -16074,7 +16075,7 @@ interface LuaSchedule {
|
|
|
16074
16075
|
*/
|
|
16075
16076
|
get_record_count(this: void, interrupt_index?: uint): uint | null;
|
|
16076
16077
|
/**
|
|
16077
|
-
* @param
|
|
16078
|
+
* @param interrupt_index If provided, gets the records for this interrupt.
|
|
16078
16079
|
*/
|
|
16079
16080
|
get_records(this: void, interrupt_index?: uint): ScheduleRecord[] | null;
|
|
16080
16081
|
/**
|
|
@@ -16116,7 +16117,7 @@ interface LuaSchedule {
|
|
|
16116
16117
|
set_allow_unloading(this: void, index: ScheduleRecordPosition, allow: boolean): void;
|
|
16117
16118
|
set_interrupts(this: void, interrupts: ScheduleInterrupt[]): void;
|
|
16118
16119
|
/**
|
|
16119
|
-
* @param
|
|
16120
|
+
* @param interrupt_index If provided, the records will be set on this interrupt.
|
|
16120
16121
|
*/
|
|
16121
16122
|
set_records(this: void, records: ScheduleRecord[], interrupt_index?: uint): void;
|
|
16122
16123
|
set_stopped(this: void, stopped: boolean): void;
|
package/dist/concepts.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.
|
|
5
|
+
// Factorio version 2.0.41
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -41,8 +41,10 @@ interface AddRecordData {
|
|
|
41
41
|
*/
|
|
42
42
|
station?: string;
|
|
43
43
|
rail?: LuaEntity;
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
/**
|
|
45
|
+
* When `rail` is given, this can be provided to further narrow down direction from which that rail should be approached.
|
|
46
|
+
*/
|
|
47
|
+
rail_direction?: defines.rail_direction;
|
|
46
48
|
wait_conditions?: WaitCondition[];
|
|
47
49
|
temporary?: boolean;
|
|
48
50
|
allows_unloading?: boolean;
|
package/dist/datacollection.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.
|
|
5
|
+
// Factorio version 2.0.41
|
|
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.
|
|
5
|
+
// Factorio version 2.0.41
|
|
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.
|
|
5
|
+
// Factorio version 2.0.41
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
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.
|
|
5
|
+
// Factorio version 2.0.41
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
/**
|