Skip to content

Commit 9eba17d

Browse files
committed
Factorio API version 2.0.19
1 parent 87baed5 commit 9eba17d

File tree

9 files changed

+18
-10
lines changed

9 files changed

+18
-10
lines changed

dist/classes.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.18
5+
// Factorio version 2.0.19
66
// API version 6
77

88
declare namespace runtime {
@@ -171,6 +171,7 @@ interface LuaAgriculturalTowerControlBehavior extends LuaGenericOnOffControlBeha
171171
interface LuaAirbornePollutantPrototype extends LuaPrototypeBase {
172172
readonly affects_evolution: boolean;
173173
readonly chart_color: Color;
174+
readonly localised_name_with_amount_key: string;
174175
/**
175176
* The class name of this object. Available even when `valid` is false. For LuaStruct objects it may also be suffixed with a dotted path to a member of the struct.
176177
*/

dist/concepts.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.18
5+
// Factorio version 2.0.19
66
// API version 6
77

88
declare namespace runtime {

dist/datacollection.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.18
5+
// Factorio version 2.0.19
66
// API version 6
77

88
declare namespace prototype {

dist/defines.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.18
5+
// Factorio version 2.0.19
66
// API version 6
77

88
declare namespace defines {

dist/events.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.18
5+
// Factorio version 2.0.19
66
// API version 6
77

88
declare namespace runtime {

dist/global.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.18
5+
// Factorio version 2.0.19
66
// API version 6
77

88
/**

dist/prototypes.d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.18
5+
// Factorio version 2.0.19
66
// API version 6
77

88
declare namespace prototype {
@@ -182,6 +182,9 @@ interface AgriculturalTowerPrototype extends EntityWithOwnerPrototype {
182182
*/
183183
random_growth_offset?: double;
184184
}
185+
/**
186+
* A type of pollution that can spread throughout the chunks of a map.
187+
*/
185188
interface AirbornePollutantPrototype extends Prototype {
186189
affects_evolution: bool;
187190
/**
@@ -190,6 +193,10 @@ interface AirbornePollutantPrototype extends Prototype {
190193
affects_water_tint: bool;
191194
chart_color: Color;
192195
icon: Sprite;
196+
/**
197+
* The translated plural string key to use when displaying this pollution's name with an amount. See {@link Tutorial:Localisation | https://wiki.factorio.com/Tutorial:Localisation}.
198+
*/
199+
localised_name_with_amount?: string;
193200
}
194201
/**
195202
* This prototype is used to make sound while playing the game. This includes the game's {@link music | https://store.steampowered.com/app/436090/Factorio__Soundtrack/}, composed by Daniel James Taylor.

dist/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Factorio API reference https://lua-api.factorio.com/latest/index.html
33
// Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
44
// Definition source https://github.com/sguest/factorio-types
5-
// Factorio version 2.0.18
5+
// Factorio version 2.0.19
66
// API version 6
77

88
declare namespace prototype {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "factorio-types",
3-
"version": "1.2.12",
3+
"version": "1.2.13",
44
"description": "Typescript declarations for the Factorio mod API",
55
"main": "index.d.ts",
66
"repository": "https://github.com/sguest/factorio-types.git",
@@ -23,7 +23,7 @@
2323
"src/**/*.d.ts",
2424
"dist/**/*.d.ts"
2525
],
26-
"factorioVersion": "2.0.18",
26+
"factorioVersion": "2.0.19",
2727
"dependencies": {
2828
"lua-types": "^2.13.1"
2929
},

0 commit comments

Comments
 (0)