Skip to content

Commit f1abe88

Browse files
committed
Added some parts for blacklist (thanks to @hohmannson)
1 parent a58f3cb commit f1abe88

2 files changed

Lines changed: 178 additions & 2 deletions

File tree

GameData/SimpleRepaint/SimpleRepaint.version

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
{
77
"MAJOR":0,
88
"MINOR":3,
9-
"PATCH":2,
9+
"PATCH":3,
1010
"BUILD":0
1111
},
1212
"KSP_VERSION":
1313
{
1414
"MAJOR":1,
1515
"MINOR":12,
16-
"PATCH":2
16+
"PATCH":3
1717
},
1818
"KSP_VERSION_MIN":
1919
{

IgnoreParts.cfg

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
// Example: uncomment and replace "IgnoredParts" with comma-separated list of part names you don't want to have repaint ability
2+
//@PART[IgnoredParts]:BEFORE[zzz_SimpleRepaint] { %SR_Ignore = true }
3+
4+
5+
//
6+
// Parts for some reasons incompatible with B9PartSwitch
7+
//
8+
9+
// Radial drills (but not ReStocked ones)
10+
@PART[MiniDrill]:HAS[!MODEL:HAS[#model[ReStock*]]]:BEFORE[zzz_SimpleRepaint]
11+
{
12+
%SR_Ignore = true
13+
%SR_UsePartVariant = #$@SIMPLE_REPAINT_SETTINGS/UseStockVariantSwitcherForB9PSIncompatibleParts$
14+
}
15+
16+
@PART[KKAOSS_drill,KKAOSS_MetalOreDrill,KKAOSS_Storage_Metal,KKAOSS_ISRU_g]:HAS[!MODEL:HAS[#model[ReStock*]]]:BEFORE[zzz_SimpleRepaint]
17+
{
18+
%SR_Ignore = true
19+
%SR_UsePartVariant = #$@SIMPLE_REPAINT_SETTINGS/UseStockVariantSwitcherForB9PSIncompatibleParts$
20+
}
21+
22+
@PART[RadialDrill]:HAS[!MODEL:HAS[#model[ReStock*]]]:BEFORE[zzz_SimpleRepaint]
23+
{
24+
%SR_Ignore = true
25+
%SR_UsePartVariant = #$@SIMPLE_REPAINT_SETTINGS/UseStockVariantSwitcherForB9PSIncompatibleParts$
26+
}
27+
28+
// Large scanner robotic arm
29+
@PART[RobotArmScanner_S3]:BEFORE[zzz_SimpleRepaint]
30+
{
31+
%SR_Ignore = true
32+
%SR_UsePartVariant = #$@SIMPLE_REPAINT_SETTINGS/UseStockVariantSwitcherForB9PSIncompatibleParts$
33+
}
34+
35+
// BD Armory
36+
@PART[*]:HAS[@MODULE[ModuleWeapon]:HAS[#weaponType[ballistic]]]:BEFORE[zzz_SimpleRepaint]
37+
{
38+
%SR_Ignore = true
39+
%SR_UsePartVariant = #$@SIMPLE_REPAINT_SETTINGS/UseStockVariantSwitcherForB9PSIncompatibleParts$
40+
}
41+
@PART[bahaHEKV1,bahaSmokeCmPod,bahaTowMissile]:BEFORE[zzz_SimpleRepaint]
42+
{
43+
%SR_Ignore = true
44+
%SR_UsePartVariant = #$@SIMPLE_REPAINT_SETTINGS/UseStockVariantSwitcherForB9PSIncompatibleParts$
45+
}
46+
47+
// Aviator Arsenal Continued
48+
@PART[WW2HVARRocket,WW2RP3Rocket]:BEFORE[zzz_SimpleRepaint]
49+
{
50+
%SR_Ignore = true
51+
%SR_UsePartVariant = #$@SIMPLE_REPAINT_SETTINGS/UseStockVariantSwitcherForB9PSIncompatibleParts$
52+
}
53+
54+
// Stockalike Mining Expansion
55+
@PART[SMX_InlineDrill,SMX_0mStackDrill,SMX_1mInlineDrill,SMX_1mHInlineDrill,SMX_1mInlinePump,SMX_1mStackDrill,SMX_1mStackPump,SMX_2mStackDrill,SMX_2mStackPump,SMX_3mStackDrill]:BEFORE[zzz_SimpleRepaint]
56+
{
57+
%SR_Ignore = true
58+
%SR_UsePartVariant = #$@SIMPLE_REPAINT_SETTINGS/UseStockVariantSwitcherForB9PSIncompatibleParts$
59+
}
60+
61+
// Other mods
62+
@PART[KD-ChemicalReactor,KD-Furnace]:BEFORE[zzz_SimpleRepaint]
63+
{
64+
%SR_Ignore = true
65+
%SR_UsePartVariant = #$@SIMPLE_REPAINT_SETTINGS/UseStockVariantSwitcherForB9PSIncompatibleParts$
66+
}
67+
68+
69+
//
70+
// DO NOT EDIT ANY FUTHER: unsupported parts
71+
//
72+
73+
// Various fairings
74+
@PART[*]:HAS[@MODULE[ModuleProceduralFairing]]:BEFORE[zzz_SimpleRepaint]
75+
{
76+
%SR_Ignore = true
77+
}
78+
@PART[*]:HAS[@MODULE[ModuleSimpleAdjustableFairing]]:BEFORE[zzz_SimpleRepaint]
79+
{
80+
%SR_Ignore = true
81+
}
82+
@PART[*]:HAS[@MODULE[ModuleDecouplerShroud]]:BEFORE[zzz_SimpleRepaint]
83+
{
84+
%SR_Ignore = true
85+
}
86+
@PART[*]:HAS[@MODULE[KzFairingBaseResizer]]:BEFORE[zzz_SimpleRepaint]
87+
{
88+
%SR_Ignore = true
89+
}
90+
91+
// Various procedural parts
92+
//@PART[*]:HAS[@MODULE[ModuleRestockLinkedMesh]]:BEFORE[zzz_SimpleRepaint]
93+
//{
94+
// %SR_Ignore = true
95+
//}
96+
@PART[*]:HAS[@MODULE[ProceduralPart]]:BEFORE[zzz_SimpleRepaint]
97+
{
98+
%SR_Ignore = true
99+
}
100+
@PART[*]:HAS[@MODULE[WingProcedural]]:BEFORE[zzz_SimpleRepaint]
101+
{
102+
%SR_Ignore = true
103+
}
104+
105+
// Breaking ground deployable modules
106+
@PART[*]:HAS[@MODULE[ModuleGroundExpControl]]:BEFORE[zzz_SimpleRepaint]
107+
{
108+
%SR_Ignore = true
109+
}
110+
@PART[*]:HAS[@MODULE[ModuleGroundExperiment]]:BEFORE[zzz_SimpleRepaint]
111+
{
112+
%SR_Ignore = true
113+
}
114+
@PART[*]:HAS[@MODULE[ModuleGroundSciencePart]]:BEFORE[zzz_SimpleRepaint]
115+
{
116+
%SR_Ignore = true
117+
}
118+
@PART[*]:HAS[@MODULE[ModuleGroundCommsPart]]:BEFORE[zzz_SimpleRepaint]
119+
{
120+
%SR_Ignore = true
121+
}
122+
123+
// Textures unlimited and SSTU
124+
//@PART[*]:HAS[@MODULE[KSPTextureSwitch]]:BEFORE[zzz_SimpleRepaint]
125+
//{
126+
// %SR_Ignore = true
127+
//}
128+
//@PART[*]:HAS[@MODULE[SSTURecolorGUI]]:BEFORE[zzz_SimpleRepaint]
129+
//{
130+
// %SR_Ignore = true
131+
//}
132+
133+
// Kerbals on EVA
134+
@PART[*]:HAS[@MODULE[KerbalEVA]]:BEFORE[zzz_SimpleRepaint]
135+
{
136+
%SR_Ignore = true
137+
}
138+
139+
// Comets and asteroids
140+
@PART[*]:HAS[@MODULE[ModuleComet]]:BEFORE[zzz_SimpleRepaint]
141+
{
142+
%SR_Ignore = true
143+
}
144+
@PART[*]:HAS[@MODULE[ModuleAsteroid]]:BEFORE[zzz_SimpleRepaint]
145+
{
146+
%SR_Ignore = true
147+
}
148+
149+
@PART[*]:HAS[@MODULE[ModuleKerbetrotterTextureShift]]:BEFORE[zzz_SimpleRepaint]
150+
{
151+
%SR_Ignore = true
152+
}
153+
154+
// Flag
155+
@PART[flag]:BEFORE[zzz_SimpleRepaint]
156+
{
157+
%SR_Ignore = true
158+
}
159+
160+
// Deployable work lamps and ground anchor
161+
@PART[*]:HAS[@MODULE[ModuleGroundPart]]:BEFORE[zzz_SimpleRepaint]
162+
{
163+
%SR_Ignore = true
164+
}
165+
166+
// Kerbals inventory parts
167+
@PART[evaScienceKit,evaChute,evaCylinder,evaJetpack,evaRepairKit]:BEFORE[zzz_SimpleRepaint]
168+
{
169+
%SR_Ignore = true
170+
}
171+
172+
// Foiled fuel tanks - no sense in repainting them
173+
@PART[externalTankToroid,externalTankRound,externalTankCapsule]:BEFORE[zzz_SimpleRepaint]
174+
{
175+
%SR_Ignore = true
176+
}

0 commit comments

Comments
 (0)