JPLRepo

[1.7.x] TAC - Life Support v0.13.13 - Release 29th Jun 2019

Recommended Posts

On 4/8/2018 at 3:21 PM, JPLRepo said:

either that or you can turn off the background resource processing completely... as goes for anyone else. I will also look at this high time warp EC issue in the next week or two time permitting as well.

Go into the difficulty settings menu for your save (from the pause menu - settings - then difficulty settings button at the top of the menu) and select TAC LS then there is an option to turn off the background resource processing completely.

Sorry all. Been a bit busy with KSP to fix this yet... hopefully soon.

Share this post


Link to post
Share on other sites

Hi, and thanks for your incredible support. Just one sugestion/question about EC consumbtion. By reading last pages i had understood that your mod take care of the EC consumption (with some bug) of vessel and make BackgroundProcessing mod not usefull. 

But after trying some unmanned mission i figured out that there is a huge difference between the two, as your mod seems to take care only of the crewed part ... as background processing take care of the two.

 

Is it an intended behaviour ? or is it a bug ? 

If this is intended, is there a way to activate your mod for even non crewed part ? 

Share this post


Link to post
Share on other sites

Love the mod. 

Just a little confused about recycler parts

Your carbon extracters  2.5 and the 3.75 both claim to output oxygen at 0.02/sec. Shouldn't the larger one output more?

Also why is there only one water splitter in 1.25m?

 

I see you use a custom tab for your parts. Could you give me some pointers as to how to make custom part tabs. Thanks

 

Edited by Ooop

Share this post


Link to post
Share on other sites
On 5/2/2018 at 5:37 AM, AstroPawian said:

up to 1.4.3 pls 

And have you even tried it.  Most mods that work in 1.4.1 work in 1.4.3.

Share this post


Link to post
Share on other sites

Edit: omg, it's getting late also for me - the GSM also got Oxygen and that is just taken into account by TAC-LS readout...

So you could ignore this if you want ... :confused:

Spoiler

 

@JPLRepo I built a vessel with Gemini command pod from BluedogDB.

It got TAC-LS resources for 15 days.

On top was an Agena resupply module as docking buoy, filled with more TAC-LS resources, EC and MP.

I undocked that one and proceeded.

Now I see that the readout says that I got Food and Water for 14 days and 3 hours, but Oxygen for 89 days and 3 hours in the TAC-LS readout and the (alternate) resource panel as well, the Hydrogen readout is - - - because the hydrogen fuel cell in the Gemini Service Module is not running:
rc3huAd.png

When I enable the hydrogen fuel cell inside the GSM the readout in the resource panel now shows the proper values, but the TAC-LS readout is still wrong:
3vhB22i.png

Is this a known issue?

The log and craft:
https://www.dropbox.com/s/tjschcfim0xcvu8/2018-05-13_1 KSP.log.7z?dl=1

 

 

Edited by Gordon Dry

Share this post


Link to post
Share on other sites

Edit:
Actually RealFuels for KSP 1.4.3 has a serious issue, so this test actually is not possible. -> see https://github.com/NathanKell/ModularFuelSystem/issues/209
seems to be fixed with RealFuels 1.2.7.1

TAC-LS for MFT-RF (that means ModularFuelTanks or RealFuels).

If anyone also wants to test this new attempt of these changes I already started to fiddle with last year, please try the following:

Spoiler

 

changed
GameData\ThunderAerospace\TacLifeSupportMFT\MM_AddResourcesMFT.cfg


// Add the ModuleFuelTanks to every command pod with crew capacity > 0, unless it already has ModuleFuelTanks.

