dragonian orbs change
This commit is contained in:
		
							parent
							
								
									4e39c22742
								
							
						
					
					
						commit
						5c7a481ae3
					
				
							
								
								
									
										13
									
								
								1.4/Defs/Dragonianlike/Bodies/Bodyparts.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								1.4/Defs/Dragonianlike/Bodies/Bodyparts.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8" ?>
 | 
			
		||||
<Defs>
 | 
			
		||||
 | 
			
		||||
<BodyPartDef>
 | 
			
		||||
    <defName>DragonianOrb</defName>
 | 
			
		||||
    <label>DragonianOrb</label>
 | 
			
		||||
    <hitPoints>15</hitPoints>
 | 
			
		||||
    <skinCovered>false</skinCovered>
 | 
			
		||||
    <spawnThingOnRemoved>DragonianOrb</spawnThingOnRemoved>
 | 
			
		||||
    <canSuggestAmputation>false</canSuggestAmputation>
 | 
			
		||||
  </BodyPartDef>
 | 
			
		||||
 | 
			
		||||
</Defs>
 | 
			
		||||
@ -24,4 +24,34 @@
 | 
			
		||||
			<betterThanNatural>false</betterThanNatural>
 | 
			
		||||
		</addedPartProps>
 | 
			
		||||
	</HediffDef>
 | 
			
		||||
 | 
			
		||||
	<RecipeDef ParentName="SurgeryInstallBodyPartNaturalBase">
 | 
			
		||||
		<defName>InstallDragonianOrb</defName>
 | 
			
		||||
		<label>install DragonianOrb</label>
 | 
			
		||||
		<description>Install a dragonian orb.</description>
 | 
			
		||||
		<descriptionHyperlinks><ThingDef>DragonianOrb</ThingDef></descriptionHyperlinks>
 | 
			
		||||
		<jobString>Installing DragonianOrb.</jobString>
 | 
			
		||||
		<deathOnFailedSurgeryChance>0.05</deathOnFailedSurgeryChance>
 | 
			
		||||
		<skillRequirements>
 | 
			
		||||
		  <Medicine>8</Medicine>
 | 
			
		||||
		</skillRequirements>
 | 
			
		||||
		<ingredients>
 | 
			
		||||
		  <li>
 | 
			
		||||
			<filter>
 | 
			
		||||
			  <thingDefs>
 | 
			
		||||
				<li>DragonianOrb</li>
 | 
			
		||||
			  </thingDefs>
 | 
			
		||||
			</filter>
 | 
			
		||||
			<count>1</count>
 | 
			
		||||
		  </li>
 | 
			
		||||
		</ingredients>
 | 
			
		||||
		<fixedIngredientFilter>
 | 
			
		||||
		  <thingDefs>
 | 
			
		||||
			<li>DragonianOrb</li>
 | 
			
		||||
		  </thingDefs>
 | 
			
		||||
		</fixedIngredientFilter>
 | 
			
		||||
		<appliedOnFixedBodyParts>
 | 
			
		||||
		  <li>DragonianOrb</li>
 | 
			
		||||
		</appliedOnFixedBodyParts>
 | 
			
		||||
	  </RecipeDef>
 | 
			
		||||
</Defs>
 | 
			
		||||
 | 
			
		||||
