mirror of
				https://github.com/vegapnk/RJW-Genes.git
				synced 2024-08-15 00:23:31 +00:00 
			
		
		
		
	Conditional Addition of RJW Genes to Base Xenotypes when Licentia is present, fixes #5
This commit is contained in:
		
							parent
							
								
									28740437e5
								
							
						
					
					
						commit
						be36025325
					
				
					 1 changed files with 13 additions and 38 deletions
				
			
		| 
						 | 
				
			
			@ -1,44 +1,6 @@
 | 
			
		|||
<?xml version="1.0" encoding="utf-8" ?>
 | 
			
		||||
<Patch>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <!--TODO: The Baseline does not show up with human genitalia? -->
 | 
			
		||||
	<!--
 | 
			
		||||
	<Operation Class="PatchOperationAdd">
 | 
			
		||||
		<xpath>Defs/XenotypeDef[defName="Baseline"]</xpath>
 | 
			
		||||
		<value>
 | 
			
		||||
			<genes>
 | 
			
		||||
				<li>rjw_genes_human_genitalia</li>
 | 
			
		||||
				<li>rjw_genes_normal_anus</li>
 | 
			
		||||
				<li>rjw_genes_normal_breasts</li>
 | 
			
		||||
				<li>rjw_genes_normal_male_genitalia</li>
 | 
			
		||||
				<li>rjw_genes_normal_female_genitalia</li>
 | 
			
		||||
			</genes>
 | 
			
		||||
		</value>
 | 
			
		||||
	</Operation>
 | 
			
		||||
	<Operation Class="PatchOperationAdd">
 | 
			
		||||
		<xpath>Defs/XenotypeDef[defName="Dirtmole"]/genes</xpath>
 | 
			
		||||
		<value>
 | 
			
		||||
			<li>rjw_genes_human_genitalia</li>
 | 
			
		||||
			<li>rjw_genes_normal_anus</li>
 | 
			
		||||
			<li>rjw_genes_normal_breasts</li>
 | 
			
		||||
			<li>rjw_genes_normal_male_genitalia</li>
 | 
			
		||||
			<li>rjw_genes_normal_female_genitalia</li>
 | 
			
		||||
		</value>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationAdd">
 | 
			
		||||
		<xpath>Defs/XenotypeDef[defName="Hussar"]/genes</xpath>
 | 
			
		||||
		<value>
 | 
			
		||||
			<li>rjw_genes_human_genitalia</li>
 | 
			
		||||
			<li>rjw_genes_normal_anus</li>
 | 
			
		||||
			<li>rjw_genes_normal_breasts</li>
 | 
			
		||||
			<li>rjw_genes_normal_male_genitalia</li>
 | 
			
		||||
			<li>rjw_genes_normal_female_genitalia</li>
 | 
			
		||||
		</value>
 | 
			
		||||
	</Operation>
 | 
			
		||||
    
 | 
			
		||||
	-->
 | 
			
		||||
	<Operation Class="PatchOperationAdd">
 | 
			
		||||
		<xpath>Defs/XenotypeDef[defName="Neanderthal"]/genes</xpath>
 | 
			
		||||
		<value>
 | 
			
		||||
| 
						 | 
				
			
			@ -74,8 +36,21 @@
 | 
			
		|||
		<xpath>Defs/XenotypeDef[defName="Highmate"]/genes</xpath>
 | 
			
		||||
		<value>
 | 
			
		||||
			<li>rjw_genes_hypersexual</li>
 | 
			
		||||
		</value>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
<!-- Conditional Patch, only add these Genes for players with Licentia 
 | 
			
		||||
	I tried "mayRequire" but that cannot be put so fine-grained into the <li> -->
 | 
			
		||||
	<Operation Class="PatchOperationFindMod">
 | 
			
		||||
	<mods>
 | 
			
		||||
		<li>LustLicentia.RJWLabs</li>
 | 
			
		||||
	</mods>
 | 
			
		||||
	<match Class="PatchOperationAddModExtension">
 | 
			
		||||
		<xpath>Defs/XenotypeDef[defName="Highmate"]/genes</xpath>
 | 
			
		||||
		<value>
 | 
			
		||||
			<li>rjw_genes_likes_cumflation</li>
 | 
			
		||||
		</value>
 | 
			
		||||
	</match>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationAdd">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue