factorio-types 1.2.30 → 1.2.31
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 +22 -7
- package/dist/concepts.d.ts +3 -3
- package/dist/datacollection.d.ts +1 -1
- package/dist/defines.d.ts +19 -8
- package/dist/events.d.ts +1 -1
- package/dist/global.d.ts +1 -1
- package/dist/prototypes.d.ts +21 -3
- package/dist/types.d.ts +13 -1
- 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.0.
|
|
5
|
+
// Factorio version 2.0.44
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -4870,12 +4870,20 @@ interface LuaControl {
|
|
|
4870
4870
|
* Unselect any selected entity.
|
|
4871
4871
|
*/
|
|
4872
4872
|
clear_selected_entity(this: void): void;
|
|
4873
|
+
/**
|
|
4874
|
+
* Closes the Factoriopedia GUI if it's open.
|
|
4875
|
+
*/
|
|
4876
|
+
close_factoriopedia_gui(this: void): void;
|
|
4873
4877
|
/**
|
|
4874
4878
|
* Disable the flashlight.
|
|
4879
|
+
*
|
|
4880
|
+
* Applied per controller. Only supported by {@link defines.controllers.character | runtime:defines.controllers.character} and {@link defines.controllers.remote | runtime:defines.controllers.remote}.
|
|
4875
4881
|
*/
|
|
4876
4882
|
disable_flashlight(this: void): void;
|
|
4877
4883
|
/**
|
|
4878
4884
|
* Enable the flashlight.
|
|
4885
|
+
*
|
|
4886
|
+
* Applied per controller. Only supported by {@link defines.controllers.character | runtime:defines.controllers.character} and {@link defines.controllers.remote | runtime:defines.controllers.remote}.
|
|
4879
4887
|
*/
|
|
4880
4888
|
enable_flashlight(this: void): void;
|
|
4881
4889
|
/**
|
|
@@ -4933,7 +4941,7 @@ interface LuaControl {
|
|
|
4933
4941
|
*/
|
|
4934
4942
|
is_cursor_empty(this: void): boolean;
|
|
4935
4943
|
/**
|
|
4936
|
-
* Is the flashlight enabled.
|
|
4944
|
+
* Is the flashlight enabled for the current controller. Only supported by {@link defines.controllers.character | runtime:defines.controllers.character} and {@link defines.controllers.remote | runtime:defines.controllers.remote}.
|
|
4937
4945
|
*/
|
|
4938
4946
|
is_flashlight_enabled(this: void): boolean;
|
|
4939
4947
|
/**
|
|
@@ -4953,6 +4961,10 @@ interface LuaControl {
|
|
|
4953
4961
|
* @returns Whether the mining succeeded.
|
|
4954
4962
|
*/
|
|
4955
4963
|
mine_tile(this: void, tile: LuaTile): boolean;
|
|
4964
|
+
/**
|
|
4965
|
+
* Open the Factoriopedia GUI and select a given entry.
|
|
4966
|
+
*/
|
|
4967
|
+
open_factoriopedia_gui(this: void, prototype?: LuaPrototypeBase): void;
|
|
4956
4968
|
/**
|
|
4957
4969
|
* Open the technology GUI and select a given technology.
|
|
4958
4970
|
* @param technology The technology to select after opening the GUI.
|
|
@@ -5174,9 +5186,9 @@ interface LuaControl {
|
|
|
5174
5186
|
*
|
|
5175
5187
|
* This is the GUI that will asked to close (by firing the {@link on_gui_closed | runtime:on_gui_closed} event) when the `Esc` or `E` keys are pressed. If this attribute is non-nil, then writing `nil` or a new GUI to it will ask the existing GUI to close.
|
|
5176
5188
|
*
|
|
5177
|
-
* Write supports any of the types. Read will return the `entity`, `equipment`, `equipment-grid`, `player`, `element`, `inventory` or `nil`.
|
|
5189
|
+
* Write supports any of the types. Read will return the `entity`, `equipment`, `equipment-grid`, `player`, `element`, `inventory`, `item` or `nil`.
|
|
5178
5190
|
*/
|
|
5179
|
-
opened?: LuaEntity | LuaItemStack | LuaEquipment | LuaEquipmentGrid | LuaPlayer | LuaGuiElement | LuaInventory | LuaLogisticNetwork | defines.gui_type;
|
|
5191
|
+
opened?: LuaEntity | LuaItemStack | LuaEquipment | LuaEquipmentGrid | LuaPlayer | LuaGuiElement | LuaInventory | LuaLogisticNetwork | LuaItemStack | defines.gui_type;
|
|
5180
5192
|
readonly opened_gui_type?: defines.gui_type;
|
|
5181
5193
|
/**
|
|
5182
5194
|
* Current item-picking state.
|
|
@@ -6229,7 +6241,7 @@ interface LuaEntity extends LuaControl {
|
|
|
6229
6241
|
/**
|
|
6230
6242
|
* @returns `true` if the rocket was successfully launched. Return value of `false` means the silo is not ready for launch.
|
|
6231
6243
|
*/
|
|
6232
|
-
launch_rocket(this: void): boolean;
|
|
6244
|
+
launch_rocket(this: void, destination?: CargoDestination): boolean;
|
|
6233
6245
|
/**
|
|
6234
6246
|
* Mines this entity.
|
|
6235
6247
|
*
|
|
@@ -8365,9 +8377,9 @@ interface LuaEntityPrototype extends LuaPrototypeBase {
|
|
|
8365
8377
|
*/
|
|
8366
8378
|
readonly tank_driving?: boolean;
|
|
8367
8379
|
/**
|
|
8368
|
-
* The target temperature of this boiler prototype.
|
|
8380
|
+
* The target temperature of this boiler or fusion reactor prototype. If `nil` on a fusion reactor, the target temperature is the default temperature of the output fluid.
|
|
8369
8381
|
*/
|
|
8370
|
-
readonly target_temperature?:
|
|
8382
|
+
readonly target_temperature?: float;
|
|
8371
8383
|
/**
|
|
8372
8384
|
* The terrain friction modifier for this vehicle.
|
|
8373
8385
|
*/
|
|
@@ -13547,6 +13559,9 @@ interface LuaPlayer extends LuaControl {
|
|
|
13547
13559
|
* @param table.position Where to create the pin. Required when surface is defined.
|
|
13548
13560
|
*/
|
|
13549
13561
|
add_pin(this: void, table: {
|
|
13562
|
+
label?: string;
|
|
13563
|
+
preview_distance?: uint16;
|
|
13564
|
+
always_visible?: boolean;
|
|
13550
13565
|
entity?: LuaEntity;
|
|
13551
13566
|
player?: PlayerIdentification;
|
|
13552
13567
|
surface?: SurfaceIdentification;
|
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.0.
|
|
5
|
+
// Factorio version 2.0.44
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -1851,7 +1851,7 @@ interface EventData {
|
|
|
1851
1851
|
*
|
|
1852
1852
|
* Filters are always used as an array of filters of a specific type. Every filter can only be used with its corresponding event, and different types of event filters can not be mixed.
|
|
1853
1853
|
*/
|
|
1854
|
-
type EventFilter = (
|
|
1854
|
+
type EventFilter = (LuaScriptRaisedTeleportedEventFilter | LuaPreRobotMinedEntityEventFilter | LuaScriptRaisedBuiltEventFilter | LuaPlatformMinedEntityEventFilter | LuaRobotBuiltEntityEventFilter | LuaPrePlayerMinedEntityEventFilter | LuaEntityDeconstructionCancelledEventFilter | LuaPreGhostUpgradedEventFilter | LuaPlatformBuiltEntityEventFilter | LuaPrePlatformMinedEntityEventFilter | LuaEntityClonedEventFilter | LuaPlayerRepairedEntityEventFilter | LuaPostEntityDiedEventFilter | LuaPreGhostDeconstructedEventFilter | LuaPlayerMinedEntityEventFilter | LuaSectorScannedEventFilter | LuaRobotMinedEntityEventFilter | LuaEntityMarkedForDeconstructionEventFilter | LuaScriptRaisedReviveEventFilter | LuaPlayerBuiltEntityEventFilter | LuaUpgradeCancelledEventFilter | LuaEntityDamagedEventFilter | LuaEntityDiedEventFilter | LuaEntityMarkedForUpgradeEventFilter | LuaScriptRaisedDestroyEventFilter)[];
|
|
1855
1855
|
/**
|
|
1856
1856
|
* Identifies a statistics prototype, depending on the statistics type.
|
|
1857
1857
|
*/
|
|
@@ -5869,7 +5869,7 @@ type PropertyExpressionNames = Record<string, string>;
|
|
|
5869
5869
|
*
|
|
5870
5870
|
* Filters are always used as an array of filters of a specific type. Every filter can only be used with its corresponding event, and different types of event filters can not be mixed.
|
|
5871
5871
|
*/
|
|
5872
|
-
type PrototypeFilter = (ModSettingPrototypeFilter |
|
|
5872
|
+
type PrototypeFilter = (ModSettingPrototypeFilter | SpaceLocationPrototypeFilter | DecorativePrototypeFilter | TilePrototypeFilter | AsteroidChunkPrototypeFilter | ItemPrototypeFilter | TechnologyPrototypeFilter | RecipePrototypeFilter | AchievementPrototypeFilter | EquipmentPrototypeFilter | FluidPrototypeFilter | EntityPrototypeFilter)[];
|
|
5873
5873
|
type PrototypeFilterMode = 'none' | 'whitelist' | 'blacklist';
|
|
5874
5874
|
interface PrototypeHistory {
|
|
5875
5875
|
/**
|
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.0.
|
|
5
|
+
// Factorio version 2.0.44
|
|
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.0.
|
|
5
|
+
// Factorio version 2.0.44
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace defines {
|
|
@@ -65,7 +65,7 @@ enum cargo_destination {
|
|
|
65
65
|
*/
|
|
66
66
|
station = 2,
|
|
67
67
|
/**
|
|
68
|
-
* Cargo pods will switch destination type from surface to station before starting descent if there is a station available and {@link CargoDestination::position | runtime:CargoDestination::position} has not been specified.
|
|
68
|
+
* Cargo pods will switch destination type from surface to station before starting descent if there is a station available and {@link CargoDestination::position | runtime:CargoDestination::position} has not been specified. Note, setting the destination to "surface" when the surface is the same as the one the pod is on forces it to find and set a landing position.
|
|
69
69
|
*/
|
|
70
70
|
surface = 3
|
|
71
71
|
}
|
|
@@ -1292,13 +1292,24 @@ enum inventory {
|
|
|
1292
1292
|
turret_ammo = 42
|
|
1293
1293
|
}
|
|
1294
1294
|
enum logistic_member_index {
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1295
|
+
car_provider = 10,
|
|
1296
|
+
car_requester = 9,
|
|
1297
|
+
character_provider = 5,
|
|
1298
|
+
character_requester = 3,
|
|
1299
|
+
character_storage = 4,
|
|
1300
|
+
generic_on_off_behavior = 6,
|
|
1299
1301
|
logistic_container = 0,
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
+
logistic_container_trash_provider = 1,
|
|
1303
|
+
roboport_provider = 11,
|
|
1304
|
+
roboport_requester = 12,
|
|
1305
|
+
rocket_silo_provider = 13,
|
|
1306
|
+
rocket_silo_requester = 14,
|
|
1307
|
+
rocket_silo_trash_provider = 15,
|
|
1308
|
+
space_platform_hub_provider = 17,
|
|
1309
|
+
space_platform_hub_requester = 16,
|
|
1310
|
+
spidertron_provider = 8,
|
|
1311
|
+
spidertron_requester = 7,
|
|
1312
|
+
vehicle_storage = 2
|
|
1302
1313
|
}
|
|
1303
1314
|
enum logistic_mode {
|
|
1304
1315
|
active_provider = 1,
|
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.0.
|
|
5
|
+
// Factorio version 2.0.44
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
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.0.
|
|
5
|
+
// Factorio version 2.0.44
|
|
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.0.
|
|
5
|
+
// Factorio version 2.0.44
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace prototype {
|
|
@@ -2474,6 +2474,10 @@ interface DecorativePrototype extends Prototype {
|
|
|
2474
2474
|
decal_overdraw_priority?: uint16;
|
|
2475
2475
|
grows_through_rail_path?: boolean;
|
|
2476
2476
|
minimal_separation?: double;
|
|
2477
|
+
/**
|
|
2478
|
+
* Loaded only if `render_layer` = "decals". Value lower than 1 enables masking by water for decals with `tile_layer` greater or equal to {@link UtilityConstants::capture_water_mask_at_layer | prototype:UtilityConstants::capture_water_mask_at_layer}. Water tiles must use water `tile-effect` with {@link WaterTileEffectParameters::lightmap_alpha | prototype:WaterTileEffectParameters::lightmap_alpha} set to 0 or value less than 1. Graphics option `Occlude light sprites` must be enabled, as water mask is captured into terrain lightmap alpha channel. Tiles rendered in layer between {@link UtilityConstants::capture_water_mask_at_layer | prototype:UtilityConstants::capture_water_mask_at_layer} and decal's `tile_layer` will likely also mask decals in some way, as water mask will likely be 0 at their position, but this is considered undefined behavior.
|
|
2479
|
+
*/
|
|
2480
|
+
opacity_over_water?: float;
|
|
2477
2481
|
/**
|
|
2478
2482
|
* Must contain at least 1 picture.
|
|
2479
2483
|
*/
|
|
@@ -2493,7 +2497,7 @@ interface DecorativePrototype extends Prototype {
|
|
|
2493
2497
|
stateless_visualisation_variations?: StatelessVisualisations[];
|
|
2494
2498
|
target_count?: uint16;
|
|
2495
2499
|
/**
|
|
2496
|
-
* Mandatory if `render_layer` = "decals". This int16 is converted to a {@link
|
|
2500
|
+
* Mandatory if `render_layer` = "decals". This int16 is converted to a {@link TileRenderLayer | prototype:TileRenderLayer} internally. It is offset from `ground-natural`.
|
|
2497
2501
|
*/
|
|
2498
2502
|
tile_layer?: int16;
|
|
2499
2503
|
/**
|
|
@@ -4073,6 +4077,10 @@ interface FusionReactorPrototype extends EntityWithOwnerPrototype {
|
|
|
4073
4077
|
* Cannot be negative.
|
|
4074
4078
|
*/
|
|
4075
4079
|
power_input: Energy;
|
|
4080
|
+
/**
|
|
4081
|
+
* The temperature of the fluid to output. If not defined, the default temperature of the output fluid will be used.
|
|
4082
|
+
*/
|
|
4083
|
+
target_temperature?: float;
|
|
4076
4084
|
/**
|
|
4077
4085
|
* If set to true, only North and East direction will be buildable.
|
|
4078
4086
|
*/
|
|
@@ -7260,6 +7268,7 @@ interface RocketSiloPrototype extends AssemblingMachinePrototype {
|
|
|
7260
7268
|
* Drawn instead of `base_day_sprite` during the night, that is when {@link LuaSurface::darkness | runtime:LuaSurface::darkness} is larger than 0.3.
|
|
7261
7269
|
*/
|
|
7262
7270
|
base_night_sprite?: Sprite;
|
|
7271
|
+
can_launch_without_landing_pads?: boolean;
|
|
7263
7272
|
/**
|
|
7264
7273
|
* Must have exactly one entry in {@link CargoStationParameters::hatch_definitions | prototype:CargoStationParameters::hatch_definitions}.
|
|
7265
7274
|
*/
|
|
@@ -9681,6 +9690,10 @@ interface UtilityConstants extends PrototypeBase {
|
|
|
9681
9690
|
building_no_tint: Color;
|
|
9682
9691
|
building_not_buildable_tint: Color;
|
|
9683
9692
|
capsule_range_visualization_color: Color;
|
|
9693
|
+
/**
|
|
9694
|
+
* Layer within `ground-natural` {@link tile render layer | prototype:TileRenderLayer} group, before which terrain lightmap alpha channel is copiend into water mask. Decals, which need to be masked by water should have their {@link DecorativePrototype::tile_layer | prototype:DecorativePrototype::tile_layer} set to only slightly larger value than `capture_water_mask_at_layer`, to avoid risk of undefined behavior caused by rendering tiles into layers between `capture_water_mask_at_layer` and decal's `tile_layer`.
|
|
9695
|
+
*/
|
|
9696
|
+
capture_water_mask_at_layer: uint8;
|
|
9684
9697
|
/**
|
|
9685
9698
|
* Chart means map and minimap.
|
|
9686
9699
|
*/
|
|
@@ -9879,9 +9892,13 @@ interface UtilityConstants extends PrototypeBase {
|
|
|
9879
9892
|
*/
|
|
9880
9893
|
space_platform_acceleration_expression: MathExpression;
|
|
9881
9894
|
/**
|
|
9882
|
-
* Determines how fast space platforms will send items in
|
|
9895
|
+
* Determines how fast space platforms will send items in drop slots to the surface. Each item type has its own cooldown.
|
|
9883
9896
|
*/
|
|
9884
9897
|
space_platform_dump_cooldown: uint32;
|
|
9898
|
+
/**
|
|
9899
|
+
* Delay after manual transfer until space platform sends items in drop slots to the surface. Overrides remaining space_platform_dump_cooldown in this instance.
|
|
9900
|
+
*/
|
|
9901
|
+
space_platform_manual_dump_cooldown: uint32;
|
|
9885
9902
|
space_platform_max_size: SimpleBoundingBox;
|
|
9886
9903
|
space_platform_relative_speed_factor: double;
|
|
9887
9904
|
space_platform_starfield_movement_vector: Vector;
|
|
@@ -10311,6 +10328,7 @@ interface UtilitySprites extends PrototypeBase {
|
|
|
10311
10328
|
entity_info_dark_background: Sprite;
|
|
10312
10329
|
equipment_collision: Sprite;
|
|
10313
10330
|
equipment_grid: Sprite;
|
|
10331
|
+
equipment_grid_small: Sprite;
|
|
10314
10332
|
equipment_slot: Sprite;
|
|
10315
10333
|
expand: Sprite;
|
|
10316
10334
|
expand_dots: Sprite;
|
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.0.
|
|
5
|
+
// Factorio version 2.0.44
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace prototype {
|
|
@@ -9794,6 +9794,10 @@ interface SpriteParameters extends SpriteSource {
|
|
|
9794
9794
|
* Only loaded if this is an icon, that is it has the flag `"group=icon"` or `"group=gui"`. Will be clamped to range `[0, 5]`.
|
|
9795
9795
|
*/
|
|
9796
9796
|
mipmap_count?: uint8;
|
|
9797
|
+
/**
|
|
9798
|
+
* Loaded only if `draw_as_shadow`, `draw_as_glow` and `draw_as_light` are `false`, and only by sprites used by tile renderer (decals and underwater patches). Purspose of setting this to `false` is to preserve water mask from sprites that are supposed to be drawn under the water.
|
|
9799
|
+
*/
|
|
9800
|
+
occludes_light?: bool;
|
|
9797
9801
|
priority?: SpritePriority;
|
|
9798
9802
|
/**
|
|
9799
9803
|
* Whether to rotate the `shift` alongside the sprite's rotation. This only applies to sprites which are procedurally rotated by the game engine (like projectiles, wires, inserter hands, etc).
|
|
@@ -10973,6 +10977,10 @@ interface TileTransitions {
|
|
|
10973
10977
|
auxiliary_effect_mask_spritesheet?: FileName;
|
|
10974
10978
|
background_enabled?: boolean;
|
|
10975
10979
|
background_layer_group?: TileRenderLayer;
|
|
10980
|
+
/**
|
|
10981
|
+
* If drawing under water which is supposed to yield water mask, set this to `false` to not mess up the water mask.
|
|
10982
|
+
*/
|
|
10983
|
+
background_layer_occludes_light?: boolean;
|
|
10976
10984
|
background_layer_offset?: int8;
|
|
10977
10985
|
/**
|
|
10978
10986
|
* Overrides the `background` definition inside `layout`.
|
|
@@ -12506,6 +12514,10 @@ interface WaterTileEffectParameters {
|
|
|
12506
12514
|
far_zoom?: float;
|
|
12507
12515
|
foam_color: Color;
|
|
12508
12516
|
foam_color_multiplier: float;
|
|
12517
|
+
/**
|
|
12518
|
+
* Value 0 makes water appear as water in water mask, but does not occlude lights, and doesn't overwrite lightmap alpha drawn to pixel previously (by background layer of tile transition, or underwater sprite). Light emitted by water-like-tile (for example lava) will blend additively with previously rendered light. Value 1 makes water occlude lights, but won't be recognized as water in water mask used for masking decals by water.
|
|
12519
|
+
*/
|
|
12520
|
+
lightmap_alpha?: float;
|
|
12509
12521
|
near_zoom?: float;
|
|
12510
12522
|
reflection_threshold: float | [
|
|
12511
12523
|
float,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "factorio-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.31",
|
|
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.0.
|
|
26
|
+
"factorioVersion": "2.0.44",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"lua-types": "^2.13.1"
|
|
29
29
|
},
|