Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EvaFuelManager.cs: #6

Merged

Conversation

whale2
Copy link

@whale2 whale2 commented Aug 1, 2017

Modified EvaFuelManager.onEvaStart to look up KerbalEVA.propellantResourceDefaultAmount
and apply changes proportionally I.e. if that amount is equal to 5 (default value as per
https://kerbalspaceprogram.com/api/class_kerbal_e_v_a.html#a7ce0916b13d2c62ac0e130a8aec2a33c),
then full value of EvaTankFuelMax as configured in CustomSettings will be requested, or if
this amount is 2, then only 2/5 * EvaTankFuelMax will be requested.

ModuleKISItemEvaPropellantProxy.cs:
Altered call to PopupDialog.SpawnPopupDialog() to include dialog name as per https://kerbalspaceprogram.com/api/class_popup_dialog.html

whale2 and others added 2 commits August 1, 2017 19:56
Modified EvaFuelManager.onEvaStart to look up KerbalEVA.propellantResourceDefaultAmount
and apply changes proportionally I.e. if that amount is equal to 5 (default value as per
https://kerbalspaceprogram.com/api/class_kerbal_e_v_a.html#a7ce0916b13d2c62ac0e130a8aec2a33c),
then full value of EvaTankFuelMax as configured in CustomSettings will be requested, or if
this amount is 2, then only 2/5 * EvaTankFuelMax will be requested.

ModuleKISItemEvaPropellantProxy.cs:
Altered call to PopupDialog.SpawnPopupDialog() to include dialog name as per https://kerbalspaceprogram.com/api/class_popup_dialog.html
@linuxgurugamer linuxgurugamer merged commit 08811b6 into linuxgurugamer:master Oct 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants