mirror of
				https://github.com/amevarashi/RJW-Sexperience.git
				synced 2024-08-14 23:54:08 +00:00 
			
		
		
		
	Remove ref to Sexperience from IdeologyAddon
This commit is contained in:
		
							parent
							
								
									650d61832f
								
							
						
					
					
						commit
						f1af90d499
					
				
					 2 changed files with 3 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,4 @@
 | 
			
		|||
extern alias BaseSexperience;
 | 
			
		||||
using BaseSexperience::RJWSexperience.ExtensionMethods;
 | 
			
		||||
using BaseSexperience::RJWSexperience;
 | 
			
		||||
using HarmonyLib;
 | 
			
		||||
using HarmonyLib;
 | 
			
		||||
using System.Reflection;
 | 
			
		||||
using Verse;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -17,11 +14,11 @@ namespace RJWSexperience.Ideology
 | 
			
		|||
 | 
			
		||||
			if (ModLister.HasActiveModWithName("RJW Sexperience"))
 | 
			
		||||
			{
 | 
			
		||||
				harmony.Patch(AccessTools.Method(typeof(PawnExtensions), nameof(PawnExtensions.IsIncest)),
 | 
			
		||||
				harmony.Patch(AccessTools.Method("RJWSexperience.PawnExtensions:IsIncest"),
 | 
			
		||||
					prefix: new HarmonyMethod(typeof(Sexperience_Patch_IsIncest), nameof(Sexperience_Patch_IsIncest.Prefix)),
 | 
			
		||||
					postfix: null
 | 
			
		||||
					);
 | 
			
		||||
				harmony.Patch(AccessTools.Method(typeof(RJWUtility), nameof(RJWUtility.ThrowVirginHIstoryEvent)),
 | 
			
		||||
				harmony.Patch(AccessTools.Method("RJWSexperience.RJWUtility:ThrowVirginHIstoryEvent"),
 | 
			
		||||
					prefix: null,
 | 
			
		||||
					postfix: new HarmonyMethod(typeof(Sexperience_Patch_ThrowVirginHIstoryEvent), nameof(Sexperience_Patch_ThrowVirginHIstoryEvent.Postfix))
 | 
			
		||||
					);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,14 +63,6 @@
 | 
			
		|||
    <Compile Include="Ideology\Utility.cs" />
 | 
			
		||||
    <Compile Include="VariousDefOf.cs" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ProjectReference Include="..\RJWSexperience\RJWSexperience.csproj">
 | 
			
		||||
      <Project>{9c728e06-573b-4b04-a07f-acbf60cb424d}</Project>
 | 
			
		||||
      <Name>RJWSexperience</Name>
 | 
			
		||||
      <Private>False</Private>
 | 
			
		||||
      <Aliases>BaseSexperience</Aliases>
 | 
			
		||||
    </ProjectReference>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <PackageReference Include="Krafs.Rimworld.Ref">
 | 
			
		||||
      <Version>1.3.3389</Version>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue