-
Notifications
You must be signed in to change notification settings - Fork 20
Ground_Turret_Mod
unisun2 edited this page Aug 8, 2019
·
1 revision
- use normal hatch to your turret:
<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Ground Turret Mod</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="your_turrets_Defname"]/comps</xpath>
<value>
<li Class="FP_GTM.CompProperties_FP_GTM_B"/>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="your_turrets_Defname2"]/comps</xpath>
<value>
<li Class="FP_GTM.CompProperties_FP_GTM_B"/>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>
input like this in your mods/Patches/GTM.xml file.
easy!