@PART[*]:HAS[!MODULE[ModuleFuelTanks],@MODULE[ModuleCommand],#CrewCapacity[>0],~RSSROConfig[]]:FOR[TacLifeSupport]:NEEDS[modularFuelTanks|RealFuels]
{
	MODULE
	{
		name = ModuleFuelTanks
		type = ServiceModule
		basemass = -1
		volume = 3.549
		@volume *= #$/CrewCapacity$
	}
}

 

added
GameData\ThunderAerospace\TacLifeSupportMFT\MM_AddResourcesMFT_filled.cfg


// created by Gordon Dry in August 2017
// edited in May 2018
//
// This only works correctly when following the workout instructions from
//
//

@TANK_DEFINITION[ServiceModule]:HAS[!TANK[ReservePower]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,AmpYear,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_0]
{
	TANK
	{
		name = ReservePower
		mass = 0.00289
		amount = 0.0
		maxAmount = 0.0
		utilization = 10
		fillable = True
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_0]
{
	@MODULE[ModuleFuelTanks]
	{
		@type = ServiceModule
		@basemass = -1
	}
}

@PART[*]:HAS[!MODULE[ModuleFuelTanks],#CrewCapacity[>0]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_0]
{
	MODULE
	{
		name = ModuleFuelTanks
		type = ServiceModule
		basemass = -1
		volume = 0
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[ElectricCharge]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_1]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[ElectricCharge]]
	{
		@TANK[ElectricCharge]
		{
			@amount = 100
			@amount *= #$/CrewCapacity$
			@amount *= #$/mass$
			@amount += 200
			@maxAmount = #$amount$
			%utilization = 10
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[ElectricCharge]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_1]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[ElectricCharge]]
	{
		TANK
		{
			name = ElectricCharge
			amount = 100
			@amount *= #$/CrewCapacity$
			@amount *= #$/mass$
			@amount += 200
			maxAmount = #$amount$
			utilization = 10
			fillable = true
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[ElectricCharge]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_1]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[ElectricCharge]]
	{
		@TANK[ElectricCharge]
		{
			@amount = #$/RESOURCE[ElectricCharge]/maxAmount$
			@amount *= #$/mass$
			@maxAmount = #$amount$
			%utilization = 10
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[ElectricCharge]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_1]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[ElectricCharge]]
	{
		TANK
		{
			name = ElectricCharge
			amount = #$/RESOURCE[ElectricCharge]/maxAmount$
			@amount *= #$/mass$
			maxAmount = #$amount$
			utilization = 10
			fillable = true
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[Food]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_2] 
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[Food]]
	{
		@TANK[Food]
		{
			@amount = 1.462500
			@amount *= #$/CrewCapacity$
			@amount *= #$/mass$
			@maxAmount = #$amount$
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[Food]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_2]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[Food]]
	{
		TANK
		{
			name = Food
			amount = 1.462500
			@amount *= #$/CrewCapacity$
			@amount *= #$/mass$
			maxAmount = #$amount$
			fillable = true
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[Food]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_2]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[Food]]
	{
		@TANK[Food]
		{
			@amount = #$/RESOURCE[Food]/maxAmount$
			@amount *= #$/mass$
			@maxAmount = #$amount$
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[Food]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_2]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[Food]]
	{
		TANK
		{
			name = Food
			amount = #$/RESOURCE[Food]/maxAmount$
			@amount *= #$/mass$
			maxAmount = #$amount$
			fillable = true
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[Water]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_3]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[Water]]
	{
		@TANK[Water]
		{
			@amount = 0.966650
			@amount *= #$/CrewCapacity$
			@amount *= #$/mass$
			@maxAmount = #$amount$
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[Water]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_3]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[Water]]
	{
		TANK
		{
			name = Water
			amount = 0.966650
			@amount *= #$/CrewCapacity$
			@amount *= #$/mass$
			maxAmount = #$amount$
			fillable = true
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[Water]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_3]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[Water]]
	{
		@TANK[Water]
		{
			@amount = #$/RESOURCE[Water]/maxAmount$
			@amount *= #$/mass$
			@maxAmount = #$amount$
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[Water]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_3]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[Water]]
	{
		TANK
		{
			name = Water
			amount = #$/RESOURCE[Water]/maxAmount$
			@amount *= #$/mass$
			maxAmount = #$amount$
			fillable = true
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[Oxygen]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_4]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[Oxygen]]
	{
		@TANK[Oxygen]
		{
			@amount = 148.04970
			@amount *= #$/CrewCapacity$
			@amount *= #$/mass$
			@maxAmount = #$amount$
			@utilization = 200
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[Oxygen]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_4]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[Oxygen]]
	{
		TANK
		{
			name = Oxygen
			amount = 148.04970
			@amount *= #$/CrewCapacity$
			@amount *= #$/mass$
			maxAmount = #$amount$
			utilization = 200
			fillable = true
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[Oxygen]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_4]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[Oxygen]]
	{
		@TANK[Oxygen]
		{
			@amount = #$/RESOURCE[Oxygen]/maxAmount$
			@amount *= #$/mass$
			@maxAmount = #$amount$
			@utilization = 200
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[Oxygen]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_4]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[Oxygen]]
	{
		TANK
		{
			name = Oxygen
			amount = #$/RESOURCE[Oxygen]/maxAmount$
			@amount *= #$/mass$
			maxAmount = #$amount$
			utilization = 200
			fillable = true
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[Waste]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_5]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[Waste]]
	{
		@TANK[Waste]
		{
			@amount = 0
			@maxAmount = 0.13300
			@maxamount *= #$/CrewCapacity$
			@maxAmount *= #$/mass$
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[Waste]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_5]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[Waste]]
	{
		TANK
		{
			name = Waste
			amount = 0
			maxAmount = 0.13300
			@maxamount *= #$/CrewCapacity$
			@maxAmount *= #$/mass$
			fillable = false
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[Waste]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_5]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[Waste]]
	{
		@TANK[Waste]
		{
			@amount = #$/RESOURCE[Waste]/maxAmount$
			@amount *= #$/mass$
			@maxAmount = #$amount$
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[Waste]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_5]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[Waste]]
	{
		TANK
		{
			name = Waste
			amount = #$/RESOURCE[Waste]/maxAmount$
			@amount *= #$/mass$
			maxAmount = #$amount$
			fillable = false
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[WasteWater]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_6]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[WasteWater]]
	{
		@TANK[WasteWater]
		{
			@amount = 0
			@maxAmount = 1.23100
			@maxamount *= #$/CrewCapacity$
			@maxAmount *= #$/mass$
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[WasteWater]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_6]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[WasteWater]]
	{
		TANK
		{
			name = WasteWater
			amount = 0
			maxAmount = 1.23100
			@maxamount *= #$/CrewCapacity$
			@maxAmount *= #$/mass$
			fillable = false
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[WasteWater]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_6]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[WasteWater]]
	{
		@TANK[WasteWater]
		{
			@amount = #$/RESOURCE[WasteWater]/maxAmount$
			@amount *= #$/mass$
			@maxAmount = #$amount$
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[WasteWater]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_6]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[WasteWater]]
	{
		TANK
		{
			name = WasteWater
			amount = #$/RESOURCE[WasteWater]/maxAmount$
			@amount *= #$/mass$
			maxAmount = #$amount$
			fillable = false
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[CarbonDioxide]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_7]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[CarbonDioxide]]
	{
		@TANK[CarbonDioxide]
		{
			@amount = 0
			@maxAmount = 127.88310
			@maxamount *= #$/CrewCapacity$
			@maxAmount *= #$/mass$
			@utilization = 200
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[CarbonDioxide]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_7]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[CarbonDioxide]]
	{
		TANK
		{
			name = CarbonDioxide
			amount = 0
			maxAmount = 127.88310
			@maxamount *= #$/CrewCapacity$
			@maxAmount *= #$/mass$
			utilization = 200
			fillable = false
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[CarbonDioxide]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_7]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[CarbonDioxide]]
	{
		@TANK[CarbonDioxide]
		{
			@amount = 0
			@maxAmount = #$/RESOURCE[CarbonDioxide]/maxAmount$
			@maxAmount *= #$/mass$
			@utilization = 200
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[CarbonDioxide]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_7]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[CarbonDioxide]]
	{
		TANK
		{
			name = CarbonDioxide
			amount = 0
			maxAmount = #$/RESOURCE[CarbonDioxide]/maxAmount$
			@maxAmount *= #$/mass$
			utilization = 200
			fillable = false
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[ReservePower]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,AmpYear,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_8]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[ReservePower]]
	{
		@TANK[ReservePower]
		{
			@amount = 80
			@amount *= #$/mass$
			@maxAmount = #$amount$
			@utilization = 10
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],!Resource[ReservePower]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,AmpYear,!RealismOverhaul]:BEFORE[ZZZZ_GD_TACLSMFTRF_8]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[ReservePower]]
	{
		TANK
		{
			name = ReservePower
			amount = 80
			@amount *= #$/mass$
			maxAmount = #$amount$
			utilization = 10
			fillable = true
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[ReservePower]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,AmpYear,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_8]
{
	@MODULE[ModuleFuelTanks]:HAS[@TANK[ReservePower]]
	{
		@TANK[ReservePower]
		{
			@amount = #$/RESOURCE[ReservePower]/maxAmount$
			@amount *= #$/mass$
			@maxAmount = #$amount$
			@utilization = 10
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0],@Resource[ReservePower]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,AmpYear,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_8]
{
	@MODULE[ModuleFuelTanks]:HAS[!TANK[ReservePower]]
	{
		TANK
		{
			name = ReservePower
			amount = #$/RESOURCE[ReservePower]/maxAmount$
			@amount *= #$/mass$
			maxAmount = #$amount$
			utilization = 10
			fillable = true
		}
	}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,AmpYear,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_9]
{
	@MODULE[ModuleFuelTanks]
	{
		temp = #$TANK[ReservePower]/maxAmount$
		@temp /= #$TANK[ReservePower]/utilization$
		@volume += #$temp$
		!temp = delete
	}
	!RESOURCE[ReservePower] {}
}

@PART[*]:HAS[@MODULE[ModuleFuelTanks],#CrewCapacity[>0]]:NEEDS[modularFuelTanks|RealFuels,TacLifeSupport,!RealismOverhaul]:FOR[ZZZZ_GD_TACLSMFTRF_9]
{
	@MODULE[ModuleFuelTanks]
	{
		temp = #$TANK[ElectricCharge]/maxAmount$
		@temp /= #$TANK[ElectricCharge]/utilization$
		@volume += #$temp$
		@volume += #$TANK[Food]/maxAmount$
		@volume += #$TANK[Water]/maxAmount$
		@temp = #$TANK[Oxygen]/maxAmount$
		@temp /= #$TANK[Oxygen]/utilization$
		@volume += #$temp$
		@volume += #$TANK[Waste]/maxAmount$
		@volume += #$TANK[WasteWater]/maxAmount$
		@temp = #$TANK[CarbonDioxide]/maxAmount$
		@temp /= #$TANK[CarbonDioxide]/utilization$
		@volume += #$temp$
		@volume *= 1.3
		!temp = delete
	}
	!RESOURCE[ElectricCharge] {}
	!RESOURCE[Food] {}
	!RESOURCE[Water] {}
	!RESOURCE[Oxygen] {}
	!RESOURCE[Waste] {}
	!RESOURCE[WasteWater] {}
	!RESOURCE[CarbonDioxide] {}
}

 

changed (for RealFuels-Stockalike)
GameData\RealFuels-Stockalike\Fuel_Conversions.cfg
ATTENTION - this one could be problematic, also try with the original one from newest repo


// Made by Sippyfrog aka Jake From State Farm Johnson
// Free to use by anyone, I just ask that this ^^^^^^ stays
// Ideas and support pulled from work/sources of NathanKell and Sarbian
// Additions made by Raptor831
// Made to look user-friendly for any looking to pull from or alter while also removing outdated errors from previous versions of RealFuels and Module Manager
// Abstract: changes basic fuel tanks to use RealFuels resources, also makes RCS Thrusters use Hydrazine

@PART[*]:HAS[@RESOURCE[LiquidFuel],@RESOURCE[Oxidizer],!MODULE[ModuleFuelTanks],!MODULE[ModuleCommand]]:NEEDS[RealFuels]:Final    // Turns tanks with LiquidFuel and Oxidizer as resources into ModuleFuelTanks
{
  MODULE
  {
    name = ModuleFuelTanks                      // sets module
    volume = 0                                  // creates a blank volume for utilization
    @volume = #$/RESOURCE[LiquidFuel]/maxAmount$   // searches for amount of LiquidFuel to use as volume
    @volume += #$/RESOURCE[Oxidizer]/maxAmount$    // adds amount of Oxidizer to that number above
    @volume *= 5                                // multiplies entire volume by 5, this is standard conversion procedures for RealFuels
    type = Default                              // makes default tank because it's easiest to use for rockets
  }

  !RESOURCE[LiquidFuel]    // removes old LiquidFuel resources
  {
  }

  !RESOURCE[Oxidizer]    // removes old Oxidizer resources
  {
  }
}

@PART[*]:HAS[@RESOURCE[LiquidFuel],!RESOURCE[Oxidizer],!MODULE[ModuleFuelTanks],!MODULE[ModuleCommand]]:NEEDS[RealFuels]:Final    // Changes any tanks with just LiquidFuel, aircraft parts basically, and replaces with ModuleFuelTanks
{
  MODULE
  {
    name = ModuleFuelTanks                      // sets module
    volume = 0                                  // creates a blank volume for utilization
    @volume = #$/RESOURCE[LiquidFuel]/maxAmount$   // searches for amount of LiquidFuel to use as volume
    @volume *= 5                                // multiplies entire volume by 5, this is standard conversion procedures for RealFuels
    type = Fuselage                             // makes into aircraft fuselage tank
  }

  !RESOURCE[LiquidFuel]    // removes old LiquidFuel resources
  {
  }
}

@PART[*]:HAS[@RESOURCE[MonoPropellant],!MODULE[ModuleFuelTanks],!MODULE[ModuleCommand]]:NEEDS[RealFuels]:Final    // Does exact same process above except for RCS tanks
{
  MODULE
  {
    name = ModuleFuelTanks                          // sets module
    volume = 0                                      // creates a blank volume for utilization
    @volume = #$/RESOURCE[MonoPropellant]/maxAmount$   // searches for previous amount of MonoPropellant to use as volume
    @volume *= 5                                    // multiplies by 5
    type = ServiceModule                            // this is best type to use for RCS tanks, holds more specialized stuff like Hydrazine
  }

  !RESOURCE[MonoPropellant]    // removes old MonoPropellant resources
  {
  }
}

@PART[*]:HAS[@RESOURCE[MonoPropellant],@RESOURCE[LiquidFuel],@RESOURCE[Oxidizer],!MODULE[ModuleFuelTanks],!MODULE[ModuleCommand]]:NEEDS[RealFuels]:Final    // Any tanks with all 3 resources, i.e. Service Modules, replaces with 1 tank for RCS fuel and another for Fuel
{
  MODULE
  {
    name = ModuleFuelTanks                          // sets module
    volume = 0                                      // creates a blank volume for utilization
    @volume = #$/RESOURCE[MonoPropellant]/maxAmount$   // searches for previous amount of MonoPropellant to use as volume
    @volume += #$/RESOURCE[LiquidFuel]/maxAmount$   // searches for amount of LiquidFuel to use as volume
    @volume += #$/RESOURCE[Oxidizer]/maxAmount$    // adds amount of Oxidizer to that number above
    @volume *= 5                                    // multiplies by 5
    type = ServiceModule                            // this is best type to use for RCS tanks, holds more specialized stuff like Hydrazine
  }

  !RESOURCE[MonoPropellant]    // removes old MonoPropellant resources
  {
  }

  !RESOURCE[Oxidizer]    // removes old Oxidizer resources
  {
  }

  ![RESOURCE[LiquidFuel]    // removes old LiquidFuel resources
  {
  }
}

@PART[*]:HAS[@MODULE[ModuleRCS*]:HAS[#resourceName[MonoPropellant]]]:NEEDS[RealFuels]:Final    // turns all RCS thrusters not explicitly changed to use Hydrazine instead of MonoPropellant
{
  @MODULE[ModuleRCS*]            // searches for and prepares to alter modules beginning with ModuleRCS, beginning because it will also include modules of ModuleRCS if that mod is installed
  {
    @resourceName = Hydrazine    // changes default propellant of RCS thruster to Hydrazine
  }
}

// B9 Overrides
@PART[HL_Aero_*]:HAS[@MODULE[ModuleCommand],@MODULE[ModuleFuelTanks]]:NEEDS[TacLifeSupport]:BEFORE[B9_Aerospace]
{
  !MODULE[ModuleFuelTanks],*{}
}
@PART[B9_Cockpit*]:HAS[@MODULE[ModuleCommand],@MODULE[ModuleFuelTanks]]:NEEDS[TacLifeSupport]:BEFORE[B9_Aerospace]
{
  !MODULE[ModuleFuelTanks],*{}
} 

 

changed (for RealFuels-Stockalike and Bluedog Design Bureau)
GameData\RealFuels-Stockalike\BDB\RF_BDB_zzTanks.cfg


@PART[bluedog*,Bluedog*]:HAS[@RESOURCE[LqdHydrogen],@RESOURCE[Oxidizer],!MODULE[ModuleFuelTanks]]:NEEDS[RealFuels,!RealismOverhaul]
{
	MODULE
	{
		name = ModuleFuelTanks
		volume = #$/RESOURCE[Oxidizer]/maxAmount$
		@volume *= 5
		@volume += #$/RESOURCE[LqdHydrogen]/maxAmount$
		type = BalloonCryo
		basemass = -1
	}

	!RESOURCE[LqdHydrogen] {}
	!RESOURCE[Oxidizer] {}
}

@PART[bluedog*,Bluedog*]:HAS[@RESOURCE[LiquidFuel],@RESOURCE[Oxidizer],!MODULE[ModuleFuelTanks]]:NEEDS[RealFuels,!RealismOverhaul]
{
	MODULE
	{
		name = ModuleFuelTanks
		volume = #$/RESOURCE[LiquidFuel]/maxAmount$
		@volume += #$/RESOURCE[Oxidizer]/maxAmount$
		@volume *= 5
		type = Default
		basemass = -1
	}

	!RESOURCE[LiquidFuel] {}
	!RESOURCE[Oxidizer] {}
}

//pruned because it conflicts with generic TAC-LS to MFT/RF patches
//@PART[bluedog*,Bluedog*]:HAS[@RESOURCE[Food],@MODULE[ModuleFuelTanks]]:NEEDS[RealFuels,TacLifeSupport,!RealismOverhaul]:AFTER[TacLifeSupport]
//{
//	@MODULE[ModuleFuelTanks]
//	{
//		TANK
//		{
//			name = Food
//			amount = full
//			maxAmount = #$/RESOURCE[Food]/maxAmount$
//		}
//		TANK
//		{
//			name = Water
//			amount = full
//			maxAmount = #$/RESOURCE[Water]/maxAmount$
//		}
//		TANK
//		{
//			name = Oxygen
//			amount = full
//			maxAmount = #$/RESOURCE[Oxygen]/maxAmount$
//		}
//		TANK
//		{
//			name = CarbonDioxide
//			amount = 0
//			maxAmount = #$/RESOURCE[CarbonDioxide]/maxAmount$
//		}
//		TANK
//		{
//			name = Waste
//			amount = 0
//			maxAmount = #$/RESOURCE[Waste]/maxAmount$
//		}
//		TANK
//		{
//			name = WasteWater
//			amount = 0
//			maxAmount = #$/RESOURCE[WasteWater]/maxAmount$
//		}
//	}
//	!RESOURCE[Food] {}
//	!RESOURCE[Water] {}
//	!RESOURCE[Oxygen] {}
//	!RESOURCE[CarbonDioxide] {}
//	!RESOURCE[Waste] {}
//	!RESOURCE[WasteWater] {}
//}

 

changed (also for Bluedog Design Bureau)
GameData\Bluedog_DB\Compatibility\TAC-LS\Command.cfg


// Copying what TAC does, add two hours of electricity per crew member to command pods
@PART[bluedog*,Bluedog*]:HAS[#CrewCapacity[>0],@RESOURCE[ElectricCharge]]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@RESOURCE[ElectricCharge]
	{
		@amount = 100
		@amount *= #$/CrewCapacity$
		@amount += 150
		@amount += #$maxAmount$
		@maxAmount = #$amount$
	}
}

@PART[bluedog*,Bluedog*]:HAS[#CrewCapacity[>0],!RESOURCE[ElectricCharge]]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	RESOURCE
	{
		name = ElectricCharge
		amount = 100
		@amount *= #$/CrewCapacity$
		@amount += 150
		maxAmount = #$amount$
	}
}

@PART[bluedog_Apollo_Block2_LifeSupportAll]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: Supports 3 kerbals.:

	RESOURCE
    {
        name = Oxygen
        amount = 111.038  // x3 kerbals for 1 day
        @amount *= 12    // days (3 more in the pod)
		@amount += 6986.595 // fuel cell for 15 days
        maxAmount = #$amount$
    }
	RESOURCE
    {
        name = Hydrogen
        amount = 13806.574  // fuel cell for 15 days
        maxAmount = #$amount$
    }
	@MODULE[TacGenericConverter]
	{
		@conversionRate = 3.06
	}
}

@PART[bluedog_Apollo_Block2_LifeSupportAll]:NEEDS[TacLifeSupport,modularFuelTanks|RealFuels,!RealismOverhaul]:AFTER[TacLifeSupport]
{
	@MODULE[ModuleFuelTanks]
	{
		@type = ServiceModule
		@volume = #$/RESOURCE[Oxygen]/maxAmount$
		@volume += #$/RESOURCE[Hydrogen]/maxAmount$

		@TANK[Oxygen]
		{
			@amount = #$/RESOURCE[Oxygen]/maxAmount$
			@maxAmount = #$/RESOURCE[Oxygen]/maxAmount$
			@utilization = 200
			@note = (pressurized)
			@fillable = true
		}
		@TANK[Hydrogen]
		{
			@amount = #$/RESOURCE[Hydrogen]/maxAmount$
			@maxAmount = #$/RESOURCE[Hydrogen]/maxAmount$
			@utilization = 100
			@note = (pressurized)
			@fillable = true
		}
	}
	!RESOURCE[Oxygen] {}
	!RESOURCE[Hydrogen] {}
}

// Extend food, CO2, and waste to 15 days for 3 Kerbals.
@PART[bluedog_Apollo_Block2_Capsule]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 15 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 16.4550375
		%maxAmount = 16.4550375
	}
	%RESOURCE[Water]
	{
		%amount = 10.8750375
		%maxAmount = 10.8750375
	}
	%RESOURCE[Oxygen]
	{
		%amount = 1665.5700375
		%maxAmount = 1665.5700375
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 1438.695
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 1.4999625
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 13.86
	}
}

// Extend food, CO2, and waste to 15 days for 5 Kerbals.
@PART[bluedog_Apollo_Block3_Capsule]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 15 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 27.4250625
		%maxAmount = 27.4250625
	}
	%RESOURCE[Water]
	{
		%amount = 18.1250625
		%maxAmount = 18.1250625
	}
	%RESOURCE[Oxygen]
	{
		%amount = 2775.9500625
		%maxAmount = 2775.9500625
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 2397.825
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 2.4999375
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 23.1
	}
}

// Extend food, CO2, and waste to 15 days for 2 Kerbals.
@PART[bluedog_Apollo_Block3_MissionModule]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 15 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 10.970025
		%maxAmount = 10.970025
	}
	%RESOURCE[Water]
	{
		%amount = 7.250025
		%maxAmount = 7.250025
	}
	%RESOURCE[Oxygen]
	{
		%amount = 1110.380025
		%maxAmount = 1110.380025
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 959.13
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 0.999975
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 9.24
	}
}

// Extend food, CO2, and waste to 15 days for 2 Kerbals.
@PART[bluedog_Apollo_Block4_MissionModule]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 15 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 10.970025
		%maxAmount = 10.970025
	}
	%RESOURCE[Water]
	{
		%amount = 7.250025
		%maxAmount = 7.250025
	}
	%RESOURCE[Oxygen]
	{
		%amount = 1110.380025
		%maxAmount = 1110.380025
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 959.13
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 0.999975
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 9.24
	}
}

