// makes docking ports attach at 15 degree angles
// shamelessly stole this code from the community database

@PART[dockingPort1|dockingPort2|dockingPort3|dockingPortLarge|dockingPortLateral|mk2DockingPort]:HAS[@MODULE[ModuleDockingNode]]
{
	@description ^= :$: Now with a 15 degree snap offset!
	@MODULE[ModuleDockingNode]
	{
		// If you want X degrees margin, use cos(0.5*X) as captureMinRollDot
		// 0.5 degree 	= 0.99999048
		// 1 degree 	= 0.99996192 (default)
		// 2 degrees 	= 0.9998477
		// 3 degrees 	= 0.99965732
		%captureMinRollDot = 0.99996192
		%snapRotation = true
		%snapOffset = 15
	}
}
