Skip to content

Instantly share code, notes, and snippets.

@DeltaDizzy
Created November 23, 2019 02:04
Show Gist options
  • Save DeltaDizzy/b5d3da0c9105d2e607e1a0a883076964 to your computer and use it in GitHub Desktop.
Save DeltaDizzy/b5d3da0c9105d2e607e1a0a883076964 to your computer and use it in GitHub Desktop.
SNACKS_RESOURCE_INTRO:NEEDS[SnacksTAC]
{
name = Water
title = Water
description = Ever wondered where kerbals get their fluids? Well wonder no more! Now you must provide water for your kerbals in addition to food and (if you are running FreshAir) oxygen.
}
RESOURCE_DEFINITION:NEEDS[SnacksTAC]
{
name = WaterLS
displayName = Water
density = 0.001
unitCost = .5
flowMode = ALL_VESSEL
transfer = PUMP
isTweakable = true
volume = 1
}
@PART[radialSnackTin]:NEEDS[SnacksTAC]
{
@MODULE[SnacksResourceSwitcher]
{
OPTION
{
name = Mixed LS
RESOURCE
{
name = WaterLS
amount = 82
maxAmount = 82
}
RESOURCE
{
name = Snacks
amount = 83
maxAmount = 83
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment