This commit is contained in:
Stardust3D 2022-01-15 03:57:37 +01:00
parent 8bf3570f8c
commit 1a268705dd
13 changed files with 408 additions and 489 deletions

View File

@ -1,34 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<ModMetaData>
<name>RJW PlasticSurgeries</name>
<author>Stardust3D</author>
<supportedVersions>
<li>1.3</li>
</supportedVersions>
<packageId>Stardust3D.RJW.PlasticSurgeries</packageId>
<description>Surgically alter pawn's genitals.</description>
<modDependencies>
<li>
<packageId>rim.job.world</packageId>
<displayName>RimJobWorld</displayName>
<downloadUrl>https://gitgud.io/Ed86/rjw</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>NuttySquabble.Dyspareunia</packageId>
<displayName>Dyspareunia</displayName>
<downloadUrl>https://gitgud.io/NuttySquabble/Dyspareunia</downloadUrl>
</li>
</modDependencies>
<loadAfter>
<li>Ludeon.RimWorld</li>
<li>rim.job.world</li>
<li>NuttySquabble.Dyspareunia</li>
</loadAfter>
<name>RJW PlasticSurgeries</name>
<author>Stardust3D</author>
<supportedVersions>
<li>1.3</li>
</supportedVersions>
<packageId>Stardust3D.RJW.PlasticSurgeries</packageId>
<description>Surgically alter pawn's genitals.</description>
<modDependencies>
<li>
<packageId>rim.job.world</packageId>
<displayName>RimJobWorld</displayName>
<downloadUrl>https://gitgud.io/Ed86/rjw</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>NuttySquabble.Dyspareunia</packageId>
<displayName>Dyspareunia</displayName>
<downloadUrl>https://gitgud.io/NuttySquabble/Dyspareunia</downloadUrl>
</li>
</modDependencies>
<loadAfter>
<li>Ludeon.RimWorld</li>
<li>rim.job.world</li>
<li>NuttySquabble.Dyspareunia</li>
</loadAfter>
</ModMetaData>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<identifier>RJW PlasticSurgeries</identifier>
<version>4943.0.1.2</version>
<identifier>RJW PlasticSurgeries</identifier>
<version>4943.0.1.3</version>
</Manifest>

Binary file not shown.

View File

@ -1,43 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<RecipeDef Name="Surgery_Beautify_X" Abstract="True">
<defName>Surgery_Beautify</defName>
<label>beautify</label>
<description>Surgically beautifies the pawn.</description>
<jobString>beautifying</jobString>
<effectWorking>Surgery</effectWorking>
<soundWorking>Recipe_Surgery</soundWorking>
<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
<workSkill>Medicine</workSkill>
<workSkillLearnFactor>0.2</workSkillLearnFactor>
<workAmount>400</workAmount>
<anesthetize>true</anesthetize>
<recipeUsers>
<li>Human</li>
</recipeUsers>
<surgerySuccessChanceFactor>95</surgerySuccessChanceFactor>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
</fixedIngredientFilter>
</RecipeDef>
<RecipeDef ParentName="Surgery_Beautify_X">
<defName>Surgery_Beautify_Beautiful</defName>
<label>beautify (beautiful)</label>
<description>Surgically beautifies the pawn.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Beautify_Beautiful</workerClass>
<jobString>beautify the pawn.</jobString>
</RecipeDef>
<RecipeDef Name="Surgery_Beautify_X" Abstract="True">
<defName>Surgery_Beautify</defName>
<label>beautify</label>
<description>Surgically beautifies the pawn.</description>
<jobString>beautifying</jobString>
<effectWorking>Surgery</effectWorking>
<soundWorking>Recipe_Surgery</soundWorking>
<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
<workSkill>Medicine</workSkill>
<workSkillLearnFactor>0.2</workSkillLearnFactor>
<workAmount>400</workAmount>
<anesthetize>true</anesthetize>
<recipeUsers>
<li>Human</li>
</recipeUsers>
<surgerySuccessChanceFactor>95</surgerySuccessChanceFactor>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
</fixedIngredientFilter>
</RecipeDef>
<RecipeDef ParentName="Surgery_Beautify_X">
<defName>Surgery_Beautify_Beautiful</defName>
<label>beautify (beautiful)</label>
<description>Surgically beautifies the pawn.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Beautify_Beautiful</workerClass>
<jobString>beautify the pawn.</jobString>
</RecipeDef>
</Defs>

