Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage for new Konstruction resources #258

Open
johnabsher opened this issue Jul 9, 2021 · 1 comment
Open

Storage for new Konstruction resources #258

johnabsher opened this issue Jul 9, 2021 · 1 comment

Comments

@johnabsher
Copy link

In the new version of Konstruction (Currently pre-release) there are 5 new types of resources used to build spacecraft.

I've put together some MM patches to add these to the containers in this mod. Here they are - perhaps you may find them useful!

+B9_TANK_TYPE:HAS[#name[SSPXSpecializedParts]]:NEEDS[Konstruction]
{
	@name = SSPXAlloys
	@RESOURCE
	{
		@name = Alloys
	}
}
+B9_TANK_TYPE:HAS[#name[SSPXSpecializedParts]]:NEEDS[Konstruction]
{
	@name = SSPXElectronics
	@RESOURCE
	{
		@name = Electronics
	}
}
+B9_TANK_TYPE:HAS[#name[SSPXSpecializedParts]]:NEEDS[Konstruction]
{
	@name = SSPXPrototypes
	@RESOURCE
	{
		@name = Prototypes
	}
}
+B9_TANK_TYPE:HAS[#name[SSPXSpecializedParts]]:NEEDS[Konstruction]
{
	@name = SSPXRobotics
	@RESOURCE
	{
		@name = Robotics
	}
}
+B9_TANK_TYPE:HAS[#name[SSPXSpecializedParts]]:NEEDS[Konstruction]
{
	@name = SSPXSynthetics
	@RESOURCE
	{
		@name = Synthetics
	}
}
  
@PART[sspx-cargo-container*]:AFTER[StationPartsExpansionRedux]
{
	@MODULE[ModuleB9PartSwitch]
	{
		+SUBTYPE:HAS[#name[SpecializedParts]]:NEEDS[Konstruction]
		{
			@name = Alloys
			@title = Alloys
			@tankType = SSPXAlloys
		}
		
		+SUBTYPE:HAS[#name[SpecializedParts]]:NEEDS[Konstruction]
		{
			@name = Electronics
			@title = Electronics
			@tankType = SSPXElectronics
		}
		
		+SUBTYPE:HAS[#name[SpecializedParts]]:NEEDS[Konstruction]
		{
			@name = Prototypes
			@title = Prototypes
			@tankType = SSPXPrototypes
		}
		
		+SUBTYPE:HAS[#name[SpecializedParts]]:NEEDS[Konstruction]
		{
			@name = Robotics
			@title = Robotics
			@tankType = SSPXRobotics
		}
		
		+SUBTYPE:HAS[#name[SpecializedParts]]:NEEDS[Konstruction]
		{
			@name = Synthetics
			@title = Synthetics
			@tankType = SSPXSynthetics
		}
	}
}
@ChrisAdderley
Copy link
Collaborator

This could be added once Konstruction is out of pre-release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants