@adatechnology/game-vehicles-fleet 8.0.0 → 10.0.0

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.
@@ -21,6 +21,7 @@ var GameVehiclesFleet = (() => {
21
21
  // src/index.ts
22
22
  var index_exports = {};
23
23
  __export(index_exports, {
24
+ FLEET_ACCELERATION_SOURCES: () => FLEET_ACCELERATION_SOURCES,
24
25
  FLEET_FOUR_WHEEL_DRIVE: () => FLEET_FOUR_WHEEL_DRIVE,
25
26
  agricultural: () => agricultural,
26
27
  air: () => air,
@@ -40,6 +41,8 @@ var GameVehiclesFleet = (() => {
40
41
  fleetProvingSubject: () => fleetProvingSubject,
41
42
  fleetStats: () => fleetStats,
42
43
  fleetVehicleIds: () => fleetVehicleIds,
44
+ fleetVehicleTypeOf: () => fleetVehicleTypeOf,
45
+ fleetWheelLayout: () => fleetWheelLayout,
43
46
  heavy: () => heavy,
44
47
  installFleet: () => installFleet,
45
48
  legacyGlassLabels: () => legacyGlassLabels,
@@ -27907,6 +27910,793 @@ var GameVehiclesFleet = (() => {
27907
27910
  var fleetDims = (id) => table[id];
27908
27911
  var allFleetDims = () => table;
27909
27912
 
27913
+ // src/data/wheel-layouts.json
27914
+ var wheel_layouts_default = {
27915
+ compact_hatch: {
27916
+ axles: [
27917
+ {
27918
+ x: 1.18,
27919
+ track: 1.49,
27920
+ radius: 0.31,
27921
+ wheels: 2
27922
+ },
27923
+ {
27924
+ x: -1.4,
27925
+ track: 1.49,
27926
+ radius: 0.31,
27927
+ wheels: 2
27928
+ }
27929
+ ]
27930
+ },
27931
+ taxi: {
27932
+ axles: [
27933
+ {
27934
+ x: 1.18,
27935
+ track: 1.49,
27936
+ radius: 0.31,
27937
+ wheels: 2
27938
+ },
27939
+ {
27940
+ x: -1.4,
27941
+ track: 1.49,
27942
+ radius: 0.31,
27943
+ wheels: 2
27944
+ }
27945
+ ]
27946
+ },
27947
+ entry_hatch: {
27948
+ axles: [
27949
+ {
27950
+ x: 1,
27951
+ track: 1.35,
27952
+ radius: 0.29,
27953
+ wheels: 2
27954
+ },
27955
+ {
27956
+ x: -1.42,
27957
+ track: 1.35,
27958
+ radius: 0.29,
27959
+ wheels: 2
27960
+ }
27961
+ ]
27962
+ },
27963
+ electric_hatch: {
27964
+ axles: [
27965
+ {
27966
+ x: 1.3,
27967
+ track: 1.5,
27968
+ radius: 0.32,
27969
+ wheels: 2
27970
+ },
27971
+ {
27972
+ x: -1.4,
27973
+ track: 1.5,
27974
+ radius: 0.32,
27975
+ wheels: 2
27976
+ }
27977
+ ]
27978
+ },
27979
+ midsize_sedan: {
27980
+ axles: [
27981
+ {
27982
+ x: 1.3,
27983
+ track: 1.53,
27984
+ radius: 0.32,
27985
+ wheels: 2
27986
+ },
27987
+ {
27988
+ x: -1.4,
27989
+ track: 1.53,
27990
+ radius: 0.32,
27991
+ wheels: 2
27992
+ }
27993
+ ]
27994
+ },
27995
+ police_sedan: {
27996
+ axles: [
27997
+ {
27998
+ x: 1.3,
27999
+ track: 1.55,
28000
+ radius: 0.32,
28001
+ wheels: 2
28002
+ },
28003
+ {
28004
+ x: -1.4,
28005
+ track: 1.55,
28006
+ radius: 0.32,
28007
+ wheels: 2
28008
+ }
28009
+ ]
28010
+ },
28011
+ highway_police_sedan: {
28012
+ axles: [
28013
+ {
28014
+ x: 1.3,
28015
+ track: 1.55,
28016
+ radius: 0.32,
28017
+ wheels: 2
28018
+ },
28019
+ {
28020
+ x: -1.4,
28021
+ track: 1.55,
28022
+ radius: 0.32,
28023
+ wheels: 2
28024
+ }
28025
+ ]
28026
+ },
28027
+ bicycle: {
28028
+ axles: [
28029
+ {
28030
+ x: 0.56,
28031
+ track: 0,
28032
+ radius: 0.34,
28033
+ wheels: 1
28034
+ },
28035
+ {
28036
+ x: -0.53,
28037
+ track: 0,
28038
+ radius: 0.34,
28039
+ wheels: 1
28040
+ }
28041
+ ]
28042
+ },
28043
+ scooter: {
28044
+ axles: [
28045
+ {
28046
+ x: 0.66,
28047
+ track: 0,
28048
+ radius: 0.26,
28049
+ wheels: 1
28050
+ },
28051
+ {
28052
+ x: -0.65,
28053
+ track: 0,
28054
+ radius: 0.26,
28055
+ wheels: 1
28056
+ }
28057
+ ]
28058
+ },
28059
+ commuter_motorcycle: {
28060
+ axles: [
28061
+ {
28062
+ x: 0.66,
28063
+ track: 0,
28064
+ radius: 0.31,
28065
+ wheels: 1
28066
+ },
28067
+ {
28068
+ x: -0.66,
28069
+ track: 0,
28070
+ radius: 0.31,
28071
+ wheels: 1
28072
+ }
28073
+ ]
28074
+ },
28075
+ trail_bike: {
28076
+ axles: [
28077
+ {
28078
+ x: 0.72,
28079
+ track: 0,
28080
+ radius: 0.32,
28081
+ wheels: 1
28082
+ },
28083
+ {
28084
+ x: -0.66,
28085
+ track: 0,
28086
+ radius: 0.32,
28087
+ wheels: 1
28088
+ }
28089
+ ]
28090
+ },
28091
+ adventure_bike: {
28092
+ axles: [
28093
+ {
28094
+ x: 0.78,
28095
+ track: 0,
28096
+ radius: 0.33,
28097
+ wheels: 1
28098
+ },
28099
+ {
28100
+ x: -0.72,
28101
+ track: 0,
28102
+ radius: 0.32,
28103
+ wheels: 1
28104
+ }
28105
+ ]
28106
+ },
28107
+ highway_police_bike: {
28108
+ axles: [
28109
+ {
28110
+ x: 0.78,
28111
+ track: 0,
28112
+ radius: 0.33,
28113
+ wheels: 1
28114
+ },
28115
+ {
28116
+ x: -0.72,
28117
+ track: 0,
28118
+ radius: 0.32,
28119
+ wheels: 1
28120
+ }
28121
+ ]
28122
+ },
28123
+ quad_bike: {
28124
+ axles: [
28125
+ {
28126
+ x: 0.62,
28127
+ track: 1,
28128
+ radius: 0.33,
28129
+ wheels: 2
28130
+ },
28131
+ {
28132
+ x: -0.63,
28133
+ track: 0.98,
28134
+ radius: 0.33,
28135
+ wheels: 2
28136
+ }
28137
+ ]
28138
+ },
28139
+ beetle: {
28140
+ axles: [
28141
+ {
28142
+ x: 1.15,
28143
+ track: 1.31,
28144
+ radius: 0.33,
28145
+ wheels: 2
28146
+ },
28147
+ {
28148
+ x: -1.25,
28149
+ track: 1.29,
28150
+ radius: 0.33,
28151
+ wheels: 2
28152
+ }
28153
+ ]
28154
+ },
28155
+ compact_suv: {
28156
+ axles: [
28157
+ {
28158
+ x: 1.33,
28159
+ track: 1.52,
28160
+ radius: 0.33,
28161
+ wheels: 2
28162
+ },
28163
+ {
28164
+ x: -1.33,
28165
+ track: 1.51,
28166
+ radius: 0.33,
28167
+ wheels: 2
28168
+ }
28169
+ ]
28170
+ },
28171
+ hybrid_suv: {
28172
+ axles: [
28173
+ {
28174
+ x: 1.32,
28175
+ track: 1.56,
28176
+ radius: 0.34,
28177
+ wheels: 2
28178
+ },
28179
+ {
28180
+ x: -1.32,
28181
+ track: 1.57,
28182
+ radius: 0.34,
28183
+ wheels: 2
28184
+ }
28185
+ ]
28186
+ },
28187
+ midsize_suv: {
28188
+ axles: [
28189
+ {
28190
+ x: 1.32,
28191
+ track: 1.57,
28192
+ radius: 0.35,
28193
+ wheels: 2
28194
+ },
28195
+ {
28196
+ x: -1.32,
28197
+ track: 1.57,
28198
+ radius: 0.35,
28199
+ wheels: 2
28200
+ }
28201
+ ]
28202
+ },
28203
+ large_suv: {
28204
+ axles: [
28205
+ {
28206
+ x: 1.37,
28207
+ track: 1.54,
28208
+ radius: 0.39,
28209
+ wheels: 2
28210
+ },
28211
+ {
28212
+ x: -1.37,
28213
+ track: 1.55,
28214
+ radius: 0.39,
28215
+ wheels: 2
28216
+ }
28217
+ ]
28218
+ },
28219
+ compact_pickup: {
28220
+ axles: [
28221
+ {
28222
+ x: 1.37,
28223
+ track: 1.49,
28224
+ radius: 0.33,
28225
+ wheels: 2
28226
+ },
28227
+ {
28228
+ x: -1.37,
28229
+ track: 1.5,
28230
+ radius: 0.33,
28231
+ wheels: 2
28232
+ }
28233
+ ]
28234
+ },
28235
+ crossover_pickup: {
28236
+ axles: [
28237
+ {
28238
+ x: 1.5,
28239
+ track: 1.55,
28240
+ radius: 0.36,
28241
+ wheels: 2
28242
+ },
28243
+ {
28244
+ x: -1.49,
28245
+ track: 1.58,
28246
+ radius: 0.36,
28247
+ wheels: 2
28248
+ }
28249
+ ]
28250
+ },
28251
+ midsize_pickup: {
28252
+ axles: [
28253
+ {
28254
+ x: 1.54,
28255
+ track: 1.54,
28256
+ radius: 0.39,
28257
+ wheels: 2
28258
+ },
28259
+ {
28260
+ x: -1.54,
28261
+ track: 1.55,
28262
+ radius: 0.39,
28263
+ wheels: 2
28264
+ }
28265
+ ]
28266
+ },
28267
+ monster_truck: {
28268
+ axles: [
28269
+ {
28270
+ x: 1.55,
28271
+ track: 2.76,
28272
+ radius: 0.79,
28273
+ wheels: 2
28274
+ },
28275
+ {
28276
+ x: -1.55,
28277
+ track: 2.76,
28278
+ radius: 0.79,
28279
+ wheels: 2
28280
+ }
28281
+ ]
28282
+ },
28283
+ cargo_van: {
28284
+ axles: [
28285
+ {
28286
+ x: 1.83,
28287
+ track: 1.72,
28288
+ radius: 0.37,
28289
+ wheels: 2
28290
+ },
28291
+ {
28292
+ x: -1.83,
28293
+ track: 1.72,
28294
+ radius: 0.37,
28295
+ wheels: 2
28296
+ }
28297
+ ]
28298
+ },
28299
+ ambulance: {
28300
+ axles: [
28301
+ {
28302
+ x: 1.73,
28303
+ track: 1.8,
28304
+ radius: 0.34,
28305
+ wheels: 2
28306
+ },
28307
+ {
28308
+ x: -1.72,
28309
+ track: 1.8,
28310
+ radius: 0.34,
28311
+ wheels: 2
28312
+ }
28313
+ ]
28314
+ },
28315
+ box_truck: {
28316
+ axles: [
28317
+ {
28318
+ x: 2.65,
28319
+ track: 1.88,
28320
+ radius: 0.39,
28321
+ wheels: 2
28322
+ },
28323
+ {
28324
+ x: -1.65,
28325
+ track: 2,
28326
+ radius: 0.39,
28327
+ wheels: 4
28328
+ }
28329
+ ]
28330
+ },
28331
+ tanker_truck: {
28332
+ axles: [
28333
+ {
28334
+ x: 3.3,
28335
+ track: 2.1,
28336
+ radius: 0.51,
28337
+ wheels: 2
28338
+ },
28339
+ {
28340
+ x: -1.5,
28341
+ track: 2.12,
28342
+ radius: 0.51,
28343
+ wheels: 4
28344
+ },
28345
+ {
28346
+ x: -2.72,
28347
+ track: 2.12,
28348
+ radius: 0.51,
28349
+ wheels: 4
28350
+ }
28351
+ ]
28352
+ },
28353
+ school_bus: {
28354
+ axles: [
28355
+ {
28356
+ x: 3.1,
28357
+ track: 2.05,
28358
+ radius: 0.51,
28359
+ wheels: 2
28360
+ },
28361
+ {
28362
+ x: -1.5,
28363
+ track: 2.24,
28364
+ radius: 0.51,
28365
+ wheels: 4
28366
+ }
28367
+ ]
28368
+ },
28369
+ city_bus: {
28370
+ axles: [
28371
+ {
28372
+ x: 3.55,
28373
+ track: 2.1,
28374
+ radius: 0.5,
28375
+ wheels: 2
28376
+ },
28377
+ {
28378
+ x: -2.85,
28379
+ track: 2.26,
28380
+ radius: 0.5,
28381
+ wheels: 4
28382
+ }
28383
+ ]
28384
+ },
28385
+ armored_truck: {
28386
+ axles: [
28387
+ {
28388
+ x: 2.5,
28389
+ track: 1.94,
28390
+ radius: 0.51,
28391
+ wheels: 2
28392
+ },
28393
+ {
28394
+ x: -1.7,
28395
+ track: 1.96,
28396
+ radius: 0.51,
28397
+ wheels: 4
28398
+ }
28399
+ ]
28400
+ },
28401
+ tractor: {
28402
+ axles: [
28403
+ {
28404
+ x: 1.12,
28405
+ track: 1.48,
28406
+ radius: 0.4,
28407
+ wheels: 2
28408
+ },
28409
+ {
28410
+ x: -0.95,
28411
+ track: 1.5,
28412
+ radius: 0.79,
28413
+ wheels: 2
28414
+ }
28415
+ ]
28416
+ },
28417
+ light_4x4: {
28418
+ axles: [
28419
+ {
28420
+ x: 1.15,
28421
+ track: 1.54,
28422
+ radius: 0.37,
28423
+ wheels: 2
28424
+ },
28425
+ {
28426
+ x: -1.15,
28427
+ track: 1.54,
28428
+ radius: 0.37,
28429
+ wheels: 2
28430
+ }
28431
+ ]
28432
+ },
28433
+ troop_truck: {
28434
+ axles: [
28435
+ {
28436
+ x: 2.45,
28437
+ track: 1.96,
28438
+ radius: 0.56,
28439
+ wheels: 2
28440
+ },
28441
+ {
28442
+ x: -1.65,
28443
+ track: 1.96,
28444
+ radius: 0.56,
28445
+ wheels: 2
28446
+ }
28447
+ ]
28448
+ },
28449
+ apc_6x6: {
28450
+ axles: [
28451
+ {
28452
+ x: 2,
28453
+ track: 2.26,
28454
+ radius: 0.58,
28455
+ wheels: 2
28456
+ },
28457
+ {
28458
+ x: 0.2,
28459
+ track: 2.26,
28460
+ radius: 0.58,
28461
+ wheels: 2
28462
+ },
28463
+ {
28464
+ x: -1.3,
28465
+ track: 2.26,
28466
+ radius: 0.58,
28467
+ wheels: 2
28468
+ }
28469
+ ]
28470
+ },
28471
+ armored_car_6x6: {
28472
+ axles: [
28473
+ {
28474
+ x: 1.6,
28475
+ track: 2.27,
28476
+ radius: 0.5,
28477
+ wheels: 2
28478
+ },
28479
+ {
28480
+ x: -0.8,
28481
+ track: 2.27,
28482
+ radius: 0.5,
28483
+ wheels: 2
28484
+ },
28485
+ {
28486
+ x: -2.1,
28487
+ track: 2.27,
28488
+ radius: 0.5,
28489
+ wheels: 2
28490
+ }
28491
+ ]
28492
+ },
28493
+ battle_tank: {
28494
+ tracks: {
28495
+ gauge: 2.65,
28496
+ rearX: -2.67,
28497
+ frontX: 2.55,
28498
+ roadWheels: 7,
28499
+ radius: 0.35
28500
+ }
28501
+ },
28502
+ step_through_scooter: {
28503
+ axles: [
28504
+ {
28505
+ x: 0.63,
28506
+ track: 0,
28507
+ radius: 0.28,
28508
+ wheels: 1
28509
+ },
28510
+ {
28511
+ x: -0.63,
28512
+ track: 0,
28513
+ radius: 0.26,
28514
+ wheels: 1
28515
+ }
28516
+ ]
28517
+ },
28518
+ naked_bike: {
28519
+ axles: [
28520
+ {
28521
+ x: 0.69,
28522
+ track: 0,
28523
+ radius: 0.3,
28524
+ wheels: 1
28525
+ },
28526
+ {
28527
+ x: -0.68,
28528
+ track: 0,
28529
+ radius: 0.31,
28530
+ wheels: 1
28531
+ }
28532
+ ]
28533
+ },
28534
+ sport_bike: {
28535
+ axles: [
28536
+ {
28537
+ x: 0.69,
28538
+ track: 0,
28539
+ radius: 0.29,
28540
+ wheels: 1
28541
+ },
28542
+ {
28543
+ x: -0.68,
28544
+ track: 0,
28545
+ radius: 0.32,
28546
+ wheels: 1
28547
+ }
28548
+ ]
28549
+ },
28550
+ cruiser: {
28551
+ axles: [
28552
+ {
28553
+ x: 0.83,
28554
+ track: 0,
28555
+ radius: 0.32,
28556
+ wheels: 1
28557
+ },
28558
+ {
28559
+ x: -0.83,
28560
+ track: 0,
28561
+ radius: 0.32,
28562
+ wheels: 1
28563
+ }
28564
+ ]
28565
+ },
28566
+ delivery_bike: {
28567
+ axles: [
28568
+ {
28569
+ x: 0.66,
28570
+ track: 0,
28571
+ radius: 0.31,
28572
+ wheels: 1
28573
+ },
28574
+ {
28575
+ x: -0.66,
28576
+ track: 0,
28577
+ radius: 0.31,
28578
+ wheels: 1
28579
+ }
28580
+ ]
28581
+ },
28582
+ boxy_hatch: {
28583
+ axles: [
28584
+ {
28585
+ x: 1.17,
28586
+ track: 1.34,
28587
+ radius: 0.29,
28588
+ wheels: 2
28589
+ },
28590
+ {
28591
+ x: -1.19,
28592
+ track: 1.36,
28593
+ radius: 0.29,
28594
+ wheels: 2
28595
+ }
28596
+ ]
28597
+ },
28598
+ family_hatch: {
28599
+ axles: [
28600
+ {
28601
+ x: 1.2,
28602
+ track: 1.46,
28603
+ radius: 0.3,
28604
+ wheels: 2
28605
+ },
28606
+ {
28607
+ x: -1.26,
28608
+ track: 1.46,
28609
+ radius: 0.3,
28610
+ wheels: 2
28611
+ }
28612
+ ]
28613
+ },
28614
+ rideshare_hatch: {
28615
+ axles: [
28616
+ {
28617
+ x: 1.21,
28618
+ track: 1.5,
28619
+ radius: 0.3,
28620
+ wheels: 2
28621
+ },
28622
+ {
28623
+ x: -1.32,
28624
+ track: 1.5,
28625
+ radius: 0.3,
28626
+ wheels: 2
28627
+ }
28628
+ ]
28629
+ },
28630
+ turbo_hatch: {
28631
+ axles: [
28632
+ {
28633
+ x: 1.25,
28634
+ track: 1.54,
28635
+ radius: 0.31,
28636
+ wheels: 2
28637
+ },
28638
+ {
28639
+ x: -1.32,
28640
+ track: 1.54,
28641
+ radius: 0.31,
28642
+ wheels: 2
28643
+ }
28644
+ ]
28645
+ },
28646
+ fastback_sedan: {
28647
+ axles: [
28648
+ {
28649
+ x: 1.35,
28650
+ track: 1.57,
28651
+ radius: 0.32,
28652
+ wheels: 2
28653
+ },
28654
+ {
28655
+ x: -1.35,
28656
+ track: 1.57,
28657
+ radius: 0.32,
28658
+ wheels: 2
28659
+ }
28660
+ ]
28661
+ },
28662
+ classic_six_sedan: {
28663
+ axles: [
28664
+ {
28665
+ x: 1.3,
28666
+ track: 1.43,
28667
+ radius: 0.31,
28668
+ wheels: 2
28669
+ },
28670
+ {
28671
+ x: -1.37,
28672
+ track: 1.41,
28673
+ radius: 0.31,
28674
+ wheels: 2
28675
+ }
28676
+ ]
28677
+ },
28678
+ v8_coupe: {
28679
+ axles: [
28680
+ {
28681
+ x: 1.35,
28682
+ track: 1.59,
28683
+ radius: 0.34,
28684
+ wheels: 2
28685
+ },
28686
+ {
28687
+ x: -1.37,
28688
+ track: 1.64,
28689
+ radius: 0.35,
28690
+ wheels: 2
28691
+ }
28692
+ ]
28693
+ }
28694
+ };
28695
+
28696
+ // src/wheel-layouts.ts
28697
+ var table2 = wheel_layouts_default;
28698
+ var fleetWheelLayout = (id) => table2[id];
28699
+
27910
28700
  // src/data/paint.json
27911
28701
  var paint_default = {
27912
28702
  civil: [
@@ -29069,7 +29859,7 @@ var GameVehiclesFleet = (() => {
29069
29859
  var stats_default = {
29070
29860
  compact_hatch: {
29071
29861
  speed: 8,
29072
- acceleration: 7,
29862
+ acceleration: 3,
29073
29863
  handling: 7,
29074
29864
  toughness: 5,
29075
29865
  load: 4,
@@ -29079,7 +29869,7 @@ var GameVehiclesFleet = (() => {
29079
29869
  },
29080
29870
  taxi: {
29081
29871
  speed: 8,
29082
- acceleration: 7,
29872
+ acceleration: 3,
29083
29873
  handling: 7,
29084
29874
  toughness: 5,
29085
29875
  load: 4,
@@ -29089,7 +29879,7 @@ var GameVehiclesFleet = (() => {
29089
29879
  },
29090
29880
  entry_hatch: {
29091
29881
  speed: 7,
29092
- acceleration: 7,
29882
+ acceleration: 1,
29093
29883
  handling: 7,
29094
29884
  toughness: 5,
29095
29885
  load: 4,
@@ -29099,7 +29889,7 @@ var GameVehiclesFleet = (() => {
29099
29889
  },
29100
29890
  electric_hatch: {
29101
29891
  speed: 7,
29102
- acceleration: 7,
29892
+ acceleration: 4,
29103
29893
  handling: 6,
29104
29894
  toughness: 6,
29105
29895
  load: 4,
@@ -29109,7 +29899,7 @@ var GameVehiclesFleet = (() => {
29109
29899
  },
29110
29900
  midsize_sedan: {
29111
29901
  speed: 9,
29112
- acceleration: 7,
29902
+ acceleration: 6,
29113
29903
  handling: 6,
29114
29904
  toughness: 6,
29115
29905
  load: 4,
@@ -29119,7 +29909,7 @@ var GameVehiclesFleet = (() => {
29119
29909
  },
29120
29910
  police_sedan: {
29121
29911
  speed: 9,
29122
- acceleration: 7,
29912
+ acceleration: 6,
29123
29913
  handling: 6,
29124
29914
  toughness: 6,
29125
29915
  load: 4,
@@ -29129,7 +29919,7 @@ var GameVehiclesFleet = (() => {
29129
29919
  },
29130
29920
  highway_police_sedan: {
29131
29921
  speed: 9,
29132
- acceleration: 7,
29922
+ acceleration: 6,
29133
29923
  handling: 6,
29134
29924
  toughness: 6,
29135
29925
  load: 4,
@@ -29209,7 +29999,7 @@ var GameVehiclesFleet = (() => {
29209
29999
  },
29210
30000
  beetle: {
29211
30001
  speed: 5,
29212
- acceleration: 8,
30002
+ acceleration: 1,
29213
30003
  handling: 7,
29214
30004
  toughness: 5,
29215
30005
  load: 4,
@@ -29219,7 +30009,7 @@ var GameVehiclesFleet = (() => {
29219
30009
  },
29220
30010
  compact_suv: {
29221
30011
  speed: 8,
29222
- acceleration: 7,
30012
+ acceleration: 5,
29223
30013
  handling: 6,
29224
30014
  toughness: 6,
29225
30015
  load: 4,
@@ -29229,7 +30019,7 @@ var GameVehiclesFleet = (() => {
29229
30019
  },
29230
30020
  hybrid_suv: {
29231
30021
  speed: 8,
29232
- acceleration: 7,
30022
+ acceleration: 2,
29233
30023
  handling: 6,
29234
30024
  toughness: 6,
29235
30025
  load: 4,
@@ -29559,7 +30349,7 @@ var GameVehiclesFleet = (() => {
29559
30349
  },
29560
30350
  boxy_hatch: {
29561
30351
  speed: 6,
29562
- acceleration: 6,
30352
+ acceleration: 2,
29563
30353
  handling: 7,
29564
30354
  toughness: 4,
29565
30355
  load: 3,
@@ -29569,7 +30359,7 @@ var GameVehiclesFleet = (() => {
29569
30359
  },
29570
30360
  family_hatch: {
29571
30361
  speed: 7,
29572
- acceleration: 7,
30362
+ acceleration: 4,
29573
30363
  handling: 7,
29574
30364
  toughness: 5,
29575
30365
  load: 4,
@@ -29579,7 +30369,7 @@ var GameVehiclesFleet = (() => {
29579
30369
  },
29580
30370
  rideshare_hatch: {
29581
30371
  speed: 7,
29582
- acceleration: 7,
30372
+ acceleration: 2,
29583
30373
  handling: 7,
29584
30374
  toughness: 5,
29585
30375
  load: 4,
@@ -29589,7 +30379,7 @@ var GameVehiclesFleet = (() => {
29589
30379
  },
29590
30380
  turbo_hatch: {
29591
30381
  speed: 8,
29592
- acceleration: 7,
30382
+ acceleration: 6,
29593
30383
  handling: 7,
29594
30384
  toughness: 5,
29595
30385
  load: 4,
@@ -29609,7 +30399,7 @@ var GameVehiclesFleet = (() => {
29609
30399
  },
29610
30400
  classic_six_sedan: {
29611
30401
  speed: 7,
29612
- acceleration: 7,
30402
+ acceleration: 4,
29613
30403
  handling: 5,
29614
30404
  toughness: 6,
29615
30405
  load: 5,
@@ -29619,7 +30409,7 @@ var GameVehiclesFleet = (() => {
29619
30409
  },
29620
30410
  v8_coupe: {
29621
30411
  speed: 10,
29622
- acceleration: 9,
30412
+ acceleration: 10,
29623
30413
  handling: 5,
29624
30414
  toughness: 6,
29625
30415
  load: 3,
@@ -29767,6 +30557,11 @@ var GameVehiclesFleet = (() => {
29767
30557
 
29768
30558
  // src/proving.ts
29769
30559
  var FLEET_FOUR_WHEEL_DRIVE = ["light_4x4", "troop_truck", "apc_6x6", "armored_car_6x6", "battle_tank", "monster_truck", "midsize_pickup", "large_suv", "tractor", "quad_bike"];
30560
+ var domainIsLand = (group) => group !== "water" && group !== "air";
30561
+ var FLEET_VEHICLE_TYPES = { bicycle: "bicycle", tractor: "tractor", battle_tank: "tracked", quad_bike: "car" };
30562
+ var GROUP_VEHICLE_TYPES = { motorcycles: "motorcycle", heavy: "truck" };
30563
+ var MILITARY_TRUCKS = ["troop_truck", "apc_6x6", "armored_car_6x6"];
30564
+ var fleetVehicleTypeOf = (id) => FLEET_VEHICLE_TYPES[id] ?? (MILITARY_TRUCKS.includes(id) ? "truck" : GROUP_VEHICLE_TYPES[fleetGroupOf(id) ?? ""] ?? "car");
29770
30565
  var fleetGroupOf = (id) => Object.entries(fleetGroups).find(([, ids]) => ids.includes(id))?.[0];
29771
30566
  function fleetProvingSubject(id, options = {}) {
29772
30567
  const stats2 = fleetStats(id);
@@ -29774,6 +30569,9 @@ var GameVehiclesFleet = (() => {
29774
30569
  if (!stats2 || !dims) return null;
29775
30570
  const group = fleetGroupOf(id) ?? "cars";
29776
30571
  const density = { motorcycles: 90, cars: 88, suvs: 90, pickups: 95, vans: 80, heavy: 120, agricultural: 150, military: 260, water: 60, air: 40 };
30572
+ const layout = fleetWheelLayout(id);
30573
+ const axles = layout?.axles?.map((axle) => ({ x: axle.x, track: axle.track, radius: axle.radius }));
30574
+ const modelWheelbase = axles ? Math.round((axles[0].x - axles[axles.length - 1].x) * 100) / 100 : void 0;
29777
30575
  return {
29778
30576
  id,
29779
30577
  domain: group === "water" ? "water" : group === "air" ? "air" : "land",
@@ -29781,13 +30579,37 @@ var GameVehiclesFleet = (() => {
29781
30579
  stats: { acceleration: stats2.acceleration, handling: stats2.handling, maxSpeedKmh: stats2.maxSpeedKmh },
29782
30580
  body: {
29783
30581
  mass: options.mass ?? Math.round((density[group] ?? 90) * dims.length * dims.width * dims.height),
29784
- wheelbase: options.wheelbase ?? Math.round(dims.length * 0.6 * 100) / 100,
29785
- track: options.track ?? Math.round(dims.width * 0.82 * 100) / 100,
29786
- fourWheelDrive: options.fourWheelDrive ?? FLEET_FOUR_WHEEL_DRIVE.includes(id)
30582
+ wheelbase: options.wheelbase ?? modelWheelbase ?? (layout?.tracks ? Math.round((layout.tracks.frontX - layout.tracks.rearX) * 100) / 100 : Math.round(dims.length * 0.6 * 100) / 100),
30583
+ track: options.track ?? axles?.[0]?.track ?? layout?.tracks?.gauge ?? Math.round(dims.width * 0.82 * 100) / 100,
30584
+ fourWheelDrive: options.fourWheelDrive ?? FLEET_FOUR_WHEEL_DRIVE.includes(id),
30585
+ ...domainIsLand(group) ? { type: fleetVehicleTypeOf(id), ...axles && !options.wheelbase ? { axles } : {}, ...layout?.tracks ? { tracks: layout.tracks } : {} } : {}
29787
30586
  }
29788
30587
  };
29789
30588
  }
29790
30589
 
30590
+ // src/acceleration-sources.ts
30591
+ var FLEET_ACCELERATION_SOURCES = {
30592
+ compact_hatch: { seconds: 13.3, source: "Chevrolet Onix 1.0 naturally aspirated: 13.3 s ethanol / 13.7 s petrol (GM, via https://www.webmotors.com.br/wm1/testes/teste-chevrolet-onix-1-0/ e https://www.fichacompleta.com.br/carros/chevrolet/onix-1-0-2025)" },
30593
+ taxi: { seconds: 13.3, source: "Chevrolet Onix Plus LT 1.0 naturally aspirated: 13.3 s (https://garagem360.com.br/?p=216236)" },
30594
+ entry_hatch: { seconds: 15.5, source: "Renault Kwid 1.0: 15.5 s, Renault figure (https://www.icarros.com.br/noticias/testes-e-comparativos/como-anda-o-renault-kwid-intense,-de-r$-39.990-/23022.html); 14.9 s measured by Quatro Rodas" },
30595
+ electric_hatch: { seconds: 12.3, source: "BYD Dolphin 95 hp: 12.3 s (spec sheets; https://www.motor.es/byd/dolphin/comfort-27792.html); a Colombian test measured 10.9 s (https://www.elcarrocolombiano.com/pruebas/byd-dolphin-primer-carro-electrico-colombia-prueba-test-drive-video/)" },
30596
+ midsize_sedan: { seconds: 9.9, source: "Toyota Corolla GLi 2.0: 9.9 s, Motor Show measurement (https://motorshow.com.br/blog-sobre-rodas-avaliacao-toyota-corolla-gli-e-o-melhor-carro-que-voce-pode-comprar-hoje-com-r-110-mil)" },
30597
+ police_sedan: { seconds: 9, source: "Chevrolet Cruze 1.4 turbo: 9.0 s, Motor Show (https://motorshow.com.br/segunda-geracao-coloca-o-chevrolet-cruze-em-patamar-superior); 8.8 s at Autopapo" },
30598
+ highway_police_sedan: { seconds: 9, source: "Chevrolet Cruze 1.4 turbo: 9.0 s, Motor Show (https://motorshow.com.br/segunda-geracao-coloca-o-chevrolet-cruze-em-patamar-superior)" },
30599
+ beetle: { seconds: 30.9, source: "Volkswagen Fusca 1300 (1971 on): 30.9 s, spec database (https://www.fichacompleta.com.br/en/carros/volkswagen/fusca-1300-1975); sources range from 24 to 45 s, all above the cars band: rating 1" },
30600
+ boxy_hatch: { seconds: 14.7, source: "Fiat Uno Mille Economy/Celebration (Fire flex, 2009-2013): 14.7 s (https://carro.blog.br/usados/avaliacao-do-fiat-uno-mille-economy-1-0-4p-2013-o-ultimo-ano-do-uno-quadrado.html)" },
30601
+ family_hatch: { seconds: 12.3, source: "Volkswagen Gol G5 1.0 flex on ethanol: 12.3 s, Webmotors (https://www.webmotors.com.br/wm1/?p=675225)" },
30602
+ rideshare_hatch: { seconds: 14.5, source: "Hyundai HB20 1.0 naturally aspirated: 14.5 s ethanol / 15.4 s petrol, Hyundai catalogue (https://www.hyundai.com.br/content/dam/hmb/cars/hb20/2023/catalogos/Catalogo_DIgital_Novo_HB20_Sense%20Plus_2024.pdf)" },
30603
+ turbo_hatch: { seconds: 9.9, source: "Volkswagen Polo 200 TSI: 9.9 s petrol / 9.6 s ethanol (https://autoentusiastas.com.br/2017/09/andando-com-o-novo-polo-com-video/); Motor Show 10.1 / 9.6 s" },
30604
+ fastback_sedan: { seconds: 8.2, source: "Honda Civic 1.5 turbo (10th generation): 8.2 s, maker spec sheets; 8.43 s measured (https://www.headlightmag.com/preview-accelaration-fuel-consumption-honda-civic-el-plus/)" },
30605
+ classic_six_sedan: { seconds: 12.2, source: "Chevrolet Opala Comodoro 4.1 (1990): 12.2 s, spec database (https://www.fichacompleta.com.br/en/carros/comparativo/opala-ss-4-1-1971-vs-opala-comodoro-4-1-1990)" },
30606
+ v8_coupe: { seconds: 4.8, source: "Ford Mustang GT 5.0: 4.8 s, Ford figure (https://media.ford.com/content/fordmedia/feu/en/news/2015/04/27/all-new-mustang-sprints-0-100-km-h-in-under-5-seconds--2-200-ord.html)" },
30607
+ compact_suv: { seconds: 10, source: "Volkswagen T-Cross 200 TSI: 10.0 s petrol, VW spec sheet (https://garagem360.com.br/?p=249858)" },
30608
+ hybrid_suv: { seconds: 11.8, source: "Toyota Corolla Cross Hybrid (Brazil): 11.8 s measured by Motor Show (https://motorshow.com.br/avaliacao-corolla-cross-hibrido-2-0-tem-197-cv-e-humilha-o-brasileiro-com-freio-eletronico-teto-e-muito-mais)" },
30609
+ midsize_suv: { seconds: null, source: "no source: Jeep Compass Longitude, only figures for other engines and markets (10.3 s at 130 hp, 9.2 s at 150 hp, 10.7 s at altitude)" },
30610
+ large_suv: { seconds: null, source: "no source: the current Toyota SW4 2.8 has no published 0-100 (the only figure found is the old SW4, 25.5 s)" }
30611
+ };
30612
+
29791
30613
  // src/cabin-categories.ts
29792
30614
  var CABIN_OVERRIDES = {
29793
30615
  school_bus: "bus",