View File

@ -1,163 +1,163 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<RecipeDef Name="Surgery_Mammoplasty_X" Abstract="True">
<defName>Surgery_Mammoplasty</defName>
<label>mammoplasty</label>
<description>Surgically increases the pawn's breast size by 25%.</description>
<!--<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty</workerClass>-->
<jobString>increasing breast size</jobString>
<effectWorking>Surgery</effectWorking>
<soundWorking>Recipe_Surgery</soundWorking>
<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
<workSkill>Medicine</workSkill>
<workSkillLearnFactor>0.2</workSkillLearnFactor>
<workAmount>400</workAmount>
<anesthetize>true</anesthetize>
<recipeUsers>
<li>Human</li>
</recipeUsers>
<surgerySuccessChanceFactor>95</surgerySuccessChanceFactor>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
</fixedIngredientFilter>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_A</defName>
<label>mammoplasty (A Cup)</label>
<description>Surgically gives the pawn an A cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_A</workerClass>
<jobString>alter cup size to A</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_B</defName>
<label>mammoplasty (B Cup)</label>
<description>Surgically gives the pawn an B cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_B</workerClass>
<jobString>alter cup size to B</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_C</defName>
<label>mammoplasty (C Cup)</label>
<description>Surgically gives the pawn an C cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_C</workerClass>
<jobString>alter cup size to C</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_D</defName>
<label>mammoplasty (D Cup)</label>
<description>Surgically gives the pawn an D cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_D</workerClass>
<jobString>alter cup size to D</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_E</defName>
<label>mammoplasty (E Cup)</label>
<description>Surgically gives the pawn an E cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_E</workerClass>
<jobString>alter cup size to E</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_F</defName>
<label>mammoplasty (F Cup)</label>
<description>Surgically gives the pawn an F cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_F</workerClass>
<jobString>alter cup size to F</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_G</defName>
<label>mammoplasty (G Cup)</label>
<description>Surgically gives the pawn an G cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_G</workerClass>
<jobString>alter cup size to G</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_H</defName>
<label>mammoplasty (H Cup)</label>
<description>Surgically gives the pawn an H cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_H</workerClass>
<jobString>alter cup size to H</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_J</defName>
<label>mammoplasty (J Cup)</label>
<description>Surgically gives the pawn an J cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_J</workerClass>
<jobString>alter cup size to J</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_K</defName>
<label>mammoplasty (K Cup)</label>
<description>Surgically gives the pawn an K cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_K</workerClass>
<jobString>alter cup size to K</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_L</defName>
<label>mammoplasty (L Cup)</label>
<description>Surgically gives the pawn an L cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_L</workerClass>
<jobString>alter cup size to L</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_M</defName>
<label>mammoplasty (M Cup)</label>
<description>Surgically gives the pawn an M cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_M</workerClass>
<jobString>alter cup size to M</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_N</defName>
<label>mammoplasty (N Cup)</label>
<description>Surgically gives the pawn an N cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_N</workerClass>
<jobString>alter cup size to N</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_O</defName>
<label>mammoplasty (O Cup)</label>
<description>Surgically gives the pawn an O cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_O</workerClass>
<jobString>alter cup size to O</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_P</defName>
<label>mammoplasty (P Cup)</label>
<description>Surgically gives the pawn an P cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_P</workerClass>
<jobString>alter cup size to P</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_Q</defName>
<label>mammoplasty (Q Cup)</label>
<description>Surgically gives the pawn an Q cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_Q</workerClass>
<jobString>alter cup size to Q</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_R</defName>
<label>mammoplasty (R Cup)</label>
<description>Surgically gives the pawn an R cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_R</workerClass>
<jobString>alter cup size to R</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_Unknown</defName>
<label>mammoplasty (??? Cup)</label>
<description>Surgically gives the pawn an ??? cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_Unknown</workerClass>
<jobString>alter cup size to ???</jobString>
</RecipeDef>
<RecipeDef Name="Surgery_Mammoplasty_X" Abstract="True">
<defName>Surgery_Mammoplasty</defName>
<label>mammoplasty</label>
<description>Surgically increases the pawn's breast size by 25%.</description>
<!--<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty</workerClass>-->
<jobString>increasing breast size</jobString>
<effectWorking>Surgery</effectWorking>
<soundWorking>Recipe_Surgery</soundWorking>
<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
<workSkill>Medicine</workSkill>
<workSkillLearnFactor>0.2</workSkillLearnFactor>
<workAmount>400</workAmount>
<anesthetize>true</anesthetize>
<recipeUsers>
<li>Human</li>
</recipeUsers>
<surgerySuccessChanceFactor>95</surgerySuccessChanceFactor>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
</fixedIngredientFilter>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_A</defName>
<label>mammoplasty (A Cup)</label>
<description>Surgically gives the pawn an A cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_A</workerClass>
<jobString>alter cup size to A</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_B</defName>
<label>mammoplasty (B Cup)</label>
<description>Surgically gives the pawn an B cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_B</workerClass>
<jobString>alter cup size to B</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_C</defName>
<label>mammoplasty (C Cup)</label>
<description>Surgically gives the pawn an C cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_C</workerClass>
<jobString>alter cup size to C</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_D</defName>
<label>mammoplasty (D Cup)</label>
<description>Surgically gives the pawn an D cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_D</workerClass>
<jobString>alter cup size to D</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_E</defName>
<label>mammoplasty (E Cup)</label>
<description>Surgically gives the pawn an E cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_E</workerClass>
<jobString>alter cup size to E</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_F</defName>
<label>mammoplasty (F Cup)</label>
<description>Surgically gives the pawn an F cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_F</workerClass>
<jobString>alter cup size to F</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_G</defName>
<label>mammoplasty (G Cup)</label>
<description>Surgically gives the pawn an G cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_G</workerClass>
<jobString>alter cup size to G</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_H</defName>
<label>mammoplasty (H Cup)</label>
<description>Surgically gives the pawn an H cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_H</workerClass>
<jobString>alter cup size to H</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_J</defName>
<label>mammoplasty (J Cup)</label>
<description>Surgically gives the pawn an J cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_J</workerClass>
<jobString>alter cup size to J</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_K</defName>
<label>mammoplasty (K Cup)</label>
<description>Surgically gives the pawn an K cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_K</workerClass>
<jobString>alter cup size to K</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_L</defName>
<label>mammoplasty (L Cup)</label>
<description>Surgically gives the pawn an L cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_L</workerClass>
<jobString>alter cup size to L</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_M</defName>
<label>mammoplasty (M Cup)</label>
<description>Surgically gives the pawn an M cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_M</workerClass>
<jobString>alter cup size to M</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_N</defName>
<label>mammoplasty (N Cup)</label>
<description>Surgically gives the pawn an N cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_N</workerClass>
<jobString>alter cup size to N</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_O</defName>
<label>mammoplasty (O Cup)</label>
<description>Surgically gives the pawn an O cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_O</workerClass>
<jobString>alter cup size to O</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_P</defName>
<label>mammoplasty (P Cup)</label>
<description>Surgically gives the pawn an P cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_P</workerClass>
<jobString>alter cup size to P</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_Q</defName>
<label>mammoplasty (Q Cup)</label>
<description>Surgically gives the pawn an Q cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_Q</workerClass>
<jobString>alter cup size to Q</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_R</defName>
<label>mammoplasty (R Cup)</label>
<description>Surgically gives the pawn an R cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_R</workerClass>
<jobString>alter cup size to R</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Mammoplasty_X">
<defName>Surgery_Mammoplasty_Unknown</defName>
<label>mammoplasty (??? Cup)</label>
<description>Surgically gives the pawn an ??? cup.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Mammoplasty_Unknown</workerClass>
<jobString>alter cup size to ???</jobString>
</RecipeDef>
</Defs>

