factorio-types 1.2.3 → 1.2.4

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 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.109
5
+ // Factorio version 1.1.110
6
6
  // API version 5
7
7
 
8
8
  declare namespace runtime {
@@ -5672,7 +5672,7 @@ interface LuaEntity extends LuaControl {
5672
5672
  */
5673
5673
  toggle_equipment_movement_bonus(this: void): void;
5674
5674
  /**
5675
- * Reconnect loader, beacon, cliff and mining drill connections to entities that might have been teleported out or in by the script. The game doesn't do this automatically as we don't want to loose performance by checking this in normal games.
5675
+ * Reconnect loader, beacon, cliff and mining drill connections to entities that might have been teleported out or in by the script. The game doesn't do this automatically as we don't want to lose performance by checking this in normal games.
5676
5676
  */
5677
5677
  update_connections(this: void): void;
5678
5678
  readonly absorbed_pollution: double;
@@ -6394,6 +6394,8 @@ interface LuaEntity extends LuaControl {
6394
6394
  readonly stickers?: LuaEntity[];
6395
6395
  /**
6396
6396
  * The storage filter for this logistic storage container.
6397
+ *
6398
+ * Useable only on logistic containers with the `"storage"` {@link logistic_mode | runtime:LuaEntityPrototype::logistic_mode}.
6397
6399
  */
6398
6400
  storage_filter?: LuaItemPrototype;
6399
6401
  /**
@@ -7389,7 +7391,7 @@ interface LuaEntityPrototype {
7389
7391
  */
7390
7392
  readonly rotation_speed?: double;
7391
7393
  /**
7392
- * The current movement speed of this character, including effects from exoskeletons, tiles, stickers and shooting.
7394
+ * The movement speed of this character prototype.
7393
7395
  */
7394
7396
  readonly running_speed?: double;
7395
7397
  /**
@@ -12144,7 +12146,7 @@ interface LuaLogisticContainerControlBehavior extends LuaControlBehavior {
12144
12146
  */
12145
12147
  help(this: void): string;
12146
12148
  /**
12147
- * The circuit mode of operations for the logistic container. Can only be set on containers whose {@link logistic_mode | runtime:LuaEntityPrototype::logistic_mode} is set to "requester".
12149
+ * The circuit mode of operations for the logistic container. Can only be set on containers whose {@link logistic_mode | runtime:LuaEntityPrototype::logistic_mode} is set to `"requester"` or `"buffer"`.
12148
12150
  */
12149
12151
  circuit_mode_of_operation: defines.control_behavior.logistic_container.circuit_mode_of_operation;
12150
12152
  /**
@@ -13490,7 +13492,7 @@ interface LuaRandomGenerator {
13490
13492
  */
13491
13493
  readonly valid: boolean;
13492
13494
  /**
13493
- * Generates a random number. If no parameters are given a number in the `[0, 1)` range is returned. If a single parameter is given a floored number in the [1, N] range is returned. If 2 parameters are given a floored number in the [N1, N2] range is returned.
13495
+ * Generates a random number. If no parameters are given a number in the `[0, 1)` range is returned. If a single parameter is given a floored number in the `[1, N]` range is returned. If 2 parameters are given a floored number in the `[N1, N2]` range is returned.
13494
13496
  * @param lower Inclusive lower bound on the result
13495
13497
  * @param upper Inclusive upper bound on the result
13496
13498
  */
@@ -15861,7 +15863,7 @@ interface LuaSurface {
15861
15863
  */
15862
15864
  wind_speed: double;
15863
15865
  }
15864
- type LuaSurfaceCreateEntityParams = BaseLuaSurfaceCreateEntityParams | LuaSurfaceCreateEntityParamsArtilleryFlare | LuaSurfaceCreateEntityParamsArtilleryProjectile | LuaSurfaceCreateEntityParamsAssemblingMachine | LuaSurfaceCreateEntityParamsBeam | LuaSurfaceCreateEntityParamsCharacterCorpse | LuaSurfaceCreateEntityParamsCliff | LuaSurfaceCreateEntityParamsContainer | LuaSurfaceCreateEntityParamsEntityGhost | LuaSurfaceCreateEntityParamsFire | LuaSurfaceCreateEntityParamsFlyingText | LuaSurfaceCreateEntityParamsHighlightBox | LuaSurfaceCreateEntityParamsInserter | LuaSurfaceCreateEntityParamsItemEntity | LuaSurfaceCreateEntityParamsItemRequestProxy | LuaSurfaceCreateEntityParamsLoader | LuaSurfaceCreateEntityParamsLoader1x1 | LuaSurfaceCreateEntityParamsLocomotive | LuaSurfaceCreateEntityParamsLogisticContainer | LuaSurfaceCreateEntityParamsParticle | LuaSurfaceCreateEntityParamsProgrammableSpeaker | LuaSurfaceCreateEntityParamsProjectile | LuaSurfaceCreateEntityParamsResource | LuaSurfaceCreateEntityParamsRollingStock | LuaSurfaceCreateEntityParamsSimpleEntityWithForce | LuaSurfaceCreateEntityParamsSimpleEntityWithOwner | LuaSurfaceCreateEntityParamsSpeechBubble | LuaSurfaceCreateEntityParamsStream | LuaSurfaceCreateEntityParamsUndergroundBelt;
15866
+ type LuaSurfaceCreateEntityParams = BaseLuaSurfaceCreateEntityParams | LuaSurfaceCreateEntityParamsArtilleryFlare | LuaSurfaceCreateEntityParamsArtilleryProjectile | LuaSurfaceCreateEntityParamsAssemblingMachine | LuaSurfaceCreateEntityParamsBeam | LuaSurfaceCreateEntityParamsCharacterCorpse | LuaSurfaceCreateEntityParamsCliff | LuaSurfaceCreateEntityParamsContainer | LuaSurfaceCreateEntityParamsEntityGhost | LuaSurfaceCreateEntityParamsFire | LuaSurfaceCreateEntityParamsFlyingText | LuaSurfaceCreateEntityParamsHighlightBox | LuaSurfaceCreateEntityParamsInserter | LuaSurfaceCreateEntityParamsItemEntity | LuaSurfaceCreateEntityParamsItemRequestProxy | LuaSurfaceCreateEntityParamsLoader | LuaSurfaceCreateEntityParamsLoader1x1 | LuaSurfaceCreateEntityParamsLocomotive | LuaSurfaceCreateEntityParamsLogisticContainer | LuaSurfaceCreateEntityParamsParticle | LuaSurfaceCreateEntityParamsProgrammableSpeaker | LuaSurfaceCreateEntityParamsProjectile | LuaSurfaceCreateEntityParamsResource | LuaSurfaceCreateEntityParamsRollingStock | LuaSurfaceCreateEntityParamsSimpleEntityWithForce | LuaSurfaceCreateEntityParamsSimpleEntityWithOwner | LuaSurfaceCreateEntityParamsSpeechBubble | LuaSurfaceCreateEntityParamsStream | LuaSurfaceCreateEntityParamsTileGhost | LuaSurfaceCreateEntityParamsUndergroundBelt;
15865
15867
  interface BaseLuaSurfaceCreateEntityParams {
15866
15868
  /**
15867
15869
  * If fast_replace is true simulate fast replace using this character.
@@ -15939,7 +15941,6 @@ interface LuaSurfaceCreateEntityParamsArtilleryFlare extends BaseLuaSurfaceCreat
15939
15941
  * Applies to variant case `artillery-projectile`
15940
15942
  */
15941
15943
  interface LuaSurfaceCreateEntityParamsArtilleryProjectile extends BaseLuaSurfaceCreateEntityParams {
15942
- 'max_range'?: double;
15943
15944
  'speed': double;
15944
15945
  }
15945
15946
  /**
@@ -16016,6 +16017,10 @@ interface LuaSurfaceCreateEntityParamsEntityGhost extends BaseLuaSurfaceCreateEn
16016
16017
  * The prototype name of the entity contained in the ghost.
16017
16018
  */
16018
16019
  'inner_name': string;
16020
+ /**
16021
+ * The {@link LuaEntity::tags | runtime:LuaEntity::tags} associated with this entity ghost.
16022
+ */
16023
+ 'tags'?: Tags;
16019
16024
  }
16020
16025
  /**
16021
16026
  *
@@ -16162,6 +16167,9 @@ interface LuaSurfaceCreateEntityParamsProgrammableSpeaker extends BaseLuaSurface
16162
16167
  * Applies to variant case `projectile`
16163
16168
  */
16164
16169
  interface LuaSurfaceCreateEntityParamsProjectile extends BaseLuaSurfaceCreateEntityParams {
16170
+ /**
16171
+ * Defaults to 1000.
16172
+ */
16165
16173
  'max_range'?: double;
16166
16174
  'speed': double;
16167
16175
  }
@@ -16238,6 +16246,20 @@ interface LuaSurfaceCreateEntityParamsStream extends BaseLuaSurfaceCreateEntityP
16238
16246
  */
16239
16247
  'target_position'?: MapPosition;
16240
16248
  }
16249
+ /**
16250
+ *
16251
+ * Applies to variant case `tile-ghost`
16252
+ */
16253
+ interface LuaSurfaceCreateEntityParamsTileGhost extends BaseLuaSurfaceCreateEntityParams {
16254
+ /**
16255
+ * If `false` the ghost tile will not expire. Default is `false`. Creating ghost with `expires = true` when ghost_time_to_live of this force is 0 will result in a script error.
16256
+ */
16257
+ 'expires'?: boolean;
16258
+ /**
16259
+ * The prototype name of the tile contained in the ghost.
16260
+ */
16261
+ 'inner_name': string;
16262
+ }
16241
16263
  /**
16242
16264
  *
16243
16265
  * Applies to variant case `underground-belt`
@@ -16443,8 +16465,9 @@ interface LuaTile {
16443
16465
  /**
16444
16466
  * Gets all tile ghosts on this tile.
16445
16467
  * @param force Get tile ghosts of this force.
16468
+ * @returns The tile ghosts.
16446
16469
  */
16447
- get_tile_ghosts(this: void, force?: ForceIdentification): LuaTile[];
16470
+ get_tile_ghosts(this: void, force?: ForceIdentification): LuaEntity[];
16448
16471
  /**
16449
16472
  * Does this tile have any tile ghosts on it.
16450
16473
  * @param force Check for tile ghosts of this force.
@@ -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.109
5
+ // Factorio version 1.1.110
6
6
  // API version 5
7
7
 
8
8
  declare namespace runtime {
@@ -832,7 +832,7 @@ interface CommandWander extends BaseCommand {
832
832
  'wander_in_group'?: boolean;
833
833
  }
834
834
  /**
835
- * A string that specifies how the inputs should be compared
835
+ * A string that specifies how the inputs should be compared.
836
836
  *
837
837
  * While the API accepts both versions for `"less/greater than or equal to"` and `"not equal"`, it'll always return `"≥"`, `"≤"` or `"≠"` respectively when reading them back.
838
838
  */
@@ -1515,7 +1515,7 @@ interface EventData {
1515
1515
  *
1516
1516
  * 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.
1517
1517
  */
1518
- type EventFilter = (LuaScriptRaisedReviveEventFilter | LuaEntityDiedEventFilter | LuaEntityMarkedForDeconstructionEventFilter | LuaPreGhostDeconstructedEventFilter | LuaScriptRaisedDestroyEventFilter | LuaUpgradeCancelledEventFilter | LuaPlayerRepairedEntityEventFilter | LuaScriptRaisedTeleportedEventFilter | LuaEntityMarkedForUpgradeEventFilter | LuaPostEntityDiedEventFilter | LuaPreRobotMinedEntityEventFilter | LuaEntityClonedEventFilter | LuaScriptRaisedBuiltEventFilter | LuaRobotMinedEntityEventFilter | LuaPrePlayerMinedEntityEventFilter | LuaRobotBuiltEntityEventFilter | LuaPreGhostUpgradedEventFilter | LuaEntityDeconstructionCancelledEventFilter | LuaPlayerBuiltEntityEventFilter | LuaPlayerMinedEntityEventFilter | LuaEntityDamagedEventFilter | LuaSectorScannedEventFilter)[];
1518
+ type EventFilter = (LuaScriptRaisedDestroyEventFilter | LuaScriptRaisedReviveEventFilter | LuaScriptRaisedBuiltEventFilter | LuaPostEntityDiedEventFilter | LuaEntityDiedEventFilter | LuaPlayerBuiltEntityEventFilter | LuaEntityMarkedForDeconstructionEventFilter | LuaRobotMinedEntityEventFilter | LuaPreGhostDeconstructedEventFilter | LuaEntityMarkedForUpgradeEventFilter | LuaUpgradeCancelledEventFilter | LuaSectorScannedEventFilter | LuaPreGhostUpgradedEventFilter | LuaPreRobotMinedEntityEventFilter | LuaEntityDeconstructionCancelledEventFilter | LuaEntityDamagedEventFilter | LuaScriptRaisedTeleportedEventFilter | LuaEntityClonedEventFilter | LuaPlayerRepairedEntityEventFilter | LuaRobotBuiltEntityEventFilter | LuaPlayerMinedEntityEventFilter | LuaPrePlayerMinedEntityEventFilter)[];
1519
1519
  interface Fluid {
1520
1520
  /**
1521
1521
  * Fluid prototype name of the fluid.
@@ -4971,7 +4971,7 @@ type PropertyExpressionNames = Record<string, string>;
4971
4971
  *
4972
4972
  * 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.
4973
4973
  */
4974
- type PrototypeFilter = (ItemPrototypeFilter | ModSettingPrototypeFilter | TechnologyPrototypeFilter | DecorativePrototypeFilter | AchievementPrototypeFilter | FluidPrototypeFilter | EquipmentPrototypeFilter | TilePrototypeFilter | RecipePrototypeFilter | EntityPrototypeFilter)[];
4974
+ type PrototypeFilter = (ModSettingPrototypeFilter | DecorativePrototypeFilter | EntityPrototypeFilter | TechnologyPrototypeFilter | RecipePrototypeFilter | EquipmentPrototypeFilter | AchievementPrototypeFilter | FluidPrototypeFilter | ItemPrototypeFilter | TilePrototypeFilter)[];
4975
4975
  /**
4976
4976
  * One of the following values:
4977
4977
  */
@@ -6135,7 +6135,7 @@ interface TriggerItem {
6135
6135
  /**
6136
6136
  * A set of trigger target masks.
6137
6137
  */
6138
- type TriggerTargetMask = Record<string, boolean>;
6138
+ type TriggerTargetMask = Record<string, true>;
6139
6139
  interface UnitGroupMapSettings {
6140
6140
  /**
6141
6141
  * The minimum amount of time in ticks a group will spend gathering before setting off. The actual time is a random time between the minimum and maximum times. Defaults to `3 600` ticks.
@@ -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 1.1.109
5
+ // Factorio version 1.1.110
6
6
  // API version 5
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 1.1.109
5
+ // Factorio version 1.1.110
6
6
  // API version 5
7
7
 
8
8
  declare namespace defines {
@@ -1038,9 +1038,396 @@ enum print_sound {
1038
1038
  use_player_settings = 2
1039
1039
  }
1040
1040
  /**
1041
- * A dictionary mapping all top-level prototypes by name to a list of their associated subtypes. This list is organized as a lookup table, meaning it maps the sub-prototype names to `0`. As an example, `defines.prototypes['entity']` looks like this: `{furnace=0, inserter=0, container=0, ...}`.
1041
+ * This define describes all top-level prototypes and their associated subtypes. It is organized as a lookup table, meaning the values of all the defines is `0`. As an example, `defines.prototypes['entity']` looks like `{furnace=0, inserter=0, container=0, ...}`.
1042
1042
  */
1043
- enum prototypes {
1043
+ namespace prototypes {
1044
+ enum achievement {
1045
+ achievement = 0,
1046
+ 'build-entity-achievement' = 1,
1047
+ 'combat-robot-count' = 2,
1048
+ 'construct-with-robots-achievement' = 3,
1049
+ 'deconstruct-with-robots-achievement' = 4,
1050
+ 'deliver-by-robots-achievement' = 5,
1051
+ 'dont-build-entity-achievement' = 6,
1052
+ 'dont-craft-manually-achievement' = 7,
1053
+ 'dont-use-entity-in-energy-production-achievement' = 8,
1054
+ 'finish-the-game-achievement' = 9,
1055
+ 'group-attack-achievement' = 10,
1056
+ 'kill-achievement' = 11,
1057
+ 'player-damaged-achievement' = 12,
1058
+ 'produce-achievement' = 13,
1059
+ 'produce-per-hour-achievement' = 14,
1060
+ 'research-achievement' = 15,
1061
+ 'train-path-achievement' = 16
1062
+ }
1063
+ /**
1064
+ * @customName ambient-sound
1065
+ */
1066
+ enum ambient_sound {
1067
+ 'ambient-sound' = 0
1068
+ }
1069
+ /**
1070
+ * @customName ammo-category
1071
+ */
1072
+ enum ammo_category {
1073
+ 'ammo-category' = 0
1074
+ }
1075
+ enum animation {
1076
+ animation = 0
1077
+ }
1078
+ /**
1079
+ * @customName autoplace-control
1080
+ */
1081
+ enum autoplace_control {
1082
+ 'autoplace-control' = 0
1083
+ }
1084
+ /**
1085
+ * @customName custom-input
1086
+ */
1087
+ enum custom_input {
1088
+ 'custom-input' = 0
1089
+ }
1090
+ /**
1091
+ * @customName damage-type
1092
+ */
1093
+ enum damage_type {
1094
+ 'damage-type' = 0
1095
+ }
1096
+ enum decorative {
1097
+ 'optimized-decorative' = 0
1098
+ }
1099
+ /**
1100
+ * @customName editor-controller
1101
+ */
1102
+ enum editor_controller {
1103
+ 'editor-controller' = 0
1104
+ }
1105
+ enum entity {
1106
+ accumulator = 0,
1107
+ 'ammo-turret' = 1,
1108
+ 'arithmetic-combinator' = 2,
1109
+ arrow = 3,
1110
+ 'artillery-flare' = 4,
1111
+ 'artillery-projectile' = 5,
1112
+ 'artillery-turret' = 6,
1113
+ 'artillery-wagon' = 7,
1114
+ 'assembling-machine' = 8,
1115
+ beacon = 9,
1116
+ beam = 10,
1117
+ boiler = 11,
1118
+ 'burner-generator' = 12,
1119
+ car = 13,
1120
+ 'cargo-wagon' = 14,
1121
+ character = 15,
1122
+ 'character-corpse' = 16,
1123
+ cliff = 17,
1124
+ 'combat-robot' = 18,
1125
+ 'constant-combinator' = 19,
1126
+ 'construction-robot' = 20,
1127
+ container = 21,
1128
+ corpse = 22,
1129
+ 'curved-rail' = 23,
1130
+ 'decider-combinator' = 24,
1131
+ 'deconstructible-tile-proxy' = 25,
1132
+ 'electric-energy-interface' = 26,
1133
+ 'electric-pole' = 27,
1134
+ 'electric-turret' = 28,
1135
+ 'entity-ghost' = 29,
1136
+ explosion = 30,
1137
+ fire = 31,
1138
+ fish = 32,
1139
+ 'flame-thrower-explosion' = 33,
1140
+ 'fluid-turret' = 34,
1141
+ 'fluid-wagon' = 35,
1142
+ 'flying-text' = 36,
1143
+ furnace = 37,
1144
+ gate = 38,
1145
+ generator = 39,
1146
+ 'heat-interface' = 40,
1147
+ 'heat-pipe' = 41,
1148
+ 'highlight-box' = 42,
1149
+ 'infinity-container' = 43,
1150
+ 'infinity-pipe' = 44,
1151
+ inserter = 45,
1152
+ 'item-entity' = 46,
1153
+ 'item-request-proxy' = 47,
1154
+ lab = 48,
1155
+ lamp = 49,
1156
+ 'land-mine' = 50,
1157
+ 'leaf-particle' = 51,
1158
+ 'linked-belt' = 52,
1159
+ 'linked-container' = 53,
1160
+ loader = 54,
1161
+ 'loader-1x1' = 55,
1162
+ locomotive = 56,
1163
+ 'logistic-container' = 57,
1164
+ 'logistic-robot' = 58,
1165
+ market = 59,
1166
+ 'mining-drill' = 60,
1167
+ 'offshore-pump' = 61,
1168
+ particle = 62,
1169
+ 'particle-source' = 63,
1170
+ pipe = 64,
1171
+ 'pipe-to-ground' = 65,
1172
+ 'player-port' = 66,
1173
+ 'power-switch' = 67,
1174
+ 'programmable-speaker' = 68,
1175
+ projectile = 69,
1176
+ pump = 70,
1177
+ radar = 71,
1178
+ 'rail-chain-signal' = 72,
1179
+ 'rail-remnants' = 73,
1180
+ 'rail-signal' = 74,
1181
+ reactor = 75,
1182
+ resource = 76,
1183
+ roboport = 77,
1184
+ 'rocket-silo' = 78,
1185
+ 'rocket-silo-rocket' = 79,
1186
+ 'rocket-silo-rocket-shadow' = 80,
1187
+ 'simple-entity' = 81,
1188
+ 'simple-entity-with-force' = 82,
1189
+ 'simple-entity-with-owner' = 83,
1190
+ smoke = 84,
1191
+ 'smoke-with-trigger' = 85,
1192
+ 'solar-panel' = 86,
1193
+ 'speech-bubble' = 87,
1194
+ 'spider-leg' = 88,
1195
+ 'spider-vehicle' = 89,
1196
+ splitter = 90,
1197
+ sticker = 91,
1198
+ 'storage-tank' = 92,
1199
+ 'straight-rail' = 93,
1200
+ stream = 94,
1201
+ 'tile-ghost' = 95,
1202
+ 'train-stop' = 96,
1203
+ 'transport-belt' = 97,
1204
+ tree = 98,
1205
+ turret = 99,
1206
+ 'underground-belt' = 100,
1207
+ unit = 101,
1208
+ 'unit-spawner' = 102,
1209
+ wall = 103
1210
+ }
1211
+ enum equipment {
1212
+ 'active-defense-equipment' = 0,
1213
+ 'battery-equipment' = 1,
1214
+ 'belt-immunity-equipment' = 2,
1215
+ 'energy-shield-equipment' = 3,
1216
+ 'generator-equipment' = 4,
1217
+ 'movement-bonus-equipment' = 5,
1218
+ 'night-vision-equipment' = 6,
1219
+ 'roboport-equipment' = 7,
1220
+ 'solar-panel-equipment' = 8
1221
+ }
1222
+ /**
1223
+ * @customName equipment-category
1224
+ */
1225
+ enum equipment_category {
1226
+ 'equipment-category' = 0
1227
+ }
1228
+ /**
1229
+ * @customName equipment-grid
1230
+ */
1231
+ enum equipment_grid {
1232
+ 'equipment-grid' = 0
1233
+ }
1234
+ enum fluid {
1235
+ fluid = 0
1236
+ }
1237
+ enum font {
1238
+ font = 0
1239
+ }
1240
+ /**
1241
+ * @customName fuel-category
1242
+ */
1243
+ enum fuel_category {
1244
+ 'fuel-category' = 0
1245
+ }
1246
+ /**
1247
+ * @customName god-controller
1248
+ */
1249
+ enum god_controller {
1250
+ 'god-controller' = 0
1251
+ }
1252
+ /**
1253
+ * @customName gui-style
1254
+ */
1255
+ enum gui_style {
1256
+ 'gui-style' = 0
1257
+ }
1258
+ enum item {
1259
+ ammo = 0,
1260
+ armor = 1,
1261
+ blueprint = 2,
1262
+ 'blueprint-book' = 3,
1263
+ capsule = 4,
1264
+ 'copy-paste-tool' = 5,
1265
+ 'deconstruction-item' = 6,
1266
+ gun = 7,
1267
+ item = 8,
1268
+ 'item-with-entity-data' = 9,
1269
+ 'item-with-inventory' = 10,
1270
+ 'item-with-label' = 11,
1271
+ 'item-with-tags' = 12,
1272
+ 'mining-tool' = 13,
1273
+ module = 14,
1274
+ 'rail-planner' = 15,
1275
+ 'repair-tool' = 16,
1276
+ 'selection-tool' = 17,
1277
+ 'spidertron-remote' = 18,
1278
+ tool = 19,
1279
+ 'upgrade-item' = 20
1280
+ }
1281
+ /**
1282
+ * @customName item-group
1283
+ */
1284
+ enum item_group {
1285
+ 'item-group' = 0
1286
+ }
1287
+ /**
1288
+ * @customName item-subgroup
1289
+ */
1290
+ enum item_subgroup {
1291
+ 'item-subgroup' = 0
1292
+ }
1293
+ /**
1294
+ * @customName map-gen-presets
1295
+ */
1296
+ enum map_gen_presets {
1297
+ 'map-gen-presets' = 0
1298
+ }
1299
+ /**
1300
+ * @customName map-settings
1301
+ */
1302
+ enum map_settings {
1303
+ 'map-settings' = 0
1304
+ }
1305
+ /**
1306
+ * @customName module-category
1307
+ */
1308
+ enum module_category {
1309
+ 'module-category' = 0
1310
+ }
1311
+ /**
1312
+ * @customName mouse-cursor
1313
+ */
1314
+ enum mouse_cursor {
1315
+ 'mouse-cursor' = 0
1316
+ }
1317
+ /**
1318
+ * @customName noise-expression
1319
+ */
1320
+ enum noise_expression {
1321
+ 'noise-expression' = 0
1322
+ }
1323
+ /**
1324
+ * @customName noise-layer
1325
+ */
1326
+ enum noise_layer {
1327
+ 'noise-layer' = 0
1328
+ }
1329
+ enum particle {
1330
+ 'optimized-particle' = 0
1331
+ }
1332
+ enum recipe {
1333
+ recipe = 0
1334
+ }
1335
+ /**
1336
+ * @customName recipe-category
1337
+ */
1338
+ enum recipe_category {
1339
+ 'recipe-category' = 0
1340
+ }
1341
+ /**
1342
+ * @customName resource-category
1343
+ */
1344
+ enum resource_category {
1345
+ 'resource-category' = 0
1346
+ }
1347
+ enum shortcut {
1348
+ shortcut = 0
1349
+ }
1350
+ enum sound {
1351
+ sound = 0
1352
+ }
1353
+ /**
1354
+ * @customName spectator-controller
1355
+ */
1356
+ enum spectator_controller {
1357
+ 'spectator-controller' = 0
1358
+ }
1359
+ enum sprite {
1360
+ sprite = 0
1361
+ }
1362
+ enum technology {
1363
+ technology = 0
1364
+ }
1365
+ enum tile {
1366
+ tile = 0
1367
+ }
1368
+ /**
1369
+ * @customName tile-effect
1370
+ */
1371
+ enum tile_effect {
1372
+ 'tile-effect' = 0
1373
+ }
1374
+ /**
1375
+ * @customName tips-and-tricks-item
1376
+ */
1377
+ enum tips_and_tricks_item {
1378
+ 'tips-and-tricks-item' = 0
1379
+ }
1380
+ /**
1381
+ * @customName tips-and-tricks-item-category
1382
+ */
1383
+ enum tips_and_tricks_item_category {
1384
+ 'tips-and-tricks-item-category' = 0
1385
+ }
1386
+ /**
1387
+ * @customName trigger-target-type
1388
+ */
1389
+ enum trigger_target_type {
1390
+ 'trigger-target-type' = 0
1391
+ }
1392
+ /**
1393
+ * @customName trivial-smoke
1394
+ */
1395
+ enum trivial_smoke {
1396
+ 'trivial-smoke' = 0
1397
+ }
1398
+ enum tutorial {
1399
+ tutorial = 0
1400
+ }
1401
+ /**
1402
+ * @customName utility-constants
1403
+ */
1404
+ enum utility_constants {
1405
+ 'utility-constants' = 0
1406
+ }
1407
+ /**
1408
+ * @customName utility-sounds
1409
+ */
1410
+ enum utility_sounds {
1411
+ 'utility-sounds' = 0
1412
+ }
1413
+ /**
1414
+ * @customName utility-sprites
1415
+ */
1416
+ enum utility_sprites {
1417
+ 'utility-sprites' = 0
1418
+ }
1419
+ /**
1420
+ * @customName virtual-signal
1421
+ */
1422
+ enum virtual_signal {
1423
+ 'virtual-signal' = 0
1424
+ }
1425
+ /**
1426
+ * @customName wind-sound
1427
+ */
1428
+ enum wind_sound {
1429
+ 'wind-sound' = 0
1430
+ }
1044
1431
  }
1045
1432
  enum rail_connection_direction {
1046
1433
  left = 0,
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.109
5
+ // Factorio version 1.1.110
6
6
  // API version 5
7
7
 
8
8
  declare namespace runtime {
@@ -3825,7 +3825,7 @@ interface on_train_schedule_changed {
3825
3825
  train: LuaTrain;
3826
3826
  }
3827
3827
  /**
3828
- * Called when an entity with a trigger prototype (such as capsules) create an entity AND that trigger prototype defined `trigger_created_entity="true"`.
3828
+ * Called when an entity with a trigger prototype (such as capsules) create an entity AND that trigger prototype defined `trigger_created_entity=true`.
3829
3829
  */
3830
3830
  interface on_trigger_created_entity {
3831
3831
  entity: LuaEntity;
@@ -3840,7 +3840,7 @@ interface on_trigger_created_entity {
3840
3840
  tick: uint;
3841
3841
  }
3842
3842
  /**
3843
- * Called when an entity with a trigger prototype (such as capsules) fire an artillery projectile AND that trigger prototype defined `trigger_fired_artillery="true"`.
3843
+ * Called when an entity with a trigger prototype (such as capsules) fire an artillery projectile AND that trigger prototype defined `trigger_fired_artillery=true`.
3844
3844
  */
3845
3845
  interface on_trigger_fired_artillery {
3846
3846
  entity: LuaEntity;
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.109
5
+ // Factorio version 1.1.110
6
6
  // API version 5
7
7
 
8
8
  /**
@@ -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 1.1.109
5
+ // Factorio version 1.1.110
6
6
  // API version 5
7
7
 
8
8
  declare namespace prototype {
@@ -1580,7 +1580,7 @@ interface CorpsePrototype extends EntityPrototype {
1580
1580
  */
1581
1581
  time_before_removed?: uint32;
1582
1582
  /**
1583
- * Controls how long the corpse takes to fade, as in how long it takes to get from no transparency to full transparency/removed. This time is ''not'' added to `time_before_removed`, it is instead subtracted from it. So by default, the corpse starts fading about 15 seconds before it gets removed.
1583
+ * Controls how long the corpse takes to fade, as in how long it takes to get from no transparency to full transparency/removed. This time is *not* added to `time_before_removed`, it is instead subtracted from it. So by default, the corpse starts fading about 15 seconds before it gets removed.
1584
1584
  */
1585
1585
  time_before_shading_off?: uint32;
1586
1586
  use_tile_color_for_ground_patch_tint?: bool;
@@ -1594,7 +1594,7 @@ interface CraftingMachinePrototype extends EntityWithOwnerPrototype {
1594
1594
  /**
1595
1595
  * Sets the {@link modules | prototype:ModulePrototype} and {@link beacon | prototype:BeaconPrototype} effects that are allowed to be used on this machine.
1596
1596
  *
1597
- * Note: If the time to complete a recipe is shorter than one tick, only one craft can be completed per tick, but productivity bonus is applied to the non-limited ''completable'' work. For a simple example, if a recipe were to take half a tick, only one recipe would be completed, but twice the productivity bonus would occur. The surplus production from productivity is **not** limited to one craft per tick.
1597
+ * Note: If the time to complete a recipe is shorter than one tick, only one craft can be completed per tick, but productivity bonus is applied to the non-limited *completable* work. For a simple example, if a recipe were to take half a tick, only one recipe would be completed, but twice the productivity bonus would occur. The surplus production from productivity is **not** limited to one craft per tick.
1598
1598
  */
1599
1599
  allowed_effects?: EffectTypeLimitation;
1600
1600
  /**
@@ -6930,9 +6930,12 @@ interface SmokePrototype extends EntityPrototype {
6930
6930
  */
6931
6931
  collision_mask?: CollisionMask;
6932
6932
  color?: Color;
6933
+ /**
6934
+ * If this is false then the smoke expires when the animation has played once.
6935
+ */
6933
6936
  cyclic?: bool;
6934
6937
  /**
6935
- * May not be 0 if cyclic is true.
6938
+ * May not be 0 if `cyclic` is true. If `cyclic` is false then the smoke will be expire when the animation has played once, even if there would still be duration left.
6936
6939
  */
6937
6940
  duration?: uint32;
6938
6941
  end_scale?: double;
@@ -7048,7 +7051,7 @@ interface SoundPrototype {
7048
7051
  */
7049
7052
  speed?: float;
7050
7053
  type: 'sound';
7051
- variations?: SoundDefinition[];
7054
+ variations?: SoundDefinition | SoundDefinition[];
7052
7055
  /**
7053
7056
  * Only loaded if `variations` is not defined.
7054
7057
  */
@@ -7619,7 +7622,7 @@ interface TechnologyPrototype extends PrototypeBase {
7619
7622
  type = "technology",
7620
7623
  name = "physical-projectile-damage-2",
7621
7624
  [...]
7622
- upgrade = "true"
7625
+ upgrade = true
7623
7626
  }
7624
7627
  ```
7625
7628
  */
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 1.1.109
5
+ // Factorio version 1.1.110
6
6
  // API version 5
7
7
 
8
8
  declare namespace prototype {
@@ -455,7 +455,592 @@ type AnimationVariations = {
455
455
  *
456
456
  * See the {@link Prototypes page | prototype:prototypes} for more information.
457
457
  */
458
- type AnyPrototype = PrototypeBase | AmbientSound | AnimationPrototype | EditorControllerPrototype | FontPrototype | GodControllerPrototype | MapGenPresets | MapSettings | MouseCursor | SoundPrototype | SpectatorControllerPrototype | SpritePrototype | TileEffectDefinition | TipsAndTricksItemCategory | TriggerTargetType | WindSound;
458
+ type AnyPrototype = /**
459
+ * `'accumulator'`
460
+ */
461
+ AccumulatorPrototype | /**
462
+ * `'achievement'`
463
+ */
464
+ AchievementPrototype | /**
465
+ * `'active-defense-equipment'`
466
+ */
467
+ ActiveDefenseEquipmentPrototype | /**
468
+ * `'ambient-sound'`
469
+ */
470
+ AmbientSound | /**
471
+ * `'ammo-category'`
472
+ */
473
+ AmmoCategory | /**
474
+ * `'ammo'`
475
+ */
476
+ AmmoItemPrototype | /**
477
+ * `'ammo-turret'`
478
+ */
479
+ AmmoTurretPrototype | /**
480
+ * `'animation'`
481
+ */
482
+ AnimationPrototype | /**
483
+ * `'arithmetic-combinator'`
484
+ */
485
+ ArithmeticCombinatorPrototype | /**
486
+ * `'armor'`
487
+ */
488
+ ArmorPrototype | /**
489
+ * `'arrow'`
490
+ */
491
+ ArrowPrototype | /**
492
+ * `'artillery-flare'`
493
+ */
494
+ ArtilleryFlarePrototype | /**
495
+ * `'artillery-projectile'`
496
+ */
497
+ ArtilleryProjectilePrototype | /**
498
+ * `'artillery-turret'`
499
+ */
500
+ ArtilleryTurretPrototype | /**
501
+ * `'artillery-wagon'`
502
+ */
503
+ ArtilleryWagonPrototype | /**
504
+ * `'assembling-machine'`
505
+ */
506
+ AssemblingMachinePrototype | /**
507
+ * `'autoplace-control'`
508
+ */
509
+ AutoplaceControl | /**
510
+ * `'battery-equipment'`
511
+ */
512
+ BatteryEquipmentPrototype | /**
513
+ * `'beacon'`
514
+ */
515
+ BeaconPrototype | /**
516
+ * `'beam'`
517
+ */
518
+ BeamPrototype | /**
519
+ * `'belt-immunity-equipment'`
520
+ */
521
+ BeltImmunityEquipmentPrototype | /**
522
+ * `'blueprint-book'`
523
+ */
524
+ BlueprintBookPrototype | /**
525
+ * `'blueprint'`
526
+ */
527
+ BlueprintItemPrototype | /**
528
+ * `'boiler'`
529
+ */
530
+ BoilerPrototype | /**
531
+ * `'build-entity-achievement'`
532
+ */
533
+ BuildEntityAchievementPrototype | /**
534
+ * `'burner-generator'`
535
+ */
536
+ BurnerGeneratorPrototype | /**
537
+ * `'capsule'`
538
+ */
539
+ CapsulePrototype | /**
540
+ * `'car'`
541
+ */
542
+ CarPrototype | /**
543
+ * `'cargo-wagon'`
544
+ */
545
+ CargoWagonPrototype | /**
546
+ * `'character-corpse'`
547
+ */
548
+ CharacterCorpsePrototype | /**
549
+ * `'character'`
550
+ */
551
+ CharacterPrototype | /**
552
+ * `'cliff'`
553
+ */
554
+ CliffPrototype | /**
555
+ * `'combat-robot-count'`
556
+ */
557
+ CombatRobotCountAchievementPrototype | /**
558
+ * `'combat-robot'`
559
+ */
560
+ CombatRobotPrototype | /**
561
+ * `'constant-combinator'`
562
+ */
563
+ ConstantCombinatorPrototype | /**
564
+ * `'construct-with-robots-achievement'`
565
+ */
566
+ ConstructWithRobotsAchievementPrototype | /**
567
+ * `'construction-robot'`
568
+ */
569
+ ConstructionRobotPrototype | /**
570
+ * `'container'`
571
+ */
572
+ ContainerPrototype | /**
573
+ * `'copy-paste-tool'`
574
+ */
575
+ CopyPasteToolPrototype | /**
576
+ * `'corpse'`
577
+ */
578
+ CorpsePrototype | /**
579
+ * `'curved-rail'`
580
+ */
581
+ CurvedRailPrototype | /**
582
+ * `'custom-input'`
583
+ */
584
+ CustomInputPrototype | /**
585
+ * `'damage-type'`
586
+ */
587
+ DamageType | /**
588
+ * `'decider-combinator'`
589
+ */
590
+ DeciderCombinatorPrototype | /**
591
+ * `'deconstruct-with-robots-achievement'`
592
+ */
593
+ DeconstructWithRobotsAchievementPrototype | /**
594
+ * `'deconstructible-tile-proxy'`
595
+ */
596
+ DeconstructibleTileProxyPrototype | /**
597
+ * `'deconstruction-item'`
598
+ */
599
+ DeconstructionItemPrototype | /**
600
+ * `'optimized-decorative'`
601
+ */
602
+ DecorativePrototype | /**
603
+ * `'deliver-by-robots-achievement'`
604
+ */
605
+ DeliverByRobotsAchievementPrototype | /**
606
+ * `'dont-build-entity-achievement'`
607
+ */
608
+ DontBuildEntityAchievementPrototype | /**
609
+ * `'dont-craft-manually-achievement'`
610
+ */
611
+ DontCraftManuallyAchievementPrototype | /**
612
+ * `'dont-use-entity-in-energy-production-achievement'`
613
+ */
614
+ DontUseEntityInEnergyProductionAchievementPrototype | /**
615
+ * `'editor-controller'`
616
+ */
617
+ EditorControllerPrototype | /**
618
+ * `'electric-energy-interface'`
619
+ */
620
+ ElectricEnergyInterfacePrototype | /**
621
+ * `'electric-pole'`
622
+ */
623
+ ElectricPolePrototype | /**
624
+ * `'electric-turret'`
625
+ */
626
+ ElectricTurretPrototype | /**
627
+ * `'unit-spawner'`
628
+ */
629
+ EnemySpawnerPrototype | /**
630
+ * `'energy-shield-equipment'`
631
+ */
632
+ EnergyShieldEquipmentPrototype | /**
633
+ * `'entity-ghost'`
634
+ */
635
+ EntityGhostPrototype | /**
636
+ * `'particle'`
637
+ */
638
+ EntityParticlePrototype | /**
639
+ * `'equipment-category'`
640
+ */
641
+ EquipmentCategory | /**
642
+ * `'equipment-grid'`
643
+ */
644
+ EquipmentGridPrototype | /**
645
+ * `'explosion'`
646
+ */
647
+ ExplosionPrototype | /**
648
+ * `'finish-the-game-achievement'`
649
+ */
650
+ FinishTheGameAchievementPrototype | /**
651
+ * `'fire'`
652
+ */
653
+ FireFlamePrototype | /**
654
+ * `'fish'`
655
+ */
656
+ FishPrototype | /**
657
+ * `'flame-thrower-explosion'`
658
+ */
659
+ FlameThrowerExplosionPrototype | /**
660
+ * `'fluid'`
661
+ */
662
+ FluidPrototype | /**
663
+ * `'stream'`
664
+ */
665
+ FluidStreamPrototype | /**
666
+ * `'fluid-turret'`
667
+ */
668
+ FluidTurretPrototype | /**
669
+ * `'fluid-wagon'`
670
+ */
671
+ FluidWagonPrototype | /**
672
+ * `'flying-text'`
673
+ */
674
+ FlyingTextPrototype | /**
675
+ * `'font'`
676
+ */
677
+ FontPrototype | /**
678
+ * `'fuel-category'`
679
+ */
680
+ FuelCategory | /**
681
+ * `'furnace'`
682
+ */
683
+ FurnacePrototype | /**
684
+ * `'gate'`
685
+ */
686
+ GatePrototype | /**
687
+ * `'generator-equipment'`
688
+ */
689
+ GeneratorEquipmentPrototype | /**
690
+ * `'generator'`
691
+ */
692
+ GeneratorPrototype | /**
693
+ * `'god-controller'`
694
+ */
695
+ GodControllerPrototype | /**
696
+ * `'group-attack-achievement'`
697
+ */
698
+ GroupAttackAchievementPrototype | /**
699
+ * `'gui-style'`
700
+ */
701
+ GuiStyle | /**
702
+ * `'gun'`
703
+ */
704
+ GunPrototype | /**
705
+ * `'heat-interface'`
706
+ */
707
+ HeatInterfacePrototype | /**
708
+ * `'heat-pipe'`
709
+ */
710
+ HeatPipePrototype | /**
711
+ * `'highlight-box'`
712
+ */
713
+ HighlightBoxEntityPrototype | /**
714
+ * `'infinity-container'`
715
+ */
716
+ InfinityContainerPrototype | /**
717
+ * `'infinity-pipe'`
718
+ */
719
+ InfinityPipePrototype | /**
720
+ * `'inserter'`
721
+ */
722
+ InserterPrototype | /**
723
+ * `'item-entity'`
724
+ */
725
+ ItemEntityPrototype | /**
726
+ * `'item-group'`
727
+ */
728
+ ItemGroup | /**
729
+ * `'item'`
730
+ */
731
+ ItemPrototype | /**
732
+ * `'item-request-proxy'`
733
+ */
734
+ ItemRequestProxyPrototype | /**
735
+ * `'item-subgroup'`
736
+ */
737
+ ItemSubGroup | /**
738
+ * `'item-with-entity-data'`
739
+ */
740
+ ItemWithEntityDataPrototype | /**
741
+ * `'item-with-inventory'`
742
+ */
743
+ ItemWithInventoryPrototype | /**
744
+ * `'item-with-label'`
745
+ */
746
+ ItemWithLabelPrototype | /**
747
+ * `'item-with-tags'`
748
+ */
749
+ ItemWithTagsPrototype | /**
750
+ * `'kill-achievement'`
751
+ */
752
+ KillAchievementPrototype | /**
753
+ * `'lab'`
754
+ */
755
+ LabPrototype | /**
756
+ * `'lamp'`
757
+ */
758
+ LampPrototype | /**
759
+ * `'land-mine'`
760
+ */
761
+ LandMinePrototype | /**
762
+ * `'leaf-particle'`
763
+ */
764
+ LeafParticlePrototype | /**
765
+ * `'linked-belt'`
766
+ */
767
+ LinkedBeltPrototype | /**
768
+ * `'linked-container'`
769
+ */
770
+ LinkedContainerPrototype | /**
771
+ * `'loader-1x1'`
772
+ */
773
+ Loader1x1Prototype | /**
774
+ * `'loader'`
775
+ */
776
+ Loader1x2Prototype | /**
777
+ * `'locomotive'`
778
+ */
779
+ LocomotivePrototype | /**
780
+ * `'logistic-container'`
781
+ */
782
+ LogisticContainerPrototype | /**
783
+ * `'logistic-robot'`
784
+ */
785
+ LogisticRobotPrototype | /**
786
+ * `'map-gen-presets'`
787
+ */
788
+ MapGenPresets | /**
789
+ * `'map-settings'`
790
+ */
791
+ MapSettings | /**
792
+ * `'market'`
793
+ */
794
+ MarketPrototype | /**
795
+ * `'mining-drill'`
796
+ */
797
+ MiningDrillPrototype | /**
798
+ * `'mining-tool'`
799
+ */
800
+ MiningToolPrototype | /**
801
+ * `'module-category'`
802
+ */
803
+ ModuleCategory | /**
804
+ * `'module'`
805
+ */
806
+ ModulePrototype | /**
807
+ * `'mouse-cursor'`
808
+ */
809
+ MouseCursor | /**
810
+ * `'movement-bonus-equipment'`
811
+ */
812
+ MovementBonusEquipmentPrototype | /**
813
+ * `'noise-expression'`
814
+ */
815
+ NamedNoiseExpression | /**
816
+ * `'night-vision-equipment'`
817
+ */
818
+ NightVisionEquipmentPrototype | /**
819
+ * `'noise-layer'`
820
+ */
821
+ NoiseLayer | /**
822
+ * `'offshore-pump'`
823
+ */
824
+ OffshorePumpPrototype | /**
825
+ * `'optimized-particle'`
826
+ */
827
+ ParticlePrototype | /**
828
+ * `'particle-source'`
829
+ */
830
+ ParticleSourcePrototype | /**
831
+ * `'pipe'`
832
+ */
833
+ PipePrototype | /**
834
+ * `'pipe-to-ground'`
835
+ */
836
+ PipeToGroundPrototype | /**
837
+ * `'player-damaged-achievement'`
838
+ */
839
+ PlayerDamagedAchievementPrototype | /**
840
+ * `'player-port'`
841
+ */
842
+ PlayerPortPrototype | /**
843
+ * `'power-switch'`
844
+ */
845
+ PowerSwitchPrototype | /**
846
+ * `'produce-achievement'`
847
+ */
848
+ ProduceAchievementPrototype | /**
849
+ * `'produce-per-hour-achievement'`
850
+ */
851
+ ProducePerHourAchievementPrototype | /**
852
+ * `'programmable-speaker'`
853
+ */
854
+ ProgrammableSpeakerPrototype | /**
855
+ * `'projectile'`
856
+ */
857
+ ProjectilePrototype | /**
858
+ * `'pump'`
859
+ */
860
+ PumpPrototype | /**
861
+ * `'radar'`
862
+ */
863
+ RadarPrototype | /**
864
+ * `'rail-chain-signal'`
865
+ */
866
+ RailChainSignalPrototype | /**
867
+ * `'rail-planner'`
868
+ */
869
+ RailPlannerPrototype | /**
870
+ * `'rail-remnants'`
871
+ */
872
+ RailRemnantsPrototype | /**
873
+ * `'rail-signal'`
874
+ */
875
+ RailSignalPrototype | /**
876
+ * `'reactor'`
877
+ */
878
+ ReactorPrototype | /**
879
+ * `'recipe-category'`
880
+ */
881
+ RecipeCategory | /**
882
+ * `'recipe'`
883
+ */
884
+ RecipePrototype | /**
885
+ * `'repair-tool'`
886
+ */
887
+ RepairToolPrototype | /**
888
+ * `'research-achievement'`
889
+ */
890
+ ResearchAchievementPrototype | /**
891
+ * `'resource-category'`
892
+ */
893
+ ResourceCategory | /**
894
+ * `'resource'`
895
+ */
896
+ ResourceEntityPrototype | /**
897
+ * `'roboport-equipment'`
898
+ */
899
+ RoboportEquipmentPrototype | /**
900
+ * `'roboport'`
901
+ */
902
+ RoboportPrototype | /**
903
+ * `'rocket-silo'`
904
+ */
905
+ RocketSiloPrototype | /**
906
+ * `'rocket-silo-rocket'`
907
+ */
908
+ RocketSiloRocketPrototype | /**
909
+ * `'rocket-silo-rocket-shadow'`
910
+ */
911
+ RocketSiloRocketShadowPrototype | /**
912
+ * `'selection-tool'`
913
+ */
914
+ SelectionToolPrototype | /**
915
+ * `'shortcut'`
916
+ */
917
+ ShortcutPrototype | /**
918
+ * `'simple-entity'`
919
+ */
920
+ SimpleEntityPrototype | /**
921
+ * `'simple-entity-with-force'`
922
+ */
923
+ SimpleEntityWithForcePrototype | /**
924
+ * `'simple-entity-with-owner'`
925
+ */
926
+ SimpleEntityWithOwnerPrototype | /**
927
+ * `'smoke'`
928
+ */
929
+ SimpleSmokePrototype | /**
930
+ * `'smoke-with-trigger'`
931
+ */
932
+ SmokeWithTriggerPrototype | /**
933
+ * `'solar-panel-equipment'`
934
+ */
935
+ SolarPanelEquipmentPrototype | /**
936
+ * `'solar-panel'`
937
+ */
938
+ SolarPanelPrototype | /**
939
+ * `'sound'`
940
+ */
941
+ SoundPrototype | /**
942
+ * `'spectator-controller'`
943
+ */
944
+ SpectatorControllerPrototype | /**
945
+ * `'speech-bubble'`
946
+ */
947
+ SpeechBubblePrototype | /**
948
+ * `'spider-leg'`
949
+ */
950
+ SpiderLegPrototype | /**
951
+ * `'spider-vehicle'`
952
+ */
953
+ SpiderVehiclePrototype | /**
954
+ * `'spidertron-remote'`
955
+ */
956
+ SpidertronRemotePrototype | /**
957
+ * `'splitter'`
958
+ */
959
+ SplitterPrototype | /**
960
+ * `'sprite'`
961
+ */
962
+ SpritePrototype | /**
963
+ * `'sticker'`
964
+ */
965
+ StickerPrototype | /**
966
+ * `'storage-tank'`
967
+ */
968
+ StorageTankPrototype | /**
969
+ * `'straight-rail'`
970
+ */
971
+ StraightRailPrototype | /**
972
+ * `'technology'`
973
+ */
974
+ TechnologyPrototype | /**
975
+ * `'tile-effect'`
976
+ */
977
+ TileEffectDefinition | /**
978
+ * `'tile-ghost'`
979
+ */
980
+ TileGhostPrototype | /**
981
+ * `'tile'`
982
+ */
983
+ TilePrototype | /**
984
+ * `'tips-and-tricks-item'`
985
+ */
986
+ TipsAndTricksItem | /**
987
+ * `'tips-and-tricks-item-category'`
988
+ */
989
+ TipsAndTricksItemCategory | /**
990
+ * `'tool'`
991
+ */
992
+ ToolPrototype | /**
993
+ * `'train-path-achievement'`
994
+ */
995
+ TrainPathAchievementPrototype | /**
996
+ * `'train-stop'`
997
+ */
998
+ TrainStopPrototype | /**
999
+ * `'transport-belt'`
1000
+ */
1001
+ TransportBeltPrototype | /**
1002
+ * `'tree'`
1003
+ */
1004
+ TreePrototype | /**
1005
+ * `'trigger-target-type'`
1006
+ */
1007
+ TriggerTargetType | /**
1008
+ * `'trivial-smoke'`
1009
+ */
1010
+ TrivialSmokePrototype | /**
1011
+ * `'turret'`
1012
+ */
1013
+ TurretPrototype | /**
1014
+ * `'tutorial'`
1015
+ */
1016
+ TutorialDefinition | /**
1017
+ * `'underground-belt'`
1018
+ */
1019
+ UndergroundBeltPrototype | /**
1020
+ * `'unit'`
1021
+ */
1022
+ UnitPrototype | /**
1023
+ * `'upgrade-item'`
1024
+ */
1025
+ UpgradeItemPrototype | /**
1026
+ * `'utility-constants'`
1027
+ */
1028
+ UtilityConstants | /**
1029
+ * `'utility-sounds'`
1030
+ */
1031
+ UtilitySounds | /**
1032
+ * `'utility-sprites'`
1033
+ */
1034
+ UtilitySprites | /**
1035
+ * `'virtual-signal'`
1036
+ */
1037
+ VirtualSignalPrototype | /**
1038
+ * `'wall'`
1039
+ */
1040
+ WallPrototype | /**
1041
+ * `'wind-sound'`
1042
+ */
1043
+ WindSound;
459
1044
  interface AreaTriggerItem extends TriggerItem {
460
1045
  collision_mode?: 'distance-from-collision-box' | 'distance-from-center';
461
1046
  radius: double;
@@ -7082,7 +7667,7 @@ type Sound = {
7082
7667
  * Only loaded if `variations` is not defined.
7083
7668
  */
7084
7669
  speed?: float;
7085
- variations?: SoundDefinition[];
7670
+ variations?: SoundDefinition | SoundDefinition[];
7086
7671
  /**
7087
7672
  * Only loaded if `variations` is not defined.
7088
7673
  */
@@ -8084,7 +8669,7 @@ interface TechnologyData {
8084
8669
  type = "technology",
8085
8670
  name = "physical-projectile-damage-2",
8086
8671
  [...]
8087
- upgrade = "true"
8672
+ upgrade = true
8088
8673
  }
8089
8674
  ```
8090
8675
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "factorio-types",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
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,11 +23,11 @@
23
23
  "src/**/*.d.ts",
24
24
  "dist/**/*.d.ts"
25
25
  ],
26
- "factorioVersion": "1.1.109",
26
+ "factorioVersion": "1.1.110",
27
27
  "dependencies": {
28
28
  "lua-types": "^2.13.1"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "typescript-to-lua": "1.26.0"
32
32
  }
33
- }
33
+ }