// ghostParts.cfg v1.0.0.0
// Stack Inline Lights (SIL)
// created: 26 Feb 2023
// updated: 
//
// TEMPLATE: ghostParts.md v2.0.0.0
// created: 17 Aug 2017
// updated: 22 Feb 2023

// THIS FILE: CC BY-ND 4.0 by zer0Kerbal

// creates duplicate part to prevent save game issues because of a part name change
+PART[sil-*]:HAS[#oldName[*]]:NEEDS[StackInlineLights]:LAST[StackInlineLights]
{
	@name = #$oldName$
	!TechRequired = DELETE
	!entryCost = DELETE
	@category = -1
	%TechHidden = True
	%entryCost = 0
	@title ^= :^:Kindly use new part numbers :
	!manufacturer = DELETE
	@description = This part has been depreciated, kindly use new part.
	@tags = deleted
}

// special case because part has changed size
+PART[sil-light-bat-125]:NEEDS[StackInlineLights]:LAST[StackInlineLights]
{
	@name = SIL0225mRGBbatt300
	!TechRequired = DELETE
	!entryCost = DELETE
	@category = -1
	%TechHidden = True
	%entryCost = 0
	@title ^= :^:Kindly use new part numbers :
	!manufacturer = DELETE
	@description = This part has been depreciated, kindly use new part.
	@tags = deleted

	!MODEL,2 {}
	!MODEL,3 {}
	!MODEL,4 {}
	!MODEL,5 {}
	// MODEL { model = ASET/StackInlineLights/Assets/SIL0225 }
	MODEL 
	{
		model = Squad/Parts/Electrical/z-100Battery/model
		position = 0.0, 0.0, 1.11
		rotation = 0, 0, 90
		scale = 0.75, 0.75, 0.75
	}
	MODEL
	{
		model = Squad/Parts/Electrical/z-100Battery/model
		position = 0.0, 0.0, -1.11
		rotation = 180, 0, -90
		scale = 0.75, 0.75, 0.75
	}
	MODEL
	{
		model = Squad/Parts/Electrical/z-100Battery/model
		position = 1.11, 0.0, 0.0
		rotation = 180, -90, -90
		scale = 0.75, 0.75, 0.75
	}
	MODEL
	{
		model = Squad/Parts/Electrical/z-100Battery/model
		position = -1.11, 0.0, 0.0
		rotation = 180, 90, -90
		scale = 0.75, 0.75, 0.75
	}
	@rescaleFactor = 1.0
	@bulkheadProfiles = size2, srf
}