factorio-types 0.0.26 → 0.0.27
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 +11 -3
- package/dist/concepts.d.ts +2 -2
- package/dist/defines.d.ts +1 -1
- package/dist/events.d.ts +1 -1
- package/dist/global.d.ts +1 -1
- package/package.json +1 -1
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.
|
|
5
|
+
// Factorio version 1.1.67
|
|
6
6
|
// API version 3
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -2867,6 +2867,14 @@ interface LuaEntity extends LuaControl {
|
|
|
2867
2867
|
*/
|
|
2868
2868
|
start_fading_out(this: void): void
|
|
2869
2869
|
|
|
2870
|
+
/**
|
|
2871
|
+
* Stops the given SpiderVehicle.
|
|
2872
|
+
* @remarks
|
|
2873
|
+
* Applies to subclasses: SpiderVehicle
|
|
2874
|
+
*
|
|
2875
|
+
*/
|
|
2876
|
+
stop_spider(this: void): void
|
|
2877
|
+
|
|
2870
2878
|
/**
|
|
2871
2879
|
* Whether this entity supports a backer name.
|
|
2872
2880
|
*/
|
|
@@ -4032,7 +4040,7 @@ interface LuaEntity extends LuaControl {
|
|
|
4032
4040
|
readonly train?: LuaTrain
|
|
4033
4041
|
|
|
4034
4042
|
/**
|
|
4035
|
-
* Amount of trains related to this particular train stop. Includes train stopped at this train stop (until it finds a path to next target) and trains having this train stop as goal or waypoint.
|
|
4043
|
+
* Amount of trains related to this particular train stop. Includes train stopped at this train stop (until it finds a path to next target) and trains having this train stop as goal or waypoint.
|
|
4036
4044
|
* @remarks
|
|
4037
4045
|
* Train may be included multiple times when braking distance covers this train stop multiple times
|
|
4038
4046
|
* Value may be read even when train stop has no control behavior
|
|
@@ -4050,7 +4058,7 @@ interface LuaEntity extends LuaControl {
|
|
|
4050
4058
|
readonly trains_in_block: number
|
|
4051
4059
|
|
|
4052
4060
|
/**
|
|
4053
|
-
* Amount of trains above which no new trains will be sent to this train stop.
|
|
4061
|
+
* Amount of trains above which no new trains will be sent to this train stop. Writing nil will disable the limit (will set a maximum possible value).
|
|
4054
4062
|
* @remarks
|
|
4055
4063
|
* When a train stop has a control behavior with wire connected and set_trains_limit enabled, this value will be overwritten by it
|
|
4056
4064
|
* Applies to subclasses: TrainStop
|
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 1.1.
|
|
5
|
+
// Factorio version 1.1.67
|
|
6
6
|
// API version 3
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1825,7 +1825,7 @@ interface ModChangeData {
|
|
|
1825
1825
|
interface ModSetting {
|
|
1826
1826
|
|
|
1827
1827
|
/**
|
|
1828
|
-
* The value of the mod setting. The type depends on the setting.
|
|
1828
|
+
* The value of the mod setting. The type depends on the kind of setting.
|
|
1829
1829
|
*/
|
|
1830
1830
|
value: number | boolean | string
|
|
1831
1831
|
}
|
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.
|
|
5
|
+
// Factorio version 1.1.67
|
|
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.
|
|
5
|
+
// Factorio version 1.1.67
|
|
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.
|
|
5
|
+
// Factorio version 1.1.67
|
|
6
6
|
// API version 3
|
|
7
7
|
|
|
8
8
|
/**
|