mirror of
				https://github.com/vegapnk/RJW-Genes.git
				synced 2024-08-15 00:23:31 +00:00 
			
		
		
		
	Initial Commit
This commit is contained in:
		
						commit
						fcee1efef3
					
				
					 26 changed files with 1023 additions and 0 deletions
				
			
		
							
								
								
									
										256
									
								
								.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										256
									
								
								.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,256 @@
 | 
				
			||||||
 | 
					## Ignore Visual Studio temporary files, build results, and
 | 
				
			||||||
 | 
					## files generated by popular Visual Studio add-ons.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# User-specific files (MonoDevelop/Xamarin Studio)
 | 
				
			||||||
 | 
					*.userprefs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Build results
 | 
				
			||||||
 | 
					[Dd]ebug/
 | 
				
			||||||
 | 
					[Dd]ebugPublic/
 | 
				
			||||||
 | 
					[Rr]elease/
 | 
				
			||||||
 | 
					[Rr]eleases/
 | 
				
			||||||
 | 
					x64/
 | 
				
			||||||
 | 
					x86/
 | 
				
			||||||
 | 
					bld/
 | 
				
			||||||
 | 
					[Bb]in/
 | 
				
			||||||
 | 
					[Oo]bj/
 | 
				
			||||||
 | 
					[Ll]og/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Visual Studio 2015 cache/options directory
 | 
				
			||||||
 | 
					.vs/
 | 
				
			||||||
 | 
					# Uncomment if you have tasks that create the project's static files in wwwroot
 | 
				
			||||||
 | 
					#wwwroot/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# MSTest test Results
 | 
				
			||||||
 | 
					[Tt]est[Rr]esult*/
 | 
				
			||||||
 | 
					[Bb]uild[Ll]og.*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# NUNIT
 | 
				
			||||||
 | 
					*.VisualState.xml
 | 
				
			||||||
 | 
					TestResult.xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Build Results of an ATL Project
 | 
				
			||||||
 | 
					[Dd]ebugPS/
 | 
				
			||||||
 | 
					[Rr]eleasePS/
 | 
				
			||||||
 | 
					dlldata.c
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# DNX
 | 
				
			||||||
 | 
					project.lock.json
 | 
				
			||||||
 | 
					project.fragment.lock.json
 | 
				
			||||||
 | 
					artifacts/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					*_i.c
 | 
				
			||||||
 | 
					*_p.c
 | 
				
			||||||
 | 
					*_i.h
 | 
				
			||||||
 | 
					*.ilk
 | 
				
			||||||
 | 
					*.meta
 | 
				
			||||||
 | 
					*.obj
 | 
				
			||||||
 | 
					*.pch
 | 
				
			||||||
 | 
					*.pdb
 | 
				
			||||||
 | 
					*.pgc
 | 
				
			||||||
 | 
					*.pgd
 | 
				
			||||||
 | 
					*.rsp
 | 
				
			||||||
 | 
					*.sbr
 | 
				
			||||||
 | 
					*.tlb
 | 
				
			||||||
 | 
					*.tli
 | 
				
			||||||
 | 
					*.tlh
 | 
				
			||||||
 | 
					*.tmp
 | 
				
			||||||
 | 
					*.tmp_proj
 | 
				
			||||||
 | 
					*.log
 | 
				
			||||||
 | 
					*.vspscc
 | 
				
			||||||
 | 
					*.vssscc
 | 
				
			||||||
 | 
					.builds
 | 
				
			||||||
 | 
					*.pidb
 | 
				
			||||||
 | 
					*.svclog
 | 
				
			||||||
 | 
					*.scc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Chutzpah Test files
 | 
				
			||||||
 | 
					_Chutzpah*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Visual C++ cache files
 | 
				
			||||||
 | 
					ipch/
 | 
				
			||||||
 | 
					*.aps
 | 
				
			||||||
 | 
					*.ncb
 | 
				
			||||||
 | 
					*.opendb
 | 
				
			||||||
 | 
					*.opensdf
 | 
				
			||||||
 | 
					*.sdf
 | 
				
			||||||
 | 
					*.cachefile
 | 
				
			||||||
 | 
					*.VC.db
 | 
				
			||||||
 | 
					*.VC.VC.opendb
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Visual Studio profiler
 | 
				
			||||||
 | 
					*.psess
 | 
				
			||||||
 | 
					*.vsp
 | 
				
			||||||
 | 
					*.vspx
 | 
				
			||||||
 | 
					*.sap
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# TFS 2012 Local Workspace
 | 
				
			||||||
 | 
					$tf/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Guidance Automation Toolkit
 | 
				
			||||||
 | 
					*.gpState
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# ReSharper is a .NET coding add-in
 | 
				
			||||||
 | 
					_ReSharper*/
 | 
				
			||||||
 | 
					*.[Rr]e[Ss]harper
 | 
				
			||||||
 | 
					*.DotSettings.user
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# JustCode is a .NET coding add-in
 | 
				
			||||||
 | 
					.JustCode
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# TeamCity is a build add-in
 | 
				
			||||||
 | 
					_TeamCity*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# DotCover is a Code Coverage Tool
 | 
				
			||||||
 | 
					*.dotCover
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# NCrunch
 | 
				
			||||||
 | 
					_NCrunch_*
 | 
				
			||||||
 | 
					.*crunch*.local.xml
 | 
				
			||||||
 | 
					nCrunchTemp_*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# MightyMoose
 | 
				
			||||||
 | 
					*.mm.*
 | 
				
			||||||
 | 
					AutoTest.Net/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Web workbench (sass)
 | 
				
			||||||
 | 
					.sass-cache/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Installshield output folder
 | 
				
			||||||
 | 
					[Ee]xpress/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# DocProject is a documentation generator add-in
 | 
				
			||||||
 | 
					DocProject/buildhelp/
 | 
				
			||||||
 | 
					DocProject/Help/*.HxT
 | 
				
			||||||
 | 
					DocProject/Help/*.HxC
 | 
				
			||||||
 | 
					DocProject/Help/*.hhc
 | 
				
			||||||
 | 
					DocProject/Help/*.hhk
 | 
				
			||||||
 | 
					DocProject/Help/*.hhp
 | 
				
			||||||
 | 
					DocProject/Help/Html2
 | 
				
			||||||
 | 
					DocProject/Help/html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Click-Once directory
 | 
				
			||||||
 | 
					publish/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Publish Web Output
 | 
				
			||||||
 | 
					*.[Pp]ublish.xml
 | 
				
			||||||
 | 
					*.azurePubxml
 | 
				
			||||||
 | 
					# TODO: Comment the next line if you want to checkin your web deploy settings
 | 
				
			||||||
 | 
					# but database connection strings (with potential passwords) will be unencrypted
 | 
				
			||||||
 | 
					#*.pubxml
 | 
				
			||||||
 | 
					*.publishproj
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Microsoft Azure Web App publish settings. Comment the next line if you want to
 | 
				
			||||||
 | 
					# checkin your Azure Web App publish settings, but sensitive information contained
 | 
				
			||||||
 | 
					# in these scripts will be unencrypted
 | 
				
			||||||
 | 
					PublishScripts/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# NuGet Packages
 | 
				
			||||||
 | 
					*.nupkg
 | 
				
			||||||
 | 
					# The packages folder can be ignored because of Package Restore
 | 
				
			||||||
 | 
					**/packages/*
 | 
				
			||||||
 | 
					# except build/, which is used as an MSBuild target.
 | 
				
			||||||
 | 
					!**/packages/build/
 | 
				
			||||||
 | 
					# Uncomment if necessary however generally it will be regenerated when needed
 | 
				
			||||||
 | 
					#!**/packages/repositories.config
 | 
				
			||||||
 | 
					# NuGet v3's project.json files produces more ignoreable files
 | 
				
			||||||
 | 
					*.nuget.props
 | 
				
			||||||
 | 
					*.nuget.targets
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Microsoft Azure Build Output
 | 
				
			||||||
 | 
					csx/
 | 
				
			||||||
 | 
					*.build.csdef
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Microsoft Azure Emulator
 | 
				
			||||||
 | 
					ecf/
 | 
				
			||||||
 | 
					rcf/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Windows Store app package directories and files
 | 
				
			||||||
 | 
					AppPackages/
 | 
				
			||||||
 | 
					BundleArtifacts/
 | 
				
			||||||
 | 
					Package.StoreAssociation.xml
 | 
				
			||||||
 | 
					_pkginfo.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Visual Studio cache files
 | 
				
			||||||
 | 
					# files ending in .cache can be ignored
 | 
				
			||||||
 | 
					*.[Cc]ache
 | 
				
			||||||
 | 
					# but keep track of directories ending in .cache
 | 
				
			||||||
 | 
					!*.[Cc]ache/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Others
 | 
				
			||||||
 | 
					ClientBin/
 | 
				
			||||||
 | 
					~$*
 | 
				
			||||||
 | 
					*~
 | 
				
			||||||
 | 
					*.dbmdl
 | 
				
			||||||
 | 
					*.dbproj.schemaview
 | 
				
			||||||
 | 
					*.jfm
 | 
				
			||||||
 | 
					*.pfx
 | 
				
			||||||
 | 
					*.publishsettings
 | 
				
			||||||
 | 
					node_modules/
 | 
				
			||||||
 | 
					orleans.codegen.cs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Since there are multiple workflows, uncomment next line to ignore bower_components
 | 
				
			||||||
 | 
					# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
 | 
				
			||||||
 | 
					#bower_components/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# RIA/Silverlight projects
 | 
				
			||||||
 | 
					Generated_Code/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Backup & report files from converting an old project file
 | 
				
			||||||
 | 
					# to a newer Visual Studio version. Backup files are not needed,
 | 
				
			||||||
 | 
					# because we have git ;-)
 | 
				
			||||||
 | 
					_UpgradeReport_Files/
 | 
				
			||||||
 | 
					Backup*/
 | 
				
			||||||
 | 
					UpgradeLog*.XML
 | 
				
			||||||
 | 
					UpgradeLog*.htm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# SQL Server files
 | 
				
			||||||
 | 
					*.mdf
 | 
				
			||||||
 | 
					*.ldf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Business Intelligence projects
 | 
				
			||||||
 | 
					*.rdl.data
 | 
				
			||||||
 | 
					*.bim.layout
 | 
				
			||||||
 | 
					*.bim_*.settings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Microsoft Fakes
 | 
				
			||||||
 | 
					FakesAssemblies/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# GhostDoc plugin setting file
 | 
				
			||||||
 | 
					*.GhostDoc.xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Node.js Tools for Visual Studio
 | 
				
			||||||
 | 
					.ntvs_analysis.dat
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Visual Studio 6 build log
 | 
				
			||||||
 | 
					*.plg
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Visual Studio 6 workspace options file
 | 
				
			||||||
 | 
					*.opt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Visual Studio LightSwitch build output
 | 
				
			||||||
 | 
					**/*.HTMLClient/GeneratedArtifacts
 | 
				
			||||||
 | 
					**/*.DesktopClient/GeneratedArtifacts
 | 
				
			||||||
 | 
					**/*.DesktopClient/ModelManifest.xml
 | 
				
			||||||
 | 
					**/*.Server/GeneratedArtifacts
 | 
				
			||||||
 | 
					**/*.Server/ModelManifest.xml
 | 
				
			||||||
 | 
					_Pvt_Extensions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Paket dependency manager
 | 
				
			||||||
 | 
					.paket/paket.exe
 | 
				
			||||||
 | 
					paket-files/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# FAKE - F# Make
 | 
				
			||||||
 | 
					.fake/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# JetBrains Rider
 | 
				
			||||||
 | 
					.idea/
 | 
				
			||||||
 | 
					*.sln.iml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# CodeRush
 | 
				
			||||||
 | 
					.cr/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Python Tools for Visual Studio (PTVS)
 | 
				
			||||||
 | 
					__pycache__/
 | 
				
			||||||
 | 
					*.pyc
 | 
				
			||||||
							
								
								
									
										39
									
								
								About/About.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								About/About.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,39 @@
 | 
				
			||||||
 | 
					<ModMetaData>
 | 
				
			||||||
 | 
						<name>RJW Genes</name>
 | 
				
			||||||
 | 
						<author>Vegapnk</author>
 | 
				
			||||||
 | 
					    <packageId>Vegapnk.rjw.genes</packageId>
 | 
				
			||||||
 | 
						<supportedVersions>
 | 
				
			||||||
 | 
							<li>1.4</li>
 | 
				
			||||||
 | 
						</supportedVersions>
 | 
				
			||||||
 | 
						<description>Adds Genes for RJW Content</description>
 | 
				
			||||||
 | 
						<url>https://steamcommunity.com/id/Vegapnk/myworkshopfiles/?appid=294100</url>
 | 
				
			||||||
 | 
						<modDependencies>
 | 
				
			||||||
 | 
							<li>
 | 
				
			||||||
 | 
								<packageId>rim.job.world</packageId>
 | 
				
			||||||
 | 
								<displayName>RimJobWorld</displayName>
 | 
				
			||||||
 | 
								<downloadUrl>https://www.loverslab.com/files/file/7257-rimjobworld/</downloadUrl>
 | 
				
			||||||
 | 
							</li>
 | 
				
			||||||
 | 
							<!--
 | 
				
			||||||
 | 
							<li>
 | 
				
			||||||
 | 
								<packageId>brrainz.harmony</packageId>
 | 
				
			||||||
 | 
								<displayName>Harmony</displayName>
 | 
				
			||||||
 | 
								<steamWorkshopUrl>steam://url/CommunityFilePage/2009463077</steamWorkshopUrl>
 | 
				
			||||||
 | 
								<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
 | 
				
			||||||
 | 
							</li>
 | 
				
			||||||
 | 
							<li>
 | 
				
			||||||
 | 
								<packageId>UnlimitedHugs.HugsLib</packageId>
 | 
				
			||||||
 | 
								<displayName>HugsLib</displayName>
 | 
				
			||||||
 | 
								<downloadUrl>https://github.com/UnlimitedHugs/RimworldHugsLib/releases/latest</downloadUrl>
 | 
				
			||||||
 | 
								<steamWorkshopUrl>steam://url/CommunityFilePage/818773962</steamWorkshopUrl>
 | 
				
			||||||
 | 
							</li>
 | 
				
			||||||
 | 
							-->
 | 
				
			||||||
 | 
						</modDependencies>
 | 
				
			||||||
 | 
						<loadAfter>
 | 
				
			||||||
 | 
							<li>rim.job.world</li>
 | 
				
			||||||
 | 
							<!--
 | 
				
			||||||
 | 
							<li>brrainz.harmony</li>
 | 
				
			||||||
 | 
							<li>UnlimitedHugs.HugsLib</li>
 | 
				
			||||||
 | 
							-->
 | 
				
			||||||
 | 
						</loadAfter>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</ModMetaData>
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								About/Preview.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								About/Preview.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 4.9 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Common/Assemblies/0MultiplayerAPI.dll
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Common/Assemblies/0MultiplayerAPI.dll
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								Common/Assemblies/RJW.dll
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Common/Assemblies/RJW.dll
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								Common/Assemblies/Rjw-Genes.dll
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Common/Assemblies/Rjw-Genes.dll
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										10
									
								
								Common/Defs/Genes/GeneCategories.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Common/Defs/Genes/GeneCategories.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,10 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8" ?>
 | 
				
			||||||
 | 
					<Defs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <GeneCategoryDef>
 | 
				
			||||||
 | 
					    <defName>rjw_genes_genitalia</defName>
 | 
				
			||||||
 | 
					    <label>Genitalia</label>
 | 
				
			||||||
 | 
					    <displayPriorityInXenotype>541</displayPriorityInXenotype>
 | 
				
			||||||
 | 
					  </GeneCategoryDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</Defs>
 | 
				
			||||||
							
								
								
									
										87
									
								
								Common/Defs/Genes/GeneDefs_GenitaliaEndogenes.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										87
									
								
								Common/Defs/Genes/GeneDefs_GenitaliaEndogenes.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,87 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8" ?>
 | 
				
			||||||
 | 
					<Defs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <GeneDef Name="GeneGenitalTypeBase" Abstract="True">
 | 
				
			||||||
 | 
					    <displayCategory>rjw_genes_genitalia</displayCategory>
 | 
				
			||||||
 | 
					    <exclusionTags>
 | 
				
			||||||
 | 
					      <li>GenitalType</li>
 | 
				
			||||||
 | 
					    </exclusionTags>
 | 
				
			||||||
 | 
					    <!--
 | 
				
			||||||
 | 
					    <biostatCpx>0</biostatCpx>
 | 
				
			||||||
 | 
					    <biostatMet>0</biostatMet>
 | 
				
			||||||
 | 
					    -->
 | 
				
			||||||
 | 
					  </GeneDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <GeneDef ParentName="GeneGenitalTypeBase">
 | 
				
			||||||
 | 
					    <defName>rjw_genes_human_genitalia</defName>
 | 
				
			||||||
 | 
					    <label>human genitalia</label>
 | 
				
			||||||
 | 
					    <description>Carriers of this carry genitalia similar to humans.</description>
 | 
				
			||||||
 | 
					    <iconPath>Genes/Icons/Placeholder</iconPath>
 | 
				
			||||||
 | 
					    <geneClass>RJW_Genes.Gene_HumanGenitalia</geneClass>
 | 
				
			||||||
 | 
					    <displayOrderInCategory>1</displayOrderInCategory>
 | 
				
			||||||
 | 
					  </GeneDef>
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  <GeneDef ParentName="GeneGenitalTypeBase">
 | 
				
			||||||
 | 
					    <defName>rjw_genes_equine_genitalia</defName>
 | 
				
			||||||
 | 
					    <label>equine genitalia</label>
 | 
				
			||||||
 | 
					    <description>Carriers of this gene develop equine genitalia.</description>
 | 
				
			||||||
 | 
					    <iconPath>Genes/Icons/Placeholder</iconPath>
 | 
				
			||||||
 | 
					    <geneClass>RJW_Genes.Gene_EquineGenitalia</geneClass>
 | 
				
			||||||
 | 
					    <displayOrderInCategory>2</displayOrderInCategory>
 | 
				
			||||||
 | 
					  </GeneDef>
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  <GeneDef ParentName="GeneGenitalTypeBase">
 | 
				
			||||||
 | 
					    <defName>rjw_genes_canine_genitalia</defName>
 | 
				
			||||||
 | 
					    <label>canine genitalia</label>
 | 
				
			||||||
 | 
					    <description>Carriers of this gene develop canine genitalia.</description>
 | 
				
			||||||
 | 
					    <iconPath>Genes/Icons/Placeholder</iconPath>
 | 
				
			||||||
 | 
					    <geneClass>RJW_Genes.Gene_CanineGenitalia</geneClass>
 | 
				
			||||||
 | 
					    <displayOrderInCategory>3</displayOrderInCategory>
 | 
				
			||||||
 | 
					  </GeneDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <GeneDef ParentName="GeneGenitalTypeBase">
 | 
				
			||||||
 | 
					    <defName>rjw_genes_feline_genitalia</defName>
 | 
				
			||||||
 | 
					    <label>feline genitalia</label>
 | 
				
			||||||
 | 
					    <description>Carriers of this gene develop feline genitalia.</description>
 | 
				
			||||||
 | 
					    <iconPath>Genes/Icons/Placeholder</iconPath>
 | 
				
			||||||
 | 
					    <geneClass>RJW_Genes.Gene_FelineGenitalia</geneClass>
 | 
				
			||||||
 | 
					    <displayOrderInCategory>4</displayOrderInCategory>
 | 
				
			||||||
 | 
					  </GeneDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <GeneDef ParentName="GeneGenitalTypeBase">
 | 
				
			||||||
 | 
					    <defName>rjw_genes_demonic_genitalia</defName>
 | 
				
			||||||
 | 
					    <label>demonic genitalia</label>
 | 
				
			||||||
 | 
					    <description>Carriers of this gene have demonic genitalia.</description>
 | 
				
			||||||
 | 
					    <iconPath>Genes/Icons/Placeholder</iconPath>
 | 
				
			||||||
 | 
					    <geneClass>RJW_Genes.Gene_DemonicGenitalia</geneClass>
 | 
				
			||||||
 | 
					    <displayOrderInCategory>5</displayOrderInCategory>
 | 
				
			||||||
 | 
					  </GeneDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <GeneDef ParentName="GeneGenitalTypeBase">
 | 
				
			||||||
 | 
					    <defName>rjw_genes_dragon_genitalia</defName>
 | 
				
			||||||
 | 
					    <label>dragon genitalia</label>
 | 
				
			||||||
 | 
					    <description>Carriers of this gene develop dragon genitalia.</description>
 | 
				
			||||||
 | 
					    <iconPath>Genes/Icons/Placeholder</iconPath>
 | 
				
			||||||
 | 
					    <geneClass>RJW_Genes.Gene_DragonGenitalia</geneClass>
 | 
				
			||||||
 | 
					    <displayOrderInCategory>6</displayOrderInCategory>
 | 
				
			||||||
 | 
					  </GeneDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <GeneDef ParentName="GeneGenitalTypeBase">
 | 
				
			||||||
 | 
					    <defName>rjw_genes_slime_genitalia</defName>
 | 
				
			||||||
 | 
					    <label>slime genitalia</label>
 | 
				
			||||||
 | 
					    <description>Carriers of this gene have slime genitalia.</description>
 | 
				
			||||||
 | 
					    <iconPath>Genes/Icons/Placeholder</iconPath>
 | 
				
			||||||
 | 
					    <geneClass>RJW_Genes.Gene_SlimeGenitalia</geneClass>
 | 
				
			||||||
 | 
					    <displayOrderInCategory>7</displayOrderInCategory>
 | 
				
			||||||
 | 
					  </GeneDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <GeneDef ParentName="GeneGenitalTypeBase">
 | 
				
			||||||
 | 
					    <defName>rjw_genes_ovipositor_genitalia</defName>
 | 
				
			||||||
 | 
					    <label>insect genitalia</label>
 | 
				
			||||||
 | 
					    <description>Carriers of this gene have ovipositors similar to insects.</description>
 | 
				
			||||||
 | 
					    <iconPath>Genes/Icons/Placeholder</iconPath>
 | 
				
			||||||
 | 
					    <geneClass>RJW_Genes.Gene_OvipositorGenitalia</geneClass>
 | 
				
			||||||
 | 
					    <displayOrderInCategory>8</displayOrderInCategory>
 | 
				
			||||||
 | 
					  </GeneDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</Defs>
 | 
				
			||||||
							
								
								
									
										155
									
								
								Common/Patches/Xenotypes/GenitaliaUpdate.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										155
									
								
								Common/Patches/Xenotypes/GenitaliaUpdate.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,155 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8" ?>
 | 
				
			||||||
 | 
					<Patch>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!-- Normal Penises -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!--TODO: The Baseline does not show up with human genitalia? -->
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Baseline"]</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
					                    <genes>
 | 
				
			||||||
 | 
										    <li>rjw_genes_human_genitalia</li>
 | 
				
			||||||
 | 
					                    </genes>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Dirtmole"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_human_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Hussar"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_human_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Neanderthal"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_human_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Pigskin"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_human_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Waster"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_human_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Yttakin"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_human_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Highmate"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_human_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					<!-- SPECIAL Penises -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Baseline"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_human_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Sanguophage"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_demonic_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Genie"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_slime_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<Operation Class="PatchOperationSequence">
 | 
				
			||||||
 | 
							<success>Always</success>
 | 
				
			||||||
 | 
							<operations>
 | 
				
			||||||
 | 
								<li Class="PatchOperationAdd">
 | 
				
			||||||
 | 
									<xpath>Defs/XenotypeDef[defName="Impid"]/genes</xpath>
 | 
				
			||||||
 | 
									<value>
 | 
				
			||||||
 | 
										<li>rjw_genes_demonic_genitalia</li>
 | 
				
			||||||
 | 
									</value>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</operations>
 | 
				
			||||||
 | 
						</Operation>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</Patch>
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								Common/Textures/Genes/Icons/Placeholder.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Common/Textures/Genes/Icons/Placeholder.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 6.1 KiB  | 
							
								
								
									
										25
									
								
								Rjw-Genes.sln
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								Rjw-Genes.sln
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,25 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Microsoft Visual Studio Solution File, Format Version 12.00
 | 
				
			||||||
 | 
					# Visual Studio Version 17
 | 
				
			||||||
 | 
					VisualStudioVersion = 17.0.32014.148
 | 
				
			||||||
 | 
					MinimumVisualStudioVersion = 10.0.40219.1
 | 
				
			||||||
 | 
					Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rjw-Genes", "Source\Rjw-Genes.csproj", "{D7D21B4A-1DA7-41D8-B202-C58CA8FA62AA}"
 | 
				
			||||||
 | 
					EndProject
 | 
				
			||||||
 | 
					Global
 | 
				
			||||||
 | 
						GlobalSection(SolutionConfigurationPlatforms) = preSolution
 | 
				
			||||||
 | 
							Debug|Any CPU = Debug|Any CPU
 | 
				
			||||||
 | 
							Release|Any CPU = Release|Any CPU
 | 
				
			||||||
 | 
						EndGlobalSection
 | 
				
			||||||
 | 
						GlobalSection(ProjectConfigurationPlatforms) = postSolution
 | 
				
			||||||
 | 
							{D7D21B4A-1DA7-41D8-B202-C58CA8FA62AA}.Debug|Any CPU.ActiveCfg = Release|Any CPU
 | 
				
			||||||
 | 
							{D7D21B4A-1DA7-41D8-B202-C58CA8FA62AA}.Debug|Any CPU.Build.0 = Release|Any CPU
 | 
				
			||||||
 | 
							{D7D21B4A-1DA7-41D8-B202-C58CA8FA62AA}.Release|Any CPU.ActiveCfg = Release|Any CPU
 | 
				
			||||||
 | 
							{D7D21B4A-1DA7-41D8-B202-C58CA8FA62AA}.Release|Any CPU.Build.0 = Release|Any CPU
 | 
				
			||||||
 | 
						EndGlobalSection
 | 
				
			||||||
 | 
						GlobalSection(SolutionProperties) = preSolution
 | 
				
			||||||
 | 
							HideSolutionNode = FALSE
 | 
				
			||||||
 | 
						EndGlobalSection
 | 
				
			||||||
 | 
						GlobalSection(ExtensibilityGlobals) = postSolution
 | 
				
			||||||
 | 
							SolutionGuid = {28CF9A73-5333-4EB3-BFCC-3FBEDDA19200}
 | 
				
			||||||
 | 
						EndGlobalSection
 | 
				
			||||||
 | 
					EndGlobal
 | 
				
			||||||
							
								
								
									
										17
									
								
								Rjw-genes-test/GenitaliaChangerUnitTests.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								Rjw-genes-test/GenitaliaChangerUnitTests.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,17 @@
 | 
				
			||||||
 | 
					using Xunit;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					using RJW_Genes;
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace Rjw_genes_test
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class GenitaliaChangerUnitTests
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        [Fact]
 | 
				
			||||||
 | 
					        public void TestChangeGenitalia()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            Pawn example = Verse.PawnGenerator.GeneratePawn(new PawnGenerationRequest());
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										34
									
								
								Rjw-genes-test/Rjw-genes-test.csproj
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								Rjw-genes-test/Rjw-genes-test.csproj
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,34 @@
 | 
				
			||||||
 | 
					<Project Sdk="Microsoft.NET.Sdk">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <PropertyGroup>
 | 
				
			||||||
 | 
					    <TargetFramework>net6.0</TargetFramework>
 | 
				
			||||||
 | 
					    <RootNamespace>Rjw_genes_test</RootNamespace>
 | 
				
			||||||
 | 
					    <Nullable>enable</Nullable>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <IsPackable>false</IsPackable>
 | 
				
			||||||
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
 | 
				
			||||||
 | 
					    <PackageReference Include="xunit" Version="2.4.1" />
 | 
				
			||||||
 | 
					    <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
 | 
				
			||||||
 | 
					      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
 | 
				
			||||||
 | 
					      <PrivateAssets>all</PrivateAssets>
 | 
				
			||||||
 | 
					    </PackageReference>
 | 
				
			||||||
 | 
					    <PackageReference Include="coverlet.collector" Version="3.1.0">
 | 
				
			||||||
 | 
					      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
 | 
				
			||||||
 | 
					      <PrivateAssets>all</PrivateAssets>
 | 
				
			||||||
 | 
					    </PackageReference>
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <ProjectReference Include="..\Source\Rjw-Genes.csproj" />
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <Reference Include="Assembly-CSharp">
 | 
				
			||||||
 | 
					      <HintPath>..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</Project>
 | 
				
			||||||
							
								
								
									
										20
									
								
								Source/GeneDefOf.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								Source/GeneDefOf.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,20 @@
 | 
				
			||||||
 | 
					using RimWorld;
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace RJW_Genes
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						[DefOf]
 | 
				
			||||||
 | 
						public static class GeneDefOf
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							[MayRequireBiotech] public static readonly GeneCategoryDef rjw_genes_genitalia;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							[MayRequireBiotech] public static readonly GeneDef rjw_genes_human_genitalia;
 | 
				
			||||||
 | 
							[MayRequireBiotech] public static readonly GeneDef rjw_genes_equine_genitalia;
 | 
				
			||||||
 | 
							[MayRequireBiotech] public static readonly GeneDef rjw_genes_demonic_genitalia;
 | 
				
			||||||
 | 
							[MayRequireBiotech] public static readonly GeneDef rjw_genes_dragon_genitalia;
 | 
				
			||||||
 | 
							[MayRequireBiotech] public static readonly GeneDef rjw_genes_slime_genitalia;
 | 
				
			||||||
 | 
							[MayRequireBiotech] public static readonly GeneDef rjw_genes_ovipositor_genitalia;
 | 
				
			||||||
 | 
							[MayRequireBiotech] public static readonly GeneDef rjw_genes_feline_genitalia;
 | 
				
			||||||
 | 
							[MayRequireBiotech] public static readonly GeneDef rjw_genes_canine_genitalia;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										22
									
								
								Source/Genes/Genitalia/Gene_CanineGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								Source/Genes/Genitalia/Gene_CanineGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,22 @@
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					using rjw;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace RJW_Genes
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class Gene_CanineGenitalia : Gene
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        public override void PostMake()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            Sexualizer.sexualize_pawn(pawn);
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn,Genital_Helper.canine_penis,Genital_Helper.canine_vagina,Genital_Helper.generic_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public override void PostAdd()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn, Genital_Helper.canine_penis, Genital_Helper.canine_vagina, Genital_Helper.generic_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										23
									
								
								Source/Genes/Genitalia/Gene_DemonicGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								Source/Genes/Genitalia/Gene_DemonicGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,23 @@
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					using RimWorld;
 | 
				
			||||||
 | 
					using rjw;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace RJW_Genes
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class Gene_DemonicGenitalia : Gene
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        public override void PostMake()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            Sexualizer.sexualize_pawn(pawn);
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn,Genital_Helper.demon_penis,Genital_Helper.demon_vagina,Genital_Helper.demon_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public override void PostAdd()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn, Genital_Helper.demon_penis, Genital_Helper.demon_vagina, Genital_Helper.demon_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										22
									
								
								Source/Genes/Genitalia/Gene_DragonGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								Source/Genes/Genitalia/Gene_DragonGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,22 @@
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					using rjw;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace RJW_Genes
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class Gene_DragonGenitalia : Gene
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        public override void PostMake()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            Sexualizer.sexualize_pawn(pawn);
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn,Genital_Helper.dragon_penis,Genital_Helper.dragon_vagina,Genital_Helper.generic_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public override void PostAdd()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn, Genital_Helper.dragon_penis, Genital_Helper.dragon_vagina, Genital_Helper.generic_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										22
									
								
								Source/Genes/Genitalia/Gene_EquineGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								Source/Genes/Genitalia/Gene_EquineGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,22 @@
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					using rjw;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace RJW_Genes
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class Gene_EquineGenitalia : Gene
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        public override void PostMake()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            Sexualizer.sexualize_pawn(pawn);
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn,Genital_Helper.equine_penis,Genital_Helper.equine_vagina,Genital_Helper.generic_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public override void PostAdd()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn, Genital_Helper.equine_penis, Genital_Helper.equine_vagina, Genital_Helper.generic_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										22
									
								
								Source/Genes/Genitalia/Gene_FelineGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								Source/Genes/Genitalia/Gene_FelineGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,22 @@
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					using rjw;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace RJW_Genes
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class Gene_FelineGenitalia : Gene
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        public override void PostMake()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            Sexualizer.sexualize_pawn(pawn);
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn,Genital_Helper.feline_penis,Genital_Helper.feline_vagina,Genital_Helper.generic_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public override void PostAdd()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn, Genital_Helper.feline_penis, Genital_Helper.feline_vagina, Genital_Helper.generic_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										23
									
								
								Source/Genes/Genitalia/Gene_HumanGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								Source/Genes/Genitalia/Gene_HumanGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,23 @@
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					using rjw;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace RJW_Genes
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class Gene_HumanGenitalia : Gene
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        public override void PostMake()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            Sexualizer.sexualize_pawn(pawn);
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn,Genital_Helper.average_penis,Genital_Helper.average_vagina,Genital_Helper.average_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public override void PostAdd()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostAdd();
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn, Genital_Helper.average_penis, Genital_Helper.average_vagina, Genital_Helper.average_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										22
									
								
								Source/Genes/Genitalia/Gene_OvipositorGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								Source/Genes/Genitalia/Gene_OvipositorGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,22 @@
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					using rjw;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace RJW_Genes
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class Gene_OvipositorGenitalia : Gene
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        public override void PostMake()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            Sexualizer.sexualize_pawn(pawn);
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn,Genital_Helper.ovipositorM,Genital_Helper.ovipositorF,Genital_Helper.insect_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public override void PostAdd()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn, Genital_Helper.ovipositorM, Genital_Helper.ovipositorF, Genital_Helper.insect_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										22
									
								
								Source/Genes/Genitalia/Gene_SlimeGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								Source/Genes/Genitalia/Gene_SlimeGenitalia.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,22 @@
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					using rjw;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace RJW_Genes
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class Gene_SlimeGenitalia : Gene
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        public override void PostMake()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            Sexualizer.sexualize_pawn(pawn);
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn,Genital_Helper.slime_penis,Genital_Helper.slime_vagina,Genital_Helper.slime_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public override void PostAdd()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            base.PostMake();
 | 
				
			||||||
 | 
					            GenitaliaChanger.changeGenitalia(this.pawn, Genital_Helper.slime_penis, Genital_Helper.slime_vagina, Genital_Helper.slime_anus);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										94
									
								
								Source/Genes/Genitalia/GenitaliaChanger.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										94
									
								
								Source/Genes/Genitalia/GenitaliaChanger.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,94 @@
 | 
				
			||||||
 | 
					using rjw;
 | 
				
			||||||
 | 
					using RimWorld;
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					using System.Collections.Generic;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace RJW_Genes
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    internal class GenitaliaChanger
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// This method changes the pawns genitalia to the given types of genitalia. 
 | 
				
			||||||
 | 
					        /// All genitals will be changed, e.g. pawns with 2 penises (for whatever reason) or is a futa, all genitals will be changed.
 | 
				
			||||||
 | 
							/// Anuses are currently not changed, due to a small bug.
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="pawn">the pawn who's genitals will be changed</param>
 | 
				
			||||||
 | 
					        /// <param name="penisReplacement">the new type of penis</param>
 | 
				
			||||||
 | 
					        /// <param name="vaginaReplacement">the new type of vagina</param>
 | 
				
			||||||
 | 
					        /// <param name="anusReplacement">the new type of anus (currently disabled)</param>
 | 
				
			||||||
 | 
					        public static void changeGenitalia(Pawn pawn, HediffDef penisReplacement, HediffDef vaginaReplacement, HediffDef anusReplacement)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            var oldParts = Genital_Helper.get_AllPartsHediffList(pawn); 
 | 
				
			||||||
 | 
								var partBPR = Genital_Helper.get_genitalsBPR(pawn);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								if (!oldParts.NullOrEmpty())
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									Hediff replacementGenital;
 | 
				
			||||||
 | 
									CompHediffBodyPart CompHediff;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
									foreach (Hediff existingGenital in oldParts)
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										if (IsArtificial(existingGenital))
 | 
				
			||||||
 | 
											continue;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
										replacementGenital = null;
 | 
				
			||||||
 | 
										CompHediff = null;
 | 
				
			||||||
 | 
										if (IsPenis(existingGenital))
 | 
				
			||||||
 | 
											replacementGenital = HediffMaker.MakeHediff(penisReplacement, pawn, partBPR);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
										if (IsVagina(existingGenital))
 | 
				
			||||||
 | 
											replacementGenital = HediffMaker.MakeHediff(vaginaReplacement, pawn, partBPR);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
										//TODO: Adding Anus in this way had an issue by multiplying Anusses. At the moment Anus are not covered.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
										if (replacementGenital != null)
 | 
				
			||||||
 | 
										{
 | 
				
			||||||
 | 
											CompHediff = replacementGenital.TryGetComp<rjw.CompHediffBodyPart>();
 | 
				
			||||||
 | 
											if (CompHediff != null)
 | 
				
			||||||
 | 
											{
 | 
				
			||||||
 | 
												CompHediff.initComp(pawn);
 | 
				
			||||||
 | 
												CompHediff.updatesize();
 | 
				
			||||||
 | 
											}
 | 
				
			||||||
 | 
											GenderHelper.ChangeSex(pawn, () =>
 | 
				
			||||||
 | 
											{
 | 
				
			||||||
 | 
												pawn.health.RemoveHediff(existingGenital);
 | 
				
			||||||
 | 
												pawn.health.AddHediff(replacementGenital, partBPR);
 | 
				
			||||||
 | 
											});
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								else
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									Messages.Message("RJW_Genes_GenitalsNotAlterable".Translate(pawn), pawn, MessageTypeDefOf.SilentInput);
 | 
				
			||||||
 | 
									return;
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							private static bool IsPenis(Hediff candidate)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            return 
 | 
				
			||||||
 | 
					                candidate.def.defName.ToLower().Contains("penis") ||
 | 
				
			||||||
 | 
					                candidate.def.defName.ToLower().Contains("ovipositorm") ||
 | 
				
			||||||
 | 
					                candidate.def.defName.ToLower().Contains("tentacle");
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        private static bool IsVagina(Hediff candidate)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            return
 | 
				
			||||||
 | 
					                candidate.def.defName.ToLower().Contains("vagina") ||
 | 
				
			||||||
 | 
					                candidate.def.defName.ToLower().Contains("ovipositorf");
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        private static bool IsAnus(Hediff candidate)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            return candidate.def.defName.ToLower().Contains("anus");        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							private static bool IsArtificial(Hediff candidate)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
								return candidate.def.defName.ToLower().Contains("bionic") || candidate.def.defName.ToLower().Contains("archo");
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										36
									
								
								Source/Properties/AssemblyInfo.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								Source/Properties/AssemblyInfo.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,36 @@
 | 
				
			||||||
 | 
					using System.Reflection;
 | 
				
			||||||
 | 
					using System.Runtime.CompilerServices;
 | 
				
			||||||
 | 
					using System.Runtime.InteropServices;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// General Information about an assembly is controlled through the following
 | 
				
			||||||
 | 
					// set of attributes. Change these attribute values to modify the information
 | 
				
			||||||
 | 
					// associated with an assembly.
 | 
				
			||||||
 | 
					[assembly: AssemblyTitle("Rjw-Genes")]
 | 
				
			||||||
 | 
					[assembly: AssemblyDescription("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyConfiguration("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyCompany("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyProduct("Rjw-Genes")]
 | 
				
			||||||
 | 
					[assembly: AssemblyCopyright("Copyright ©  2020")]
 | 
				
			||||||
 | 
					[assembly: AssemblyTrademark("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyCulture("")]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Setting ComVisible to false makes the types in this assembly not visible
 | 
				
			||||||
 | 
					// to COM components.  If you need to access a type in this assembly from
 | 
				
			||||||
 | 
					// COM, set the ComVisible attribute to true on that type.
 | 
				
			||||||
 | 
					[assembly: ComVisible(false)]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// The following GUID is for the ID of the typelib if this project is exposed to COM
 | 
				
			||||||
 | 
					[assembly: Guid("d7d21b4a-1da7-41d8-b202-c58ca8fa62aa")]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Version information for an assembly consists of the following four values:
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
 | 
					//      Major Version
 | 
				
			||||||
 | 
					//      Minor Version
 | 
				
			||||||
 | 
					//      Build Number
 | 
				
			||||||
 | 
					//      Revision
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
 | 
					// You can specify all the values or you can default the Build and Revision Numbers
 | 
				
			||||||
 | 
					// by using the '*' as shown below:
 | 
				
			||||||
 | 
					// [assembly: AssemblyVersion("1.0.*")]
 | 
				
			||||||
 | 
					[assembly: AssemblyVersion("1.0.0.0")]
 | 
				
			||||||
 | 
					[assembly: AssemblyFileVersion("1.0.0.0")]
 | 
				
			||||||
							
								
								
									
										10
									
								
								Source/RJW_Genes.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Source/RJW_Genes.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,10 @@
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace BTE_MMLA
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    [StaticConstructorOnStartup]
 | 
				
			||||||
 | 
					    public static class RJW_Genes
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        static RJW_Genes() => Log.Message("RJW-Genes loaded");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										62
									
								
								Source/Rjw-Genes.csproj
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								Source/Rjw-Genes.csproj
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,62 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 | 
				
			||||||
 | 
					  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
 | 
				
			||||||
 | 
					  <PropertyGroup>
 | 
				
			||||||
 | 
					    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
 | 
				
			||||||
 | 
					    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
 | 
				
			||||||
 | 
					    <ProjectGuid>{D7D21B4A-1DA7-41D8-B202-C58CA8FA62AA}</ProjectGuid>
 | 
				
			||||||
 | 
					    <OutputType>Library</OutputType>
 | 
				
			||||||
 | 
					    <AppDesignerFolder>Properties</AppDesignerFolder>
 | 
				
			||||||
 | 
					    <RootNamespace>Rjw-Genes</RootNamespace>
 | 
				
			||||||
 | 
					    <AssemblyName>Rjw-Genes</AssemblyName>
 | 
				
			||||||
 | 
					    <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
 | 
				
			||||||
 | 
					    <FileAlignment>512</FileAlignment>
 | 
				
			||||||
 | 
					    <TargetFrameworkProfile />
 | 
				
			||||||
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
 | 
				
			||||||
 | 
					    <DebugType>none</DebugType>
 | 
				
			||||||
 | 
					    <Optimize>true</Optimize>
 | 
				
			||||||
 | 
					    <OutputPath>..\Common\Assemblies\</OutputPath>
 | 
				
			||||||
 | 
					    <ErrorReport>prompt</ErrorReport>
 | 
				
			||||||
 | 
					    <WarningLevel>4</WarningLevel>
 | 
				
			||||||
 | 
					    <Prefer32Bit>false</Prefer32Bit>
 | 
				
			||||||
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <Reference Include="Assembly-CSharp">
 | 
				
			||||||
 | 
					      <HintPath>..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
 | 
				
			||||||
 | 
					      <Private>False</Private>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="RJW">
 | 
				
			||||||
 | 
					      <HintPath>..\..\rjw\1.4\Assemblies\RJW.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="System" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Core" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Xml.Linq" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Data.DataSetExtensions" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Data" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Xml" />
 | 
				
			||||||
 | 
					    <Reference Include="UnityEngine">
 | 
				
			||||||
 | 
					      <HintPath>..\..\..\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
 | 
				
			||||||
 | 
					      <Private>False</Private>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <None Include="..\About\**" />
 | 
				
			||||||
 | 
					    <None Include="..\Common\Defs\**" />
 | 
				
			||||||
 | 
					    <None Include="..\Common\Languages\**" />
 | 
				
			||||||
 | 
					    <None Include="..\Common\Patches\**" />
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <Compile Include="GeneDefOf.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Genes\Genitalia\Gene_SlimeGenitalia.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Genes\Genitalia\Gene_DragonGenitalia.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Genes\Genitalia\Gene_FelineGenitalia.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Genes\Genitalia\Gene_CanineGenitalia.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Genes\Genitalia\Gene_OvipositorGenitalia.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Genes\Genitalia\Gene_DemonicGenitalia.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Genes\Genitalia\Gene_EquineGenitalia.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Genes\Genitalia\Gene_HumanGenitalia.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Genes\Genitalia\GenitaliaChanger.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Properties\AssemblyInfo.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="RJW_Genes.cs" />
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
 | 
				
			||||||
 | 
					</Project>
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue