factorio-types 1.2.36 → 1.2.37
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 +13 -6
- package/dist/concepts.d.ts +1 -1
- package/dist/datacollection.d.ts +1 -1
- package/dist/defines.d.ts +1 -1
- package/dist/events.d.ts +11 -1
- package/dist/global.d.ts +1 -1
- package/dist/prototypes.d.ts +34 -16
- package/dist/types.d.ts +24 -18
- 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.52
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -6018,11 +6018,9 @@ interface LuaEntity extends LuaControl {
|
|
|
6018
6018
|
get_line_item_position(this: void, index: uint, position: float): MapPosition;
|
|
6019
6019
|
/**
|
|
6020
6020
|
* Gets all the `LuaLogisticPoint`s that this entity owns. Optionally returns only the point specified by the index parameter.
|
|
6021
|
-
*
|
|
6022
|
-
* When `index` is not given, this will be a single `LuaLogisticPoint` for most entities. For some (such as the player character), it can be zero or more.
|
|
6023
|
-
* @param index If provided, only returns the `LuaLogisticPoint` specified by this index.
|
|
6021
|
+
* @param index If provided, this method only returns the `LuaLogisticPoint` specified by this index, or `nil` if it doesn't exist.
|
|
6024
6022
|
*/
|
|
6025
|
-
get_logistic_point(this: void, index?: defines.logistic_member_index): (LuaLogisticPoint |
|
|
6023
|
+
get_logistic_point(this: void, index?: defines.logistic_member_index): (LuaLogisticPoint | LuaLogisticPoint[]) | null;
|
|
6026
6024
|
/**
|
|
6027
6025
|
* Gives logistic sections of this entity if it uses logistic sections.
|
|
6028
6026
|
*/
|
|
@@ -6656,7 +6654,7 @@ interface LuaEntity extends LuaControl {
|
|
|
6656
6654
|
*/
|
|
6657
6655
|
combat_robot_owner?: LuaEntity;
|
|
6658
6656
|
/**
|
|
6659
|
-
* The description on this combinator
|
|
6657
|
+
* The description on this combinator.
|
|
6660
6658
|
*/
|
|
6661
6659
|
combinator_description: string;
|
|
6662
6660
|
/**
|
|
@@ -12609,6 +12607,7 @@ interface LuaItemPrototype extends LuaPrototypeBase {
|
|
|
12609
12607
|
* Effects of this module.
|
|
12610
12608
|
*/
|
|
12611
12609
|
readonly module_effects?: ModuleEffects;
|
|
12610
|
+
readonly moved_to_hub_when_building: boolean;
|
|
12612
12611
|
/**
|
|
12613
12612
|
* 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.
|
|
12614
12613
|
*/
|
|
@@ -16252,6 +16251,10 @@ interface LuaSchedule {
|
|
|
16252
16251
|
* @param index The record to change.
|
|
16253
16252
|
*/
|
|
16254
16253
|
drag_wait_condition(this: void, index: ScheduleRecordPosition, from: uint, to: uint): void;
|
|
16254
|
+
/**
|
|
16255
|
+
* Gets if the given interrupt can be triggered inside other interrupts.
|
|
16256
|
+
*/
|
|
16257
|
+
get_inside_interrupt(this: void, interrupt_index: uint): boolean;
|
|
16255
16258
|
get_interrupt(this: void, index: uint): ScheduleInterrupt | null;
|
|
16256
16259
|
get_interrupts(this: void): ScheduleInterrupt[];
|
|
16257
16260
|
get_record(this: void, index: ScheduleRecordPosition): ScheduleRecord | null;
|
|
@@ -16301,6 +16304,10 @@ interface LuaSchedule {
|
|
|
16301
16304
|
* Sets if unloading is allowed at the given schedule index.
|
|
16302
16305
|
*/
|
|
16303
16306
|
set_allow_unloading(this: void, index: ScheduleRecordPosition, allow: boolean): void;
|
|
16307
|
+
/**
|
|
16308
|
+
* Sets if the given interrupt can be triggered inside other interrupts.
|
|
16309
|
+
*/
|
|
16310
|
+
set_inside_interrupt(this: void, interrupt_index: uint, value: boolean): void;
|
|
16304
16311
|
set_interrupts(this: void, interrupts: ScheduleInterrupt[]): void;
|
|
16305
16312
|
/**
|
|
16306
16313
|
* @param interrupt_index If provided, the records will be set on this interrupt.
|
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.52
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
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.52
|
|
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.52
|
|
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.0.
|
|
5
|
+
// Factorio version 2.0.52
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -180,12 +180,21 @@ interface on_build_base_arrived {
|
|
|
180
180
|
* Called when player builds something.
|
|
181
181
|
*/
|
|
182
182
|
interface on_built_entity {
|
|
183
|
+
/**
|
|
184
|
+
* A temporary inventory containing all items that the game used to build the entity. This inventory is temporary and thus invalidated after the event.
|
|
185
|
+
*/
|
|
183
186
|
consumed_items: LuaInventory;
|
|
187
|
+
/**
|
|
188
|
+
* The entity that was built.
|
|
189
|
+
*/
|
|
184
190
|
entity: LuaEntity;
|
|
185
191
|
/**
|
|
186
192
|
* Identifier of the event
|
|
187
193
|
*/
|
|
188
194
|
name: defines.events;
|
|
195
|
+
/**
|
|
196
|
+
* The player who did the building.
|
|
197
|
+
*/
|
|
189
198
|
player_index: uint;
|
|
190
199
|
/**
|
|
191
200
|
* The tags associated with this entity if any.
|
|
@@ -3832,6 +3841,7 @@ interface on_script_trigger_effect {
|
|
|
3832
3841
|
* Identifier of the event
|
|
3833
3842
|
*/
|
|
3834
3843
|
name: defines.events;
|
|
3844
|
+
quality?: string;
|
|
3835
3845
|
source_entity?: LuaEntity;
|
|
3836
3846
|
source_position?: MapPosition;
|
|
3837
3847
|
/**
|
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.52
|
|
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.52
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace prototype {
|
|
@@ -2096,14 +2096,12 @@ interface CustomInputPrototype extends Prototype {
|
|
|
2096
2096
|
*/
|
|
2097
2097
|
controller_alternative_key_sequence?: string;
|
|
2098
2098
|
/**
|
|
2099
|
-
* The controller (game pad) keybinding for this control. Use "" (empty string) for unassigned.
|
|
2099
|
+
* The controller (game pad) keybinding for this control. Use `""` (empty string) for unassigned.
|
|
2100
2100
|
*
|
|
2101
|
-
*
|
|
2101
|
+
* As modifier buttons, these names are used: `"controller-righttrigger"`, `"controller-lefttrigger"`.
|
|
2102
2102
|
*
|
|
2103
|
-
*
|
|
2104
|
-
*
|
|
2105
|
-
* A key binding can contain an unlimited amount of modifier buttons (listed above) but only one normal button (listed below).
|
|
2106
|
-
* These names are available for the normal controller buttons
|
|
2103
|
+
* `" + "` is used to separate modifier buttons from normal buttons, like so: `"controller-righttrigger + controller-a"`. A key binding can contain any amount of individual modifier buttons, but only a single normal button (listed below).
|
|
2104
|
+
* Available names for the normal controller buttons
|
|
2107
2105
|
*
|
|
2108
2106
|
* - controller-a
|
|
2109
2107
|
* - controller-b
|
|
@@ -2147,16 +2145,27 @@ interface CustomInputPrototype extends Prototype {
|
|
|
2147
2145
|
*/
|
|
2148
2146
|
item_to_spawn?: ItemID;
|
|
2149
2147
|
/**
|
|
2150
|
-
* The default key sequence for this custom input. Use "" (empty string) for unassigned.
|
|
2151
|
-
*
|
|
2152
|
-
* Use "mouse-button-2" etc for mouse buttons, mouse-button-3 for middle mouse button. Use "mouse-wheel-up", "mouse-wheel-down", "mouse-wheel-left", "mouse-wheel-right" for mouse wheel.
|
|
2148
|
+
* The default key sequence for this custom input. Use `""` (empty string) for unassigned.
|
|
2153
2149
|
*
|
|
2154
|
-
*
|
|
2150
|
+
* As modifier keys, these names are used: `"CONTROL"`, `"SHIFT"`, `"COMMAND"`, `"ALT"`. Note that `"COMMAND"` is loaded as `"CONTROL"` on Windows and Linux.
|
|
2155
2151
|
*
|
|
2156
|
-
*
|
|
2152
|
+
* `" + "` is used to separate modifier keys from normal keys, like so: `"ALT + G"`. A key binding can contain any amount of individual modifier keys, but only a single normal mouse button or keyboard key (listed below).
|
|
2153
|
+
* Available names for the normal mouse button
|
|
2157
2154
|
*
|
|
2158
|
-
*
|
|
2159
|
-
*
|
|
2155
|
+
* - `mouse-button-1` (left)
|
|
2156
|
+
* - `mouse-button-2` (right)
|
|
2157
|
+
* - `mouse-button-3` (middle)
|
|
2158
|
+
* - `mouse-button-4`
|
|
2159
|
+
* - `mouse-button-5`
|
|
2160
|
+
* - `mouse-button-6`
|
|
2161
|
+
* - `mouse-button-7`
|
|
2162
|
+
* - `mouse-button-8`
|
|
2163
|
+
* - `mouse-button-9`
|
|
2164
|
+
* - `mouse-wheel-up`
|
|
2165
|
+
* - `mouse-wheel-down`
|
|
2166
|
+
* - `mouse-wheel-left`
|
|
2167
|
+
* - `mouse-wheel-right`
|
|
2168
|
+
* Available names for the normal keyboard keys
|
|
2160
2169
|
*
|
|
2161
2170
|
* - A
|
|
2162
2171
|
* - B
|
|
@@ -4667,6 +4676,10 @@ interface ItemPrototype extends Prototype {
|
|
|
4667
4676
|
icons?: IconData[];
|
|
4668
4677
|
ingredient_to_weight_coefficient?: double;
|
|
4669
4678
|
inventory_move_sound?: Sound;
|
|
4679
|
+
/**
|
|
4680
|
+
* Whether this item should be moved to the hub when space platform performs building, upgrade or deconstruction and is left with this item. The following items are considered valuable and moved to hub by default: {@link Modules | prototype:ModulePrototype}, {@link items that build entities | prototype:ItemPrototype::place_result}, {@link items that build tiles | prototype:ItemPrototype::place_as_tile} and items {@link not obtainable from asteroid chunks | prototype:AsteroidChunkPrototype::minable} that have {@link subgroup | prototype:PrototypeBase::subgroup} from a {@link group | prototype:ItemSubGroup::group} other than `"intermediate-products"`.
|
|
4681
|
+
*/
|
|
4682
|
+
moved_to_hub_when_building?: boolean;
|
|
4670
4683
|
open_sound?: Sound;
|
|
4671
4684
|
pick_sound?: Sound;
|
|
4672
4685
|
/**
|
|
@@ -4697,7 +4710,7 @@ interface ItemPrototype extends Prototype {
|
|
|
4697
4710
|
*
|
|
4698
4711
|
* When "manual" is set, it can only be launched by pressing the launch button in the rocket silo.
|
|
4699
4712
|
*
|
|
4700
|
-
* When "automated" is set, it will force the existence of "launch to orbit automatically"
|
|
4713
|
+
* When "automated" is set, it will force the existence of "launch to orbit automatically" checkbox in the rocket silo which will then force the silo to automatically send the item to orbit when present.
|
|
4701
4714
|
*/
|
|
4702
4715
|
send_to_orbit_mode?: SendToOrbitMode;
|
|
4703
4716
|
/**
|
|
@@ -4953,7 +4966,7 @@ interface LabPrototype extends EntityWithOwnerPrototype {
|
|
|
4953
4966
|
on_animation?: Animation;
|
|
4954
4967
|
researching_speed?: double;
|
|
4955
4968
|
/**
|
|
4956
|
-
* May not be 0
|
|
4969
|
+
* May not be `0` or larger than `100`.
|
|
4957
4970
|
*/
|
|
4958
4971
|
science_pack_drain_rate_percent?: uint8;
|
|
4959
4972
|
trash_inventory_size?: ItemStackIndex;
|
|
@@ -5548,6 +5561,9 @@ interface MiningDrillPrototype extends EntityWithOwnerPrototype {
|
|
|
5548
5561
|
* Note: Categories containing resources which produce items, fluids, or items+fluids may be combined on the same entity, but may not work as expected. Examples: Miner does not rotate fluid-resulting resources until depletion. Fluid isn't output (fluid resource change and fluidbox matches previous fluid). Miner with no `vector_to_place_result` can't output an item result and halts.
|
|
5549
5562
|
*/
|
|
5550
5563
|
resource_categories: ResourceCategoryID[];
|
|
5564
|
+
/**
|
|
5565
|
+
* May not be `0` or larger than `100`.
|
|
5566
|
+
*/
|
|
5551
5567
|
resource_drain_rate_percent?: uint8;
|
|
5552
5568
|
/**
|
|
5553
5569
|
* The distance from the centre of the mining drill to search for resources in.
|
|
@@ -9770,6 +9786,7 @@ interface UtilityConstants extends PrototypeBase {
|
|
|
9770
9786
|
clear_cursor_volume_modifier: float;
|
|
9771
9787
|
clipboard_history_size: uint32;
|
|
9772
9788
|
color_filters?: ColorFilterData[];
|
|
9789
|
+
construction_robots_use_busy_robots_queue: boolean;
|
|
9773
9790
|
count_button_size: int32;
|
|
9774
9791
|
daytime_color_lookup: DaytimeColorLookupTable;
|
|
9775
9792
|
deconstruct_mark_tint: Color;
|
|
@@ -9894,6 +9911,7 @@ interface UtilityConstants extends PrototypeBase {
|
|
|
9894
9911
|
lightning_attractor_protection_range_color: Color;
|
|
9895
9912
|
logistic_gui_selected_network_highlight_tint: Color;
|
|
9896
9913
|
logistic_gui_unselected_network_highlight_tint: Color;
|
|
9914
|
+
logistic_robots_use_busy_robots_queue: boolean;
|
|
9897
9915
|
low_energy_robot_estimate_multiplier: double;
|
|
9898
9916
|
main_menu_background_image_location: FileName;
|
|
9899
9917
|
main_menu_background_vignette_intensity: float;
|
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.52
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace prototype {
|
|
@@ -3247,6 +3247,7 @@ interface CreateDecorativesTriggerEffectItem extends TriggerEffectItem {
|
|
|
3247
3247
|
type: 'create-decorative';
|
|
3248
3248
|
}
|
|
3249
3249
|
interface CreateEntityTriggerEffectItemBase extends TriggerEffectItem {
|
|
3250
|
+
abort_if_over_space?: boolean;
|
|
3250
3251
|
/**
|
|
3251
3252
|
* If true, creates the entity as a member of the enemy force. If the surface.no_enemies_mode is true, the entity will not be created.
|
|
3252
3253
|
*/
|
|
@@ -4652,10 +4653,7 @@ interface FluidEnergySource extends BaseEnergySource {
|
|
|
4652
4653
|
smoke?: SmokeSource[];
|
|
4653
4654
|
type: 'fluid';
|
|
4654
4655
|
}
|
|
4655
|
-
type FluidFlowDirection = 'input-output' | 'input' |
|
|
4656
|
-
* ,
|
|
4657
|
-
*/
|
|
4658
|
-
'output';
|
|
4656
|
+
type FluidFlowDirection = 'input-output' | 'input' | 'output';
|
|
4659
4657
|
/**
|
|
4660
4658
|
* The name of a {@link FluidPrototype | prototype:FluidPrototype}.
|
|
4661
4659
|
* @example ```
|
|
@@ -8691,6 +8689,8 @@ interface SelectionModeData {
|
|
|
8691
8689
|
}
|
|
8692
8690
|
/**
|
|
8693
8691
|
* An array containing the following values.
|
|
8692
|
+
*
|
|
8693
|
+
* Some flags only exclude objects from the selection, meaning they need to be combined with another flag to select anything.
|
|
8694
8694
|
*/
|
|
8695
8695
|
type SelectionModeFlags = (/**
|
|
8696
8696
|
* Selects entities and tiles as if selecting them for a blueprint.
|
|
@@ -8723,16 +8723,16 @@ type SelectionModeFlags = (/**
|
|
|
8723
8723
|
* Selects all tiles.
|
|
8724
8724
|
*/
|
|
8725
8725
|
'any-tile' | /**
|
|
8726
|
-
*
|
|
8726
|
+
* Excludes entities that have a different force than the selecting player from the selection.
|
|
8727
8727
|
*/
|
|
8728
8728
|
'same-force' | /**
|
|
8729
|
-
*
|
|
8729
|
+
* Excludes entities that have the same force as the selecting player from the selection.
|
|
8730
8730
|
*/
|
|
8731
8731
|
'not-same-force' | /**
|
|
8732
|
-
*
|
|
8732
|
+
* Excludes entities that are not from a friendly force from the selection.
|
|
8733
8733
|
*/
|
|
8734
8734
|
'friend' | /**
|
|
8735
|
-
*
|
|
8735
|
+
* Excludes entities that are not from an enemy force from the selection.
|
|
8736
8736
|
*/
|
|
8737
8737
|
'enemy' | /**
|
|
8738
8738
|
* Selects entities as if selecting them for upgrading.
|
|
@@ -8753,9 +8753,12 @@ type SelectionModeFlags = (/**
|
|
|
8753
8753
|
* Selects entities that are an {@link EntityWithOwnerPrototype | prototype:EntityWithOwnerPrototype}.
|
|
8754
8754
|
*/
|
|
8755
8755
|
'entity-with-owner' | /**
|
|
8756
|
-
*
|
|
8756
|
+
* Excludes {@link RollingStockPrototype | prototype:RollingStockPrototype}s from the selection.
|
|
8757
8757
|
*/
|
|
8758
|
-
'avoid-rolling-stock' |
|
|
8758
|
+
'avoid-rolling-stock' | /**
|
|
8759
|
+
* Excludes {@link VehiclePrototype | prototype:VehiclePrototype}s from the selection.
|
|
8760
|
+
*/
|
|
8761
|
+
'avoid-vehicle' | 'controllable' | 'controllable-add' | 'controllable-remove' | /**
|
|
8759
8762
|
* Selects entities that are an {@link EntityGhostPrototype | prototype:EntityGhostPrototype}.
|
|
8760
8763
|
*/
|
|
8761
8764
|
'entity-ghost' | /**
|
|
@@ -8792,16 +8795,16 @@ type SelectionModeFlags = (/**
|
|
|
8792
8795
|
* Selects all tiles.
|
|
8793
8796
|
*/
|
|
8794
8797
|
'any-tile' | /**
|
|
8795
|
-
*
|
|
8798
|
+
* Excludes entities that have a different force than the selecting player from the selection.
|
|
8796
8799
|
*/
|
|
8797
8800
|
'same-force' | /**
|
|
8798
|
-
*
|
|
8801
|
+
* Excludes entities that have the same force as the selecting player from the selection.
|
|
8799
8802
|
*/
|
|
8800
8803
|
'not-same-force' | /**
|
|
8801
|
-
*
|
|
8804
|
+
* Excludes entities that are not from a friendly force from the selection.
|
|
8802
8805
|
*/
|
|
8803
8806
|
'friend' | /**
|
|
8804
|
-
*
|
|
8807
|
+
* Excludes entities that are not from an enemy force from the selection.
|
|
8805
8808
|
*/
|
|
8806
8809
|
'enemy' | /**
|
|
8807
8810
|
* Selects entities as if selecting them for upgrading.
|
|
@@ -8822,9 +8825,12 @@ type SelectionModeFlags = (/**
|
|
|
8822
8825
|
* Selects entities that are an {@link EntityWithOwnerPrototype | prototype:EntityWithOwnerPrototype}.
|
|
8823
8826
|
*/
|
|
8824
8827
|
'entity-with-owner' | /**
|
|
8825
|
-
*
|
|
8828
|
+
* Excludes {@link RollingStockPrototype | prototype:RollingStockPrototype}s from the selection.
|
|
8829
|
+
*/
|
|
8830
|
+
'avoid-rolling-stock' | /**
|
|
8831
|
+
* Excludes {@link VehiclePrototype | prototype:VehiclePrototype}s from the selection.
|
|
8826
8832
|
*/
|
|
8827
|
-
'avoid-
|
|
8833
|
+
'avoid-vehicle' | 'controllable' | 'controllable-add' | 'controllable-remove' | /**
|
|
8828
8834
|
* Selects entities that are an {@link EntityGhostPrototype | prototype:EntityGhostPrototype}.
|
|
8829
8835
|
*/
|
|
8830
8836
|
'entity-ghost' | /**
|
|
@@ -10057,7 +10063,7 @@ interface StatelessVisualisation {
|
|
|
10057
10063
|
/**
|
|
10058
10064
|
* One of `nested_visualisations`, `animation` and `light` needs to be defined.
|
|
10059
10065
|
*/
|
|
10060
|
-
nested_visualisations?:
|
|
10066
|
+
nested_visualisations?: StatelessVisualisations;
|
|
10061
10067
|
offset_x?: RangedValue;
|
|
10062
10068
|
offset_y?: RangedValue;
|
|
10063
10069
|
offset_z?: RangedValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "factorio-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.37",
|
|
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.52",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"lua-types": "^2.13.1"
|
|
29
29
|
},
|