Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Switch Apparel

juanosarg edited this page Jun 18, 2021 · 1 revision

CompSwitchApparel allows switching between different apparels, but only if they have the same layers and bodypartgroups.

How do I use this code?

It is a comp class, so you just add it in XML in the <comps> tag of the apparel item you want to be able to be swapped.

<comps>
	<li Class="VanillaApparelExpanded.CompProperties_SwitchApparel">
		<SwitchTo></SwitchTo>                   //ThingDef to switch to
		<graphicPath></graphicPath>             //graphicPath for the gizmo icon (default is UI/Gizmo/Switch)		
		<label></label>                         //description label for the gizmo
	</li>
</comps>

VFE Core

General Comp classes

General DefModExtensions

Item Processor

PipeSystem

Custom Structure Generation

Multi Verb Combat Framework - MVCF

Animal Behaviours

Apparel

Cuisine

Furniture

Plants

Clone this wiki locally