"use strict";
this.name = "ShipConfiguration_FuelScoops";
this.author = "phkb";
this.copyright = "2017 phkb";
this.description = "Routines for fuel scoop control";
this.licence = "CC BY-NC-SA 3.0";

this.shipScoopedFuel = function () {
    var p = player.ship;
    // this is only for player - NPC's don't seem to have an equivalent event at the moment
    var accum = p.script._fuelScoopAccumulator;
    // add the additional fuel "accumulated"
    p.fuel += accum;
    if (p.fuel > 7) p.fuel = 7
}