Skip to content
Snippets Groups Projects
Commit 5cc7ff2b authored by Ed86's avatar Ed86
Browse files

peg arm-leg

parent 467476d1
No related branches found
No related tags found
No related merge requests found
......@@ -83,4 +83,16 @@
<destroyedOutLabel>Destroyed by disease</destroyedOutLabel>
</injuryProps>
</HediffDef>
<HediffDef ParentName="AddedBodyPartBase">
<defName>PegArm</defName>
<label>peg arm</label>
<labelNoun>a peg arm</labelNoun>
<addedPartProps>
<solid>true</solid>
<partEfficiency>0.0</partEfficiency>
<betterThanNatural>false</betterThanNatural>
</addedPartProps>
<spawnThingOnRemoved>WoodLog</spawnThingOnRemoved>
</HediffDef>
</Defs>
\ No newline at end of file
......@@ -172,4 +172,47 @@
</categories>
</fixedIngredientFilter>
</RecipeDef>
<RecipeDef ParentName="SurgeryFlesh">
<defName>InstallPegArm</defName>
<label>install peg arm</label>
<description>Install a peg arm.</description>
<workerClass>Recipe_InstallArtificialBodyPart</workerClass>
<jobString>Installing peg arm.</jobString>
<workAmount>1300</workAmount>
<surgerySuccessChanceFactor>1.40</surgerySuccessChanceFactor>
<skillRequirements>
<Medicine>3</Medicine>
</skillRequirements>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>1</count>
</li>
<li>
<filter>
<thingDefs>
<li>WoodLog</li>
</thingDefs>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
<thingDefs>
<li>WoodLog</li>
</thingDefs>
</fixedIngredientFilter>
<appliedOnFixedBodyParts>
<li>Arm</li>
</appliedOnFixedBodyParts>
<addsHediff>PegArm</addsHediff>
</RecipeDef>
</Defs>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<!-- Add peg arms -->
<!-- Races_Humanlike -->
<Operation Class="PatchOperationAdd">
<xpath>*/ThingDef[defName = "Human"]/recipes</xpath>
<value>
<li>InstallPegArm</li>
</value>
</Operation>
</Patch>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment