Skip to content

Instantly share code, notes, and snippets.

View proctorPragmata's full-sized avatar

JR proctorPragmata

View GitHub Profile
{
"kind": "metapackage",
"abstract": "A list of modules installed on the default KSP instance",
"name": "installed-default",
"license": "unknown",
"version": "2015.08.07.12.06.01",
"identifier": "installed-default",
"spec_version": "v1.6",
"depends": [
{
@proctorPragmata
proctorPragmata / fsFuelSwitch.cfg
Last active August 29, 2015 14:26
Add fuel switch module to all tanks
@PART[*]:HAS[@RESOURCE[LiquidFuel],@RESOURCE[Oxidizer],!MODULE[ModuleFuelTanks],!MODULE[FSfuelSwitch],!MODULE[InterstellarFuelSwitch]]:FINAL {
%LF = #$RESOURCE[LiquidFuel]/maxAmount$
%OX = #$RESOURCE[Oxidizer]/maxAmount$
%totalCap = #$RESOURCE[LiquidFuel]/maxAmount$
@totalCap += #$RESOURCE[Oxidizer]/maxAmount$
%tempVar = 0
%dryCost = 0
@dryCost = #$cost$
%LFCost = 0