RimWorld

RimWorld

[Legacy] Rimworld Westernization Project (Continued)
TurtleShroom 23 Jul, 2021 @ 1:24pm
Royalty Apparel Compatibility Patch!
Good afternoon!

I am not sure if this works, but I attempted to copy and paste a patch in order to give Royalty recognition to certain fitting parts. In particular, I gave the Feathered Top Hat, Waistcoat, Long Coat, and the Pocketwatch the ability to spawn on noblemen and satisfy the demands of low-ranking Empire Titles.

Here is the code:
<?xml version="1.0" encoding="UTF-8"?> <Patch> <!-- Royalty clothes --> <Operation> <match Class="PatchOperationSequence"> <operations> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="RWP_Apparel_Pocketwatch"]/apparel/tags</xpath> <value> <li>Royal</li> </value> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="Apparel_HatTop"]/apparel/tags</xpath> <value> <li>Royal</li> <li>RoyalTier2</li> </value> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="RWP_Apparel_Longcoat"]/apparel/tags</xpath> <value> <li>Royal</li> <li>RoyalTier2</li> </value> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="RWP_Apparel_Waistcoat"]/apparel/tags</xpath> <value> <li>Royal</li> <li>RoyalTier2</li> <li>RoyalTier3</li> </value> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="RWP_Apparel_FeatheredTopHat"]/apparel/tags</xpath> <value> <li>Royal</li> <li>RoyalTier2</li> <li>RoyalTier3</li> </value> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="RWP_Apparel_TopHat"]/apparel/tags</xpath> <value> <li>Royal</li> <li>RoyalTier2</li> </value> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="RWP_Apparel_Zorro"]/apparel/tags</xpath> <value> <li>Royal</li> <li>RoyalTier2</li> <li>RoyalTier3</li> <li>RoyalTier4</li> </value> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="RWP_Apparel_Spectacles"]/apparel/tags</xpath> <value> <li>Royal</li> </value> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="RWP_Apparel_GentPants"]/apparel/tags</xpath> <value> <li>Royal</li> <li>RoyalTier2</li> <li>RoyalTier3</li> <li>RoyalTier4</li> </value> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="MeleeWeapon_M1840Saber"]/apparel/tags</xpath> <value> <li>Royal</li> <li>RoyalTier2</li> </value> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="MeleeWeapon_M1860Saber"]/apparel/tags</xpath> <value> <li>Royal</li> <li>RoyalTier2</li> </value> </li> </operations> </match> </Operation> </Patch>

I hope that you could apply this to the Mod when you get around to giving Beliefs and Ideologies to the various Factions!

How exciting!



-TURTLESHROOM
Last edited by TurtleShroom; 23 Jul, 2021 @ 2:14pm