LTS.Integrated_Implants-Forked/1.5/Mods/Anomaly/Patches/Anomaly_Patches.xml

222 lines
6.5 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<!--Entity drop patches-->
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="Dreadmeld"]/killedLeavings</xpath>
<value>
<DreadmeldCore>1</DreadmeldCore>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="Nociosphere"]/killedLeavings</xpath>
<value>
<NociosphereEmitter>1</NociosphereEmitter>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="Noctolith"]/killedLeavingsRanges</xpath>
<value>
<NoctolithSensor>1</NoctolithSensor>
</value>
</Operation>
<!--Ghoul exclusion tag patches-->
<Operation Class="PatchOperationAdd">
<xpath>/Defs/HediffDef[defName="GhoulPlating"]</xpath>
<value>
<tags><li>GhoulPlating</li></tags>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/RecipeDef[defName="InstallGhoulPlating"]</xpath>
<value>
<incompatibleWithHediffTags><li>GhoulPlating</li></incompatibleWithHediffTags>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/HediffDef[defName="GhoulBarbs"]</xpath>
<value>
<tags><li>GhoulBarbs</li></tags>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/RecipeDef[defName="InstallGhoulBarbs"]</xpath>
<value>
<incompatibleWithHediffTags><li>GhoulBarbs</li></incompatibleWithHediffTags>
</value>
</Operation>
<!--Research Discovery Patches-->
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="Ghoul"]/discoveredResearchProjects</xpath>
<value>
<li>LTS_AdvancedGhoulEnhancements</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="Gorehulk"]/discoveredResearchProjects</xpath>
<value>
<li>DefensiveImpaler</li>
<li>HulkificationSurgery</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="Dreadmeld"]/discoveredResearchProjects</xpath>
<value>
<li>DreadheartRegeneration</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="Chimera"]/discoveredResearchProjects</xpath>
<value>
<li>HyperAdrenalineGland</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="Devourer"]</xpath>
<value>
<discoveredResearchProjects><li>HyperalkalaicArchites</li></discoveredResearchProjects>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="Noctolith"]</xpath>
<value>
<discoveredResearchProjects><li>BlacksightDevice</li></discoveredResearchProjects>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="Metalhorror"]/discoveredResearchProjects</xpath>
<value>
<li>MetalhorrorSymbiont</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="Nociosphere"]/discoveredResearchProjects</xpath>
<value>
<li>PsychicAgonizer</li>
<li>DroneLobotomy</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="GoldenCube"]/discoveredResearchProjects</xpath>
<value>
<li>PsychicBeguiler</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="Deathpall"]/discoveredResearchProjects</xpath>
<value>
<li>DeadlifeCoil</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="UnnaturalCorpse"]/discoveredResearchProjects</xpath>
<value>
<li>SlayersCollar</li>
<li>NullificationLobotomy</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/EntityCodexEntryDef[defName="Sightstealer"]/discoveredResearchProjects</xpath>
<value>
<li>StalkerizingSurgery</li>
</value>
</Operation>
<!--Tome Patch-->
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="Tome"]/comps/li[@Class="CompProperties_Book"]/doers/li[@Class="BookOutcomeProperties_GainAnomalyResearch"]/tabs</xpath>
<value>
<LTS_Anomaly />
</value>
</Operation>
<!--ThoughtDef patches-->
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThoughtDef[defName="UnnaturalDarkness"]</xpath>
<value>
<nullifyingHediffs>
<li>Blacksight</li>
</nullifyingHediffs>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThoughtDef[defName="SwallowedByDarkness"]</xpath>
<value>
<nullifyingHediffs>
<li>Blacksight</li>
</nullifyingHediffs>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThoughtDef[defName="EnvironmentDark"]</xpath>
<value>
<nullifyingHediffs>
<li>Blacksight</li>
</nullifyingHediffs>
</value>
</Operation>
<!--Revenant Vertebrae Implant-ification-->
<Operation Class="PatchOperationRemove">
<xpath>/Defs/HediffDef[defName="RevenantVertebrae"]/addedPartProps</xpath>
</Operation>
<Operation Class="PatchOperationReplace">
<xpath>/Defs/RecipeDef[defName="InstallRevenantVertebrae"]/appliedOnFixedBodyParts</xpath>
<value>
<workerClass>Recipe_InstallImplant</workerClass>
<appliedOnFixedBodyParts>
<li>Torso</li>
</appliedOnFixedBodyParts>
</value>
</Operation>
<Operation Class="PatchOperationReplace">
<xpath>/Defs/HediffDef[defName="RevenantVertebrae"]/description</xpath>
<value>
<description>An installed implant that allows the user to temporarily become invisible. The implant is crafted from a modified revenant spine, using archotech shards to restrain the dormant revenant. The user can manipulate the visual centers of those nearby, effectively turning themself invisible for a short time.</description>
</value>
</Operation>
<Operation Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName="RevenantVertebrae"]/description</xpath>
<value>
<description>An implant that allows the user to temporarily become invisible. The implant is crafted from a modified revenant spine and uses archotech shards to restrain the dormant revenant. The user can manipulate the visual centers of those nearby, effectively turning themself invisible for a short time.</description>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/HediffDef[defName="RevenantVertebrae"]</xpath>
<value>
<spawnThingOnRemoved>RevenantVertebrae</spawnThingOnRemoved>
</value>
</Operation>
</Patch>