@ -3,9 +3,6 @@
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Dragonian_Race"]/alienRace/raceRestriction/onlyUseRaceRestrictedApparel</xpath>
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationReplace">
 | 
			
		||||
				<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Dragonian_Race"]/alienRace/raceRestriction/onlyUseRaceRestrictedApparel</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -17,9 +14,6 @@
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/AlienRace.AlienBackstoryDef[defName="Dragonian_BS"]/workDisables</xpath>
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationReplace">
 | 
			
		||||
				<xpath>Defs/AlienRace.AlienBackstoryDef[defName="Dragonian_BS"]/workDisables</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -31,9 +25,6 @@
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/AlienRace.AlienBackstoryDef[defName="Dragonian_BS_B"]/workDisables</xpath>
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationReplace">
 | 
			
		||||
				<xpath>Defs/AlienRace.AlienBackstoryDef[defName="Dragonian_BS_B"]/workDisables</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -45,9 +36,6 @@
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Dragonian_Race"]/statBases/ButcheryMechanoidEfficiency</xpath>
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationReplace">
 | 
			
		||||
				<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Dragonian_Race"]/statBases/ButcheryMechanoidEfficiency</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -78,7 +66,6 @@
 | 
			
		||||
					<ButcheryFleshEfficiency>1</ButcheryFleshEfficiency>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
 | 
			
		||||
			<li Class="PatchOperationReplace">
 | 
			
		||||
				<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Dragonian_Race"]/statBases/ButcheryFleshSpeed</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -106,4 +93,27 @@
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/BodyDef[defName="Dragonian_Body"]/corePart/parts</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
					<li>
 | 
			
		||||
						<def>DragonianOrb</def>
 | 
			
		||||
						<coverage>0.010</coverage>
 | 
			
		||||
						<customLabel>Dragonian Orb</customLabel>
 | 
			
		||||
						<depth>Inside</depth>
 | 
			
		||||
						<groups>
 | 
			
		||||
						  <li>Torso</li>
 | 
			
		||||
						</groups>
 | 
			
		||||
					  </li>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationRemove">
 | 
			
		||||
		<xpath>Defs/ThingDef[@Name="Dragonian_PawnBase"]/butcherProducts/DragonianOrb</xpath>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
</Patch>
 | 
			
		||||
							
								
								
									
										13
									
								
								1.5/Defs/Dragonianlike/Bodies/Bodyparts.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								1.5/Defs/Dragonianlike/Bodies/Bodyparts.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8" ?>
 | 
			
		||||
<Defs>
 | 
			
		||||
 | 
			
		||||
<BodyPartDef>
 | 
			
		||||
    <defName>DragonianOrb</defName>
 | 
			
		||||
    <label>DragonianOrb</label>
 | 
			
		||||
    <hitPoints>15</hitPoints>
 | 
			
		||||
    <skinCovered>false</skinCovered>
 | 
			
		||||
    <spawnThingOnRemoved>DragonianOrb</spawnThingOnRemoved>
 | 
			
		||||
    <canSuggestAmputation>false</canSuggestAmputation>
 | 
			
		||||
  </BodyPartDef>
 | 
			
		||||
 | 
			
		||||
</Defs>
 | 
			
		||||
@ -24,4 +24,34 @@
 | 
			
		||||
			<betterThanNatural>false</betterThanNatural>
 | 
			
		||||
		</addedPartProps>
 | 
			
		||||
	</HediffDef>
 | 
			
		||||
 | 
			
		||||
	<RecipeDef ParentName="SurgeryInstallBodyPartNaturalBase">
 | 
			
		||||
		<defName>InstallDragonianOrb</defName>
 | 
			
		||||
		<label>install DragonianOrb</label>
 | 
			
		||||
		<description>Install a dragonian orb.</description>
 | 
			
		||||
		<descriptionHyperlinks><ThingDef>DragonianOrb</ThingDef></descriptionHyperlinks>
 | 
			
		||||
		<jobString>Installing DragonianOrb.</jobString>
 | 
			
		||||
		<deathOnFailedSurgeryChance>0.05</deathOnFailedSurgeryChance>
 | 
			
		||||
		<skillRequirements>
 | 
			
		||||
		  <Medicine>8</Medicine>
 | 
			
		||||
		</skillRequirements>
 | 
			
		||||
		<ingredients>
 | 
			
		||||
		  <li>
 | 
			
		||||
			<filter>
 | 
			
		||||
			  <thingDefs>
 | 
			
		||||
				<li>DragonianOrb</li>
 | 
			
		||||
			  </thingDefs>
 | 
			
		||||
			</filter>
 | 
			
		||||
			<count>1</count>
 | 
			
		||||
		  </li>
 | 
			
		||||
		</ingredients>
 | 
			
		||||
		<fixedIngredientFilter>
 | 
			
		||||
		  <thingDefs>
 | 
			
		||||
			<li>DragonianOrb</li>
 | 
			
		||||
		  </thingDefs>
 | 
			
		||||
		</fixedIngredientFilter>
 | 
			
		||||
		<appliedOnFixedBodyParts>
 | 
			
		||||
		  <li>DragonianOrb</li>
 | 
			
		||||
		</appliedOnFixedBodyParts>
 | 
			
		||||
	  </RecipeDef>
 | 
			
		||||