// 3 days power in the Block III service module (5 Kerbals)
// Extend food, CO2, and waste to 3 days for 5 Kerbals.
@PART[bluedog_Apollo_Block3_LifeSupportAll]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS Additional battery power and life support supporting 5 kerbals for 3 days:
	@RESOURCE[ElectricCharge]
	{
		@amount = 5967
		@maxAmount = 5967
	}
	%RESOURCE[Food]
	{
		%amount = 5.4850125
		%maxAmount = 5.4850125
	}
	%RESOURCE[Water]
	{
		%amount = 3.6250125
		%maxAmount = 3.6250125
	}
	%RESOURCE[Oxygen]
	{
		%amount = 555.1900125
		%maxAmount = 555.1900125
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 479.565
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 0.4999875
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 4.62
	}

	// Standard TAC-LS Carbon Extractor using the Bosch process
	MODULE
	{
		name = TacGenericConverter
		converterName = #autoLOC_TACLS_00246 //Carbon Extractor
		StartActionName = #autoLOC_TACLS_00247 //Start CarbonExtractor
		StopActionName = #autoLOC_TACLS_00248 //Stop CarbonExtractor	
		tag = Life Support		
		GeneratesHeat = false
		conversionRate = 2.949446875 // 3 Kerbin days, 5 Kerbals
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.039783051310155
		}
		INPUT_RESOURCE
		{
			ResourceName = CarbonDioxide
			Ratio = 0.001703210064733
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Oxygen
			Ratio = 0.001713537562385
			DumpExcess = false
		}	
		OUTPUT_RESOURCE
		{
			ResourceName = Waste
			Ratio = 0.000001209166498
			DumpExcess = true
		}

		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.5
		SpecialistBonusBase = 1
		ExperienceEffect = ConverterSkill
		EfficiencyBonus = 1		
	}
	
	// Standard TAC-LS Water Purifier
	MODULE
	{
		name = TacGenericConverter
		converterName = #autoLOC_TACLS_00240 //Water Purifier
		StartActionName = #autoLOC_TACLS_00241 //Start WaterPurifier
		StopActionName = #autoLOC_TACLS_00242 //Stop WaterPurifier
		tag = Life Support		
		GeneratesHeat = false
		conversionRate = 3.75204375 // 3 Kerbin days, 5 Kerbals
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.007123842592593
		}
		INPUT_RESOURCE
		{
			ResourceName = WasteWater
			Ratio = 0.000014247685185
		}		
		OUTPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.000011188078704
			DumpExcess = false
		}	
		OUTPUT_RESOURCE
		{
			ResourceName = Waste
			Ratio = 0.000001994675926
			DumpExcess = true
		}	

		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.5
		SpecialistBonusBase = 1
		ExperienceEffect = ConverterSkill
		EfficiencyBonus = 1
	}
}

