ihsoft / KAS

Kerbal Attachment System
Other
159 stars 59 forks source link

Use fuel type from the config for the EVA fuel canister #287

Closed ihsoft closed 4 years ago

ihsoft commented 4 years ago

The type of the fuel is currently hardcoded to "EVA propellant". However, some mods introduce alternative mechanics to how the EVA propellant is spent (e.g. Kerbalism).

Proposed change:

  1. Read fuel type from the config.
  2. If the fuel is not "EVA propellant" then check the available fuel reserve and spend it.
  3. If fuel reserve of the custom type is not enough, report an error.
ihsoft commented 4 years ago

Wrogn component. Closing and moving to the right one: https://github.com/ihsoft/KIS/issues/360