// llp-bay-payload.cfg v0.9.99.0
// Launch Pack (LLP)
// created: 07 Dec 2014
// updated: 13 Mar 2023

// this file: CC BY-ND 4.0 by Lazarus Luan and zer0Kerbal
PART
{
	name = llp-bay-payload
	oldName = LazTekFalconPayloadBay
	module = Part
	author = Lazarus Luan and zer0Kerbal

	MODEL { model = LazTek/LaunchPack/Assets/llp-bay-payload }
	scale = 1.0
	rescaleFactor = 0.85
	bulkheadProfiles = size2

	attachRules = 1,0,1,0,1
	node_stack_top = 0.0, 0.31, 0.0, 0.0, 1.0, 0.0, 2, 1
	node_stack_bottom = 0.0, -0.21, 0.0, 0.0, -1.0, 0.0, 3, 1
	node_attach = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0, 1

	sound_decoupler_fire = decouple
	fx_gasBurst_white = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, decouple

	TechRequired = heavyAerodynamics
	entryCost = 8000
	cost = 800
	category = Payload
	subcategory = 0

	title = #LLP-bay-payload-titl
	manufacturer = #LTD-Agency-titl
	description = #LLP-bay-payload-desc
	tags = #autoLOC_500914 // contain convey equipment freight hold hollow payload (stor transport utility

	mass = 1.0
	fuelCrossFeed = False

	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2

	crashTolerance = 50
	breakingForce = 300
	breakingTorque = 300

	maxTemp = 2700
	emissiveConstant = 0.87

	stagingIcon = MYSTERY_PART // DECOUPLER_HOR

	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = PayloadBay
		startEventGUIName = #LTD-MAG-cargo-strt // Open Cargo Bay
		endEventGUIName = #LTD-MAG-cargo-stop // Close Cargo Bay
		actionGUIName = #LTD-MAG-cargo-actn // Toggle Cargo Bay
		allowDeployLimit = true
		revClampDirection = false
		revClampSpeed = true
		revClampPercent = true			
	}

	MODULE
	{
		name = ModuleDecouple
		ejectionForce = 100
		ejectionForcePercent = 100
		explosiveNodeID = top
		fxGroupName = decouple
		staged = True
		stagingEnabled = True
		menuName = #autoLOC_6001443 // Decouple
		stagingEnableText = #autoLOC_240328 // Decoupler: Enable Staging
		stagingDisableText = #autoLOC_240329 // Decoupler: Disable Staging
		stagingToggleEnabledEditor = True
		stagingToggleEnabledFlight = True
	}

}