// 3 days power for the LEM
// Extend food, CO2, and waste to 3 days for 2 Kerbals.
@PART[bluedog_LEM_Ascent_Cockpit]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS Additional battery power and life support supporting 2 kerbals for 3 days:
	%RESOURCE[ElectricCharge]
	{
		%amount = 3413
		%maxAmount = 3413
	}
	%RESOURCE[Food]
	{
		%amount = 2.194005
		%maxAmount = 2.194005
	}
	%RESOURCE[Water]
	{
		%amount = 1.450005
		%maxAmount = 1.450005
	}
	%RESOURCE[Oxygen]
	{
		%amount = 222.076005
		%maxAmount = 222.076005
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 191.826
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 0.199995
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 1.848
	}
}

// Extra food for extended missions in the capsule, everything else in the service module.
// Extend food, CO2, and waste to 15 days for 1 Kerbal.
@PART[bluedog_mercuryPod]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 15 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 5.4850125
		%maxAmount = 5.4850125
	}
	%RESOURCE[Water]
	{
		%amount = 3.6250125
		%maxAmount = 3.6250125
	}
	%RESOURCE[Oxygen]
	{
		%amount = 555.1900125
		%maxAmount = 555.1900125
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 479.565
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 0.4999875
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 4.62
	}
}

// Extend food, CO2, and waste to 15 days for 2 Kerbals.
@PART[bluedog_Gemini_Crew_A]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 15 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 10.970025
		%maxAmount = 10.970025
	}
	%RESOURCE[Water]
	{
		%amount = 7.250025
		%maxAmount = 7.250025
	}
	%RESOURCE[Oxygen]
	{
		%amount = 1110.380025
		%maxAmount = 1110.380025
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 959.13
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 0.999975
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 9.24
	}
}

