mirror of
				https://github.com/vegapnk/RJW-Genes.git
				synced 2024-08-15 00:23:31 +00:00 
			
		
		
		
	Removed the DiseaseGene
This commit is contained in:
		
							parent
							
								
									bccd258d13
								
							
						
					
					
						commit
						c90c9e2c02
					
				
					 4 changed files with 5 additions and 23 deletions
				
			
		| 
						 | 
				
			
			@ -1,14 +0,0 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
using Verse;
 | 
			
		||||
 | 
			
		||||
namespace RJW_Genes
 | 
			
		||||
{
 | 
			
		||||
    public class DiseaseGene : Gene
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -87,7 +87,9 @@ namespace RJW_Genes.Genes.Diseases.Patches
 | 
			
		|||
 | 
			
		||||
        private static bool IsGeneticDiseaseGene(GeneDef geneDef)
 | 
			
		||||
        {
 | 
			
		||||
            return geneDef.geneClass.FullName.Contains("DiseaseGene");
 | 
			
		||||
            if (geneDef == null) return false;
 | 
			
		||||
            GeneticDiseaseExtension diseaseExt = geneDef.GetModExtension<GeneticDiseaseExtension>();
 | 
			
		||||
            return diseaseExt != null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private static float LookupDiseaseInfectionChance(GeneDef geneDef)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -75,7 +75,6 @@
 | 
			
		|||
    <Compile Include="Genes\Cum\Patch_LikesCumflation.cs" />
 | 
			
		||||
    <Compile Include="Genes\Damage\Gene_Elasticity.cs" />
 | 
			
		||||
    <Compile Include="Genes\Diseases\Defs\GeneticDiseaseExtension.cs" />
 | 
			
		||||
    <Compile Include="Genes\Diseases\Genes\DiseaseGene.cs" />
 | 
			
		||||
    <Compile Include="Genes\Diseases\Patches\Patch_AftersexUtility_TransferGeneticDiseases.cs" />
 | 
			
		||||
    <Compile Include="Genes\Life_Force\Events\SuccubusVisit\IncidentWorker_SuccubusVisit.cs" />
 | 
			
		||||
    <Compile Include="Genes\Life_Force\Events\SuccubusVisit\LordJob_SuccubusVisit.cs" />
 | 
			
		||||
| 
						 | 
				
			
			@ -241,6 +240,7 @@
 | 
			
		|||
    </Reference>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Folder Include="Genes\Diseases\Genes\" />
 | 
			
		||||
    <Folder Include="Genes\Gender\Patches\" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue