factorio-types 1.2.71 → 1.2.72
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 +3 -1
- package/dist/concepts.d.ts +4 -1
- package/dist/datacollection.d.ts +1 -1
- package/dist/defines.d.ts +1 -1
- package/dist/events.d.ts +1 -5
- package/dist/global.d.ts +1 -1
- package/dist/prototypes.d.ts +1 -1
- package/dist/types.d.ts +5 -2
- 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.1.
|
|
5
|
+
// Factorio version 2.1.23
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -11988,6 +11988,7 @@ interface LuaGameScript {
|
|
|
11988
11988
|
* @param table.anti_alias Whether to render in double resolution and downscale the result (including GUI). Defaults to `false`.
|
|
11989
11989
|
* @param table.hide_clouds If `true` cloud shadows on ground won't be rendered. Defaults to `false`.
|
|
11990
11990
|
* @param table.hide_fog If `true` fog effect and foreground space dust effect won't be rendered. Defaults to `false`.
|
|
11991
|
+
* @param table.hide_health_bars If `true` entity health bars won't be rendered. Defaults to `false`.
|
|
11991
11992
|
* @param table.quality The `.jpg` render quality as a percentage (from 0% to 100% inclusive), if used. A lower value means a more compressed image. Defaults to `80`.
|
|
11992
11993
|
* @param table.allow_in_replay Whether to save the screenshot even during replay playback. Defaults to `false`.
|
|
11993
11994
|
* @param table.daytime Overrides the current surface daytime for the duration of screenshot rendering.
|
|
@@ -12008,6 +12009,7 @@ interface LuaGameScript {
|
|
|
12008
12009
|
anti_alias?: boolean;
|
|
12009
12010
|
hide_clouds?: boolean;
|
|
12010
12011
|
hide_fog?: boolean;
|
|
12012
|
+
hide_health_bars?: boolean;
|
|
12011
12013
|
quality?: int32;
|
|
12012
12014
|
allow_in_replay?: boolean;
|
|
12013
12015
|
daytime?: double;
|
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.1.
|
|
5
|
+
// Factorio version 2.1.23
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -4459,6 +4459,9 @@ type ItemPrototypeFlag = /**
|
|
|
4459
4459
|
* Determines whether the logistics areas of roboports should be drawn when holding this item. Used by the deconstruction planner by default.
|
|
4460
4460
|
*/
|
|
4461
4461
|
'draw-logistic-overlay' | /**
|
|
4462
|
+
* Prevents the logistics areas of roboports from being drawn when holding this item.
|
|
4463
|
+
*/
|
|
4464
|
+
'disable-logistic-overlay' | /**
|
|
4462
4465
|
* If this item is skipped by the trash-unrequested logic.
|
|
4463
4466
|
*/
|
|
4464
4467
|
'excluded-from-trash-unrequested' | /**
|
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.1.
|
|
5
|
+
// Factorio version 2.1.23
|
|
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.1.
|
|
5
|
+
// Factorio version 2.1.23
|
|
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.1.
|
|
5
|
+
// Factorio version 2.1.23
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -3048,10 +3048,6 @@ interface on_player_respawned {
|
|
|
3048
3048
|
*/
|
|
3049
3049
|
name: defines.events;
|
|
3050
3050
|
player_index: uint32;
|
|
3051
|
-
/**
|
|
3052
|
-
* The player port used to respawn if one was used.
|
|
3053
|
-
*/
|
|
3054
|
-
player_port?: LuaEntity;
|
|
3055
3051
|
/**
|
|
3056
3052
|
* Tick the event was generated.
|
|
3057
3053
|
*/
|
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.1.
|
|
5
|
+
// Factorio version 2.1.23
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/prototypes.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.1.
|
|
5
|
+
// Factorio version 2.1.23
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace prototype {
|
package/dist/types.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.1.
|
|
5
|
+
// Factorio version 2.1.23
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace prototype {
|
|
@@ -6085,9 +6085,12 @@ interface ItemProductPrototype extends ProductPrototypeBase {
|
|
|
6085
6085
|
* An array containing the following values.
|
|
6086
6086
|
*/
|
|
6087
6087
|
type ItemPrototypeFlags = (/**
|
|
6088
|
-
* Whether the logistics areas of roboports should be drawn when holding this item. Used for example by the {@link deconstruction planner | https://wiki.factorio.com/Deconstruction_planner}.
|
|
6088
|
+
* Whether the logistics areas of roboports should be drawn when holding this item. Used for example by the {@link deconstruction planner | https://wiki.factorio.com/Deconstruction_planner}. The overlay will also be drawn in some instances without this flag enabled.
|
|
6089
6089
|
*/
|
|
6090
6090
|
'draw-logistic-overlay' | /**
|
|
6091
|
+
* The logistics areas of roboports are never drawn when holding this item. Can't be used together with `"draw-logistic-overlay"`.
|
|
6092
|
+
*/
|
|
6093
|
+
'disable-logistic-overlay' | /**
|
|
6091
6094
|
* Whether the trash-unrequested feature skips this item.
|
|
6092
6095
|
*/
|
|
6093
6096
|
'excluded-from-trash-unrequested' | /**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "factorio-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.72",
|
|
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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"src/**/*.d.ts",
|
|
24
24
|
"dist/**/*.d.ts"
|
|
25
25
|
],
|
|
26
|
-
"factorioVersion": "2.1.
|
|
26
|
+
"factorioVersion": "2.1.23",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"lua-types": "^2.13.1"
|
|
29
29
|
},
|