PART
{
	name = Benjee10_MMSEV_baseGreenhouse
	module = Part
	author = Benjee10

	TechRequired = spaceExploration
	entryCost = 15600
	cost = 7000
	category = Utility
	subcategory = 0
	title = PT-M100G Hydroponics Module
	manufacturer = Planetside Space Technologies
	description =  This module is outfitted with a sophisticated hydroponics garden to ensure your Kerbals can eat their greens. 
	attachRules = 1,0,1,1,0
	mass = 2.8
	
	dragModelType = default
	maximum_drag = 0.20
	minimum_drag = 0.15
	angularDrag = 2
	crashTolerance = 45
	CrewCapacity = 2
	
	maxTemp = 1400
	skinMaxTemp = 1400
	
	bulkheadProfiles = size2, size1
	tags = mmsev planetside hab base station module greenhouse plants grow food

	MODEL 
	{
		model = Benjee10_MMSEV/Parts/base_greenhouse
	}
	scale = 1
	rescaleFactor = 1

	INTERNAL
	{
		name = Benjee10_MMSEV_base_greenhouse_IVA
	}

	NODE
	{
		name = node_stack_bottom
		transform = bottomNode
		size = 1
	}

	NODE
	{
		name = node_stack_top
		transform = topNode
		size = 1
	}


	MODULE
	{
		name = ModuleKerbNetAccess
		MinimumFoV = 17
		MaximumFoV = 63
		AnomalyDetection = 0
		DISPLAY_MODES
		{
			Mode = Terrain,#autoLOC_438839 //#autoLOC_438839 = Terrain
			Mode = Biome,#autoLOC_438890 //#autoLOC_438890 = Biome
		}
		REQUIRED_EFFECTS
		{
			Effect = ScienceSkill
		}
	}

	MODULE
	{
		name = ModuleColorChanger
		shaderProperty = _EmissiveColor
		animRate = 0.8
		animState = false
		useRate = true
		toggleInEditor = true
		toggleInFlight = true
		toggleInFlight = true
		unfocusedRange = 5
		toggleName = Toggle Lights
		eventOnName = #autoLOC_6001409 	//#autoLOC_6001409 = Lights On
		eventOffName = #autoLOC_6001408 	//#autoLOC_6001408 = Lights Off
		toggleAction = True
		defaultActionGroup = Light
		redCurve
		{
			key = 0 0 0 3
			key = 1 1 0 0
		}
		greenCurve
		{
			key = 0 0 0 1
			key = 1 1 1 0
		}
		blueCurve
		{
			key = 0 0 0 0
			key = 1 0.7 1.5 0
		}
		alphaCurve
		{
			key = 0 1
		}
	}

	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = top
		switcherDescription = Top Node
		SUBTYPE
		{
			name = Bare
			title = Bare
			transform = airlockTopA
		}
		SUBTYPE
		{
			name = Endcap
			title = Endcap (rounded)
			transform = base_endCapTop
			transform = airlockTopB
			addedCost = 500
			addedMass = 0.15
			NODE
			{
				name = node_stack_top
				position = 0.0, 1.5623, 0.0
			}
			
		}
		SUBTYPE
		{
			name = EndcapB
			title = Endcap (straight)
			transform = base_endCapStraightTop
			transform = airlockTopB
			addedCost = 500
			addedMass = 0.15
			NODE
			{
				name = node_stack_top
				position = 0.0, 1.5623, 0.0
			}
			
		}
	}

	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = bottom
		switcherDescription = Bottom Node
		SUBTYPE
		{
			name = Bare
			title = Bare
			transform = airlockBottomA
		}
		SUBTYPE
		{
			name = Endcap
			title = Endcap (rounded)
			transform = base_endCapBottom
			transform = airlockBottomB
			addedCost = 500
			addedMass = 0.15
			NODE
			{
				name = node_stack_bottom
				position = 0.0, -1.5623, 0.0
			}
		}
		SUBTYPE
		{
			name = EndcapB
			title = Endcap (straight)
			transform = base_endCapStraightBottom
			transform = airlockBottomB
			addedCost = 500
			addedMass = 0.15
			NODE
			{
				name = node_stack_bottom
				position = 0.0, -1.5623, 0.0
			}
		}

	}

	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = textureSwitch
		switcherDescription = Variant
		SUBTYPE
		{
			name = White
			title = White
			primaryColor = white
			secondaryColor = grey
		}
		SUBTYPE
		{
			name = Metal
			title = Metal
			primaryColor = grey
			secondaryColor = grey
			TEXTURE
			{
				texture = Benjee10_MMSEV/Parts/MMSEV_base_01_diffB
				currentTexture = MMSEV_base_01_diff
			}
			TEXTURE
			{
				texture = Benjee10_MMSEV/Parts/MMSEV_base_02_diffB
				currentTexture = MMSEV_base_02_diff
			}
			TEXTURE
			{
				texture = Benjee10_MMSEV/Parts/MMSEV_base_05_diffB
				currentTexture = MMSEV_base_05_diff
			}
			TEXTURE
			{
				texture = Benjee10_MMSEV/Parts/MMSEV_base_03_diffB
				currentTexture = MMSEV_base_03_diff
			}
		}
	}

	MODULE:NEEDS[Squad/Parts/Cargo/RepairKit]
	{
		name = ModuleInventoryPart
		InventorySlots = 2
		packedVolumeLimit = 500
	}
	
}