// Extend food, CO2, and waste to 15 days for 4 Kerbals.
@PART[bluedog_Gemini_Crew_B]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 15 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 21.94005
		%maxAmount = 21.94005
	}
	%RESOURCE[Water]
	{
		%amount = 14.50005
		%maxAmount = 14.50005
	}
	%RESOURCE[Oxygen]
	{
		%amount = 2220.76005
		%maxAmount = 2220.76005
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 1918.26
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 1.99995
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 18.48
	}
}

// Extend food, CO2, and waste to 3 days for 1 Kerbal.
@PART[bluedog_Gemini_LanderCan]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 3 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 1.0970025
		%maxAmount = 1.0970025
	}
	%RESOURCE[Water]
	{
		%amount = 0.7250025
		%maxAmount = 0.7250025
	}
	%RESOURCE[Oxygen]
	{
		%amount = 111.0380025
		%maxAmount = 111.0380025
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 95.913
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 0.0999975
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 0.924
	}
}

@PART[bluedog_Gemini_Service_A,bluedog_Apollo_Block2_LifeSupportAll]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS Hydrogen-Oxygen fuel cell produces EC and drinking water for 15 days. Also provides additional storage for breathing oxygen.:

	!MODULE[ModuleResourceConverter] {}
	MODULE
	{
		name = TacGenericConverter
		ConverterName = Fuel Cell
		StartActionName = Start Fuel Cell
		StopActionName = Stop Fuel Cell
		ToggleActionName = Toggle Fuel Cell
		tag = Life Support
		GeneratesHeat = false
		conversionRate = 3.06

		INPUT_RESOURCE
		{
			ResourceName = Oxygen
			Ratio = 0.007046915762
		}
		INPUT_RESOURCE
		{
			ResourceName = Hydrogen
			Ratio = 0.01392577843
		}

		// Meets 100% of Kerbals water needs, >180% of EC needs. DumpExcess enabled to assure both are produced.
		OUTPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.0654430501 // compared to the Water Splitter, this produces 40% of the EC the Water Splitter consumes reversing the process, assuming Water Splitter Waste is Hydrogen.
			DumpExcess = true
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.0000111880787
			DumpExcess = true
		}
	}
}

