[1.1.2] Assembly Fuel Utility v1.1.0

Recommended Posts

Recent Changes

  • UI Performance enhancements.
  • Fuels are auto-discovered based on current ship to aid compatibility with mods such as RealFuels.
    • Resources to ignore can be set in the afu_settings.cfg file.
    • Ore, ElectricCharge and IntakeAir are ignored by default.
  • There is now a slider bar to empty/fill all types at once fuel types.
  • There is a now an input field for each fuel type for precise entry.

Hello everyone,

This is my first mod for KSP, indeed this is my first mod of any kind for any game. It's a little mod which I created for my own enjoyment, which I find useful and wanted to share. I expect nobody else will find it useful (and/or the functionality already exists) but hey, you never know. Anyway....


Assembly Fuel Utility is a very simple mod for Kerbal Space Program which allows you to easily adjust the fuel levels in all your fuel tanks in the SPH and VAB.

I created it mainly for my own use when building balanced space planes, but thought I would share it in case anyone else finds it useful and/or informative.





Source Code




Listed below for completeness but also included with source and download.


Copyright (c) 2016, Charlie Drewitt
All rights reserved

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <>.

This program makes use of Jint, a javascript interpretation library for .NET by Sebastian Ros (
A copy of the Jint license is available in Jint-License.txt



Edited by charliedrewitt
Updating for v1.1.0

Share this post

Link to post
Share on other sites

Whoa, didn't know I needed this! Great job for your first mod!

Share this post

Link to post
Share on other sites

Looks very nice! A few ideas, although I'll understand if you want to keep it simple

Some ideas:

  • an option to respect ratios between fuels (LF/OX, LH2/OX,etc)
  • numerical input field for precision (probably not at necessary)

edit: I think the OP needs to list the license too by the way.

Edited by Deimos Rast

Share this post

Link to post
Share on other sites

Thanks for the positive comments and welcome all. Deimos, I like your ideas and will add them to my to do list.

I'll also update the original post with the license. Thanks for the tip.

Share this post

Link to post
Share on other sites

That is a neat little mod. Good job .Like @Nhawks17 said this is one of those mods, where you only realize that you need them, when they are there :D 

Also welcome here :D

Edited by DasBananenbrot

Share this post

Link to post
Share on other sites


This mod would quite useful to use with real fuels to drain tanks before building a rocket,  so they can be fueled on the pad, and just easier fill/draining in general as RO rocket have a lot more tanks and fuel types, but I looked a little at the code and saw that fuel names are hard coded in the plugin currently. It would be awesome for it to automatically get names/types instead of having to manually added them and recompile. Otherwise people may request adding all the potential fuels in the CRP. Just some ideas, and it's perfectly alright if you want to keep is simple/geared toward stock, but this mod does have potential outside that. Nice work! :) 

Share this post

Link to post
Share on other sites

@Deimos Rast Version 1.1.0 has the ability to set a specific value using a text box for each fuel type. I'm not too sure on the ratio of fuels being fairly new to KSP and unfamiliar with the various types of fuel and their specific ratios. Is there a reference for this anywhere?

@Svm420 This is a good point. I have added fuel auto discovery in version 1.1.0. It's been tested (quickly) with Real Fuels & Stock and seems to work OK. Please let me know if you find any problems with it.

Thanks again everyone for your feedback and comments, I really do appreciate it!

Edited by charliedrewitt

Share this post

Link to post
Share on other sites

Howdy. Thanks for making this mod. It is functionality that really should be included in the base game. Does it work with 1.2.1? I can't get it to work with 1.2.1 and I wanted to know if it was just me.



Share this post

Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.