@bendyline/molen-entities 0.0.10 → 0.0.11
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/README.md +6 -1
- package/dist/index.d.mts +32 -7
- package/dist/index.mjs +581 -6
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
# @bendyline/molen-entities
|
|
2
2
|
|
|
3
3
|
Ids and helpers for Molen's curated entity collection: trees, a shrub and a boulder, the P-51D and
|
|
4
|
-
OH-6 aircraft,
|
|
4
|
+
OH-6 aircraft, Bendy Small Airliner, eleven Bendy road vehicles, eighty-two real-world reference
|
|
5
|
+
road vehicles, six RVs (including the 2022 Winnebago View 24D), six cycles, eight watercraft,
|
|
6
|
+
Bendy Bus and Bendy Light Rail. All transport models are controllable; light rail currently
|
|
7
|
+
supports a straight track with traction, braking and reverse. The models and type documents themselves are content, not
|
|
5
8
|
code: they ship as the `molen.entities` content pack.
|
|
6
9
|
|
|
7
10
|
Part of [Molen](https://molen.dev), an AI-legible 3D experience engine: a deterministic headless
|
|
@@ -54,6 +57,8 @@ meter-scaled, rooted at ground level (watercraft use the waterline).
|
|
|
54
57
|
| --- | --- |
|
|
55
58
|
| `MOLEN_ENTITY_IDS`, `MolenEntityId` | Every id in the pack |
|
|
56
59
|
| `MOLEN_AIRCRAFT_ENTITY_IDS`, `MOLEN_VEHICLE_ENTITY_IDS` | The aircraft and vehicle ids, with typed unions |
|
|
60
|
+
| `MOLEN_US_VEHICLE_ENTITY_IDS`, `MOLEN_VARIETY_VEHICLE_ENTITY_IDS` | Forty recent U.S. models and forty varied models from 2005–2024 |
|
|
61
|
+
| `MOLEN_RV_ENTITY_IDS`, `MolenRvEntityId` | Two Class Cs, three Class As and one Class B, all drivable |
|
|
57
62
|
| `MOLEN_CYCLE_ENTITY_IDS`, `MOLEN_WATERCRAFT_ENTITY_IDS` | Rideable cycles and watercraft |
|
|
58
63
|
| `molenAircraft(types, id)`, `molenVehicle(types, id)` | Resolved `aircraft` and `vehicle` component data from a type library |
|
|
59
64
|
| `createMolenEntitiesAssetIndex(baseUrl)` | A client `assets.index` for the pack's files extracted to a static directory (`molen pack extract`) |
|
package/dist/index.d.mts
CHANGED
|
@@ -1,16 +1,41 @@
|
|
|
1
1
|
import { TypeLibrary } from "@bendyline/molen-kernel/content";
|
|
2
2
|
import { AircraftData, VehicleData } from "@bendyline/molen-schema";
|
|
3
3
|
|
|
4
|
+
//#region src/aircraft-ids.d.ts
|
|
5
|
+
/** Fifty additional original aircraft models in the entities content pack. */
|
|
6
|
+
declare const MOLEN_ADDITIONAL_AIRCRAFT_ENTITY_IDS: readonly ["molen.entities.aircraft.uh_1h", "molen.entities.aircraft.bell_206b", "molen.entities.aircraft.bell_407", "molen.entities.aircraft.bell_412ep", "molen.entities.aircraft.robinson_r44", "molen.entities.aircraft.airbus_h125", "molen.entities.aircraft.airbus_h145", "molen.entities.aircraft.uh_60m", "molen.entities.aircraft.ch_47f", "molen.entities.aircraft.aw139", "molen.entities.aircraft.pa_28_180", "molen.entities.aircraft.cessna_172s", "molen.entities.aircraft.cessna_208b", "molen.entities.aircraft.cessna_182t", "molen.entities.aircraft.bonanza_g36", "molen.entities.aircraft.baron_g58", "molen.entities.aircraft.king_air_350i", "molen.entities.aircraft.cirrus_sr22t", "molen.entities.aircraft.diamond_da42", "molen.entities.aircraft.pilatus_pc12", "molen.entities.aircraft.f_16b", "molen.entities.aircraft.f_14d", "molen.entities.aircraft.f_15c", "molen.entities.aircraft.fa_18c", "molen.entities.aircraft.f_22a", "molen.entities.aircraft.f_35a", "molen.entities.aircraft.typhoon", "molen.entities.aircraft.rafale_c", "molen.entities.aircraft.gripen_c", "molen.entities.aircraft.mig_29a", "molen.entities.aircraft.c_130j", "molen.entities.aircraft.c_17a", "molen.entities.aircraft.a400m", "molen.entities.aircraft.c_5m", "molen.entities.aircraft.an_124", "molen.entities.aircraft.mv_22b", "molen.entities.aircraft.av_8b", "molen.entities.aircraft.dhc_6", "molen.entities.aircraft.dhc_2", "molen.entities.aircraft.pc_6", "molen.entities.aircraft.beech_18", "molen.entities.aircraft.dc_3", "molen.entities.aircraft.atr_72_600", "molen.entities.aircraft.dash_8_q400", "molen.entities.aircraft.embraer_e175", "molen.entities.aircraft.a220_300", "molen.entities.aircraft.boeing_737_800", "molen.entities.aircraft.airbus_a320neo", "molen.entities.aircraft.gulfstream_g650er", "molen.entities.aircraft.citation_cj4"];
|
|
7
|
+
type MolenAdditionalAircraftEntityId = (typeof MOLEN_ADDITIONAL_AIRCRAFT_ENTITY_IDS)[number];
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/regional-vehicle-ids.d.ts
|
|
10
|
+
/** Shared model IDs; regional prevalence lives in the entities pack fleet catalog. */
|
|
11
|
+
declare const MOLEN_REGIONAL_VEHICLE_ENTITY_IDS: readonly ["molen.entities.vehicle.byd_seagull_2024", "molen.entities.vehicle.byd_qin_plus_2024", "molen.entities.vehicle.wuling_hongguang_mini_ev_2025", "molen.entities.vehicle.geely_monjaro_2024", "molen.entities.vehicle.toyota_yaris_2024", "molen.entities.vehicle.honda_n_box_2024", "molen.entities.vehicle.suzuki_jimny_sierra_2024", "molen.entities.vehicle.toyota_alphard_2024", "molen.entities.vehicle.kia_k5_2024", "molen.entities.vehicle.hyundai_casper_electric_2024", "molen.entities.vehicle.hyundai_staria_2024", "molen.entities.vehicle.genesis_g80_2024", "molen.entities.vehicle.peugeot_208_2024", "molen.entities.vehicle.renault_clio_2024", "molen.entities.vehicle.dacia_duster_2024", "molen.entities.vehicle.skoda_octavia_combi_2024", "molen.entities.vehicle.fiat_strada_2024", "molen.entities.vehicle.volkswagen_polo_2024", "molen.entities.vehicle.chevrolet_onix_2024", "molen.entities.vehicle.renault_kwid_2024", "molen.entities.vehicle.toyota_hilux_2024", "molen.entities.vehicle.toyota_hiace_2024", "molen.entities.vehicle.isuzu_d_max_2024", "molen.entities.vehicle.suzuki_swift_2024"];
|
|
12
|
+
type MolenRegionalVehicleEntityId = (typeof MOLEN_REGIONAL_VEHICLE_ENTITY_IDS)[number];
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/rv-ids.d.ts
|
|
15
|
+
/** Touring motorhomes: two Class Cs, three Class As and one Class B. */
|
|
16
|
+
declare const MOLEN_RV_ENTITY_IDS: readonly ["molen.entities.vehicle.winnebago_view_2022", "molen.entities.vehicle.bendy_class_c_family", "molen.entities.vehicle.bendy_class_a_compact", "molen.entities.vehicle.bendy_class_a_touring", "molen.entities.vehicle.bendy_class_a_grand", "molen.entities.vehicle.bendy_class_b_camper"];
|
|
17
|
+
type MolenRvEntityId = (typeof MOLEN_RV_ENTITY_IDS)[number];
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/us-vehicle-ids.d.ts
|
|
20
|
+
/** Recent U.S. market reference vehicles; a curated selection, not a sales ranking. */
|
|
21
|
+
declare const MOLEN_US_VEHICLE_ENTITY_IDS: readonly ["molen.entities.vehicle.ford_f_150_2025", "molen.entities.vehicle.chevrolet_silverado_1500_2025", "molen.entities.vehicle.ram_1500_2025", "molen.entities.vehicle.gmc_sierra_1500_2025", "molen.entities.vehicle.toyota_tacoma_2025", "molen.entities.vehicle.toyota_tundra_2025", "molen.entities.vehicle.ford_maverick_2025", "molen.entities.vehicle.ford_ranger_2025", "molen.entities.vehicle.chevrolet_colorado_2025", "molen.entities.vehicle.toyota_rav4_2025", "molen.entities.vehicle.honda_cr_v_2025", "molen.entities.vehicle.nissan_rogue_2025", "molen.entities.vehicle.chevrolet_equinox_2025", "molen.entities.vehicle.hyundai_tucson_2025", "molen.entities.vehicle.kia_sportage_2025", "molen.entities.vehicle.mazda_cx_5_2025", "molen.entities.vehicle.subaru_forester_2025", "molen.entities.vehicle.subaru_outback_2025", "molen.entities.vehicle.ford_escape_2025", "molen.entities.vehicle.ford_explorer_2025", "molen.entities.vehicle.jeep_grand_cherokee_2025", "molen.entities.vehicle.jeep_wrangler_2025", "molen.entities.vehicle.ford_bronco_2025", "molen.entities.vehicle.toyota_highlander_2025", "molen.entities.vehicle.honda_pilot_2025", "molen.entities.vehicle.kia_telluride_2025", "molen.entities.vehicle.hyundai_palisade_2025", "molen.entities.vehicle.chevrolet_traverse_2025", "molen.entities.vehicle.chevrolet_trax_2025", "molen.entities.vehicle.toyota_camry_2025", "molen.entities.vehicle.toyota_corolla_2025", "molen.entities.vehicle.honda_civic_2025", "molen.entities.vehicle.honda_accord_2025", "molen.entities.vehicle.nissan_altima_2025", "molen.entities.vehicle.toyota_prius_2024", "molen.entities.vehicle.tesla_model_3_2025", "molen.entities.vehicle.tesla_model_y_2024", "molen.entities.vehicle.ford_mustang_2024", "molen.entities.vehicle.toyota_sienna_2025", "molen.entities.vehicle.honda_odyssey_2025"];
|
|
22
|
+
type MolenUsVehicleEntityId = (typeof MOLEN_US_VEHICLE_ENTITY_IDS)[number];
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/variety-vehicle-ids.d.ts
|
|
25
|
+
/** Eclectic reference vehicles, two models per year from 2005 through 2024. */
|
|
26
|
+
declare const MOLEN_VARIETY_VEHICLE_ENTITY_IDS: readonly ["molen.entities.vehicle.ford_gt_2005", "molen.entities.vehicle.chevrolet_ssr_2005", "molen.entities.vehicle.chrysler_pt_cruiser_2006", "molen.entities.vehicle.scion_xb_2006", "molen.entities.vehicle.pontiac_solstice_2007", "molen.entities.vehicle.hummer_h3_2007", "molen.entities.vehicle.honda_element_2008", "molen.entities.vehicle.volvo_v70_2008", "molen.entities.vehicle.smart_fortwo_2009", "molen.entities.vehicle.nissan_370z_2009", "molen.entities.vehicle.toyota_fj_cruiser_2010", "molen.entities.vehicle.cadillac_cts_2010", "molen.entities.vehicle.chevrolet_volt_2011", "molen.entities.vehicle.saab_9_3_sportcombi_2011", "molen.entities.vehicle.fiat_500_2012", "molen.entities.vehicle.nissan_leaf_2012", "molen.entities.vehicle.mini_cooper_2013", "molen.entities.vehicle.acura_tl_2013", "molen.entities.vehicle.chevrolet_corvette_2014", "molen.entities.vehicle.subaru_brz_2014", "molen.entities.vehicle.kia_soul_2015", "molen.entities.vehicle.chrysler_300_2015", "molen.entities.vehicle.mazda_mx_5_miata_2016", "molen.entities.vehicle.volkswagen_golf_gti_2016", "molen.entities.vehicle.porsche_911_2017", "molen.entities.vehicle.bmw_i3_2017", "molen.entities.vehicle.dodge_challenger_2018", "molen.entities.vehicle.alfa_romeo_giulia_2018", "molen.entities.vehicle.mercedes_benz_sprinter_2019", "molen.entities.vehicle.jaguar_i_pace_2019", "molen.entities.vehicle.lincoln_continental_2020", "molen.entities.vehicle.hyundai_veloster_2020", "molen.entities.vehicle.ford_transit_2021", "molen.entities.vehicle.audi_tt_2021", "molen.entities.vehicle.hyundai_ioniq_5_2022", "molen.entities.vehicle.lucid_air_2022", "molen.entities.vehicle.rivian_r1t_2023", "molen.entities.vehicle.land_rover_defender_90_2023", "molen.entities.vehicle.gmc_hummer_ev_suv_2024", "molen.entities.vehicle.toyota_gr_supra_2024"];
|
|
27
|
+
type MolenVarietyVehicleEntityId = (typeof MOLEN_VARIETY_VEHICLE_ENTITY_IDS)[number];
|
|
28
|
+
//#endregion
|
|
4
29
|
//#region src/index.d.ts
|
|
5
|
-
declare const MOLEN_AIRCRAFT_ENTITY_IDS: readonly ["molen.entities.aircraft.p51d", "molen.entities.aircraft.oh6"];
|
|
6
|
-
/**
|
|
30
|
+
declare const MOLEN_AIRCRAFT_ENTITY_IDS: readonly ["molen.entities.aircraft.p51d", "molen.entities.aircraft.oh6", "molen.entities.aircraft.airliner", "molen.entities.aircraft.uh_1h", "molen.entities.aircraft.bell_206b", "molen.entities.aircraft.bell_407", "molen.entities.aircraft.bell_412ep", "molen.entities.aircraft.robinson_r44", "molen.entities.aircraft.airbus_h125", "molen.entities.aircraft.airbus_h145", "molen.entities.aircraft.uh_60m", "molen.entities.aircraft.ch_47f", "molen.entities.aircraft.aw139", "molen.entities.aircraft.pa_28_180", "molen.entities.aircraft.cessna_172s", "molen.entities.aircraft.cessna_208b", "molen.entities.aircraft.cessna_182t", "molen.entities.aircraft.bonanza_g36", "molen.entities.aircraft.baron_g58", "molen.entities.aircraft.king_air_350i", "molen.entities.aircraft.cirrus_sr22t", "molen.entities.aircraft.diamond_da42", "molen.entities.aircraft.pilatus_pc12", "molen.entities.aircraft.f_16b", "molen.entities.aircraft.f_14d", "molen.entities.aircraft.f_15c", "molen.entities.aircraft.fa_18c", "molen.entities.aircraft.f_22a", "molen.entities.aircraft.f_35a", "molen.entities.aircraft.typhoon", "molen.entities.aircraft.rafale_c", "molen.entities.aircraft.gripen_c", "molen.entities.aircraft.mig_29a", "molen.entities.aircraft.c_130j", "molen.entities.aircraft.c_17a", "molen.entities.aircraft.a400m", "molen.entities.aircraft.c_5m", "molen.entities.aircraft.an_124", "molen.entities.aircraft.mv_22b", "molen.entities.aircraft.av_8b", "molen.entities.aircraft.dhc_6", "molen.entities.aircraft.dhc_2", "molen.entities.aircraft.pc_6", "molen.entities.aircraft.beech_18", "molen.entities.aircraft.dc_3", "molen.entities.aircraft.atr_72_600", "molen.entities.aircraft.dash_8_q400", "molen.entities.aircraft.embraer_e175", "molen.entities.aircraft.a220_300", "molen.entities.aircraft.boeing_737_800", "molen.entities.aircraft.airbus_a320neo", "molen.entities.aircraft.gulfstream_g650er", "molen.entities.aircraft.citation_cj4"];
|
|
31
|
+
/** Airliners that also participate in ambient traffic; these are player-flyable. */
|
|
7
32
|
declare const MOLEN_AMBIENT_AIRCRAFT_ENTITY_IDS: readonly ["molen.entities.aircraft.airliner"];
|
|
8
|
-
/**
|
|
33
|
+
/** Player-drivable buses and straight-track rail cars, also used by ambient traffic. */
|
|
9
34
|
declare const MOLEN_TRANSIT_ENTITY_IDS: readonly ["molen.entities.transit.bus", "molen.entities.transit.lightrail"];
|
|
10
|
-
declare const MOLEN_VEHICLE_ENTITY_IDS: readonly ["molen.entities.vehicle.compact", "molen.entities.vehicle.sedan", "molen.entities.vehicle.suv", "molen.entities.vehicle.pickup", "molen.entities.vehicle.van", "molen.entities.vehicle.sports_coupe", "molen.entities.vehicle.station_wagon", "molen.entities.vehicle.electric_hatchback", "molen.entities.vehicle.taxi", "molen.entities.vehicle.offroad", "molen.entities.vehicle.box_truck"];
|
|
35
|
+
declare const MOLEN_VEHICLE_ENTITY_IDS: readonly ["molen.entities.vehicle.compact", "molen.entities.vehicle.sedan", "molen.entities.vehicle.suv", "molen.entities.vehicle.pickup", "molen.entities.vehicle.van", "molen.entities.vehicle.sports_coupe", "molen.entities.vehicle.station_wagon", "molen.entities.vehicle.electric_hatchback", "molen.entities.vehicle.taxi", "molen.entities.vehicle.offroad", "molen.entities.vehicle.box_truck", "molen.entities.vehicle.ford_f_150_2025", "molen.entities.vehicle.chevrolet_silverado_1500_2025", "molen.entities.vehicle.ram_1500_2025", "molen.entities.vehicle.gmc_sierra_1500_2025", "molen.entities.vehicle.toyota_tacoma_2025", "molen.entities.vehicle.toyota_tundra_2025", "molen.entities.vehicle.ford_maverick_2025", "molen.entities.vehicle.ford_ranger_2025", "molen.entities.vehicle.chevrolet_colorado_2025", "molen.entities.vehicle.toyota_rav4_2025", "molen.entities.vehicle.honda_cr_v_2025", "molen.entities.vehicle.nissan_rogue_2025", "molen.entities.vehicle.chevrolet_equinox_2025", "molen.entities.vehicle.hyundai_tucson_2025", "molen.entities.vehicle.kia_sportage_2025", "molen.entities.vehicle.mazda_cx_5_2025", "molen.entities.vehicle.subaru_forester_2025", "molen.entities.vehicle.subaru_outback_2025", "molen.entities.vehicle.ford_escape_2025", "molen.entities.vehicle.ford_explorer_2025", "molen.entities.vehicle.jeep_grand_cherokee_2025", "molen.entities.vehicle.jeep_wrangler_2025", "molen.entities.vehicle.ford_bronco_2025", "molen.entities.vehicle.toyota_highlander_2025", "molen.entities.vehicle.honda_pilot_2025", "molen.entities.vehicle.kia_telluride_2025", "molen.entities.vehicle.hyundai_palisade_2025", "molen.entities.vehicle.chevrolet_traverse_2025", "molen.entities.vehicle.chevrolet_trax_2025", "molen.entities.vehicle.toyota_camry_2025", "molen.entities.vehicle.toyota_corolla_2025", "molen.entities.vehicle.honda_civic_2025", "molen.entities.vehicle.honda_accord_2025", "molen.entities.vehicle.nissan_altima_2025", "molen.entities.vehicle.toyota_prius_2024", "molen.entities.vehicle.tesla_model_3_2025", "molen.entities.vehicle.tesla_model_y_2024", "molen.entities.vehicle.ford_mustang_2024", "molen.entities.vehicle.toyota_sienna_2025", "molen.entities.vehicle.honda_odyssey_2025", "molen.entities.vehicle.ford_gt_2005", "molen.entities.vehicle.chevrolet_ssr_2005", "molen.entities.vehicle.chrysler_pt_cruiser_2006", "molen.entities.vehicle.scion_xb_2006", "molen.entities.vehicle.pontiac_solstice_2007", "molen.entities.vehicle.hummer_h3_2007", "molen.entities.vehicle.honda_element_2008", "molen.entities.vehicle.volvo_v70_2008", "molen.entities.vehicle.smart_fortwo_2009", "molen.entities.vehicle.nissan_370z_2009", "molen.entities.vehicle.toyota_fj_cruiser_2010", "molen.entities.vehicle.cadillac_cts_2010", "molen.entities.vehicle.chevrolet_volt_2011", "molen.entities.vehicle.saab_9_3_sportcombi_2011", "molen.entities.vehicle.fiat_500_2012", "molen.entities.vehicle.nissan_leaf_2012", "molen.entities.vehicle.mini_cooper_2013", "molen.entities.vehicle.acura_tl_2013", "molen.entities.vehicle.chevrolet_corvette_2014", "molen.entities.vehicle.subaru_brz_2014", "molen.entities.vehicle.kia_soul_2015", "molen.entities.vehicle.chrysler_300_2015", "molen.entities.vehicle.mazda_mx_5_miata_2016", "molen.entities.vehicle.volkswagen_golf_gti_2016", "molen.entities.vehicle.porsche_911_2017", "molen.entities.vehicle.bmw_i3_2017", "molen.entities.vehicle.dodge_challenger_2018", "molen.entities.vehicle.alfa_romeo_giulia_2018", "molen.entities.vehicle.mercedes_benz_sprinter_2019", "molen.entities.vehicle.jaguar_i_pace_2019", "molen.entities.vehicle.lincoln_continental_2020", "molen.entities.vehicle.hyundai_veloster_2020", "molen.entities.vehicle.ford_transit_2021", "molen.entities.vehicle.audi_tt_2021", "molen.entities.vehicle.hyundai_ioniq_5_2022", "molen.entities.vehicle.lucid_air_2022", "molen.entities.vehicle.rivian_r1t_2023", "molen.entities.vehicle.land_rover_defender_90_2023", "molen.entities.vehicle.gmc_hummer_ev_suv_2024", "molen.entities.vehicle.toyota_gr_supra_2024", "molen.entities.vehicle.winnebago_view_2022", "molen.entities.vehicle.bendy_class_c_family", "molen.entities.vehicle.bendy_class_a_compact", "molen.entities.vehicle.bendy_class_a_touring", "molen.entities.vehicle.bendy_class_a_grand", "molen.entities.vehicle.bendy_class_b_camper", "molen.entities.vehicle.mini_cooper_countryman_2012", "molen.entities.vehicle.acura_mdx_2019", "molen.entities.vehicle.byd_seagull_2024", "molen.entities.vehicle.byd_qin_plus_2024", "molen.entities.vehicle.wuling_hongguang_mini_ev_2025", "molen.entities.vehicle.geely_monjaro_2024", "molen.entities.vehicle.toyota_yaris_2024", "molen.entities.vehicle.honda_n_box_2024", "molen.entities.vehicle.suzuki_jimny_sierra_2024", "molen.entities.vehicle.toyota_alphard_2024", "molen.entities.vehicle.kia_k5_2024", "molen.entities.vehicle.hyundai_casper_electric_2024", "molen.entities.vehicle.hyundai_staria_2024", "molen.entities.vehicle.genesis_g80_2024", "molen.entities.vehicle.peugeot_208_2024", "molen.entities.vehicle.renault_clio_2024", "molen.entities.vehicle.dacia_duster_2024", "molen.entities.vehicle.skoda_octavia_combi_2024", "molen.entities.vehicle.fiat_strada_2024", "molen.entities.vehicle.volkswagen_polo_2024", "molen.entities.vehicle.chevrolet_onix_2024", "molen.entities.vehicle.renault_kwid_2024", "molen.entities.vehicle.toyota_hilux_2024", "molen.entities.vehicle.toyota_hiace_2024", "molen.entities.vehicle.isuzu_d_max_2024", "molen.entities.vehicle.suzuki_swift_2024", "molen.entities.transit.bus", "molen.entities.transit.lightrail"];
|
|
11
36
|
/** Rideable motorcycles and bicycles, sharing the vehicle and mountable capabilities. */
|
|
12
37
|
declare const MOLEN_CYCLE_ENTITY_IDS: readonly ["molen.entities.cycle.standard_motorcycle", "molen.entities.cycle.cruiser_motorcycle", "molen.entities.cycle.motor_scooter", "molen.entities.cycle.city_bicycle", "molen.entities.cycle.road_bicycle", "molen.entities.cycle.cargo_bicycle"];
|
|
13
|
-
/**
|
|
38
|
+
/** Player-controllable watercraft with ambient roles; the origin is the waterline. */
|
|
14
39
|
declare const MOLEN_WATERCRAFT_ENTITY_IDS: readonly ["molen.entities.watercraft.speedboat", "molen.entities.watercraft.sailboat", "molen.entities.watercraft.fishing_boat", "molen.entities.watercraft.tugboat", "molen.entities.watercraft.container_ship", "molen.entities.watercraft.bulk_carrier", "molen.entities.watercraft.passenger_ferry", "molen.entities.watercraft.car_ferry"];
|
|
15
40
|
type MolenCycleEntityId = (typeof MOLEN_CYCLE_ENTITY_IDS)[number];
|
|
16
41
|
type MolenWatercraftEntityId = (typeof MOLEN_WATERCRAFT_ENTITY_IDS)[number];
|
|
@@ -18,7 +43,7 @@ type MolenAircraftEntityId = (typeof MOLEN_AIRCRAFT_ENTITY_IDS)[number];
|
|
|
18
43
|
type MolenVehicleEntityId = (typeof MOLEN_VEHICLE_ENTITY_IDS)[number];
|
|
19
44
|
type MolenTransitEntityId = (typeof MOLEN_TRANSIT_ENTITY_IDS)[number];
|
|
20
45
|
/** Stable asset/type ids of the `molen.entities` content pack. */
|
|
21
|
-
declare const MOLEN_ENTITY_IDS: readonly ["molen.entities.tree.conifer.pine", "molen.entities.tree.conifer.fir", "molen.entities.tree.deciduous.oak", "molen.entities.tree.deciduous.birch", "molen.entities.vegetation.shrub", "molen.entities.nature.boulder", "molen.entities.aircraft.p51d", "molen.entities.aircraft.oh6", "molen.entities.aircraft.airliner", "molen.entities.vehicle.compact", "molen.entities.vehicle.sedan", "molen.entities.vehicle.suv", "molen.entities.vehicle.pickup", "molen.entities.vehicle.van", "molen.entities.transit.bus", "molen.entities.transit.lightrail", "molen.entities.vehicle.sports_coupe", "molen.entities.vehicle.station_wagon", "molen.entities.vehicle.electric_hatchback", "molen.entities.vehicle.taxi", "molen.entities.vehicle.offroad", "molen.entities.vehicle.box_truck", "molen.entities.cycle.standard_motorcycle", "molen.entities.cycle.cruiser_motorcycle", "molen.entities.cycle.motor_scooter", "molen.entities.cycle.city_bicycle", "molen.entities.cycle.road_bicycle", "molen.entities.cycle.cargo_bicycle", "molen.entities.watercraft.speedboat", "molen.entities.watercraft.sailboat", "molen.entities.watercraft.fishing_boat", "molen.entities.watercraft.tugboat", "molen.entities.watercraft.container_ship", "molen.entities.watercraft.bulk_carrier", "molen.entities.watercraft.passenger_ferry", "molen.entities.watercraft.car_ferry"];
|
|
46
|
+
declare const MOLEN_ENTITY_IDS: readonly ["molen.entities.vehicle.byd_seagull_2024", "molen.entities.vehicle.byd_qin_plus_2024", "molen.entities.vehicle.wuling_hongguang_mini_ev_2025", "molen.entities.vehicle.geely_monjaro_2024", "molen.entities.vehicle.toyota_yaris_2024", "molen.entities.vehicle.honda_n_box_2024", "molen.entities.vehicle.suzuki_jimny_sierra_2024", "molen.entities.vehicle.toyota_alphard_2024", "molen.entities.vehicle.kia_k5_2024", "molen.entities.vehicle.hyundai_casper_electric_2024", "molen.entities.vehicle.hyundai_staria_2024", "molen.entities.vehicle.genesis_g80_2024", "molen.entities.vehicle.peugeot_208_2024", "molen.entities.vehicle.renault_clio_2024", "molen.entities.vehicle.dacia_duster_2024", "molen.entities.vehicle.skoda_octavia_combi_2024", "molen.entities.vehicle.fiat_strada_2024", "molen.entities.vehicle.volkswagen_polo_2024", "molen.entities.vehicle.chevrolet_onix_2024", "molen.entities.vehicle.renault_kwid_2024", "molen.entities.vehicle.toyota_hilux_2024", "molen.entities.vehicle.toyota_hiace_2024", "molen.entities.vehicle.isuzu_d_max_2024", "molen.entities.vehicle.suzuki_swift_2024", "molen.entities.vehicle.mini_cooper_countryman_2012", "molen.entities.vehicle.acura_mdx_2019", "molen.entities.vehicle.winnebago_view_2022", "molen.entities.vehicle.bendy_class_c_family", "molen.entities.vehicle.bendy_class_a_compact", "molen.entities.vehicle.bendy_class_a_touring", "molen.entities.vehicle.bendy_class_a_grand", "molen.entities.vehicle.bendy_class_b_camper", "molen.entities.vehicle.ford_gt_2005", "molen.entities.vehicle.chevrolet_ssr_2005", "molen.entities.vehicle.chrysler_pt_cruiser_2006", "molen.entities.vehicle.scion_xb_2006", "molen.entities.vehicle.pontiac_solstice_2007", "molen.entities.vehicle.hummer_h3_2007", "molen.entities.vehicle.honda_element_2008", "molen.entities.vehicle.volvo_v70_2008", "molen.entities.vehicle.smart_fortwo_2009", "molen.entities.vehicle.nissan_370z_2009", "molen.entities.vehicle.toyota_fj_cruiser_2010", "molen.entities.vehicle.cadillac_cts_2010", "molen.entities.vehicle.chevrolet_volt_2011", "molen.entities.vehicle.saab_9_3_sportcombi_2011", "molen.entities.vehicle.fiat_500_2012", "molen.entities.vehicle.nissan_leaf_2012", "molen.entities.vehicle.mini_cooper_2013", "molen.entities.vehicle.acura_tl_2013", "molen.entities.vehicle.chevrolet_corvette_2014", "molen.entities.vehicle.subaru_brz_2014", "molen.entities.vehicle.kia_soul_2015", "molen.entities.vehicle.chrysler_300_2015", "molen.entities.vehicle.mazda_mx_5_miata_2016", "molen.entities.vehicle.volkswagen_golf_gti_2016", "molen.entities.vehicle.porsche_911_2017", "molen.entities.vehicle.bmw_i3_2017", "molen.entities.vehicle.dodge_challenger_2018", "molen.entities.vehicle.alfa_romeo_giulia_2018", "molen.entities.vehicle.mercedes_benz_sprinter_2019", "molen.entities.vehicle.jaguar_i_pace_2019", "molen.entities.vehicle.lincoln_continental_2020", "molen.entities.vehicle.hyundai_veloster_2020", "molen.entities.vehicle.ford_transit_2021", "molen.entities.vehicle.audi_tt_2021", "molen.entities.vehicle.hyundai_ioniq_5_2022", "molen.entities.vehicle.lucid_air_2022", "molen.entities.vehicle.rivian_r1t_2023", "molen.entities.vehicle.land_rover_defender_90_2023", "molen.entities.vehicle.gmc_hummer_ev_suv_2024", "molen.entities.vehicle.toyota_gr_supra_2024", "molen.entities.vehicle.ford_f_150_2025", "molen.entities.vehicle.chevrolet_silverado_1500_2025", "molen.entities.vehicle.ram_1500_2025", "molen.entities.vehicle.gmc_sierra_1500_2025", "molen.entities.vehicle.toyota_tacoma_2025", "molen.entities.vehicle.toyota_tundra_2025", "molen.entities.vehicle.ford_maverick_2025", "molen.entities.vehicle.ford_ranger_2025", "molen.entities.vehicle.chevrolet_colorado_2025", "molen.entities.vehicle.toyota_rav4_2025", "molen.entities.vehicle.honda_cr_v_2025", "molen.entities.vehicle.nissan_rogue_2025", "molen.entities.vehicle.chevrolet_equinox_2025", "molen.entities.vehicle.hyundai_tucson_2025", "molen.entities.vehicle.kia_sportage_2025", "molen.entities.vehicle.mazda_cx_5_2025", "molen.entities.vehicle.subaru_forester_2025", "molen.entities.vehicle.subaru_outback_2025", "molen.entities.vehicle.ford_escape_2025", "molen.entities.vehicle.ford_explorer_2025", "molen.entities.vehicle.jeep_grand_cherokee_2025", "molen.entities.vehicle.jeep_wrangler_2025", "molen.entities.vehicle.ford_bronco_2025", "molen.entities.vehicle.toyota_highlander_2025", "molen.entities.vehicle.honda_pilot_2025", "molen.entities.vehicle.kia_telluride_2025", "molen.entities.vehicle.hyundai_palisade_2025", "molen.entities.vehicle.chevrolet_traverse_2025", "molen.entities.vehicle.chevrolet_trax_2025", "molen.entities.vehicle.toyota_camry_2025", "molen.entities.vehicle.toyota_corolla_2025", "molen.entities.vehicle.honda_civic_2025", "molen.entities.vehicle.honda_accord_2025", "molen.entities.vehicle.nissan_altima_2025", "molen.entities.vehicle.toyota_prius_2024", "molen.entities.vehicle.tesla_model_3_2025", "molen.entities.vehicle.tesla_model_y_2024", "molen.entities.vehicle.ford_mustang_2024", "molen.entities.vehicle.toyota_sienna_2025", "molen.entities.vehicle.honda_odyssey_2025", "molen.entities.tree.conifer.pine", "molen.entities.tree.conifer.fir", "molen.entities.tree.deciduous.oak", "molen.entities.tree.deciduous.birch", "molen.entities.vegetation.shrub", "molen.entities.nature.boulder", "molen.entities.aircraft.p51d", "molen.entities.aircraft.oh6", "molen.entities.aircraft.airliner", "molen.entities.aircraft.uh_1h", "molen.entities.aircraft.bell_206b", "molen.entities.aircraft.bell_407", "molen.entities.aircraft.bell_412ep", "molen.entities.aircraft.robinson_r44", "molen.entities.aircraft.airbus_h125", "molen.entities.aircraft.airbus_h145", "molen.entities.aircraft.uh_60m", "molen.entities.aircraft.ch_47f", "molen.entities.aircraft.aw139", "molen.entities.aircraft.pa_28_180", "molen.entities.aircraft.cessna_172s", "molen.entities.aircraft.cessna_208b", "molen.entities.aircraft.cessna_182t", "molen.entities.aircraft.bonanza_g36", "molen.entities.aircraft.baron_g58", "molen.entities.aircraft.king_air_350i", "molen.entities.aircraft.cirrus_sr22t", "molen.entities.aircraft.diamond_da42", "molen.entities.aircraft.pilatus_pc12", "molen.entities.aircraft.f_16b", "molen.entities.aircraft.f_14d", "molen.entities.aircraft.f_15c", "molen.entities.aircraft.fa_18c", "molen.entities.aircraft.f_22a", "molen.entities.aircraft.f_35a", "molen.entities.aircraft.typhoon", "molen.entities.aircraft.rafale_c", "molen.entities.aircraft.gripen_c", "molen.entities.aircraft.mig_29a", "molen.entities.aircraft.c_130j", "molen.entities.aircraft.c_17a", "molen.entities.aircraft.a400m", "molen.entities.aircraft.c_5m", "molen.entities.aircraft.an_124", "molen.entities.aircraft.mv_22b", "molen.entities.aircraft.av_8b", "molen.entities.aircraft.dhc_6", "molen.entities.aircraft.dhc_2", "molen.entities.aircraft.pc_6", "molen.entities.aircraft.beech_18", "molen.entities.aircraft.dc_3", "molen.entities.aircraft.atr_72_600", "molen.entities.aircraft.dash_8_q400", "molen.entities.aircraft.embraer_e175", "molen.entities.aircraft.a220_300", "molen.entities.aircraft.boeing_737_800", "molen.entities.aircraft.airbus_a320neo", "molen.entities.aircraft.gulfstream_g650er", "molen.entities.aircraft.citation_cj4", "molen.entities.vehicle.compact", "molen.entities.vehicle.sedan", "molen.entities.vehicle.suv", "molen.entities.vehicle.pickup", "molen.entities.vehicle.van", "molen.entities.transit.bus", "molen.entities.transit.lightrail", "molen.entities.vehicle.sports_coupe", "molen.entities.vehicle.station_wagon", "molen.entities.vehicle.electric_hatchback", "molen.entities.vehicle.taxi", "molen.entities.vehicle.offroad", "molen.entities.vehicle.box_truck", "molen.entities.cycle.standard_motorcycle", "molen.entities.cycle.cruiser_motorcycle", "molen.entities.cycle.motor_scooter", "molen.entities.cycle.city_bicycle", "molen.entities.cycle.road_bicycle", "molen.entities.cycle.cargo_bicycle", "molen.entities.watercraft.speedboat", "molen.entities.watercraft.sailboat", "molen.entities.watercraft.fishing_boat", "molen.entities.watercraft.tugboat", "molen.entities.watercraft.container_ship", "molen.entities.watercraft.bulk_carrier", "molen.entities.watercraft.passenger_ferry", "molen.entities.watercraft.car_ferry"];
|
|
22
47
|
type MolenEntityId = (typeof MOLEN_ENTITY_IDS)[number];
|
|
23
48
|
/** Resolved aircraft data for one of the pack's aircraft, from a type library holding it. */
|
|
24
49
|
declare function molenAircraft(types: TypeLibrary, id: MolenAircraftEntityId): AircraftData;
|
|
@@ -31,4 +56,4 @@ declare function molenVehicle(types: TypeLibrary, id: MolenVehicleEntityId | Mol
|
|
|
31
56
|
*/
|
|
32
57
|
declare function createMolenEntitiesAssetIndex(baseUrl: string | URL): Record<MolenEntityId, string>;
|
|
33
58
|
//#endregion
|
|
34
|
-
export { MOLEN_AIRCRAFT_ENTITY_IDS, MOLEN_AMBIENT_AIRCRAFT_ENTITY_IDS, MOLEN_CYCLE_ENTITY_IDS, MOLEN_ENTITY_IDS, MOLEN_TRANSIT_ENTITY_IDS, MOLEN_VEHICLE_ENTITY_IDS, MOLEN_WATERCRAFT_ENTITY_IDS, MolenAircraftEntityId, MolenCycleEntityId, MolenEntityId, MolenTransitEntityId, MolenVehicleEntityId, MolenWatercraftEntityId, createMolenEntitiesAssetIndex, molenAircraft, molenVehicle };
|
|
59
|
+
export { MOLEN_ADDITIONAL_AIRCRAFT_ENTITY_IDS, MOLEN_AIRCRAFT_ENTITY_IDS, MOLEN_AMBIENT_AIRCRAFT_ENTITY_IDS, MOLEN_CYCLE_ENTITY_IDS, MOLEN_ENTITY_IDS, MOLEN_REGIONAL_VEHICLE_ENTITY_IDS, MOLEN_RV_ENTITY_IDS, MOLEN_TRANSIT_ENTITY_IDS, MOLEN_US_VEHICLE_ENTITY_IDS, MOLEN_VARIETY_VEHICLE_ENTITY_IDS, MOLEN_VEHICLE_ENTITY_IDS, MOLEN_WATERCRAFT_ENTITY_IDS, type MolenAdditionalAircraftEntityId, MolenAircraftEntityId, MolenCycleEntityId, MolenEntityId, type MolenRegionalVehicleEntityId, type MolenRvEntityId, MolenTransitEntityId, type MolenUsVehicleEntityId, type MolenVarietyVehicleEntityId, MolenVehicleEntityId, MolenWatercraftEntityId, createMolenEntitiesAssetIndex, molenAircraft, molenVehicle };
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,251 @@
|
|
|
1
|
+
//#region src/aircraft-ids.ts
|
|
2
|
+
/** Fifty additional original aircraft models in the entities content pack. */
|
|
3
|
+
const MOLEN_ADDITIONAL_AIRCRAFT_ENTITY_IDS = [
|
|
4
|
+
"molen.entities.aircraft.uh_1h",
|
|
5
|
+
"molen.entities.aircraft.bell_206b",
|
|
6
|
+
"molen.entities.aircraft.bell_407",
|
|
7
|
+
"molen.entities.aircraft.bell_412ep",
|
|
8
|
+
"molen.entities.aircraft.robinson_r44",
|
|
9
|
+
"molen.entities.aircraft.airbus_h125",
|
|
10
|
+
"molen.entities.aircraft.airbus_h145",
|
|
11
|
+
"molen.entities.aircraft.uh_60m",
|
|
12
|
+
"molen.entities.aircraft.ch_47f",
|
|
13
|
+
"molen.entities.aircraft.aw139",
|
|
14
|
+
"molen.entities.aircraft.pa_28_180",
|
|
15
|
+
"molen.entities.aircraft.cessna_172s",
|
|
16
|
+
"molen.entities.aircraft.cessna_208b",
|
|
17
|
+
"molen.entities.aircraft.cessna_182t",
|
|
18
|
+
"molen.entities.aircraft.bonanza_g36",
|
|
19
|
+
"molen.entities.aircraft.baron_g58",
|
|
20
|
+
"molen.entities.aircraft.king_air_350i",
|
|
21
|
+
"molen.entities.aircraft.cirrus_sr22t",
|
|
22
|
+
"molen.entities.aircraft.diamond_da42",
|
|
23
|
+
"molen.entities.aircraft.pilatus_pc12",
|
|
24
|
+
"molen.entities.aircraft.f_16b",
|
|
25
|
+
"molen.entities.aircraft.f_14d",
|
|
26
|
+
"molen.entities.aircraft.f_15c",
|
|
27
|
+
"molen.entities.aircraft.fa_18c",
|
|
28
|
+
"molen.entities.aircraft.f_22a",
|
|
29
|
+
"molen.entities.aircraft.f_35a",
|
|
30
|
+
"molen.entities.aircraft.typhoon",
|
|
31
|
+
"molen.entities.aircraft.rafale_c",
|
|
32
|
+
"molen.entities.aircraft.gripen_c",
|
|
33
|
+
"molen.entities.aircraft.mig_29a",
|
|
34
|
+
"molen.entities.aircraft.c_130j",
|
|
35
|
+
"molen.entities.aircraft.c_17a",
|
|
36
|
+
"molen.entities.aircraft.a400m",
|
|
37
|
+
"molen.entities.aircraft.c_5m",
|
|
38
|
+
"molen.entities.aircraft.an_124",
|
|
39
|
+
"molen.entities.aircraft.mv_22b",
|
|
40
|
+
"molen.entities.aircraft.av_8b",
|
|
41
|
+
"molen.entities.aircraft.dhc_6",
|
|
42
|
+
"molen.entities.aircraft.dhc_2",
|
|
43
|
+
"molen.entities.aircraft.pc_6",
|
|
44
|
+
"molen.entities.aircraft.beech_18",
|
|
45
|
+
"molen.entities.aircraft.dc_3",
|
|
46
|
+
"molen.entities.aircraft.atr_72_600",
|
|
47
|
+
"molen.entities.aircraft.dash_8_q400",
|
|
48
|
+
"molen.entities.aircraft.embraer_e175",
|
|
49
|
+
"molen.entities.aircraft.a220_300",
|
|
50
|
+
"molen.entities.aircraft.boeing_737_800",
|
|
51
|
+
"molen.entities.aircraft.airbus_a320neo",
|
|
52
|
+
"molen.entities.aircraft.gulfstream_g650er",
|
|
53
|
+
"molen.entities.aircraft.citation_cj4"
|
|
54
|
+
];
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/regional-vehicle-ids.ts
|
|
57
|
+
/** Shared model IDs; regional prevalence lives in the entities pack fleet catalog. */
|
|
58
|
+
const MOLEN_REGIONAL_VEHICLE_ENTITY_IDS = [
|
|
59
|
+
"molen.entities.vehicle.byd_seagull_2024",
|
|
60
|
+
"molen.entities.vehicle.byd_qin_plus_2024",
|
|
61
|
+
"molen.entities.vehicle.wuling_hongguang_mini_ev_2025",
|
|
62
|
+
"molen.entities.vehicle.geely_monjaro_2024",
|
|
63
|
+
"molen.entities.vehicle.toyota_yaris_2024",
|
|
64
|
+
"molen.entities.vehicle.honda_n_box_2024",
|
|
65
|
+
"molen.entities.vehicle.suzuki_jimny_sierra_2024",
|
|
66
|
+
"molen.entities.vehicle.toyota_alphard_2024",
|
|
67
|
+
"molen.entities.vehicle.kia_k5_2024",
|
|
68
|
+
"molen.entities.vehicle.hyundai_casper_electric_2024",
|
|
69
|
+
"molen.entities.vehicle.hyundai_staria_2024",
|
|
70
|
+
"molen.entities.vehicle.genesis_g80_2024",
|
|
71
|
+
"molen.entities.vehicle.peugeot_208_2024",
|
|
72
|
+
"molen.entities.vehicle.renault_clio_2024",
|
|
73
|
+
"molen.entities.vehicle.dacia_duster_2024",
|
|
74
|
+
"molen.entities.vehicle.skoda_octavia_combi_2024",
|
|
75
|
+
"molen.entities.vehicle.fiat_strada_2024",
|
|
76
|
+
"molen.entities.vehicle.volkswagen_polo_2024",
|
|
77
|
+
"molen.entities.vehicle.chevrolet_onix_2024",
|
|
78
|
+
"molen.entities.vehicle.renault_kwid_2024",
|
|
79
|
+
"molen.entities.vehicle.toyota_hilux_2024",
|
|
80
|
+
"molen.entities.vehicle.toyota_hiace_2024",
|
|
81
|
+
"molen.entities.vehicle.isuzu_d_max_2024",
|
|
82
|
+
"molen.entities.vehicle.suzuki_swift_2024"
|
|
83
|
+
];
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/rv-ids.ts
|
|
86
|
+
/** Touring motorhomes: two Class Cs, three Class As and one Class B. */
|
|
87
|
+
const MOLEN_RV_ENTITY_IDS = [
|
|
88
|
+
"molen.entities.vehicle.winnebago_view_2022",
|
|
89
|
+
"molen.entities.vehicle.bendy_class_c_family",
|
|
90
|
+
"molen.entities.vehicle.bendy_class_a_compact",
|
|
91
|
+
"molen.entities.vehicle.bendy_class_a_touring",
|
|
92
|
+
"molen.entities.vehicle.bendy_class_a_grand",
|
|
93
|
+
"molen.entities.vehicle.bendy_class_b_camper"
|
|
94
|
+
];
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region src/us-vehicle-ids.ts
|
|
97
|
+
/** Recent U.S. market reference vehicles; a curated selection, not a sales ranking. */
|
|
98
|
+
const MOLEN_US_VEHICLE_ENTITY_IDS = [
|
|
99
|
+
"molen.entities.vehicle.ford_f_150_2025",
|
|
100
|
+
"molen.entities.vehicle.chevrolet_silverado_1500_2025",
|
|
101
|
+
"molen.entities.vehicle.ram_1500_2025",
|
|
102
|
+
"molen.entities.vehicle.gmc_sierra_1500_2025",
|
|
103
|
+
"molen.entities.vehicle.toyota_tacoma_2025",
|
|
104
|
+
"molen.entities.vehicle.toyota_tundra_2025",
|
|
105
|
+
"molen.entities.vehicle.ford_maverick_2025",
|
|
106
|
+
"molen.entities.vehicle.ford_ranger_2025",
|
|
107
|
+
"molen.entities.vehicle.chevrolet_colorado_2025",
|
|
108
|
+
"molen.entities.vehicle.toyota_rav4_2025",
|
|
109
|
+
"molen.entities.vehicle.honda_cr_v_2025",
|
|
110
|
+
"molen.entities.vehicle.nissan_rogue_2025",
|
|
111
|
+
"molen.entities.vehicle.chevrolet_equinox_2025",
|
|
112
|
+
"molen.entities.vehicle.hyundai_tucson_2025",
|
|
113
|
+
"molen.entities.vehicle.kia_sportage_2025",
|
|
114
|
+
"molen.entities.vehicle.mazda_cx_5_2025",
|
|
115
|
+
"molen.entities.vehicle.subaru_forester_2025",
|
|
116
|
+
"molen.entities.vehicle.subaru_outback_2025",
|
|
117
|
+
"molen.entities.vehicle.ford_escape_2025",
|
|
118
|
+
"molen.entities.vehicle.ford_explorer_2025",
|
|
119
|
+
"molen.entities.vehicle.jeep_grand_cherokee_2025",
|
|
120
|
+
"molen.entities.vehicle.jeep_wrangler_2025",
|
|
121
|
+
"molen.entities.vehicle.ford_bronco_2025",
|
|
122
|
+
"molen.entities.vehicle.toyota_highlander_2025",
|
|
123
|
+
"molen.entities.vehicle.honda_pilot_2025",
|
|
124
|
+
"molen.entities.vehicle.kia_telluride_2025",
|
|
125
|
+
"molen.entities.vehicle.hyundai_palisade_2025",
|
|
126
|
+
"molen.entities.vehicle.chevrolet_traverse_2025",
|
|
127
|
+
"molen.entities.vehicle.chevrolet_trax_2025",
|
|
128
|
+
"molen.entities.vehicle.toyota_camry_2025",
|
|
129
|
+
"molen.entities.vehicle.toyota_corolla_2025",
|
|
130
|
+
"molen.entities.vehicle.honda_civic_2025",
|
|
131
|
+
"molen.entities.vehicle.honda_accord_2025",
|
|
132
|
+
"molen.entities.vehicle.nissan_altima_2025",
|
|
133
|
+
"molen.entities.vehicle.toyota_prius_2024",
|
|
134
|
+
"molen.entities.vehicle.tesla_model_3_2025",
|
|
135
|
+
"molen.entities.vehicle.tesla_model_y_2024",
|
|
136
|
+
"molen.entities.vehicle.ford_mustang_2024",
|
|
137
|
+
"molen.entities.vehicle.toyota_sienna_2025",
|
|
138
|
+
"molen.entities.vehicle.honda_odyssey_2025"
|
|
139
|
+
];
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region src/variety-vehicle-ids.ts
|
|
142
|
+
/** Eclectic reference vehicles, two models per year from 2005 through 2024. */
|
|
143
|
+
const MOLEN_VARIETY_VEHICLE_ENTITY_IDS = [
|
|
144
|
+
"molen.entities.vehicle.ford_gt_2005",
|
|
145
|
+
"molen.entities.vehicle.chevrolet_ssr_2005",
|
|
146
|
+
"molen.entities.vehicle.chrysler_pt_cruiser_2006",
|
|
147
|
+
"molen.entities.vehicle.scion_xb_2006",
|
|
148
|
+
"molen.entities.vehicle.pontiac_solstice_2007",
|
|
149
|
+
"molen.entities.vehicle.hummer_h3_2007",
|
|
150
|
+
"molen.entities.vehicle.honda_element_2008",
|
|
151
|
+
"molen.entities.vehicle.volvo_v70_2008",
|
|
152
|
+
"molen.entities.vehicle.smart_fortwo_2009",
|
|
153
|
+
"molen.entities.vehicle.nissan_370z_2009",
|
|
154
|
+
"molen.entities.vehicle.toyota_fj_cruiser_2010",
|
|
155
|
+
"molen.entities.vehicle.cadillac_cts_2010",
|
|
156
|
+
"molen.entities.vehicle.chevrolet_volt_2011",
|
|
157
|
+
"molen.entities.vehicle.saab_9_3_sportcombi_2011",
|
|
158
|
+
"molen.entities.vehicle.fiat_500_2012",
|
|
159
|
+
"molen.entities.vehicle.nissan_leaf_2012",
|
|
160
|
+
"molen.entities.vehicle.mini_cooper_2013",
|
|
161
|
+
"molen.entities.vehicle.acura_tl_2013",
|
|
162
|
+
"molen.entities.vehicle.chevrolet_corvette_2014",
|
|
163
|
+
"molen.entities.vehicle.subaru_brz_2014",
|
|
164
|
+
"molen.entities.vehicle.kia_soul_2015",
|
|
165
|
+
"molen.entities.vehicle.chrysler_300_2015",
|
|
166
|
+
"molen.entities.vehicle.mazda_mx_5_miata_2016",
|
|
167
|
+
"molen.entities.vehicle.volkswagen_golf_gti_2016",
|
|
168
|
+
"molen.entities.vehicle.porsche_911_2017",
|
|
169
|
+
"molen.entities.vehicle.bmw_i3_2017",
|
|
170
|
+
"molen.entities.vehicle.dodge_challenger_2018",
|
|
171
|
+
"molen.entities.vehicle.alfa_romeo_giulia_2018",
|
|
172
|
+
"molen.entities.vehicle.mercedes_benz_sprinter_2019",
|
|
173
|
+
"molen.entities.vehicle.jaguar_i_pace_2019",
|
|
174
|
+
"molen.entities.vehicle.lincoln_continental_2020",
|
|
175
|
+
"molen.entities.vehicle.hyundai_veloster_2020",
|
|
176
|
+
"molen.entities.vehicle.ford_transit_2021",
|
|
177
|
+
"molen.entities.vehicle.audi_tt_2021",
|
|
178
|
+
"molen.entities.vehicle.hyundai_ioniq_5_2022",
|
|
179
|
+
"molen.entities.vehicle.lucid_air_2022",
|
|
180
|
+
"molen.entities.vehicle.rivian_r1t_2023",
|
|
181
|
+
"molen.entities.vehicle.land_rover_defender_90_2023",
|
|
182
|
+
"molen.entities.vehicle.gmc_hummer_ev_suv_2024",
|
|
183
|
+
"molen.entities.vehicle.toyota_gr_supra_2024"
|
|
184
|
+
];
|
|
185
|
+
//#endregion
|
|
1
186
|
//#region src/index.ts
|
|
2
|
-
|
|
3
|
-
|
|
187
|
+
/**
|
|
188
|
+
* Ids and small helpers for the `molen.entities` content pack. The models and type documents are
|
|
189
|
+
* content, not code: load the pack (or list it in a project's `packs`) and pass its type library.
|
|
190
|
+
*/
|
|
191
|
+
const MOLEN_AIRCRAFT_ENTITY_IDS = [
|
|
192
|
+
"molen.entities.aircraft.p51d",
|
|
193
|
+
"molen.entities.aircraft.oh6",
|
|
194
|
+
"molen.entities.aircraft.airliner",
|
|
195
|
+
"molen.entities.aircraft.uh_1h",
|
|
196
|
+
"molen.entities.aircraft.bell_206b",
|
|
197
|
+
"molen.entities.aircraft.bell_407",
|
|
198
|
+
"molen.entities.aircraft.bell_412ep",
|
|
199
|
+
"molen.entities.aircraft.robinson_r44",
|
|
200
|
+
"molen.entities.aircraft.airbus_h125",
|
|
201
|
+
"molen.entities.aircraft.airbus_h145",
|
|
202
|
+
"molen.entities.aircraft.uh_60m",
|
|
203
|
+
"molen.entities.aircraft.ch_47f",
|
|
204
|
+
"molen.entities.aircraft.aw139",
|
|
205
|
+
"molen.entities.aircraft.pa_28_180",
|
|
206
|
+
"molen.entities.aircraft.cessna_172s",
|
|
207
|
+
"molen.entities.aircraft.cessna_208b",
|
|
208
|
+
"molen.entities.aircraft.cessna_182t",
|
|
209
|
+
"molen.entities.aircraft.bonanza_g36",
|
|
210
|
+
"molen.entities.aircraft.baron_g58",
|
|
211
|
+
"molen.entities.aircraft.king_air_350i",
|
|
212
|
+
"molen.entities.aircraft.cirrus_sr22t",
|
|
213
|
+
"molen.entities.aircraft.diamond_da42",
|
|
214
|
+
"molen.entities.aircraft.pilatus_pc12",
|
|
215
|
+
"molen.entities.aircraft.f_16b",
|
|
216
|
+
"molen.entities.aircraft.f_14d",
|
|
217
|
+
"molen.entities.aircraft.f_15c",
|
|
218
|
+
"molen.entities.aircraft.fa_18c",
|
|
219
|
+
"molen.entities.aircraft.f_22a",
|
|
220
|
+
"molen.entities.aircraft.f_35a",
|
|
221
|
+
"molen.entities.aircraft.typhoon",
|
|
222
|
+
"molen.entities.aircraft.rafale_c",
|
|
223
|
+
"molen.entities.aircraft.gripen_c",
|
|
224
|
+
"molen.entities.aircraft.mig_29a",
|
|
225
|
+
"molen.entities.aircraft.c_130j",
|
|
226
|
+
"molen.entities.aircraft.c_17a",
|
|
227
|
+
"molen.entities.aircraft.a400m",
|
|
228
|
+
"molen.entities.aircraft.c_5m",
|
|
229
|
+
"molen.entities.aircraft.an_124",
|
|
230
|
+
"molen.entities.aircraft.mv_22b",
|
|
231
|
+
"molen.entities.aircraft.av_8b",
|
|
232
|
+
"molen.entities.aircraft.dhc_6",
|
|
233
|
+
"molen.entities.aircraft.dhc_2",
|
|
234
|
+
"molen.entities.aircraft.pc_6",
|
|
235
|
+
"molen.entities.aircraft.beech_18",
|
|
236
|
+
"molen.entities.aircraft.dc_3",
|
|
237
|
+
"molen.entities.aircraft.atr_72_600",
|
|
238
|
+
"molen.entities.aircraft.dash_8_q400",
|
|
239
|
+
"molen.entities.aircraft.embraer_e175",
|
|
240
|
+
"molen.entities.aircraft.a220_300",
|
|
241
|
+
"molen.entities.aircraft.boeing_737_800",
|
|
242
|
+
"molen.entities.aircraft.airbus_a320neo",
|
|
243
|
+
"molen.entities.aircraft.gulfstream_g650er",
|
|
244
|
+
"molen.entities.aircraft.citation_cj4"
|
|
245
|
+
];
|
|
246
|
+
/** Airliners that also participate in ambient traffic; these are player-flyable. */
|
|
4
247
|
const MOLEN_AMBIENT_AIRCRAFT_ENTITY_IDS = ["molen.entities.aircraft.airliner"];
|
|
5
|
-
/**
|
|
248
|
+
/** Player-drivable buses and straight-track rail cars, also used by ambient traffic. */
|
|
6
249
|
const MOLEN_TRANSIT_ENTITY_IDS = ["molen.entities.transit.bus", "molen.entities.transit.lightrail"];
|
|
7
250
|
const MOLEN_VEHICLE_ENTITY_IDS = [
|
|
8
251
|
"molen.entities.vehicle.compact",
|
|
@@ -15,7 +258,121 @@ const MOLEN_VEHICLE_ENTITY_IDS = [
|
|
|
15
258
|
"molen.entities.vehicle.electric_hatchback",
|
|
16
259
|
"molen.entities.vehicle.taxi",
|
|
17
260
|
"molen.entities.vehicle.offroad",
|
|
18
|
-
"molen.entities.vehicle.box_truck"
|
|
261
|
+
"molen.entities.vehicle.box_truck",
|
|
262
|
+
"molen.entities.vehicle.ford_f_150_2025",
|
|
263
|
+
"molen.entities.vehicle.chevrolet_silverado_1500_2025",
|
|
264
|
+
"molen.entities.vehicle.ram_1500_2025",
|
|
265
|
+
"molen.entities.vehicle.gmc_sierra_1500_2025",
|
|
266
|
+
"molen.entities.vehicle.toyota_tacoma_2025",
|
|
267
|
+
"molen.entities.vehicle.toyota_tundra_2025",
|
|
268
|
+
"molen.entities.vehicle.ford_maverick_2025",
|
|
269
|
+
"molen.entities.vehicle.ford_ranger_2025",
|
|
270
|
+
"molen.entities.vehicle.chevrolet_colorado_2025",
|
|
271
|
+
"molen.entities.vehicle.toyota_rav4_2025",
|
|
272
|
+
"molen.entities.vehicle.honda_cr_v_2025",
|
|
273
|
+
"molen.entities.vehicle.nissan_rogue_2025",
|
|
274
|
+
"molen.entities.vehicle.chevrolet_equinox_2025",
|
|
275
|
+
"molen.entities.vehicle.hyundai_tucson_2025",
|
|
276
|
+
"molen.entities.vehicle.kia_sportage_2025",
|
|
277
|
+
"molen.entities.vehicle.mazda_cx_5_2025",
|
|
278
|
+
"molen.entities.vehicle.subaru_forester_2025",
|
|
279
|
+
"molen.entities.vehicle.subaru_outback_2025",
|
|
280
|
+
"molen.entities.vehicle.ford_escape_2025",
|
|
281
|
+
"molen.entities.vehicle.ford_explorer_2025",
|
|
282
|
+
"molen.entities.vehicle.jeep_grand_cherokee_2025",
|
|
283
|
+
"molen.entities.vehicle.jeep_wrangler_2025",
|
|
284
|
+
"molen.entities.vehicle.ford_bronco_2025",
|
|
285
|
+
"molen.entities.vehicle.toyota_highlander_2025",
|
|
286
|
+
"molen.entities.vehicle.honda_pilot_2025",
|
|
287
|
+
"molen.entities.vehicle.kia_telluride_2025",
|
|
288
|
+
"molen.entities.vehicle.hyundai_palisade_2025",
|
|
289
|
+
"molen.entities.vehicle.chevrolet_traverse_2025",
|
|
290
|
+
"molen.entities.vehicle.chevrolet_trax_2025",
|
|
291
|
+
"molen.entities.vehicle.toyota_camry_2025",
|
|
292
|
+
"molen.entities.vehicle.toyota_corolla_2025",
|
|
293
|
+
"molen.entities.vehicle.honda_civic_2025",
|
|
294
|
+
"molen.entities.vehicle.honda_accord_2025",
|
|
295
|
+
"molen.entities.vehicle.nissan_altima_2025",
|
|
296
|
+
"molen.entities.vehicle.toyota_prius_2024",
|
|
297
|
+
"molen.entities.vehicle.tesla_model_3_2025",
|
|
298
|
+
"molen.entities.vehicle.tesla_model_y_2024",
|
|
299
|
+
"molen.entities.vehicle.ford_mustang_2024",
|
|
300
|
+
"molen.entities.vehicle.toyota_sienna_2025",
|
|
301
|
+
"molen.entities.vehicle.honda_odyssey_2025",
|
|
302
|
+
"molen.entities.vehicle.ford_gt_2005",
|
|
303
|
+
"molen.entities.vehicle.chevrolet_ssr_2005",
|
|
304
|
+
"molen.entities.vehicle.chrysler_pt_cruiser_2006",
|
|
305
|
+
"molen.entities.vehicle.scion_xb_2006",
|
|
306
|
+
"molen.entities.vehicle.pontiac_solstice_2007",
|
|
307
|
+
"molen.entities.vehicle.hummer_h3_2007",
|
|
308
|
+
"molen.entities.vehicle.honda_element_2008",
|
|
309
|
+
"molen.entities.vehicle.volvo_v70_2008",
|
|
310
|
+
"molen.entities.vehicle.smart_fortwo_2009",
|
|
311
|
+
"molen.entities.vehicle.nissan_370z_2009",
|
|
312
|
+
"molen.entities.vehicle.toyota_fj_cruiser_2010",
|
|
313
|
+
"molen.entities.vehicle.cadillac_cts_2010",
|
|
314
|
+
"molen.entities.vehicle.chevrolet_volt_2011",
|
|
315
|
+
"molen.entities.vehicle.saab_9_3_sportcombi_2011",
|
|
316
|
+
"molen.entities.vehicle.fiat_500_2012",
|
|
317
|
+
"molen.entities.vehicle.nissan_leaf_2012",
|
|
318
|
+
"molen.entities.vehicle.mini_cooper_2013",
|
|
319
|
+
"molen.entities.vehicle.acura_tl_2013",
|
|
320
|
+
"molen.entities.vehicle.chevrolet_corvette_2014",
|
|
321
|
+
"molen.entities.vehicle.subaru_brz_2014",
|
|
322
|
+
"molen.entities.vehicle.kia_soul_2015",
|
|
323
|
+
"molen.entities.vehicle.chrysler_300_2015",
|
|
324
|
+
"molen.entities.vehicle.mazda_mx_5_miata_2016",
|
|
325
|
+
"molen.entities.vehicle.volkswagen_golf_gti_2016",
|
|
326
|
+
"molen.entities.vehicle.porsche_911_2017",
|
|
327
|
+
"molen.entities.vehicle.bmw_i3_2017",
|
|
328
|
+
"molen.entities.vehicle.dodge_challenger_2018",
|
|
329
|
+
"molen.entities.vehicle.alfa_romeo_giulia_2018",
|
|
330
|
+
"molen.entities.vehicle.mercedes_benz_sprinter_2019",
|
|
331
|
+
"molen.entities.vehicle.jaguar_i_pace_2019",
|
|
332
|
+
"molen.entities.vehicle.lincoln_continental_2020",
|
|
333
|
+
"molen.entities.vehicle.hyundai_veloster_2020",
|
|
334
|
+
"molen.entities.vehicle.ford_transit_2021",
|
|
335
|
+
"molen.entities.vehicle.audi_tt_2021",
|
|
336
|
+
"molen.entities.vehicle.hyundai_ioniq_5_2022",
|
|
337
|
+
"molen.entities.vehicle.lucid_air_2022",
|
|
338
|
+
"molen.entities.vehicle.rivian_r1t_2023",
|
|
339
|
+
"molen.entities.vehicle.land_rover_defender_90_2023",
|
|
340
|
+
"molen.entities.vehicle.gmc_hummer_ev_suv_2024",
|
|
341
|
+
"molen.entities.vehicle.toyota_gr_supra_2024",
|
|
342
|
+
"molen.entities.vehicle.winnebago_view_2022",
|
|
343
|
+
"molen.entities.vehicle.bendy_class_c_family",
|
|
344
|
+
"molen.entities.vehicle.bendy_class_a_compact",
|
|
345
|
+
"molen.entities.vehicle.bendy_class_a_touring",
|
|
346
|
+
"molen.entities.vehicle.bendy_class_a_grand",
|
|
347
|
+
"molen.entities.vehicle.bendy_class_b_camper",
|
|
348
|
+
"molen.entities.vehicle.mini_cooper_countryman_2012",
|
|
349
|
+
"molen.entities.vehicle.acura_mdx_2019",
|
|
350
|
+
"molen.entities.vehicle.byd_seagull_2024",
|
|
351
|
+
"molen.entities.vehicle.byd_qin_plus_2024",
|
|
352
|
+
"molen.entities.vehicle.wuling_hongguang_mini_ev_2025",
|
|
353
|
+
"molen.entities.vehicle.geely_monjaro_2024",
|
|
354
|
+
"molen.entities.vehicle.toyota_yaris_2024",
|
|
355
|
+
"molen.entities.vehicle.honda_n_box_2024",
|
|
356
|
+
"molen.entities.vehicle.suzuki_jimny_sierra_2024",
|
|
357
|
+
"molen.entities.vehicle.toyota_alphard_2024",
|
|
358
|
+
"molen.entities.vehicle.kia_k5_2024",
|
|
359
|
+
"molen.entities.vehicle.hyundai_casper_electric_2024",
|
|
360
|
+
"molen.entities.vehicle.hyundai_staria_2024",
|
|
361
|
+
"molen.entities.vehicle.genesis_g80_2024",
|
|
362
|
+
"molen.entities.vehicle.peugeot_208_2024",
|
|
363
|
+
"molen.entities.vehicle.renault_clio_2024",
|
|
364
|
+
"molen.entities.vehicle.dacia_duster_2024",
|
|
365
|
+
"molen.entities.vehicle.skoda_octavia_combi_2024",
|
|
366
|
+
"molen.entities.vehicle.fiat_strada_2024",
|
|
367
|
+
"molen.entities.vehicle.volkswagen_polo_2024",
|
|
368
|
+
"molen.entities.vehicle.chevrolet_onix_2024",
|
|
369
|
+
"molen.entities.vehicle.renault_kwid_2024",
|
|
370
|
+
"molen.entities.vehicle.toyota_hilux_2024",
|
|
371
|
+
"molen.entities.vehicle.toyota_hiace_2024",
|
|
372
|
+
"molen.entities.vehicle.isuzu_d_max_2024",
|
|
373
|
+
"molen.entities.vehicle.suzuki_swift_2024",
|
|
374
|
+
"molen.entities.transit.bus",
|
|
375
|
+
"molen.entities.transit.lightrail"
|
|
19
376
|
];
|
|
20
377
|
/** Rideable motorcycles and bicycles, sharing the vehicle and mountable capabilities. */
|
|
21
378
|
const MOLEN_CYCLE_ENTITY_IDS = [
|
|
@@ -26,7 +383,7 @@ const MOLEN_CYCLE_ENTITY_IDS = [
|
|
|
26
383
|
"molen.entities.cycle.road_bicycle",
|
|
27
384
|
"molen.entities.cycle.cargo_bicycle"
|
|
28
385
|
];
|
|
29
|
-
/**
|
|
386
|
+
/** Player-controllable watercraft with ambient roles; the origin is the waterline. */
|
|
30
387
|
const MOLEN_WATERCRAFT_ENTITY_IDS = [
|
|
31
388
|
"molen.entities.watercraft.speedboat",
|
|
32
389
|
"molen.entities.watercraft.sailboat",
|
|
@@ -39,6 +396,118 @@ const MOLEN_WATERCRAFT_ENTITY_IDS = [
|
|
|
39
396
|
];
|
|
40
397
|
/** Stable asset/type ids of the `molen.entities` content pack. */
|
|
41
398
|
const MOLEN_ENTITY_IDS = [
|
|
399
|
+
"molen.entities.vehicle.byd_seagull_2024",
|
|
400
|
+
"molen.entities.vehicle.byd_qin_plus_2024",
|
|
401
|
+
"molen.entities.vehicle.wuling_hongguang_mini_ev_2025",
|
|
402
|
+
"molen.entities.vehicle.geely_monjaro_2024",
|
|
403
|
+
"molen.entities.vehicle.toyota_yaris_2024",
|
|
404
|
+
"molen.entities.vehicle.honda_n_box_2024",
|
|
405
|
+
"molen.entities.vehicle.suzuki_jimny_sierra_2024",
|
|
406
|
+
"molen.entities.vehicle.toyota_alphard_2024",
|
|
407
|
+
"molen.entities.vehicle.kia_k5_2024",
|
|
408
|
+
"molen.entities.vehicle.hyundai_casper_electric_2024",
|
|
409
|
+
"molen.entities.vehicle.hyundai_staria_2024",
|
|
410
|
+
"molen.entities.vehicle.genesis_g80_2024",
|
|
411
|
+
"molen.entities.vehicle.peugeot_208_2024",
|
|
412
|
+
"molen.entities.vehicle.renault_clio_2024",
|
|
413
|
+
"molen.entities.vehicle.dacia_duster_2024",
|
|
414
|
+
"molen.entities.vehicle.skoda_octavia_combi_2024",
|
|
415
|
+
"molen.entities.vehicle.fiat_strada_2024",
|
|
416
|
+
"molen.entities.vehicle.volkswagen_polo_2024",
|
|
417
|
+
"molen.entities.vehicle.chevrolet_onix_2024",
|
|
418
|
+
"molen.entities.vehicle.renault_kwid_2024",
|
|
419
|
+
"molen.entities.vehicle.toyota_hilux_2024",
|
|
420
|
+
"molen.entities.vehicle.toyota_hiace_2024",
|
|
421
|
+
"molen.entities.vehicle.isuzu_d_max_2024",
|
|
422
|
+
"molen.entities.vehicle.suzuki_swift_2024",
|
|
423
|
+
"molen.entities.vehicle.mini_cooper_countryman_2012",
|
|
424
|
+
"molen.entities.vehicle.acura_mdx_2019",
|
|
425
|
+
"molen.entities.vehicle.winnebago_view_2022",
|
|
426
|
+
"molen.entities.vehicle.bendy_class_c_family",
|
|
427
|
+
"molen.entities.vehicle.bendy_class_a_compact",
|
|
428
|
+
"molen.entities.vehicle.bendy_class_a_touring",
|
|
429
|
+
"molen.entities.vehicle.bendy_class_a_grand",
|
|
430
|
+
"molen.entities.vehicle.bendy_class_b_camper",
|
|
431
|
+
"molen.entities.vehicle.ford_gt_2005",
|
|
432
|
+
"molen.entities.vehicle.chevrolet_ssr_2005",
|
|
433
|
+
"molen.entities.vehicle.chrysler_pt_cruiser_2006",
|
|
434
|
+
"molen.entities.vehicle.scion_xb_2006",
|
|
435
|
+
"molen.entities.vehicle.pontiac_solstice_2007",
|
|
436
|
+
"molen.entities.vehicle.hummer_h3_2007",
|
|
437
|
+
"molen.entities.vehicle.honda_element_2008",
|
|
438
|
+
"molen.entities.vehicle.volvo_v70_2008",
|
|
439
|
+
"molen.entities.vehicle.smart_fortwo_2009",
|
|
440
|
+
"molen.entities.vehicle.nissan_370z_2009",
|
|
441
|
+
"molen.entities.vehicle.toyota_fj_cruiser_2010",
|
|
442
|
+
"molen.entities.vehicle.cadillac_cts_2010",
|
|
443
|
+
"molen.entities.vehicle.chevrolet_volt_2011",
|
|
444
|
+
"molen.entities.vehicle.saab_9_3_sportcombi_2011",
|
|
445
|
+
"molen.entities.vehicle.fiat_500_2012",
|
|
446
|
+
"molen.entities.vehicle.nissan_leaf_2012",
|
|
447
|
+
"molen.entities.vehicle.mini_cooper_2013",
|
|
448
|
+
"molen.entities.vehicle.acura_tl_2013",
|
|
449
|
+
"molen.entities.vehicle.chevrolet_corvette_2014",
|
|
450
|
+
"molen.entities.vehicle.subaru_brz_2014",
|
|
451
|
+
"molen.entities.vehicle.kia_soul_2015",
|
|
452
|
+
"molen.entities.vehicle.chrysler_300_2015",
|
|
453
|
+
"molen.entities.vehicle.mazda_mx_5_miata_2016",
|
|
454
|
+
"molen.entities.vehicle.volkswagen_golf_gti_2016",
|
|
455
|
+
"molen.entities.vehicle.porsche_911_2017",
|
|
456
|
+
"molen.entities.vehicle.bmw_i3_2017",
|
|
457
|
+
"molen.entities.vehicle.dodge_challenger_2018",
|
|
458
|
+
"molen.entities.vehicle.alfa_romeo_giulia_2018",
|
|
459
|
+
"molen.entities.vehicle.mercedes_benz_sprinter_2019",
|
|
460
|
+
"molen.entities.vehicle.jaguar_i_pace_2019",
|
|
461
|
+
"molen.entities.vehicle.lincoln_continental_2020",
|
|
462
|
+
"molen.entities.vehicle.hyundai_veloster_2020",
|
|
463
|
+
"molen.entities.vehicle.ford_transit_2021",
|
|
464
|
+
"molen.entities.vehicle.audi_tt_2021",
|
|
465
|
+
"molen.entities.vehicle.hyundai_ioniq_5_2022",
|
|
466
|
+
"molen.entities.vehicle.lucid_air_2022",
|
|
467
|
+
"molen.entities.vehicle.rivian_r1t_2023",
|
|
468
|
+
"molen.entities.vehicle.land_rover_defender_90_2023",
|
|
469
|
+
"molen.entities.vehicle.gmc_hummer_ev_suv_2024",
|
|
470
|
+
"molen.entities.vehicle.toyota_gr_supra_2024",
|
|
471
|
+
"molen.entities.vehicle.ford_f_150_2025",
|
|
472
|
+
"molen.entities.vehicle.chevrolet_silverado_1500_2025",
|
|
473
|
+
"molen.entities.vehicle.ram_1500_2025",
|
|
474
|
+
"molen.entities.vehicle.gmc_sierra_1500_2025",
|
|
475
|
+
"molen.entities.vehicle.toyota_tacoma_2025",
|
|
476
|
+
"molen.entities.vehicle.toyota_tundra_2025",
|
|
477
|
+
"molen.entities.vehicle.ford_maverick_2025",
|
|
478
|
+
"molen.entities.vehicle.ford_ranger_2025",
|
|
479
|
+
"molen.entities.vehicle.chevrolet_colorado_2025",
|
|
480
|
+
"molen.entities.vehicle.toyota_rav4_2025",
|
|
481
|
+
"molen.entities.vehicle.honda_cr_v_2025",
|
|
482
|
+
"molen.entities.vehicle.nissan_rogue_2025",
|
|
483
|
+
"molen.entities.vehicle.chevrolet_equinox_2025",
|
|
484
|
+
"molen.entities.vehicle.hyundai_tucson_2025",
|
|
485
|
+
"molen.entities.vehicle.kia_sportage_2025",
|
|
486
|
+
"molen.entities.vehicle.mazda_cx_5_2025",
|
|
487
|
+
"molen.entities.vehicle.subaru_forester_2025",
|
|
488
|
+
"molen.entities.vehicle.subaru_outback_2025",
|
|
489
|
+
"molen.entities.vehicle.ford_escape_2025",
|
|
490
|
+
"molen.entities.vehicle.ford_explorer_2025",
|
|
491
|
+
"molen.entities.vehicle.jeep_grand_cherokee_2025",
|
|
492
|
+
"molen.entities.vehicle.jeep_wrangler_2025",
|
|
493
|
+
"molen.entities.vehicle.ford_bronco_2025",
|
|
494
|
+
"molen.entities.vehicle.toyota_highlander_2025",
|
|
495
|
+
"molen.entities.vehicle.honda_pilot_2025",
|
|
496
|
+
"molen.entities.vehicle.kia_telluride_2025",
|
|
497
|
+
"molen.entities.vehicle.hyundai_palisade_2025",
|
|
498
|
+
"molen.entities.vehicle.chevrolet_traverse_2025",
|
|
499
|
+
"molen.entities.vehicle.chevrolet_trax_2025",
|
|
500
|
+
"molen.entities.vehicle.toyota_camry_2025",
|
|
501
|
+
"molen.entities.vehicle.toyota_corolla_2025",
|
|
502
|
+
"molen.entities.vehicle.honda_civic_2025",
|
|
503
|
+
"molen.entities.vehicle.honda_accord_2025",
|
|
504
|
+
"molen.entities.vehicle.nissan_altima_2025",
|
|
505
|
+
"molen.entities.vehicle.toyota_prius_2024",
|
|
506
|
+
"molen.entities.vehicle.tesla_model_3_2025",
|
|
507
|
+
"molen.entities.vehicle.tesla_model_y_2024",
|
|
508
|
+
"molen.entities.vehicle.ford_mustang_2024",
|
|
509
|
+
"molen.entities.vehicle.toyota_sienna_2025",
|
|
510
|
+
"molen.entities.vehicle.honda_odyssey_2025",
|
|
42
511
|
"molen.entities.tree.conifer.pine",
|
|
43
512
|
"molen.entities.tree.conifer.fir",
|
|
44
513
|
"molen.entities.tree.deciduous.oak",
|
|
@@ -48,6 +517,56 @@ const MOLEN_ENTITY_IDS = [
|
|
|
48
517
|
"molen.entities.aircraft.p51d",
|
|
49
518
|
"molen.entities.aircraft.oh6",
|
|
50
519
|
"molen.entities.aircraft.airliner",
|
|
520
|
+
"molen.entities.aircraft.uh_1h",
|
|
521
|
+
"molen.entities.aircraft.bell_206b",
|
|
522
|
+
"molen.entities.aircraft.bell_407",
|
|
523
|
+
"molen.entities.aircraft.bell_412ep",
|
|
524
|
+
"molen.entities.aircraft.robinson_r44",
|
|
525
|
+
"molen.entities.aircraft.airbus_h125",
|
|
526
|
+
"molen.entities.aircraft.airbus_h145",
|
|
527
|
+
"molen.entities.aircraft.uh_60m",
|
|
528
|
+
"molen.entities.aircraft.ch_47f",
|
|
529
|
+
"molen.entities.aircraft.aw139",
|
|
530
|
+
"molen.entities.aircraft.pa_28_180",
|
|
531
|
+
"molen.entities.aircraft.cessna_172s",
|
|
532
|
+
"molen.entities.aircraft.cessna_208b",
|
|
533
|
+
"molen.entities.aircraft.cessna_182t",
|
|
534
|
+
"molen.entities.aircraft.bonanza_g36",
|
|
535
|
+
"molen.entities.aircraft.baron_g58",
|
|
536
|
+
"molen.entities.aircraft.king_air_350i",
|
|
537
|
+
"molen.entities.aircraft.cirrus_sr22t",
|
|
538
|
+
"molen.entities.aircraft.diamond_da42",
|
|
539
|
+
"molen.entities.aircraft.pilatus_pc12",
|
|
540
|
+
"molen.entities.aircraft.f_16b",
|
|
541
|
+
"molen.entities.aircraft.f_14d",
|
|
542
|
+
"molen.entities.aircraft.f_15c",
|
|
543
|
+
"molen.entities.aircraft.fa_18c",
|
|
544
|
+
"molen.entities.aircraft.f_22a",
|
|
545
|
+
"molen.entities.aircraft.f_35a",
|
|
546
|
+
"molen.entities.aircraft.typhoon",
|
|
547
|
+
"molen.entities.aircraft.rafale_c",
|
|
548
|
+
"molen.entities.aircraft.gripen_c",
|
|
549
|
+
"molen.entities.aircraft.mig_29a",
|
|
550
|
+
"molen.entities.aircraft.c_130j",
|
|
551
|
+
"molen.entities.aircraft.c_17a",
|
|
552
|
+
"molen.entities.aircraft.a400m",
|
|
553
|
+
"molen.entities.aircraft.c_5m",
|
|
554
|
+
"molen.entities.aircraft.an_124",
|
|
555
|
+
"molen.entities.aircraft.mv_22b",
|
|
556
|
+
"molen.entities.aircraft.av_8b",
|
|
557
|
+
"molen.entities.aircraft.dhc_6",
|
|
558
|
+
"molen.entities.aircraft.dhc_2",
|
|
559
|
+
"molen.entities.aircraft.pc_6",
|
|
560
|
+
"molen.entities.aircraft.beech_18",
|
|
561
|
+
"molen.entities.aircraft.dc_3",
|
|
562
|
+
"molen.entities.aircraft.atr_72_600",
|
|
563
|
+
"molen.entities.aircraft.dash_8_q400",
|
|
564
|
+
"molen.entities.aircraft.embraer_e175",
|
|
565
|
+
"molen.entities.aircraft.a220_300",
|
|
566
|
+
"molen.entities.aircraft.boeing_737_800",
|
|
567
|
+
"molen.entities.aircraft.airbus_a320neo",
|
|
568
|
+
"molen.entities.aircraft.gulfstream_g650er",
|
|
569
|
+
"molen.entities.aircraft.citation_cj4",
|
|
51
570
|
"molen.entities.vehicle.compact",
|
|
52
571
|
"molen.entities.vehicle.sedan",
|
|
53
572
|
"molen.entities.vehicle.suv",
|
|
@@ -77,6 +596,12 @@ const MOLEN_ENTITY_IDS = [
|
|
|
77
596
|
"molen.entities.watercraft.car_ferry"
|
|
78
597
|
];
|
|
79
598
|
const MODEL_PATHS = {
|
|
599
|
+
...Object.fromEntries(MOLEN_REGIONAL_VEHICLE_ENTITY_IDS.map((id) => [id, `assets/${id.replaceAll(".", "/")}/model.glb`])),
|
|
600
|
+
"molen.entities.vehicle.mini_cooper_countryman_2012": "assets/molen/entities/vehicle/mini_cooper_countryman_2012/model.glb",
|
|
601
|
+
"molen.entities.vehicle.acura_mdx_2019": "assets/molen/entities/vehicle/acura_mdx_2019/model.glb",
|
|
602
|
+
...Object.fromEntries(MOLEN_RV_ENTITY_IDS.map((id) => [id, `assets/${id.replaceAll(".", "/")}/model.glb`])),
|
|
603
|
+
...Object.fromEntries(MOLEN_VARIETY_VEHICLE_ENTITY_IDS.map((id) => [id, `assets/${id.replaceAll(".", "/")}/model.glb`])),
|
|
604
|
+
...Object.fromEntries(MOLEN_US_VEHICLE_ENTITY_IDS.map((id) => [id, `assets/${id.replaceAll(".", "/")}/model.glb`])),
|
|
80
605
|
"molen.entities.vehicle.sports_coupe": "assets/molen/entities/vehicle/sports_coupe/model.glb",
|
|
81
606
|
"molen.entities.vehicle.station_wagon": "assets/molen/entities/vehicle/station_wagon/model.glb",
|
|
82
607
|
"molen.entities.vehicle.electric_hatchback": "assets/molen/entities/vehicle/electric_hatchback/model.glb",
|
|
@@ -106,6 +631,56 @@ const MODEL_PATHS = {
|
|
|
106
631
|
"molen.entities.aircraft.p51d": "assets/molen/entities/aircraft/p51d/model.glb",
|
|
107
632
|
"molen.entities.aircraft.oh6": "assets/molen/entities/aircraft/oh6/model.glb",
|
|
108
633
|
"molen.entities.aircraft.airliner": "assets/molen/entities/aircraft/airliner/model.glb",
|
|
634
|
+
"molen.entities.aircraft.uh_1h": "assets/molen/entities/aircraft/uh_1h/model.glb",
|
|
635
|
+
"molen.entities.aircraft.bell_206b": "assets/molen/entities/aircraft/bell_206b/model.glb",
|
|
636
|
+
"molen.entities.aircraft.bell_407": "assets/molen/entities/aircraft/bell_407/model.glb",
|
|
637
|
+
"molen.entities.aircraft.bell_412ep": "assets/molen/entities/aircraft/bell_412ep/model.glb",
|
|
638
|
+
"molen.entities.aircraft.robinson_r44": "assets/molen/entities/aircraft/robinson_r44/model.glb",
|
|
639
|
+
"molen.entities.aircraft.airbus_h125": "assets/molen/entities/aircraft/airbus_h125/model.glb",
|
|
640
|
+
"molen.entities.aircraft.airbus_h145": "assets/molen/entities/aircraft/airbus_h145/model.glb",
|
|
641
|
+
"molen.entities.aircraft.uh_60m": "assets/molen/entities/aircraft/uh_60m/model.glb",
|
|
642
|
+
"molen.entities.aircraft.ch_47f": "assets/molen/entities/aircraft/ch_47f/model.glb",
|
|
643
|
+
"molen.entities.aircraft.aw139": "assets/molen/entities/aircraft/aw139/model.glb",
|
|
644
|
+
"molen.entities.aircraft.pa_28_180": "assets/molen/entities/aircraft/pa_28_180/model.glb",
|
|
645
|
+
"molen.entities.aircraft.cessna_172s": "assets/molen/entities/aircraft/cessna_172s/model.glb",
|
|
646
|
+
"molen.entities.aircraft.cessna_208b": "assets/molen/entities/aircraft/cessna_208b/model.glb",
|
|
647
|
+
"molen.entities.aircraft.cessna_182t": "assets/molen/entities/aircraft/cessna_182t/model.glb",
|
|
648
|
+
"molen.entities.aircraft.bonanza_g36": "assets/molen/entities/aircraft/bonanza_g36/model.glb",
|
|
649
|
+
"molen.entities.aircraft.baron_g58": "assets/molen/entities/aircraft/baron_g58/model.glb",
|
|
650
|
+
"molen.entities.aircraft.king_air_350i": "assets/molen/entities/aircraft/king_air_350i/model.glb",
|
|
651
|
+
"molen.entities.aircraft.cirrus_sr22t": "assets/molen/entities/aircraft/cirrus_sr22t/model.glb",
|
|
652
|
+
"molen.entities.aircraft.diamond_da42": "assets/molen/entities/aircraft/diamond_da42/model.glb",
|
|
653
|
+
"molen.entities.aircraft.pilatus_pc12": "assets/molen/entities/aircraft/pilatus_pc12/model.glb",
|
|
654
|
+
"molen.entities.aircraft.f_16b": "assets/molen/entities/aircraft/f_16b/model.glb",
|
|
655
|
+
"molen.entities.aircraft.f_14d": "assets/molen/entities/aircraft/f_14d/model.glb",
|
|
656
|
+
"molen.entities.aircraft.f_15c": "assets/molen/entities/aircraft/f_15c/model.glb",
|
|
657
|
+
"molen.entities.aircraft.fa_18c": "assets/molen/entities/aircraft/fa_18c/model.glb",
|
|
658
|
+
"molen.entities.aircraft.f_22a": "assets/molen/entities/aircraft/f_22a/model.glb",
|
|
659
|
+
"molen.entities.aircraft.f_35a": "assets/molen/entities/aircraft/f_35a/model.glb",
|
|
660
|
+
"molen.entities.aircraft.typhoon": "assets/molen/entities/aircraft/typhoon/model.glb",
|
|
661
|
+
"molen.entities.aircraft.rafale_c": "assets/molen/entities/aircraft/rafale_c/model.glb",
|
|
662
|
+
"molen.entities.aircraft.gripen_c": "assets/molen/entities/aircraft/gripen_c/model.glb",
|
|
663
|
+
"molen.entities.aircraft.mig_29a": "assets/molen/entities/aircraft/mig_29a/model.glb",
|
|
664
|
+
"molen.entities.aircraft.c_130j": "assets/molen/entities/aircraft/c_130j/model.glb",
|
|
665
|
+
"molen.entities.aircraft.c_17a": "assets/molen/entities/aircraft/c_17a/model.glb",
|
|
666
|
+
"molen.entities.aircraft.a400m": "assets/molen/entities/aircraft/a400m/model.glb",
|
|
667
|
+
"molen.entities.aircraft.c_5m": "assets/molen/entities/aircraft/c_5m/model.glb",
|
|
668
|
+
"molen.entities.aircraft.an_124": "assets/molen/entities/aircraft/an_124/model.glb",
|
|
669
|
+
"molen.entities.aircraft.mv_22b": "assets/molen/entities/aircraft/mv_22b/model.glb",
|
|
670
|
+
"molen.entities.aircraft.av_8b": "assets/molen/entities/aircraft/av_8b/model.glb",
|
|
671
|
+
"molen.entities.aircraft.dhc_6": "assets/molen/entities/aircraft/dhc_6/model.glb",
|
|
672
|
+
"molen.entities.aircraft.dhc_2": "assets/molen/entities/aircraft/dhc_2/model.glb",
|
|
673
|
+
"molen.entities.aircraft.pc_6": "assets/molen/entities/aircraft/pc_6/model.glb",
|
|
674
|
+
"molen.entities.aircraft.beech_18": "assets/molen/entities/aircraft/beech_18/model.glb",
|
|
675
|
+
"molen.entities.aircraft.dc_3": "assets/molen/entities/aircraft/dc_3/model.glb",
|
|
676
|
+
"molen.entities.aircraft.atr_72_600": "assets/molen/entities/aircraft/atr_72_600/model.glb",
|
|
677
|
+
"molen.entities.aircraft.dash_8_q400": "assets/molen/entities/aircraft/dash_8_q400/model.glb",
|
|
678
|
+
"molen.entities.aircraft.embraer_e175": "assets/molen/entities/aircraft/embraer_e175/model.glb",
|
|
679
|
+
"molen.entities.aircraft.a220_300": "assets/molen/entities/aircraft/a220_300/model.glb",
|
|
680
|
+
"molen.entities.aircraft.boeing_737_800": "assets/molen/entities/aircraft/boeing_737_800/model.glb",
|
|
681
|
+
"molen.entities.aircraft.airbus_a320neo": "assets/molen/entities/aircraft/airbus_a320neo/model.glb",
|
|
682
|
+
"molen.entities.aircraft.gulfstream_g650er": "assets/molen/entities/aircraft/gulfstream_g650er/model.glb",
|
|
683
|
+
"molen.entities.aircraft.citation_cj4": "assets/molen/entities/aircraft/citation_cj4/model.glb",
|
|
109
684
|
"molen.entities.vehicle.compact": "assets/molen/entities/vehicle/compact/model.glb",
|
|
110
685
|
"molen.entities.vehicle.sedan": "assets/molen/entities/vehicle/sedan/model.glb",
|
|
111
686
|
"molen.entities.vehicle.suv": "assets/molen/entities/vehicle/suv/model.glb",
|
|
@@ -131,4 +706,4 @@ function createMolenEntitiesAssetIndex(baseUrl) {
|
|
|
131
706
|
return Object.fromEntries(MOLEN_ENTITY_IDS.map((id) => [id, new URL(MODEL_PATHS[id], baseUrl).href]));
|
|
132
707
|
}
|
|
133
708
|
//#endregion
|
|
134
|
-
export { MOLEN_AIRCRAFT_ENTITY_IDS, MOLEN_AMBIENT_AIRCRAFT_ENTITY_IDS, MOLEN_CYCLE_ENTITY_IDS, MOLEN_ENTITY_IDS, MOLEN_TRANSIT_ENTITY_IDS, MOLEN_VEHICLE_ENTITY_IDS, MOLEN_WATERCRAFT_ENTITY_IDS, createMolenEntitiesAssetIndex, molenAircraft, molenVehicle };
|
|
709
|
+
export { MOLEN_ADDITIONAL_AIRCRAFT_ENTITY_IDS, MOLEN_AIRCRAFT_ENTITY_IDS, MOLEN_AMBIENT_AIRCRAFT_ENTITY_IDS, MOLEN_CYCLE_ENTITY_IDS, MOLEN_ENTITY_IDS, MOLEN_REGIONAL_VEHICLE_ENTITY_IDS, MOLEN_RV_ENTITY_IDS, MOLEN_TRANSIT_ENTITY_IDS, MOLEN_US_VEHICLE_ENTITY_IDS, MOLEN_VARIETY_VEHICLE_ENTITY_IDS, MOLEN_VEHICLE_ENTITY_IDS, MOLEN_WATERCRAFT_ENTITY_IDS, createMolenEntitiesAssetIndex, molenAircraft, molenVehicle };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/molen-entities",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -37,20 +37,20 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@bendyline/molen-kernel": "0.0.
|
|
41
|
-
"@bendyline/molen-schema": "0.0.
|
|
40
|
+
"@bendyline/molen-kernel": "0.0.8",
|
|
41
|
+
"@bendyline/molen-schema": "0.0.8"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
+
"@bendyline/molen-pack": "0.0.9",
|
|
44
45
|
"@biomejs/biome": "^2.5.0",
|
|
45
46
|
"three": "0.184.0",
|
|
46
47
|
"tsdown": "^0.22.2",
|
|
47
48
|
"typescript": "^6.0.3",
|
|
48
|
-
"vitest": "^5.0.1"
|
|
49
|
-
"@bendyline/molen-pack": "0.0.8"
|
|
49
|
+
"vitest": "^5.0.1"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"generate": "node scripts/generate-models.mjs",
|
|
53
|
-
"build": "tsdown && node scripts/generate-models.mjs --check",
|
|
53
|
+
"build": "tsdown && node scripts/update-aircraft-performance.mjs --check && node scripts/generate-models.mjs --check",
|
|
54
54
|
"typecheck": "tsc -p tsconfig.json",
|
|
55
55
|
"lint": "biome check src scripts test package.json",
|
|
56
56
|
"test:unit": "vitest run --passWithNoTests"
|