ihsoft / KIS

Kerbal Inventory System
Other
110 stars 51 forks source link

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

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.