근위대 옷 수정

This commit is contained in:
Cocopomel
2021-06-22 00:42:07 +09:00
parent 63cd2d3173
commit 7e19af94b8
4 changed files with 148 additions and 59 deletions

View File

@@ -550,6 +550,62 @@
<jobString>Removing psychic reader.</jobString>
<removesHediff>PsychicReader</removesHediff>
</RecipeDef>
<!--==================================== 오토마톤 뉴로링크 ====================================-->
<ThingDef>
<defName>PN_PsychicAmplifier</defName>
<label>automaton psylink neuroformer</label>
<description>A consumable archotech-created device that forms or upgrades a psylink in the user's mind.\n\nThe user presses the device over the eyes, where it links to the brain directly and restructures part of it. Afterwards, the device disintegrates into worthless ash.</description>
<descriptionHyperlinks>
<HediffDef>PsychicAmplifier</HediffDef>
</descriptionHyperlinks>
<thingClass>ThingWithComps</thingClass>
<category>Item</category>
<techLevel>Archotech</techLevel>
<useHitPoints>true</useHitPoints>
<pathCost>14</pathCost>
<selectable>true</selectable>
<altitudeLayer>Item</altitudeLayer>
<tickerType>Never</tickerType>
<alwaysHaulable>true</alwaysHaulable>
<resourceReadoutPriority>Middle</resourceReadoutPriority>
<thingCategories>
<li>BodyPartsArchotech</li>
</thingCategories>
<statBases>
<MaxHitPoints>100</MaxHitPoints>
<Beauty>-4</Beauty>
<Mass>1</Mass>
<MarketValue>2600</MarketValue>
<DeteriorationRate>0</DeteriorationRate>
</statBases>
<graphicData>
<texPath>Things/Item/Special/PsylinkNeuroformer</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<tradeTags>
<li>PsylinkNeuroformer</li>
</tradeTags>
<comps>
<li Class="CompProperties_Usable">
<compClass>CompUsableImplant</compClass>
<useJob>UseItem</useJob>
<useLabel>Use neuroformer to form psylink</useLabel>
</li>
<li Class="CompProperties_UseEffectInstallImplant">
<hediffDef>PsychicAmplifier</hediffDef>
<bodyPart>PNBrain</bodyPart>
<canUpgrade>true</canUpgrade>
</li>
<li Class="CompProperties_UseEffectPlaySound">
<soundOnUsed>PsyAmpInstalled</soundOnUsed>
</li>
<li Class="CompProperties_UseEffect">
<compClass>CompUseEffect_DestroySelf</compClass>
</li>
<li Class="CompProperties_Forbiddable"/>
</comps>
</ThingDef>
</value>
</li>
</operations>

View File

@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Royalty</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "PN_ApparelRoyalguard"]</xpath>
<value>
<recipeMaker>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Tailor</effectWorking>
<soundWorking>Recipe_Tailor</soundWorking>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
<researchPrerequisite>CataphractArmor</researchPrerequisite>
<unfinishedThingDef>UnfinishedApparel</unfinishedThingDef>
<defaultIngredientFilter>
<categories>
<li>Root</li>
</categories>
<disallowedThingDefs>
<li>Gold</li>
<li>Silver</li>
<li>Plasteel</li>
<li>Jade</li>
<li>Uranium</li>
</disallowedThingDefs>
</defaultIngredientFilter>
</recipeMaker>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "PN_ApparelRoyalguardHat"]</xpath>
<value>
<recipeMaker>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Tailor</effectWorking>
<soundWorking>Recipe_Tailor</soundWorking>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
<researchPrerequisite>CataphractArmor</researchPrerequisite>
<unfinishedThingDef>UnfinishedApparel</unfinishedThingDef>
<defaultIngredientFilter>
<categories>
<li>Root</li>
</categories>
<disallowedThingDefs>
<li>Gold</li>
<li>Silver</li>
<li>Plasteel</li>
<li>Jade</li>
<li>Uranium</li>
</disallowedThingDefs>
</defaultIngredientFilter>
</recipeMaker>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>