View File

@ -1,72 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<RecipeDef Name="Surgery_Sphinctoplasty_X" Abstract="True">
<defName>Surgery_Sphinctoplasty</defName>
<label>sphinctoplasty</label>
<description>Surgically tightens the pawn's Sphincter by 25%.</description>
<!--<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty</workerClass>-->
<jobString>tightening Sphincter</jobString>
<effectWorking>Surgery</effectWorking>
<soundWorking>Recipe_Surgery</soundWorking>
<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
<workSkill>Medicine</workSkill>
<workSkillLearnFactor>0.2</workSkillLearnFactor>
<workAmount>400</workAmount>
<anesthetize>true</anesthetize>
<recipeUsers>
<li>Human</li>
</recipeUsers>
<surgerySuccessChanceFactor>95</surgerySuccessChanceFactor>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
</fixedIngredientFilter>
</RecipeDef>
<RecipeDef ParentName="Surgery_Sphinctoplasty_X">
<defName>Surgery_Sphinctoplasty_Micro</defName>
<label>sphinctoplasty (micro)</label>
<description>Surgically gives the pawn an micro Sphincter.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty_Micro</workerClass>
<jobString>alter Sphincter size to micro</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Sphinctoplasty_X">
<defName>Surgery_Sphinctoplasty_Tight</defName>
<label>sphinctoplasty (tight)</label>
<description>Surgically gives the pawn an tight Sphincter.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty_Tight</workerClass>
<jobString>alter Sphincter size to tight</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Sphinctoplasty_X">
<defName>Surgery_Sphinctoplasty_Average</defName>
<label>sphinctoplasty (average)</label>
<description>Surgically gives the pawn an average Sphincter.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty_Average</workerClass>
<jobString>alter Sphincter size to average</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Sphinctoplasty_X">
<defName>Surgery_Sphinctoplasty_Accomodating</defName>
<label>sphinctoplasty (accomodating)</label>
<description>Surgically gives the pawn an accomodating Sphincter.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty_Accomodating</workerClass>
<jobString>alter Sphincter size to accomodating</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Sphinctoplasty_X">
<defName>Surgery_Sphinctoplasty_Cavernous</defName>
<label>sphinctoplasty (cavernous)</label>
<description>Surgically gives the pawn an cavernous Sphincter.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty_Cavernous</workerClass>
<jobString>alter Sphincter size to cavernous</jobString>
</RecipeDef>
<RecipeDef Name="Surgery_Sphinctoplasty_X" Abstract="True">
<defName>Surgery_Sphinctoplasty</defName>
<label>sphinctoplasty</label>
<description>Surgically tightens the pawn's Sphincter by 25%.</description>
<!--<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty</workerClass>-->
<jobString>tightening Sphincter</jobString>
<effectWorking>Surgery</effectWorking>
<soundWorking>Recipe_Surgery</soundWorking>
<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
<workSkill>Medicine</workSkill>
<workSkillLearnFactor>0.2</workSkillLearnFactor>
<workAmount>400</workAmount>
<anesthetize>true</anesthetize>
<recipeUsers>
<li>Human</li>
</recipeUsers>
<surgerySuccessChanceFactor>95</surgerySuccessChanceFactor>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
</fixedIngredientFilter>
</RecipeDef>
<RecipeDef ParentName="Surgery_Sphinctoplasty_X">
<defName>Surgery_Sphinctoplasty_Micro</defName>
<label>sphinctoplasty (micro)</label>
<description>Surgically gives the pawn an micro Sphincter.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty_Micro</workerClass>
<jobString>alter Sphincter size to micro</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Sphinctoplasty_X">
<defName>Surgery_Sphinctoplasty_Tight</defName>
<label>sphinctoplasty (tight)</label>
<description>Surgically gives the pawn an tight Sphincter.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty_Tight</workerClass>
<jobString>alter Sphincter size to tight</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Sphinctoplasty_X">
<defName>Surgery_Sphinctoplasty_Average</defName>
<label>sphinctoplasty (average)</label>
<description>Surgically gives the pawn an average Sphincter.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty_Average</workerClass>
<jobString>alter Sphincter size to average</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Sphinctoplasty_X">
<defName>Surgery_Sphinctoplasty_Accomodating</defName>
<label>sphinctoplasty (accomodating)</label>
<description>Surgically gives the pawn an accomodating Sphincter.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty_Accomodating</workerClass>
<jobString>alter Sphincter size to accomodating</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Sphinctoplasty_X">
<defName>Surgery_Sphinctoplasty_Cavernous</defName>
<label>sphinctoplasty (cavernous)</label>
<description>Surgically gives the pawn an cavernous Sphincter.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Sphinctoplasty_Cavernous</workerClass>
<jobString>alter Sphincter size to cavernous</jobString>
</RecipeDef>
</Defs>

