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:
Read fuel type from the config.
If the fuel is not "EVA propellant" then check the available fuel reserve and spend it.
If fuel reserve of the custom type is not enough, report an error.
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: