Remove CompQuality comp

Started by flyfire2002, October 09, 2018, 03:15:52 AM

Previous topic - Next topic

flyfire2002

If I'm to make my item A's thingdef inherit item Q, which has CompQuality in <comps>, but make A not inherit CompQuality (disable quality for A), how should I do it?

It seems one way is to redefine the base, but that seems like a substantial change.

Mehni

Assuming item Q is something unique to your mod: add Inherit="False" to the tag in question.

flyfire2002

Quote from: Mehni on October 10, 2018, 04:52:14 AM
Assuming item Q is something unique to your mod: add Inherit="False" to the tag in question.

Will give it a try tonight. The Q in my case is BaseApparel, but if the Inherit="False" is to be added to A's <comps>, my naive guess is it will work regardless.