</Defs>
 | 
			
		||||
 | 
			
		||||
@ -2,43 +2,84 @@
 | 
			
		||||
<Patch>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		
 | 
			
		||||
		<operations>
 | 
			
		||||
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_BattleDress"]/apparel/tags</xpath>
 | 
			
		||||
				
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_BattleDress"]/apparel/tags</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
					<li>DR_BattleDress</li>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_BattleHelmA"]/apparel/tags</xpath>
 | 
			
		||||
				
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_BattleHelmA"]/apparel/tags</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
					<li>DR_BattleHelm</li>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
			
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_ProtectionOrb"]/apparel/tags</xpath>
 | 
			
		||||
				
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_ProtectionOrb"]/apparel/tags</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
					<li>DR_ProtectionOrb</li>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
		
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_PsychicDress"]/apparel/tags</xpath>
 | 
			
		||||
				
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_PsychicDress"]/apparel/tags</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
					<li>DR_PsychicDress</li>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
		
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_PsychicHelm"]/apparel/tags</xpath>
 | 
			
		||||
				
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_PsychicHelm"]/apparel/tags</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
					<li>DR_PsychicHelm</li>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2,8 +2,12 @@
 | 
			
		||||
<Patch>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		
 | 
			
		||||
		<operations>
 | 
			
		||||
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_BattleMace"]</xpath>
 | 
			
		||||
				
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_BattleMace"]</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -12,7 +16,16 @@
 | 
			
		||||
					</weaponTags>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_Battlesword"]</xpath>
 | 
			
		||||
				
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_Battlesword"]</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -22,6 +35,16 @@
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_BattleStaff"]</xpath>
 | 
			
		||||
				
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_BattleStaff"]</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
 | 
			
		||||
@ -3,9 +3,6 @@
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Dragonian_Race"]/alienRace/raceRestriction/onlyUseRaceRestrictedApparel</xpath>
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationReplace">
 | 
			
		||||
				<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Dragonian_Race"]/alienRace/raceRestriction/onlyUseRaceRestrictedApparel</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -17,9 +14,6 @@
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/AlienRace.AlienBackstoryDef[defName="Dragonian_BS"]/workDisables</xpath>
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationReplace">
 | 
			
		||||
				<xpath>Defs/AlienRace.AlienBackstoryDef[defName="Dragonian_BS"]/workDisables</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -31,9 +25,6 @@
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/AlienRace.AlienBackstoryDef[defName="Dragonian_BS_B"]/workDisables</xpath>
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationReplace">
 | 
			
		||||
				<xpath>Defs/AlienRace.AlienBackstoryDef[defName="Dragonian_BS_B"]/workDisables</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -45,9 +36,6 @@
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationTest">
 | 
			
		||||
				<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Dragonian_Race"]/statBases/ButcheryMechanoidEfficiency</xpath>
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationReplace">
 | 
			
		||||
				<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Dragonian_Race"]/statBases/ButcheryMechanoidEfficiency</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -78,7 +66,6 @@
 | 
			
		||||
					<ButcheryFleshEfficiency>1</ButcheryFleshEfficiency>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
 | 
			
		||||
			<li Class="PatchOperationReplace">
 | 
			
		||||
				<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Dragonian_Race"]/statBases/ButcheryFleshSpeed</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
@ -106,4 +93,27 @@
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationSequence">
 | 
			
		||||
		<operations>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/BodyDef[defName="Dragonian_Body"]/corePart/parts</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
					<li>
 | 
			
		||||
						<def>DragonianOrb</def>
 | 
			
		||||
						<coverage>0.010</coverage>
 | 
			
		||||
						<customLabel>Dragonian Orb</customLabel>
 | 
			
		||||
						<depth>Inside</depth>
 | 
			
		||||
						<groups>
 | 
			
		||||
						  <li>Torso</li>
 | 
			
		||||
						</groups>
 | 
			
		||||
					  </li>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationRemove">
 | 
			
		||||
		<xpath>Defs/ThingDef[@Name="Dragonian_PawnBase"]/butcherProducts/DragonianOrb</xpath>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
</Patch>
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user