@PART[bluedog_Gemini_Service_A]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: Supports 2 kerbals.:

	// The large amount of Oxygen and Hydrogen needed for the fuel cells would be stored in liquid form.
	// To eliminate the need for an evaporator and avoid confusion with fuel they are added as a gas.
	// 1 liter of LOX/LH2 is about 800 liters of gas. Boiloff is not a factor in small insulated
	// containers like this.
    RESOURCE
    {
        name = Oxygen
        amount = 74.025  // x2 kerbals for 1 day
        @amount *= 12    // days (3 more in the pod)
		@amount += 4657.730 // fuel cell for 15 days
        maxAmount = #$amount$
    }
	RESOURCE
    {
        name = Hydrogen
        amount = 9204.383  // fuel cell for 15 days
        maxAmount = #$amount$
    }
	@MODULE[TacGenericConverter]
	{
		@conversionRate = 2.04
	}
}

@PART[bluedog_Gemini_Service_A]:NEEDS[TacLifeSupport,modularFuelTanks|RealFuels,!RealismOverhaul]:AFTER[TacLifeSupport]
{
	@MODULE[ModuleFuelTanks]
	{
		@type = ServiceModule
		@volume = #$/RESOURCE[Oxygen]/maxAmount$
		@volume += #$/RESOURCE[Hydrogen]/maxAmount$

		@TANK[Oxygen]
		{
			@amount = #$/RESOURCE[Oxygen]/maxAmount$
			@maxAmount = #$/RESOURCE[Oxygen]/maxAmount$
			@utilization = 200
			@note = (pressurized)
			@fillable = true
		}
		@TANK[Hydrogen]
		{
			@amount = #$/RESOURCE[Hydrogen]/maxAmount$
			@maxAmount = #$/RESOURCE[Hydrogen]/maxAmount$
			@utilization = 100
			@note = (pressurized)
			@fillable = true
		}
	}
	!RESOURCE[Oxygen] {}
	!RESOURCE[Hydrogen] {}
}

// Extend food, CO2, and waste to 3 days for 1 Kerbal.
@PART[bluedog_Skylab_MDA]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 3 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 1.0970025
		%maxAmount = 1.0970025
	}
	%RESOURCE[Water]
	{
		%amount = 0.7250025
		%maxAmount = 0.7250025
	}
	%RESOURCE[Oxygen]
	{
		%amount = 111.0380025
		%maxAmount = 111.0380025
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 95.913
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 0.0999975
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 0.924
	}
}

