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

Feature Request: B9 Plurals #240

Open
hemeac opened this issue Sep 11, 2020 · 1 comment
Open

Feature Request: B9 Plurals #240

hemeac opened this issue Sep 11, 2020 · 1 comment

Comments

@hemeac
Copy link

hemeac commented Sep 11, 2020

I have found switcherDescriptionPlural is useful for making the PAW a bit more informative and have created a simple patch to help label the switchable parts. Just in case you want to incorporate in the future. I've set it to run after the pass in which you convert the Hitchhiker and Mobile Processing Lab

//B9 Plurals
@PART[sspx-*]:NEEDS[StationPartsExpansionRedux]:HAS[@MODULE[ModuleB9PartSwitch]]:AFTER[zzzzStationParts]
{
	@MODULE[ModuleB9PartSwitch]:HAS[#moduleID[endcapSwitch]]
	{
		%switcherDescriptionPlural = Upper End Caps
	}
	
	@MODULE[ModuleB9PartSwitch]:HAS[#moduleID[endcapSwitchLower]]
	{
		%switcherDescriptionPlural = Lower End Caps
	}
	@MODULE[ModuleB9PartSwitch]:HAS[#moduleID[endcapSwitch2]]
	{
		%switcherDescriptionPlural = Lower End Caps
	}
	@MODULE[ModuleB9PartSwitch]:NEEDS[StationPartsExpansionMetal]:HAS[#moduleID[surfaceSwitch]]
	{
		%switcherDescriptionPlural = Surface Types
	}
}
@ChrisAdderley
Copy link
Collaborator

ChrisAdderley commented Sep 11, 2020 via email

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