View File

@ -1,72 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<RecipeDef Name="Surgery_Vaginoplasty_X" Abstract="True">
<defName>Surgery_Vaginoplasty</defName>
<label>vaginoplasty</label>
<description>Surgically tightens the pawn's Vagina by 25%.</description>
<!--<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty</workerClass>-->
<jobString>tightening Vagina</jobString>
<effectWorking>Surgery</effectWorking>
<soundWorking>Recipe_Surgery</soundWorking>
<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
<workSkill>Medicine</workSkill>
<workSkillLearnFactor>0.2</workSkillLearnFactor>
<workAmount>400</workAmount>
<anesthetize>true</anesthetize>
<recipeUsers>
<li>Human</li>
</recipeUsers>
<surgerySuccessChanceFactor>95</surgerySuccessChanceFactor>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
</fixedIngredientFilter>
</RecipeDef>
<RecipeDef ParentName="Surgery_Vaginoplasty_X">
<defName>Surgery_Vaginoplasty_Micro</defName>
<label>vaginoplasty (micro)</label>
<description>Surgically gives the pawn an micro Vagina.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty_Micro</workerClass>
<jobString>alter Vagina size to micro</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Vaginoplasty_X">
<defName>Surgery_Vaginoplasty_Tight</defName>
<label>vaginoplasty (tight)</label>
<description>Surgically gives the pawn an tight Vagina.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty_Tight</workerClass>
<jobString>alter Vagina size to tight</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Vaginoplasty_X">
<defName>Surgery_Vaginoplasty_Average</defName>
<label>vaginoplasty (average)</label>
<description>Surgically gives the pawn an average Vagina.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty_Average</workerClass>
<jobString>alter Vagina size to average</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Vaginoplasty_X">
<defName>Surgery_Vaginoplasty_Accomodating</defName>
<label>vaginoplasty (accomodating)</label>
<description>Surgically gives the pawn an accomodating Vagina.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty_Accomodating</workerClass>
<jobString>alter Vagina size to accomodating</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Vaginoplasty_X">
<defName>Surgery_Vaginoplasty_Cavernous</defName>
<label>vaginoplasty (cavernous)</label>
<description>Surgically gives the pawn an cavernous Vagina.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty_Cavernous</workerClass>
<jobString>alter Vagina size to cavernous</jobString>
</RecipeDef>
<RecipeDef Name="Surgery_Vaginoplasty_X" Abstract="True">
<defName>Surgery_Vaginoplasty</defName>
<label>vaginoplasty</label>
<description>Surgically tightens the pawn's Vagina by 25%.</description>
<!--<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty</workerClass>-->
<jobString>tightening Vagina</jobString>
<effectWorking>Surgery</effectWorking>
<soundWorking>Recipe_Surgery</soundWorking>
<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
<workSkill>Medicine</workSkill>
<workSkillLearnFactor>0.2</workSkillLearnFactor>
<workAmount>400</workAmount>
<anesthetize>true</anesthetize>
<recipeUsers>
<li>Human</li>
</recipeUsers>
<surgerySuccessChanceFactor>95</surgerySuccessChanceFactor>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
</fixedIngredientFilter>
</RecipeDef>
<RecipeDef ParentName="Surgery_Vaginoplasty_X">
<defName>Surgery_Vaginoplasty_Micro</defName>
<label>vaginoplasty (micro)</label>
<description>Surgically gives the pawn an micro Vagina.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty_Micro</workerClass>
<jobString>alter Vagina size to micro</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Vaginoplasty_X">
<defName>Surgery_Vaginoplasty_Tight</defName>
<label>vaginoplasty (tight)</label>
<description>Surgically gives the pawn an tight Vagina.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty_Tight</workerClass>
<jobString>alter Vagina size to tight</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Vaginoplasty_X">
<defName>Surgery_Vaginoplasty_Average</defName>
<label>vaginoplasty (average)</label>
<description>Surgically gives the pawn an average Vagina.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty_Average</workerClass>
<jobString>alter Vagina size to average</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Vaginoplasty_X">
<defName>Surgery_Vaginoplasty_Accomodating</defName>
<label>vaginoplasty (accomodating)</label>
<description>Surgically gives the pawn an accomodating Vagina.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty_Accomodating</workerClass>
<jobString>alter Vagina size to accomodating</jobString>
</RecipeDef>
<RecipeDef ParentName="Surgery_Vaginoplasty_X">
<defName>Surgery_Vaginoplasty_Cavernous</defName>
<label>vaginoplasty (cavernous)</label>
<description>Surgically gives the pawn an cavernous Vagina.</description>
<workerClass>RJW_PlasticSurgeries.Recipe_Surgery_Vaginoplasty_Cavernous</workerClass>
<jobString>alter Vagina size to cavernous</jobString>
</RecipeDef>
</Defs>