// Extend food, CO2, and waste to 15 days for 6 Kerbals.
@PART[bluedog_Skylab_OWS]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 15 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 32.910075
		%maxAmount = 32.910075
	}
	%RESOURCE[Water]
	{
		%amount = 21.750075
		%maxAmount = 21.750075
	}
	%RESOURCE[Oxygen]
	{
		%amount = 3331.140075
		%maxAmount = 3331.140075
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 2877.39
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 2.999925
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 27.72
	}

	// Standard TAC-LS Carbon Extractor using the Bosch process
	MODULE
	{
		name = TacGenericConverter
		converterName = #autoLOC_TACLS_00246 //Carbon Extractor
		StartActionName = #autoLOC_TACLS_00247 //Start CarbonExtractor
		StopActionName = #autoLOC_TACLS_00248 //Stop CarbonExtractor	
		tag = Life Support		
		GeneratesHeat = false
		conversionRate = 3.53933625 // 30 Kerbin days, 6 Kerbals (5 days for full crew)
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.039783051310155
		}
		INPUT_RESOURCE
		{
			ResourceName = CarbonDioxide
			Ratio = 0.001703210064733
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Oxygen
			Ratio = 0.001713537562385
			DumpExcess = false
		}	
		OUTPUT_RESOURCE
		{
			ResourceName = Waste
			Ratio = 0.000001209166498
			DumpExcess = true
		}

		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.5
		SpecialistBonusBase = 1
		ExperienceEffect = ConverterSkill
		EfficiencyBonus = 1		
	}
}

// Enough Life Support Supplies to Allow 6 kerbals to survive in orbit for 7 months
// Each month is 30 6 hr kerbin days, so 210 days
@PART[bluedog_Skylab_Airlock]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 1260 Kerbal days life support added.:
	%RESOURCE[Food]
	{
		%amount = 463.8
		%maxAmount = 463.8
	}
	%RESOURCE[Water]
	{
		%amount = 306.6
		%maxAmount = 306.6
	}
	%RESOURCE[Oxygen]
	{
		%amount = 46938.3
		%maxAmount = 46938.3
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 40544.7
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 390.3
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 42.3
	}
}

// Extend food, CO2, and waste to 45 days for 3 Kerbals.
@PART[bluedog_MOL_Hab]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 45 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 49.3651125
		%maxAmount = 49.3651125
	}
	%RESOURCE[Water]
	{
		%amount = 32.6251125
		%maxAmount = 32.6251125
	}
	%RESOURCE[Oxygen]
	{
		%amount = 4996.7101125
		%maxAmount = 4996.7101125
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 4316.085
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 4.4998875
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 41.58
	}

	// Standard TAC-LS Carbon Extractor using the Bosch process
	MODULE
	{
		name = TacGenericConverter
		converterName = #autoLOC_TACLS_00246 //Carbon Extractor
		StartActionName = #autoLOC_TACLS_00247 //Start CarbonExtractor
		StopActionName = #autoLOC_TACLS_00248 //Stop CarbonExtractor	
		tag = Life Support		
		GeneratesHeat = false
		conversionRate = 8.848340625 // 45 Kerbin days, one Kerbal (15 days for full crew)
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.039783051310155
		}
		INPUT_RESOURCE
		{
			ResourceName = CarbonDioxide
			Ratio = 0.001703210064733
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Oxygen
			Ratio = 0.001713537562385
			DumpExcess = false
		}	
		OUTPUT_RESOURCE
		{
			ResourceName = Waste
			Ratio = 0.000001209166498
			DumpExcess = true
		}

		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.5
		SpecialistBonusBase = 1
		ExperienceEffect = ConverterSkill
		EfficiencyBonus = 1		
	}
}

// Extend food, CO2, and waste to 45 days for 2 Kerbals.
@PART[bluedog_MOL_Lab]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 45 days life support added.:
	%RESOURCE[Food]
	{
		%amount = 32.910075
		%maxAmount = 32.910075
	}
	%RESOURCE[Water]
	{
		%amount = 21.750075
		%maxAmount = 21.750075
	}
	%RESOURCE[Oxygen]
	{
		%amount = 3331.140075
		%maxAmount = 3331.140075
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 2877.39
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 2.999925
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 27.72
	}

	// Standard TAC-LS Water Purifier
	MODULE
	{
		name = TacGenericConverter
		converterName = #autoLOC_TACLS_00240 //Water Purifier
		StartActionName = #autoLOC_TACLS_00241 //Start WaterPurifier
		StopActionName = #autoLOC_TACLS_00242 //Stop WaterPurifier
		tag = Life Support		
		GeneratesHeat = false
		conversionRate = 3.75204375 // 15 Kerbin days, one Kerbal (7.5 days with full crew)
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.007123842592593
		}
		INPUT_RESOURCE
		{
			ResourceName = WasteWater
			Ratio = 0.000014247685185
		}		
		OUTPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.000011188078704
			DumpExcess = false
		}	
		OUTPUT_RESOURCE
		{
			ResourceName = Waste
			Ratio = 0.000001994675926
			DumpExcess = true
		}	

		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.5
		SpecialistBonusBase = 1
		ExperienceEffect = ConverterSkill
		EfficiencyBonus = 1
	}

	// Standard TAC-LS Water Splitter
	MODULE
	{
		name = TacGenericConverter
		converterName = #autoLOC_TACLS_00237 //Water Splitter
		StartActionName = #autoLOC_TACLS_00238 //Start WaterSplitter
		StopActionName = #autoLOC_TACLS_00239 //Stop WaterSplitter
		tag = Life Support		
		GeneratesHeat = false
		conversionRate = 2.949446875 // 15 Kerbin days, one Kerbal (7.5 days with full crew)
		
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.039783051310155
		}
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.000002720508341
		}		
		OUTPUT_RESOURCE
		{
			ResourceName = Oxygen
			Ratio = 0.001713537562385
			DumpExcess = false
		}	
		OUTPUT_RESOURCE
		{
			ResourceName = Waste
			Ratio = 0.000000405893838
			DumpExcess = true
		}	
		
		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.5
		SpecialistBonusBase = 1
		ExperienceEffect = ConverterSkill
		EfficiencyBonus = 1
	}
}

