factorio-types 0.0.18 → 0.0.19
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 +6 -9
- package/dist/concepts.d.ts +20 -6
- 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.50
|
|
6
6
|
// API version 1
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -4788,14 +4788,6 @@ interface LuaEntityPrototype {
|
|
|
4788
4788
|
*/
|
|
4789
4789
|
readonly neighbour_bonus: number
|
|
4790
4790
|
|
|
4791
|
-
/**
|
|
4792
|
-
* Controls how much a reactor extends when connected to other reactors.
|
|
4793
|
-
* @remarks
|
|
4794
|
-
* Applies to subclasses: Reactor
|
|
4795
|
-
*
|
|
4796
|
-
*/
|
|
4797
|
-
readonly neighbour_collision_increase: number
|
|
4798
|
-
|
|
4799
4791
|
/**
|
|
4800
4792
|
* The next upgrade for this entity or `nil`.
|
|
4801
4793
|
*/
|
|
@@ -15836,6 +15828,11 @@ interface LuaTilePrototype {
|
|
|
15836
15828
|
*/
|
|
15837
15829
|
readonly can_be_part_of_blueprint: boolean
|
|
15838
15830
|
|
|
15831
|
+
/**
|
|
15832
|
+
* True if building this tile should check for colliding entities above and prevent building if such are found. Also during mining tiles above this tile checks for entities colliding with this tile and prevents mining if such are found.
|
|
15833
|
+
*/
|
|
15834
|
+
readonly check_collision_with_entities: boolean
|
|
15835
|
+
|
|
15839
15836
|
/**
|
|
15840
15837
|
* The collision mask this tile uses
|
|
15841
15838
|
*/
|
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.50
|
|
6
6
|
// API version 1
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1899,16 +1899,30 @@ type LuaSectorScannedEventFilter = LuaSectorScannedEventFilterGhostName | LuaSec
|
|
|
1899
1899
|
*/
|
|
1900
1900
|
type LuaUpgradeCancelledEventFilter = LuaUpgradeCancelledEventFilterGhostName | LuaUpgradeCancelledEventFilterGhostType | LuaUpgradeCancelledEventFilterName | LuaUpgradeCancelledEventFilterType | DefaultLuaUpgradeCancelledEventFilter
|
|
1901
1901
|
|
|
1902
|
+
/**
|
|
1903
|
+
* All regular {@link MapSettings | MapSettings} plus an additional table that contains the {@link DifficultySettings | DifficultySettings}.
|
|
1904
|
+
* @param max_failed_behavior_count - If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
|
1905
|
+
*/
|
|
1906
|
+
interface MapAndDifficultySettings {
|
|
1907
|
+
'difficulty_settings': DifficultySettings
|
|
1908
|
+
'enemy_evolution': EnemyEvolutionMapSettings
|
|
1909
|
+
'enemy_expansion': EnemyExpansionMapSettings
|
|
1910
|
+
/**
|
|
1911
|
+
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
|
1912
|
+
*/
|
|
1913
|
+
'max_failed_behavior_count': number
|
|
1914
|
+
'path_finder': PathFinderMapSettings
|
|
1915
|
+
'pollution': PollutionMapSettings
|
|
1916
|
+
'steering': SteeringMapSettings
|
|
1917
|
+
'unit_group': UnitGroupMapSettings
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1902
1920
|
/**
|
|
1903
1921
|
* The data that can be extracted from a map exchange string, as a plain table.
|
|
1904
|
-
* @param map_settings - All the regular map settings plus an additional table called `difficulty_settings` that contains the [DifficultySettings](DifficultySettings).
|
|
1905
1922
|
*/
|
|
1906
1923
|
interface MapExchangeStringData {
|
|
1907
1924
|
'map_gen_settings': MapGenSettings
|
|
1908
|
-
|
|
1909
|
-
* All the regular map settings plus an additional table called `difficulty_settings` that contains the {@link DifficultySettings | DifficultySettings}.
|
|
1910
|
-
*/
|
|
1911
|
-
'map_settings': MapSettings
|
|
1925
|
+
'map_settings': MapAndDifficultySettings
|
|
1912
1926
|
}
|
|
1913
1927
|
|
|
1914
1928
|
/**
|
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.50
|
|
6
6
|
// API version 1
|
|
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.50
|
|
6
6
|
// API version 1
|
|
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.50
|
|
6
6
|
// API version 1
|
|
7
7
|
|
|
8
8
|
/**
|