mirror of
				https://github.com/EuclideanClass/RJW-Crests.git
				synced 2024-08-15 03:17:08 +00:00 
			
		
		
		
	Add files via upload
This commit is contained in:
		
							parent
							
								
									9ed87b78b9
								
							
						
					
					
						commit
						b8cf9a0e27
					
				
					 16 changed files with 392 additions and 0 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								1.4/Assemblies/Crests.dll
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								1.4/Assemblies/Crests.dll
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										67
									
								
								1.4/Defs/HediffDefs/Hediffs_Crests.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								1.4/Defs/HediffDefs/Hediffs_Crests.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,67 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<Defs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <HediffDef Name="AppliedCrestBase" Abstract="True">
 | 
				
			||||||
 | 
					        <hediffClass>HediffWithComps</hediffClass>
 | 
				
			||||||
 | 
					        <isBad>false</isBad>
 | 
				
			||||||
 | 
					        <description>A crest drawn on the genital region.</description>
 | 
				
			||||||
 | 
					    </HediffDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <HediffDef ParentName="AppliedCrestBase">
 | 
				
			||||||
 | 
					        <defName>AppliedCrest_Lust</defName>
 | 
				
			||||||
 | 
					        <label>lust crest</label>
 | 
				
			||||||
 | 
					        <description>A crest of lust, making the user require nothing but sex.</description>
 | 
				
			||||||
 | 
					        <defaultLabelColor>(255, 105, 180)</defaultLabelColor>
 | 
				
			||||||
 | 
					        <descriptionHyperlinks>
 | 
				
			||||||
 | 
					            <RecipeDef>InstallCrest_Lust</RecipeDef>
 | 
				
			||||||
 | 
					        </descriptionHyperlinks>
 | 
				
			||||||
 | 
					        <stages>
 | 
				
			||||||
 | 
					            <li>
 | 
				
			||||||
 | 
					                <hungerRateFactorOffset>-5</hungerRateFactorOffset>
 | 
				
			||||||
 | 
					                <statOffsets>
 | 
				
			||||||
 | 
					                    <SexFrequency>250</SexFrequency>
 | 
				
			||||||
 | 
					                </statOffsets>
 | 
				
			||||||
 | 
					            </li>
 | 
				
			||||||
 | 
					        </stages>
 | 
				
			||||||
 | 
					    </HediffDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <HediffDef ParentName="AppliedCrestBase">
 | 
				
			||||||
 | 
					        <defName>AppliedCrest_Fertility</defName>
 | 
				
			||||||
 | 
					        <label>fertility crest</label>
 | 
				
			||||||
 | 
					        <description>A crest of fertility, making the user much more likely to get pregnant.</description>
 | 
				
			||||||
 | 
					        <defaultLabelColor>(0, 255, 255)</defaultLabelColor>
 | 
				
			||||||
 | 
					        <descriptionHyperlinks>
 | 
				
			||||||
 | 
					            <RecipeDef>InstallCrest_Fertility</RecipeDef>
 | 
				
			||||||
 | 
					        </descriptionHyperlinks>
 | 
				
			||||||
 | 
					        <stages>
 | 
				
			||||||
 | 
					            <li>
 | 
				
			||||||
 | 
					                <capMods>
 | 
				
			||||||
 | 
					                    <li>
 | 
				
			||||||
 | 
					                        <capacity>RJW_Fertility</capacity>
 | 
				
			||||||
 | 
					                        <offset>3</offset>
 | 
				
			||||||
 | 
					                    </li>
 | 
				
			||||||
 | 
					                </capMods>
 | 
				
			||||||
 | 
					            </li>
 | 
				
			||||||
 | 
					        </stages>
 | 
				
			||||||
 | 
					    </HediffDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <HediffDef ParentName="AppliedCrestBase">
 | 
				
			||||||
 | 
					        <defName>AppliedCrest_Alluring</defName>
 | 
				
			||||||
 | 
					        <label>alluring crest</label>
 | 
				
			||||||
 | 
					        <description>A crest of allure, making the user appear irresistible.</description>
 | 
				
			||||||
 | 
					        <defaultLabelColor>(255, 0, 0)</defaultLabelColor>
 | 
				
			||||||
 | 
					        <descriptionHyperlinks>
 | 
				
			||||||
 | 
					            <RecipeDef>InstallCrest_Alluring</RecipeDef>
 | 
				
			||||||
 | 
					        </descriptionHyperlinks>
 | 
				
			||||||
 | 
					        <stages>
 | 
				
			||||||
 | 
					            <li>
 | 
				
			||||||
 | 
					                <statOffsets>
 | 
				
			||||||
 | 
					                    <Vulnerability>10</Vulnerability>
 | 
				
			||||||
 | 
					                    <PawnBeauty>4</PawnBeauty>
 | 
				
			||||||
 | 
					                </statOffsets>
 | 
				
			||||||
 | 
					            </li>
 | 
				
			||||||
 | 
					        </stages>
 | 
				
			||||||
 | 
					    </HediffDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</Defs>
 | 
				
			||||||
							
								
								
									
										110
									
								
								1.4/Defs/RecipeDefs/Recipes_Surgery.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										110
									
								
								1.4/Defs/RecipeDefs/Recipes_Surgery.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,110 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<Defs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<RecipeDef Name="InstallCrestBase" Abstract="True">
 | 
				
			||||||
 | 
							<workerClass>Crests.Recipe_InstallCrestBase</workerClass>
 | 
				
			||||||
 | 
							<anesthetize>false</anesthetize>
 | 
				
			||||||
 | 
							<hideBodyPartNames>true</hideBodyPartNames>
 | 
				
			||||||
 | 
							<jobString>Drawing crest.</jobString>
 | 
				
			||||||
 | 
							<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
 | 
				
			||||||
 | 
							<workSkillLearnFactor>1</workSkillLearnFactor>
 | 
				
			||||||
 | 
							<workAmount>800</workAmount>
 | 
				
			||||||
 | 
							<recipeUsers>
 | 
				
			||||||
 | 
								<li>Human</li>
 | 
				
			||||||
 | 
							</recipeUsers>
 | 
				
			||||||
 | 
							<skillRequirements>
 | 
				
			||||||
 | 
								<Artistic>2</Artistic>
 | 
				
			||||||
 | 
							</skillRequirements>
 | 
				
			||||||
 | 
							<ingredients>
 | 
				
			||||||
 | 
								<li>
 | 
				
			||||||
 | 
									<filter>
 | 
				
			||||||
 | 
										<thingDefs>
 | 
				
			||||||
 | 
											<li>Dye</li>
 | 
				
			||||||
 | 
										</thingDefs>
 | 
				
			||||||
 | 
									</filter>
 | 
				
			||||||
 | 
									<count>1</count>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</ingredients>
 | 
				
			||||||
 | 
							<appliedOnFixedBodyParts>
 | 
				
			||||||
 | 
								<li>Genitals</li>
 | 
				
			||||||
 | 
							</appliedOnFixedBodyParts>
 | 
				
			||||||
 | 
						</RecipeDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<RecipeDef ParentName="InstallCrestBase">
 | 
				
			||||||
 | 
							<defName>InstallCrest_Lust</defName>
 | 
				
			||||||
 | 
							<label>draw crest of lust</label>
 | 
				
			||||||
 | 
							<description>Draws a crest of lust onto the genital region.</description>
 | 
				
			||||||
 | 
							<descriptionHyperlinks>
 | 
				
			||||||
 | 
								<HediffDef>AppliedCrest_Lust</HediffDef>
 | 
				
			||||||
 | 
							</descriptionHyperlinks>
 | 
				
			||||||
 | 
							<addsHediff>AppliedCrest_Lust</addsHediff>
 | 
				
			||||||
 | 
						</RecipeDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<RecipeDef ParentName="InstallCrestBase">
 | 
				
			||||||
 | 
							<defName>InstallCrest_Fertility</defName>
 | 
				
			||||||
 | 
							<label>draw crest of fertility</label>
 | 
				
			||||||
 | 
							<description>Draws a crest of fertility onto the genital region.</description>
 | 
				
			||||||
 | 
							<descriptionHyperlinks>
 | 
				
			||||||
 | 
								<HediffDef>AppliedCrest_Fertility</HediffDef>
 | 
				
			||||||
 | 
							</descriptionHyperlinks>
 | 
				
			||||||
 | 
							<addsHediff>AppliedCrest_Fertility</addsHediff>
 | 
				
			||||||
 | 
						</RecipeDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<RecipeDef ParentName="InstallCrestBase">
 | 
				
			||||||
 | 
							<defName>InstallCrest_Alluring</defName>
 | 
				
			||||||
 | 
							<label>draw crest of allure</label>
 | 
				
			||||||
 | 
							<description>Draws a crest of allure onto the genital region.</description>
 | 
				
			||||||
 | 
							<descriptionHyperlinks>
 | 
				
			||||||
 | 
								<HediffDef>AppliedCrest_Alluring</HediffDef>
 | 
				
			||||||
 | 
							</descriptionHyperlinks>
 | 
				
			||||||
 | 
							<addsHediff>AppliedCrest_Alluring</addsHediff>
 | 
				
			||||||
 | 
						</RecipeDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<RecipeDef Name="RemoveCrestBase" Abstract="True">
 | 
				
			||||||
 | 
							<workerClass>Recipe_RemoveHediff</workerClass>
 | 
				
			||||||
 | 
							<anesthetize>false</anesthetize>
 | 
				
			||||||
 | 
							<hideBodyPartNames>true</hideBodyPartNames>
 | 
				
			||||||
 | 
							<jobString>Erasing crest.</jobString>
 | 
				
			||||||
 | 
							<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
 | 
				
			||||||
 | 
							<workSkillLearnFactor>1</workSkillLearnFactor>
 | 
				
			||||||
 | 
							<workAmount>200</workAmount>
 | 
				
			||||||
 | 
							<recipeUsers>
 | 
				
			||||||
 | 
								<li>Human</li>
 | 
				
			||||||
 | 
							</recipeUsers>
 | 
				
			||||||
 | 
							<appliedOnFixedBodyParts>
 | 
				
			||||||
 | 
								<li>Genitals</li>
 | 
				
			||||||
 | 
							</appliedOnFixedBodyParts>
 | 
				
			||||||
 | 
						</RecipeDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<RecipeDef ParentName="RemoveCrestBase">
 | 
				
			||||||
 | 
							<defName>RemoveCrest_Lust</defName>
 | 
				
			||||||
 | 
							<label>erase crest of lust</label>
 | 
				
			||||||
 | 
							<description>Erases a crest of lust from the genital region.</description>
 | 
				
			||||||
 | 
							<descriptionHyperlinks>
 | 
				
			||||||
 | 
								<HediffDef>AppliedCrest_Lust</HediffDef>
 | 
				
			||||||
 | 
							</descriptionHyperlinks>
 | 
				
			||||||
 | 
							<removesHediff>AppliedCrest_Lust</removesHediff>
 | 
				
			||||||
 | 
						</RecipeDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<RecipeDef ParentName="RemoveCrestBase">
 | 
				
			||||||
 | 
							<defName>RemoveCrest_Fertility</defName>
 | 
				
			||||||
 | 
							<label>erase crest of fertility</label>
 | 
				
			||||||
 | 
							<description>Erases a crest of fertility from the genital region.</description>
 | 
				
			||||||
 | 
							<descriptionHyperlinks>
 | 
				
			||||||
 | 
								<HediffDef>AppliedCrest_Fertility</HediffDef>
 | 
				
			||||||
 | 
							</descriptionHyperlinks>
 | 
				
			||||||
 | 
							<removesHediff>AppliedCrest_Fertility</removesHediff>
 | 
				
			||||||
 | 
						</RecipeDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<RecipeDef ParentName="RemoveCrestBase">
 | 
				
			||||||
 | 
							<defName>RemoveCrest_Alluring</defName>
 | 
				
			||||||
 | 
							<label>erase crest of allure</label>
 | 
				
			||||||
 | 
							<description>Erases a crest of allure from the genital region.</description>
 | 
				
			||||||
 | 
							<descriptionHyperlinks>
 | 
				
			||||||
 | 
								<HediffDef>AppliedCrest_Alluring</HediffDef>
 | 
				
			||||||
 | 
							</descriptionHyperlinks>
 | 
				
			||||||
 | 
							<removesHediff>AppliedCrest_Alluring</removesHediff>
 | 
				
			||||||
 | 
						</RecipeDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</Defs>
 | 
				
			||||||
							
								
								
									
										24
									
								
								About/About.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								About/About.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,24 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					<ModMetaData>
 | 
				
			||||||
 | 
						<name>RJW - Crests</name>
 | 
				
			||||||
 | 
						<author>Euclidean</author>
 | 
				
			||||||
 | 
						<supportedVersions>
 | 
				
			||||||
 | 
							<li>1.4</li>
 | 
				
			||||||
 | 
						</supportedVersions>
 | 
				
			||||||
 | 
						<packageId>Euclidean.crests</packageId>
 | 
				
			||||||
 | 
						<description>Womb crests/tattoos than can be drawn onto pawns for "special" effects.
 | 
				
			||||||
 | 
						 This mod is still very much a work in progress, so the crests don't do much yet.
 | 
				
			||||||
 | 
						 
 | 
				
			||||||
 | 
						 Art Source: https://www.pixiv.net/en/users/3799108
 | 
				
			||||||
 | 
						</description>
 | 
				
			||||||
 | 
						<modDependencies>
 | 
				
			||||||
 | 
							<li>
 | 
				
			||||||
 | 
								<packageId>rim.job.world</packageId>
 | 
				
			||||||
 | 
								<displayName>RimJobWorld</displayName>
 | 
				
			||||||
 | 
								<steamWorkshopUrl>https://www.loverslab.com/files/file/7257-rimjobworld/</steamWorkshopUrl>
 | 
				
			||||||
 | 
							</li>
 | 
				
			||||||
 | 
						</modDependencies>
 | 
				
			||||||
 | 
						<loadAfter>
 | 
				
			||||||
 | 
							<li>rim.job.world</li>
 | 
				
			||||||
 | 
						</loadAfter>
 | 
				
			||||||
 | 
					</ModMetaData>
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								About/Preview.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								About/Preview.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 45 KiB  | 
							
								
								
									
										71
									
								
								Source/Crests.csproj
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								Source/Crests.csproj
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,71 @@
 | 
				
			||||||
 | 
					<?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>{C58A6C93-A487-435A-8F64-C6A8BBE14134}</ProjectGuid>
 | 
				
			||||||
 | 
					    <OutputType>Library</OutputType>
 | 
				
			||||||
 | 
					    <AppDesignerFolder>Properties</AppDesignerFolder>
 | 
				
			||||||
 | 
					    <RootNamespace>Crests</RootNamespace>
 | 
				
			||||||
 | 
					    <AssemblyName>Crests</AssemblyName>
 | 
				
			||||||
 | 
					    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
 | 
				
			||||||
 | 
					    <FileAlignment>512</FileAlignment>
 | 
				
			||||||
 | 
					    <Deterministic>true</Deterministic>
 | 
				
			||||||
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
 | 
				
			||||||
 | 
					    <DebugSymbols>false</DebugSymbols>
 | 
				
			||||||
 | 
					    <DebugType>none</DebugType>
 | 
				
			||||||
 | 
					    <Optimize>false</Optimize>
 | 
				
			||||||
 | 
					    <OutputPath>..\..\1.4\Assemblies\</OutputPath>
 | 
				
			||||||
 | 
					    <DefineConstants>DEBUG;TRACE</DefineConstants>
 | 
				
			||||||
 | 
					    <ErrorReport>prompt</ErrorReport>
 | 
				
			||||||
 | 
					    <WarningLevel>4</WarningLevel>
 | 
				
			||||||
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
 | 
				
			||||||
 | 
					    <DebugType>pdbonly</DebugType>
 | 
				
			||||||
 | 
					    <Optimize>true</Optimize>
 | 
				
			||||||
 | 
					    <OutputPath>bin\Release\</OutputPath>
 | 
				
			||||||
 | 
					    <DefineConstants>TRACE</DefineConstants>
 | 
				
			||||||
 | 
					    <ErrorReport>prompt</ErrorReport>
 | 
				
			||||||
 | 
					    <WarningLevel>4</WarningLevel>
 | 
				
			||||||
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <Reference Include="0Harmony">
 | 
				
			||||||
 | 
					      <HintPath>..\..\..\..\..\..\workshop\content\294100\2009463077\Current\Assemblies\0Harmony.dll</HintPath>
 | 
				
			||||||
 | 
					      <Private>False</Private>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="Assembly-CSharp">
 | 
				
			||||||
 | 
					      <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
 | 
				
			||||||
 | 
					      <Private>False</Private>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="RJW">
 | 
				
			||||||
 | 
					      <HintPath>..\..\..\rjw-master\1.4\Assemblies\RJW.dll</HintPath>
 | 
				
			||||||
 | 
					      <Private>False</Private>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="System" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Core" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Xml.Linq" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Data.DataSetExtensions" />
 | 
				
			||||||
 | 
					    <Reference Include="Microsoft.CSharp" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Data" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Net.Http" />
 | 
				
			||||||
 | 
					    <Reference Include="System.Xml" />
 | 
				
			||||||
 | 
					    <Reference Include="UnityEngine">
 | 
				
			||||||
 | 
					      <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath>
 | 
				
			||||||
 | 
					      <Private>False</Private>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="UnityEngine.CoreModule">
 | 
				
			||||||
 | 
					      <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
 | 
				
			||||||
 | 
					      <Private>False</Private>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <Compile Include="Main.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="Properties\AssemblyInfo.cs" />
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <None Include=".editorconfig" />
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
 | 
				
			||||||
 | 
					</Project>
 | 
				
			||||||
							
								
								
									
										30
									
								
								Source/Crests.sln
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								Source/Crests.sln
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,30 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Microsoft Visual Studio Solution File, Format Version 12.00
 | 
				
			||||||
 | 
					# Visual Studio Version 16
 | 
				
			||||||
 | 
					VisualStudioVersion = 16.0.30717.126
 | 
				
			||||||
 | 
					MinimumVisualStudioVersion = 10.0.40219.1
 | 
				
			||||||
 | 
					Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Crests", "Crests.csproj", "{C58A6C93-A487-435A-8F64-C6A8BBE14134}"
 | 
				
			||||||
 | 
					EndProject
 | 
				
			||||||
 | 
					Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DD3B3221-E930-4CF3-AD02-DD17BD1918BE}"
 | 
				
			||||||
 | 
						ProjectSection(SolutionItems) = preProject
 | 
				
			||||||
 | 
							.editorconfig = .editorconfig
 | 
				
			||||||
 | 
						EndProjectSection
 | 
				
			||||||
 | 
					EndProject
 | 
				
			||||||
 | 
					Global
 | 
				
			||||||
 | 
						GlobalSection(SolutionConfigurationPlatforms) = preSolution
 | 
				
			||||||
 | 
							Debug|Any CPU = Debug|Any CPU
 | 
				
			||||||
 | 
							Release|Any CPU = Release|Any CPU
 | 
				
			||||||
 | 
						EndGlobalSection
 | 
				
			||||||
 | 
						GlobalSection(ProjectConfigurationPlatforms) = postSolution
 | 
				
			||||||
 | 
							{C58A6C93-A487-435A-8F64-C6A8BBE14134}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 | 
				
			||||||
 | 
							{C58A6C93-A487-435A-8F64-C6A8BBE14134}.Debug|Any CPU.Build.0 = Debug|Any CPU
 | 
				
			||||||
 | 
							{C58A6C93-A487-435A-8F64-C6A8BBE14134}.Release|Any CPU.ActiveCfg = Release|Any CPU
 | 
				
			||||||
 | 
							{C58A6C93-A487-435A-8F64-C6A8BBE14134}.Release|Any CPU.Build.0 = Release|Any CPU
 | 
				
			||||||
 | 
						EndGlobalSection
 | 
				
			||||||
 | 
						GlobalSection(SolutionProperties) = preSolution
 | 
				
			||||||
 | 
							HideSolutionNode = FALSE
 | 
				
			||||||
 | 
						EndGlobalSection
 | 
				
			||||||
 | 
						GlobalSection(ExtensibilityGlobals) = postSolution
 | 
				
			||||||
 | 
							SolutionGuid = {77A3BEF8-B198-49D6-ABB8-389A53880CE3}
 | 
				
			||||||
 | 
						EndGlobalSection
 | 
				
			||||||
 | 
					EndGlobal
 | 
				
			||||||
							
								
								
									
										39
									
								
								Source/Main.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								Source/Main.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,39 @@
 | 
				
			||||||
 | 
					using System;
 | 
				
			||||||
 | 
					using System.Collections.Generic;
 | 
				
			||||||
 | 
					using System.Linq;
 | 
				
			||||||
 | 
					using System.Text;
 | 
				
			||||||
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
 | 
					using RimWorld;
 | 
				
			||||||
 | 
					using Verse;
 | 
				
			||||||
 | 
					using HarmonyLib;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace Crests
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    public class Recipe_InstallCrestBase : RecipeWorker
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(Pawn pawn, RecipeDef recipe)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            if (rjw.Genital_Helper.has_genitals(pawn) || rjw.xxx.is_slime(pawn))
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                bool blocked = rjw.Genital_Helper.genitals_blocked(pawn);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                if (!blocked)
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                foreach (BodyPartRecord bodyPart in pawn.health.hediffSet.GetNotMissingParts())
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                    if (recipe.appliedOnFixedBodyParts.Contains(bodyPart.def))
 | 
				
			||||||
 | 
					                        yield return bodyPart;
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public override void ApplyOnPawn(Pawn pawn, BodyPartRecord part, Pawn billDoer, List<Thing> ingredients, Bill bill)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            pawn.health.AddHediff(recipe.addsHediff, part);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										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("Crests")]
 | 
				
			||||||
 | 
					[assembly: AssemblyDescription("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyConfiguration("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyCompany("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyProduct("Crests")]
 | 
				
			||||||
 | 
					[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("c58a6c93-a487-435a-8f64-c6a8bbe14134")]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// 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")]
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								Source/bin/Debug/Crests.dll
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Source/bin/Debug/Crests.dll
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								Source/bin/Debug/Crests.pdb
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Source/bin/Debug/Crests.pdb
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								Source/obj/Debug/Crests.csproj.AssemblyReference.cache
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Source/obj/Debug/Crests.csproj.AssemblyReference.cache
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										1
									
								
								Source/obj/Debug/Crests.csproj.CoreCompileInputs.cache
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Source/obj/Debug/Crests.csproj.CoreCompileInputs.cache
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					f6b962a76f1e5054f3fcc301cb57d7aff90b4ed9
 | 
				
			||||||
							
								
								
									
										14
									
								
								Source/obj/Debug/Crests.csproj.FileListAbsolute.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Source/obj/Debug/Crests.csproj.FileListAbsolute.txt
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,14 @@
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests\Source\Crests\bin\Debug\Crests.dll
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests\Source\Crests\bin\Debug\Crests.pdb
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests\Source\Crests\obj\Debug\Crests.csproj.CoreCompileInputs.cache
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests\Source\Crests\obj\Debug\Crests.dll
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests\1.4\Assemblies\Crests.dll
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests-0.1\Source\Crests\obj\Debug\Crests.csprojAssemblyReference.cache
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests-0.1\Source\Crests\obj\Debug\Crests.csproj.CoreCompileInputs.cache
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests-0.1\Source\Crests\obj\Debug\Crests.dll
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests-0.1\1.4\Assemblies\Crests.dll
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests-0.2\1.4\Assemblies\Crests.dll
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests-0.2\Source\Crests\obj\Debug\Crests.csprojAssemblyReference.cache
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests-0.2\Source\Crests\obj\Debug\Crests.csproj.CoreCompileInputs.cache
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests-0.2\Source\Crests\obj\Debug\Crests.dll
 | 
				
			||||||
 | 
					C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\rjw-crests\Source\Crests\obj\Debug\Crests.csproj.AssemblyReference.cache
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								Source/obj/Debug/Crests.dll
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Source/obj/Debug/Crests.dll
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								Source/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Source/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue