github untoldwind/KontrolSystem2 v0.5.4.0

latest releases: v0.5.9.5, v0.5.9.4, v0.5.9.3...
3 months ago
  • Extend array functionality:
    • array.flat_map: Map with function that returns an array for each element.
      Result will be appended.
      Example [ 1, 2, 3 ].flat_map(fn(i) -> [0.1 * i, 0.01 * i]) == [ 0.1, 0.01, 0.2, 0.02, 0.3, 0.03]
    • array.filter_map: Map with function that return an option for each element.
      Result will only contain values where option is defined.
      Example vessel.parts.filter_map(fn(part) -> part.solar_panel) to get an array of all
      solar panels of the vessel.
  • Add solar panel flow information:
    • base_flow_rate (available in VAB)
    • efficiency_multiplier (available in VAB)
    • star_energy_scale
    • max_flow shorthand for base_flow_rate * efficiency_multiplier * star_energy_scale
  • Add fairing.enabled toggle
  • Add deployable.extended toggle
  • Add heatshield information:
    • heatshield.is_deployed
    • heatshield.is_ablating
    • heatshield.is_ablator_exhausted
    • heatshield.ablator_ratio (0.0 - 1.0)
  • Add propellant information to engine via engine.current_propellant and engine.propellants
    • Extend ResourceDefinition by is_recipe and recipe_ingredients
  • Add engine.thrust_limiter property
  • Add part.is_cargo_bay
  • Add engine.has_fairing and engine.fairing to access engine specific fairings
    • part.fairing will now only cover non-engine parts
  • Add set_warp_index(int), max_warp_index(), is_warping() and is_physics_time_warp() to ksp::game::warp
    • warp_to(float) and set_warp_index(int) can not be used in a sync function
  • ModuleDeployable.deploy_state is now a proper enumeration and not just a string
  • Improve available engine information in VAB

Don't miss a new KontrolSystem2 release

NewReleases is sending notifications on new releases.