View File

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// 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("4943.0.1.2")]
[assembly: AssemblyFileVersion("4943.0.1.2")]
[assembly: AssemblyVersion("4943.0.1.3")]
[assembly: AssemblyFileVersion("4943.0.1.3")]

View File

@ -47,6 +47,7 @@ namespace RJW_PlasticSurgeries
.ForEach(t => pawn.story.traits.RemoveTrait(t));
pawn.story.traits.RemoveTrait(pawn.story.traits.allTraits.Find(t => t.def == Beauty));
}
pawn.story.traits.GainTrait(new Trait(Beauty, severity));
}
}

View File

@ -1,7 +1,7 @@
using RimWorld;
using rjw;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using rjw;
using Verse;
namespace RJW_PlasticSurgeries
@ -77,145 +77,91 @@ namespace RJW_PlasticSurgeries
public class Recipe_Surgery_Mammoplasty_A : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 1);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 1);
}
public class Recipe_Surgery_Mammoplasty_B : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 2);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 2);
}
public class Recipe_Surgery_Mammoplasty_C : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 3);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 3);
}
public class Recipe_Surgery_Mammoplasty_D : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 4);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 4);
}
public class Recipe_Surgery_Mammoplasty_E : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 6);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 6);
}
public class Recipe_Surgery_Mammoplasty_F : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 7);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 7);
}
public class Recipe_Surgery_Mammoplasty_G : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 9);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 9);
}
public class Recipe_Surgery_Mammoplasty_H : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 11);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 11);
}
public class Recipe_Surgery_Mammoplasty_J : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 13);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 13);
}
public class Recipe_Surgery_Mammoplasty_K : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 15);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 15);
}
public class Recipe_Surgery_Mammoplasty_L : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 17);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 17);
}
public class Recipe_Surgery_Mammoplasty_M : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 19);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 19);
}
public class Recipe_Surgery_Mammoplasty_N : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 21);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 21);
}
public class Recipe_Surgery_Mammoplasty_O : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 23);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 23);
}
public class Recipe_Surgery_Mammoplasty_P : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 25);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 25);
}
public class Recipe_Surgery_Mammoplasty_Q : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 27);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 27);
}
public class Recipe_Surgery_Mammoplasty_R : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 29);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 29);
}
public class Recipe_Surgery_Mammoplasty_Unknown : Recipe_Surgery_Mammoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryCupX(pawn, 31);
}
public override void SurgeryResult(Pawn pawn) => SurgeryCupX(pawn, 31);
}
}

