File tree Expand file tree Collapse file tree 9 files changed +18
-10
lines changed Expand file tree Collapse file tree 9 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 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.18
5
+ // Factorio version 2.0.19
6
6
// API version 6
7
7
8
8
declare namespace runtime {
@@ -171,6 +171,7 @@ interface LuaAgriculturalTowerControlBehavior extends LuaGenericOnOffControlBeha
171
171
interface LuaAirbornePollutantPrototype extends LuaPrototypeBase {
172
172
readonly affects_evolution: boolean;
173
173
readonly chart_color: Color;
174
+ readonly localised_name_with_amount_key: string;
174
175
/**
175
176
* 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.
176
177
*/
Original file line number Diff line number Diff line change 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.18
5
+ // Factorio version 2.0.19
6
6
// API version 6
7
7
8
8
declare namespace runtime {
Original file line number Diff line number Diff line change 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.18
5
+ // Factorio version 2.0.19
6
6
// API version 6
7
7
8
8
declare namespace prototype {
Original file line number Diff line number Diff line change 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.18
5
+ // Factorio version 2.0.19
6
6
// API version 6
7
7
8
8
declare namespace defines {
Original file line number Diff line number Diff line change 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.18
5
+ // Factorio version 2.0.19
6
6
// API version 6
7
7
8
8
declare namespace runtime {
Original file line number Diff line number Diff line change 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.18
5
+ // Factorio version 2.0.19
6
6
// API version 6
7
7
8
8
/**
Original file line number Diff line number Diff line change 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.18
5
+ // Factorio version 2.0.19
6
6
// API version 6
7
7
8
8
declare namespace prototype {
@@ -182,6 +182,9 @@ interface AgriculturalTowerPrototype extends EntityWithOwnerPrototype {
182
182
*/
183
183
random_growth_offset ?: double ;
184
184
}
185
+ /**
186
+ * A type of pollution that can spread throughout the chunks of a map.
187
+ */
185
188
interface AirbornePollutantPrototype extends Prototype {
186
189
affects_evolution : bool ;
187
190
/**
@@ -190,6 +193,10 @@ interface AirbornePollutantPrototype extends Prototype {
190
193
affects_water_tint : bool ;
191
194
chart_color : Color ;
192
195
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 ;
193
200
}
194
201
/**
195
202
* 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.
Original file line number Diff line number Diff line change 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.18
5
+ // Factorio version 2.0.19
6
6
// API version 6
7
7
8
8
declare namespace prototype {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " factorio-types" ,
3
- "version" : " 1.2.12 " ,
3
+ "version" : " 1.2.13 " ,
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
23
" src/**/*.d.ts" ,
24
24
" dist/**/*.d.ts"
25
25
],
26
- "factorioVersion" : " 2.0.18 " ,
26
+ "factorioVersion" : " 2.0.19 " ,
27
27
"dependencies" : {
28
28
"lua-types" : " ^2.13.1"
29
29
},
You can’t perform that action at this time.
0 commit comments