// Enough Life Support Supplies to Allow 6 kerbals to survive in orbit for 7 months
// Each month is 30 6 hr kerbin days, so 210 days
@PART[bluedog_MOL_Airlock]:NEEDS[TacLifeSupport]:AFTER[TacLifeSupport]
{
	@description ^= :$: TAC-LS 1260 Kerbal days life support added.:
	%RESOURCE[Food]
	{
		%amount = 463.8
		%maxAmount = 463.8
	}
	%RESOURCE[Water]
	{
		%amount = 306.6
		%maxAmount = 306.6
	}
	%RESOURCE[Oxygen]
	{
		%amount = 46938.3
		%maxAmount = 46938.3
	}
	%RESOURCE[CarbonDioxide]
	{
		%amount = 0
		%maxAmount = 40544.7
	}
	%RESOURCE[WasteWater]
	{
		%amount = 0
		%maxAmount = 390.3
	}
	%RESOURCE[Waste]
	{
		%amount = 0
		%maxAmount = 42.3
	}
}

 

 

 

and the spreadsheet inside my signature also comes handy.

Edited by Gordon Dry

Share this post


Link to post
Share on other sites

Hello!

I apologise in advance if this question has already been asked. I notice that TAC doesn't account for recycling equipment when calculating the time certain resources last. 

Are there any plans to implement this?

Would you be open to a pull request to do so?

Share this post


Link to post
Share on other sites

I have an idea for a feature - kerbals have also alslo needs like other kerbalsto talk, communication to talk with familyplace to live (they can not handle sitting in a small tin can for 10 years) and other like this. It is alresdy in kerbalism mod but it is not compatibile with mks.

Share this post


Link to post
Share on other sites

Hi everyone,

I am a newbie with TAC Life support, but it seems that the extractors are not working in the background.

Vessel loaded, I lose 1 minute of oxygen every 7 minutes of food (with extractor running)

Vessel unloaded, I lose 1 minute of oxygen every minute of food.

 

So my question is : is it normal (a limitation of the mod) or potentially a bug ?

Thanks :)

Edited by choumss

Share this post


Link to post
Share on other sites

Is there a way to change when messages appear to warn of low resources? I have a space station which throws out low oxygen/food/water warnings every screen change, even though those resources will last for another 100ish days. I'm pretty sure its because the life support capacity of the station is so big that the current resources have likely dropped below a set threshold causing the messages to pop up, but its getting a bit annoying. I've looked at settings but cant find anything. Also i'm using the last 1.3 version of this mod if that's important.

Appreciate the help.

Share this post


Link to post
Share on other sites
12 hours ago, Qwarkk said:

Is there a way to change when messages appear to warn of low resources? I have a space station which throws out low oxygen/food/water warnings every screen change, even though those resources will last for another 100ish days. I'm pretty sure its because the life support capacity of the station is so big that the current resources have likely dropped below a set threshold causing the messages to pop up, but its getting a bit annoying. I've looked at settings but cant find anything. Also i'm using the last 1.3 version of this mod if that's important.

Appreciate the help.

Only support the latest version sorry.

9 hours ago, Gordon Dry said:

@Qwarkk @JPLRepo A toggle between (actual) percent and (suggested) days left would be the solution.

You can submit pull requests to the Develop branch in github.

On 5/23/2018 at 4:42 AM, Kielm said:

Hello!

I apologise in advance if this question has already been asked. I notice that TAC doesn't account for recycling equipment when calculating the time certain resources last. 

Are there any plans to implement this?

Would you be open to a pull request to do so?

You can submit pull requests to the Develop branch on github.

On 5/24/2018 at 10:15 PM, choumss said:

Hi everyone,

I am a newbie with TAC Life support, but it seems that the extractors are not working in the background.

Vessel loaded, I lose 1 minute of oxygen every 7 minutes of food (with extractor running)

Vessel unloaded, I lose 1 minute of oxygen every minute of food.

 

So my question is : is it normal (a limitation of the mod) or potentially a bug ?

Thanks :)

Sounds like a potential bug. Bug reports can be raised on github here:
https://github.com/KSP-RO/TacLifeSupport/issues

Share this post


Link to post
Share on other sites

Decided to try using tac life support a few days ago but it seems that i may have done something wrong. i have all the files in the right place and when i load the game im able to see all the parts and the toolbar button but when i launch my vessels they resources don't ever get used and no waste product is created. im running the newest version of kerbal and from what i have read others don't seem to have any problems with the mod working. any help would be amazing. thank you.

Share this post


Link to post
Share on other sites

can you update the mod to the current version, thanks

 

+im a noob to this mod so when I loaded up ksp, the system was there but where is the container for the resources te kerbals need?

Edited by GypsyDanger102
because i needed to

Share this post


Link to post
Share on other sites
10 hours ago, GypsyDanger102 said:

can you update the mod to the current version ,thanks

Why? the latest version works fine on KSP 1.4.4

Share this post


Link to post
Share on other sites
On 7/6/2018 at 5:08 PM, Tristan925 said:

Decided to try using tac life support a few days ago but it seems that i may have done something wrong. i have all the files in the right place and when i load the game im able to see all the parts and the toolbar button but when i launch my vessels they resources don't ever get used and no waste product is created. im running the newest version of kerbal and from what i have read others don't seem to have any problems with the mod working. any help would be amazing. thank you.

same

Edited by GypsyDanger102

Share this post


Link to post
Share on other sites
On 7/6/2018 at 6:08 PM, Tristan925 said:

but when i launch my vessels they resources don't ever get used and no waste product is created. im running the newest version of kerbal and from what i have read others don't seem to have any problems with the mod working.

Same situation here.

Share this post


Link to post
Share on other sites

Update: Started a new career, TACLS works fine. Reloaded old save, same problem persists; vessels not being updated.

Share this post


Link to post
Share on other sites
7 hours ago, Nathair said:

Update: Started a new career, TACLS works fine. Reloaded old save, same problem persists; vessels not being updated.

Few more details might help. What versions of KSP? And save file?

Share this post


Link to post
Share on other sites

Just wanted to say, the mod does not calculate how long a veseel will last if it has a (lets say) water purifier. It only tells me how long they will go with the resources stored aboard. This is pretty annoying, since it makes resource converters extremly hard to use. 

Any plans for implemeting advanced calculations?

Share this post


Link to post
Share on other sites
On 7/22/2018 at 12:40 AM, LusBax said:

Just wanted to say, the mod does not calculate how long a veseel will last if it has a (lets say) water purifier. It only tells me how long they will go with the resources stored aboard. This is pretty annoying, since it makes resource converters extremly hard to use. 

Any plans for implemeting advanced calculations?

That got asked about one page ago.. and has been asked many times before.

Share this post


Link to post
Share on other sites

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.

Guest
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.