View File

@ -1,9 +1,10 @@
using System;
using RimWorld;
using rjw;
using System.Collections.Generic;
using Dyspareunia;
using RimWorld;
using rjw;
using Verse;
using DamageDefOf = Dyspareunia.DamageDefOf;
namespace RJW_PlasticSurgeries
{
@ -39,7 +40,7 @@ namespace RJW_PlasticSurgeries
hed.Severity = severity;
try
{
PenetrationUtility.AddDamageHediff(Dyspareunia.DamageDefOf.SexStretch, 0.5f, hed, null);
PenetrationUtility.AddDamageHediff(DamageDefOf.SexStretch, 0.5f, hed, null);
}
catch (Exception e)
{
@ -51,41 +52,26 @@ namespace RJW_PlasticSurgeries
public class Recipe_Surgery_Sphinctoplasty_Micro : Recipe_Surgery_Sphinctoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryX(pawn, 0.1f);
}
public override void SurgeryResult(Pawn pawn) => SurgeryX(pawn, 0.1f);
}
public class Recipe_Surgery_Sphinctoplasty_Tight : Recipe_Surgery_Sphinctoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryX(pawn, 0.3f);
}
public override void SurgeryResult(Pawn pawn) => SurgeryX(pawn, 0.3f);
}
public class Recipe_Surgery_Sphinctoplasty_Average : Recipe_Surgery_Sphinctoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryX(pawn, 0.5f);
}
public override void SurgeryResult(Pawn pawn) => SurgeryX(pawn, 0.5f);
}
public class Recipe_Surgery_Sphinctoplasty_Accomodating : Recipe_Surgery_Sphinctoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryX(pawn, 0.7f);
}
public override void SurgeryResult(Pawn pawn) => SurgeryX(pawn, 0.7f);
}
public class Recipe_Surgery_Sphinctoplasty_Cavernous : Recipe_Surgery_Sphinctoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryX(pawn, 0.9f);
}
public override void SurgeryResult(Pawn pawn) => SurgeryX(pawn, 0.9f);
}
}

View File

@ -1,9 +1,10 @@
using System;
using RimWorld;
using rjw;
using System.Collections.Generic;
using Dyspareunia;
using RimWorld;
using rjw;
using Verse;
using DamageDefOf = Dyspareunia.DamageDefOf;
namespace RJW_PlasticSurgeries
{
@ -39,7 +40,7 @@ namespace RJW_PlasticSurgeries
hed.Severity = severity;
try
{
PenetrationUtility.AddDamageHediff(Dyspareunia.DamageDefOf.SexStretch, 0.5f, hed, null);
PenetrationUtility.AddDamageHediff(DamageDefOf.SexStretch, 0.5f, hed, null);
}
catch (Exception e)
{
@ -51,41 +52,26 @@ namespace RJW_PlasticSurgeries
public class Recipe_Surgery_Vaginoplasty_Micro : Recipe_Surgery_Vaginoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryX(pawn, 0.1f);
}
public override void SurgeryResult(Pawn pawn) => SurgeryX(pawn, 0.1f);
}
public class Recipe_Surgery_Vaginoplasty_Tight : Recipe_Surgery_Vaginoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryX(pawn, 0.3f);
}
public override void SurgeryResult(Pawn pawn) => SurgeryX(pawn, 0.3f);
}
public class Recipe_Surgery_Vaginoplasty_Average : Recipe_Surgery_Vaginoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryX(pawn, 0.5f);
}
public override void SurgeryResult(Pawn pawn) => SurgeryX(pawn, 0.5f);
}
public class Recipe_Surgery_Vaginoplasty_Accomodating : Recipe_Surgery_Vaginoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryX(pawn, 0.7f);
}
public override void SurgeryResult(Pawn pawn) => SurgeryX(pawn, 0.7f);
}
public class Recipe_Surgery_Vaginoplasty_Cavernous : Recipe_Surgery_Vaginoplasty
{
public override void SurgeryResult(Pawn pawn)
{
this.SurgeryX(pawn, 0.9f);
}
public override void SurgeryResult(Pawn pawn) => SurgeryX(pawn, 0.9f);
}
}