code
stringlengths
0
56.1M
repo_name
stringlengths
3
57
path
stringlengths
2
176
language
stringclasses
672 values
license
stringclasses
8 values
size
int64
0
56.8M
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThingDef ParentName="FuckMachineBase" Class="rjwex.Building_FuckMachine_Def"> <defName>FuckMachineAutoChair</defName> <label>Autochair fuck machine</label> <description>Model popular on glitterworlds. Variable shape fits any user, wide range of instruments provides unique sensations. This equipped with platesteel restraints armchair doesn't have any external controls and instead guided by wireless neurointerface, it decides by itself what feelings user will experience this time.</description> <thingClass>rjwex.Building_FuckMachine</thingClass> <graphicData> <texPath>Buildings/FuckMachines/AutoChair/FMAutoChair</texPath> <graphicClass>Graphic_Multi</graphicClass> <drawSize>(1,1)</drawSize> </graphicData> <staticSunShadowHeight>0.05</staticSunShadowHeight> <castEdgeShadows>False</castEdgeShadows> <size>(1,1)</size> <uiIconPath>Buildings/FuckMachines/AutoChair/FMAutoChair_south</uiIconPath> <uiIconScale>0.90</uiIconScale> <defaultPlacingRot>South</defaultPlacingRot> <statBases> <MaxHitPoints>200</MaxHitPoints> <Flammability>1.0</Flammability> <WorkToBuild>1500</WorkToBuild> <Mass>20</Mass> <Beauty>10</Beauty> </statBases> <stuffCategories> <li>Fabric</li> <li>Leathery</li> </stuffCategories> <costStuffCount>20</costStuffCount> <costList> <Plasteel>10</Plasteel> <Gold>10</Gold> <ComponentIndustrial>6</ComponentIndustrial> <ComponentSpacer>1</ComponentSpacer> </costList> <comps> <li Class="CompProperties_Forbiddable"/> <li Class="CompProperties_Power"> <compClass>CompPowerTrader</compClass> <basePowerConsumption>200</basePowerConsumption> </li> <li Class="CompProperties_Flickable"/> <li Class="CompProperties_Breakdownable"/> <li Class="rjwex.CompProperties_PublicPrivateComp" /> </comps> <techLevel>Industrial</techLevel> <constructionSkillPrerequisite>12</constructionSkillPrerequisite> <researchPrerequisites> <li>ComplexFurniture</li> <li>Electricity</li> <li>MicroelectronicsBasics</li> </researchPrerequisites> <forced>true</forced> <automatic>True</automatic> <vertical>True</vertical> <powered>True</powered> <quality>1.5</quality> <height>0.20</height> <mode>Normal</mode> </ThingDef> </Defs>
lucci/rjw
1.1/Defs/ThingDefs/FuckMachines/Buildings_FuckMachine_AutoChair.xml
XML
unknown
2,315
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThingDef ParentName="FuckMachineBase" Class="rjwex.Building_FuckMachine_Def"> <defName>FuckMachineSaddle</defName> <label>Saddle fuck machine</label> <description>Convinient model which will provide many fascinating rides.</description> <thingClass>rjwex.Building_FuckMachine</thingClass> <graphicData> <texPath>Buildings/FuckMachines/Saddle/FMSaddle</texPath> <graphicClass>Graphic_Multi</graphicClass> <drawSize>(1,1)</drawSize> </graphicData> <staticSunShadowHeight>0.05</staticSunShadowHeight> <castEdgeShadows>False</castEdgeShadows> <size>(1,1)</size> <uiIconPath>Buildings/FuckMachines/Saddle/FMSaddle_east</uiIconPath> <uiIconScale>0.90</uiIconScale> <defaultPlacingRot>East</defaultPlacingRot> <statBases> <MaxHitPoints>200</MaxHitPoints> <Flammability>1.0</Flammability> <WorkToBuild>1500</WorkToBuild> <Mass>20</Mass> <Beauty>10</Beauty> </statBases> <stuffCategories> <li>Fabric</li> <li>Leathery</li> </stuffCategories> <costStuffCount>20</costStuffCount> <costList> <Steel>10</Steel> <ComponentIndustrial>1</ComponentIndustrial> </costList> <comps> <li Class="CompProperties_Forbiddable"/> <li Class="CompProperties_Power"> <compClass>CompPowerTrader</compClass> <basePowerConsumption>50</basePowerConsumption> </li> <li Class="CompProperties_Flickable"/> <li Class="CompProperties_Breakdownable"/> <li Class="rjwex.CompProperties_PublicPrivateComp" /> </comps> <techLevel>Industrial</techLevel> <constructionSkillPrerequisite>8</constructionSkillPrerequisite> <researchPrerequisites> <li>ComplexFurniture</li> <li>Electricity</li> </researchPrerequisites> <forced>False</forced> <automatic>False</automatic> <vertical>True</vertical> <powered>True</powered> <quality>1</quality> <height>0.20</height> <mode>Normal</mode> </ThingDef> </Defs>
lucci/rjw
1.1/Defs/ThingDefs/FuckMachines/Buildings_FuckMachine_Saddle.xml
XML
unknown
1,938
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThingDef ParentName="FuckMachineBase" Class="rjwex.Building_FuckMachine_Def"> <defName>FuckMachineWooden</defName> <label>Fuck machine</label> <description>Not quite a "machine", but definitely some "fuck" with the right mood. At least some entertainment when there is no electricity, but hip work can be tiring. Remember to polish dildo before using, unless you want a torture device.</description> <thingClass>rjwex.Building_FuckMachine</thingClass> <graphicData> <texPath>Buildings/FuckMachines/Wooden/FMWooden</texPath> <graphicClass>Graphic_Multi</graphicClass> <drawSize>(1,1)</drawSize> </graphicData> <staticSunShadowHeight>0.05</staticSunShadowHeight> <castEdgeShadows>False</castEdgeShadows> <size>(1,1)</size> <uiIconPath>Buildings/FuckMachines/Wooden/FMWooden_east</uiIconPath> <uiIconScale>0.90</uiIconScale> <defaultPlacingRot>South</defaultPlacingRot> <statBases> <MaxHitPoints>200</MaxHitPoints> <Flammability>1.0</Flammability> <WorkToBuild>500</WorkToBuild> <Mass>20</Mass> <Beauty>10</Beauty> </statBases> <stuffCategories> <li>Stony</li> <li>Woody</li> </stuffCategories> <costStuffCount>10</costStuffCount> <comps> <li Class="rjwex.CompProperties_PublicPrivateComp" /> <li Class="CompProperties_Forbiddable"/> </comps> <techLevel>Medieval</techLevel> <constructionSkillPrerequisite>6</constructionSkillPrerequisite> <researchPrerequisites> <li>ComplexFurniture</li> </researchPrerequisites> <forced>False</forced> <automatic>False</automatic> <vertical>True</vertical> <powered>False</powered> <quality>0.5</quality> <height>0.22</height> <mode>Normal</mode> </ThingDef> </Defs>
lucci/rjw
1.1/Defs/ThingDefs/FuckMachines/Buildings_FuckMachine_Wooden.xml
XML
unknown
1,750
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThingCategoryDef> <defName>BuildingsFuckMachines</defName> <label>fuck machines</label> <parent>Buildings</parent> </ThingCategoryDef> <ThingDef Name="FuckMachineBase" Abstract="True"> <soundImpactDefault>BulletImpact_Metal</soundImpactDefault> <selectable>true</selectable> <drawerType>MapMeshAndRealTime</drawerType> <category>Building</category> <thingClass>Building</thingClass> <terrainAffordanceNeeded>Light</terrainAffordanceNeeded> <repairEffect>Repair</repairEffect> <minifiedDef>MinifiedThing</minifiedDef> <thingCategories> <li>BuildingsFuckMachines</li> </thingCategories> <rotatable>true</rotatable> <altitudeLayer>Building</altitudeLayer> <designationCategory>Misc</designationCategory> <statBases> <MaxHitPoints>200</MaxHitPoints> <Flammability>1.0</Flammability> <WorkToBuild>500</WorkToBuild> <Mass>20</Mass> <Beauty>10</Beauty> </statBases> <fillPercent>0.2</fillPercent> <pathCost>30</pathCost> <leaveResourcesWhenKilled>True</leaveResourcesWhenKilled> <techLevel>Industrial</techLevel> <constructionSkillPrerequisite>8</constructionSkillPrerequisite> <researchPrerequisites> <li>ComplexFurniture</li> </researchPrerequisites> <passability>PassThroughOnly</passability> <socialPropernessMatters>False</socialPropernessMatters> </ThingDef> </Defs>
lucci/rjw
1.1/Defs/ThingDefs/FuckMachines/Buildings_FuckMachines_base.xml
XML
unknown
1,394
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!--Variable-size lockable--> <rjwex.anal_plug_def ParentName="AnalPlugBase"> <defName>AnalPlugExpandable</defName> <label>Expandable anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Expandable anal plug. Hololock equipped.</description> <techLevel>Industrial</techLevel> <graphicData> <texPath>Items/Plugs/AnalPlugExpandable</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.8</Mass> </statBases> <plug_size>0</plug_size> <comps> <li Class="rjw.CompProperties_HoloCryptoStamped" /> </comps> <stuffCategories> <li>Leathery</li> </stuffCategories> <recipeMaker> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSkill>Crafting</workSkill> <effectWorking>Smith</effectWorking> <soundWorking>Recipe_Machining</soundWorking> <unfinishedThingDef>UnfinishedArmor</unfinishedThingDef> <recipeUsers> <li>TableMachining</li> </recipeUsers> </recipeMaker> <costStuffCount>5</costStuffCount> <costList> <ComponentIndustrial>1</ComponentIndustrial> <Hololock>1</Hololock> </costList> <blocks_anus>true</blocks_anus> </rjwex.anal_plug_def> </Defs>
lucci/rjw
1.1/Defs/ThingDefs/Plugs/Items_Plugs_Inflatable.xml
XML
unknown
1,254
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!--Base--> <rjwex.anal_plug_def Name="MetalAnalPlugBase" ParentName="AnalPlugBase" Abstract="True"> <techLevel>Medieval</techLevel> <stuffCategories> <li>Metallic</li> </stuffCategories> <costStuffCount>2</costStuffCount> <recipeMaker> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSkill>Crafting</workSkill> <effectWorking>Smith</effectWorking> <soundWorking>Recipe_Machining</soundWorking> <unfinishedThingDef>UnfinishedArmor</unfinishedThingDef> <recipeUsers> <li>TableMachining</li> <li>FueledSmithy</li> <li>ElectricSmithy</li> </recipeUsers> </recipeMaker> <researchPrerequisites> <li>Smithing</li> </researchPrerequisites> </rjwex.anal_plug_def> <!--S-size--> <rjwex.anal_plug_def ParentName="MetalAnalPlugBase"> <defName>MAnalPlugSmall</defName> <label>Small anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Plain polished shiny anal plug. S-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugSmall</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.3</Mass> </statBases> <costStuffCount>1</costStuffCount> <plug_size>1</plug_size> </rjwex.anal_plug_def> <!--M-size--> <rjwex.anal_plug_def ParentName="MetalAnalPlugBase"> <defName>MAnalPlugMedium</defName> <label>Medium anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Plain polished shiny anal plug. M-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugAverage</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.5</Mass> </statBases> <costStuffCount>2</costStuffCount> <plug_size>2</plug_size> </rjwex.anal_plug_def> <!--L-size--> <rjwex.anal_plug_def ParentName="MetalAnalPlugBase"> <defName>MAnalPlugLarge</defName> <label>Large anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Plain polished shiny anal plug. L-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugLarge</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.8</Mass> </statBases> <costStuffCount>3</costStuffCount> <plug_size>3</plug_size> </rjwex.anal_plug_def> </Defs>
lucci/rjw
1.1/Defs/ThingDefs/Plugs/Items_Plugs_Metal.xml
XML
unknown
2,348
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!--Base--> <rjwex.anal_plug_def Name="StonyAnalPlugBase" ParentName="AnalPlugBase" Abstract="True"> <techLevel>Neolithic</techLevel> <stuffCategories> <li>Stony</li> </stuffCategories> <costStuffCount>2</costStuffCount> <recipeMaker> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSkill>Crafting</workSkill> <effectWorking>Smith</effectWorking> <soundWorking>Recipe_Machining</soundWorking> <unfinishedThingDef>UnfinishedArmor</unfinishedThingDef> <recipeUsers> <li>TableStonecutter</li> </recipeUsers> </recipeMaker> <researchPrerequisites> <li>Stonecutting</li> </researchPrerequisites> </rjwex.anal_plug_def> <!--S-size--> <rjwex.anal_plug_def ParentName="StonyAnalPlugBase"> <defName>SAnalPlugSmall</defName> <label>Small anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Heavy polished anal plug. S-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugSmall</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.6</Mass> </statBases> <costStuffCount>1</costStuffCount> <plug_size>1</plug_size> </rjwex.anal_plug_def> <!--M-size--> <rjwex.anal_plug_def ParentName="StonyAnalPlugBase"> <defName>SAnalPlugMedium</defName> <label>Medium anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Heavy polished anal plug. M-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugAverage</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>1.0</Mass> </statBases> <costStuffCount>2</costStuffCount> <plug_size>2</plug_size> </rjwex.anal_plug_def> <!--L-size--> <rjwex.anal_plug_def ParentName="StonyAnalPlugBase"> <defName>SAnalPlugLarge</defName> <label>Large anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Heavy polished anal plug. L-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugLarge</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>1.6</Mass> </statBases> <costStuffCount>3</costStuffCount> <plug_size>3</plug_size> </rjwex.anal_plug_def> </Defs>
lucci/rjw
1.1/Defs/ThingDefs/Plugs/Items_Plugs_Stony.xml
XML
unknown
2,280
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!--Base--> <rjwex.anal_plug_def Name="WoodyAnalPlugBase" ParentName="AnalPlugBase" Abstract="True"> <techLevel>Neolithic</techLevel> <stuffCategories> <li>Woody</li> </stuffCategories> <costStuffCount>2</costStuffCount> <recipeMaker> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSkill>Crafting</workSkill> <effectWorking>Smith</effectWorking> <soundWorking>Recipe_Machining</soundWorking> <unfinishedThingDef>UnfinishedArmor</unfinishedThingDef> <recipeUsers> <li>CraftingSpot</li> </recipeUsers> </recipeMaker> </rjwex.anal_plug_def> <!--S-size--> <rjwex.anal_plug_def ParentName="WoodyAnalPlugBase"> <defName>WAnalPlugSmall</defName> <label>Small anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Primitive polished anal plug, probably not very healthy for a long term wearing. S-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugSmall</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.1</Mass> </statBases> <costStuffCount>1</costStuffCount> <plug_size>1</plug_size> </rjwex.anal_plug_def> <!--M-size--> <rjwex.anal_plug_def ParentName="WoodyAnalPlugBase"> <defName>WAnalPlugMedium</defName> <label>Medium anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Primitive polished anal plug, probably not very healthy for a long term wearing. M-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugAverage</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.2</Mass> </statBases> <costStuffCount>2</costStuffCount> <plug_size>2</plug_size> </rjwex.anal_plug_def> <!--L-size--> <rjwex.anal_plug_def ParentName="WoodyAnalPlugBase"> <defName>WAnalPlugLarge</defName> <label>Large anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Primitive polished anal plug, probably not very healthy for a long term wearing. L-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugLarge</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.4</Mass> </statBases> <costStuffCount>3</costStuffCount> <plug_size>3</plug_size> </rjwex.anal_plug_def> </Defs>
lucci/rjw
1.1/Defs/ThingDefs/Plugs/Items_Plugs_Woody.xml
XML
unknown
2,363
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!--Base--> <rjwex.anal_plug_def Name="AnalPlugBase" Abstract="True"> <thingClass>rjwex.anal_plug</thingClass> <category>Item</category> <thingCategories> <li>Bondage</li> </thingCategories> <selectable>True</selectable> <pathCost>10</pathCost> <useHitPoints>True</useHitPoints> <graphicData> <onGroundRandomRotateAngle>35</onGroundRandomRotateAngle> </graphicData> <drawGUIOverlay>true</drawGUIOverlay> <statBases> <MaxHitPoints>100</MaxHitPoints> <DeteriorationRate>0</DeteriorationRate> <Beauty>-4</Beauty> <SellPriceFactor>0.80</SellPriceFactor> <Flammability>0.1</Flammability> <WorkToMake>1500</WorkToMake> <Mass>0.5</Mass> </statBases> <altitudeLayer>Item</altitudeLayer> <alwaysHaulable>True</alwaysHaulable> <tickerType>Never</tickerType> <tradeTags> <li>Exotic</li> </tradeTags> <comps> <li Class="CompProperties_Usable"> <compClass>rjw.CompBondageGear</compClass> <useJob>GiveBondageGear</useJob> <useLabel>Equip</useLabel> </li> <li Class="CompProperties_UseEffect"> <compClass>rjw.CompGetBondageGear</compClass> </li> <li Class="CompProperties_Forbiddable" /> <li> <compClass>CompColorable</compClass> </li> <li> <compClass>CompQuality</compClass> </li> </comps> <apparel> <bodyPartGroups> <li>Waist</li> </bodyPartGroups> <layers> <li>OnSkin</li> </layers> </apparel> </rjwex.anal_plug_def> </Defs>
lucci/rjw
1.1/Defs/ThingDefs/Plugs/Items_Plugs_base.xml
XML
unknown
1,510
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThinkTreeDef> <defName>FMTree</defName> <insertTag>Humanlike_PostMentalState</insertTag> <insertPriority>12</insertPriority> <thinkRoot Class="ThinkNode_Priority"> <subNodes> <li Class="rjw.ThinkNode_ConditionalSexChecks"> <subNodes> <li Class="rjwex.ThinkNode_ConditionalCanUseFM"> <subNodes> <li Class="rjwex.ThinkNode_ChancePerHour_UsingFM"> <subNodes> <li Class="rjwex.JobGiver_UseFM"/> </subNodes> </li> </subNodes> </li> </subNodes> </li> </subNodes> </thinkRoot> </ThinkTreeDef> </Defs>
lucci/rjw
1.1/Defs/ThinkTreeDefs/ThinkTrees_FMachines.xml
XML
unknown
648
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThoughtDef> <defName>Pluged</defName> <workerClass>rjwex.ThoughtWorker_Plugged</workerClass> <validWhileDespawned>true</validWhileDespawned> <nullifyingTraits> <li>Masochist</li> <li>Nymphomaniac</li> </nullifyingTraits> <stages> <li> <label>Plugged loosely</label> <description>Sometimes I just forget about this thing in my butt.</description> <baseMoodEffect>0</baseMoodEffect> </li> <li> <label>Plugged</label> <description>This plug fits so well, I can wear it all day long.</description> <baseMoodEffect>3</baseMoodEffect> </li> <li> <label>Plugged tightly</label> <description>This plug keeps my butthole in constant tension. Exciting, but rather uncomfortable.</description> <baseMoodEffect>2</baseMoodEffect> </li> <li> <label>Plugged very tight</label> <description>This thing is very disturbing, I want to take it out.</description> <baseMoodEffect>-2</baseMoodEffect> </li> <li> <label>Plugged cracking tight</label> <description>My butt is at the limit, I barely can walk.</description> <baseMoodEffect>-5</baseMoodEffect> </li> </stages> </ThoughtDef> <ThoughtDef> <defName>MasochistPluged</defName> <workerClass>rjwex.ThoughtWorker_Plugged</workerClass> <validWhileDespawned>true</validWhileDespawned> <requiredTraits> <li>Masochist</li> <li>Nymphomaniac</li> </requiredTraits> <stages> <li> <label>Plugged loosely</label> <description>Sometimes I just forget about this thing in my butt.</description> <baseMoodEffect>0</baseMoodEffect> </li> <li> <label>Plugged</label> <description>This plug fits so well, I can wear it all day long.</description> <baseMoodEffect>3</baseMoodEffect> </li> <li> <label>Plugged tightly</label> <description>This plug keeps my butthole in constant tension. It's so exciting.</description> <baseMoodEffect>5</baseMoodEffect> </li> <li> <label>Plugged very tight</label> <description>This plug in my butt constantly reminds of itself. Trying to sit with it is so arousing.</description> <baseMoodEffect>8</baseMoodEffect> </li> <li> <label>Plugged cracking tight</label> <description>My butt is stretched to the limit, and I can't think of anything else.</description> <baseMoodEffect>10</baseMoodEffect> </li> </stages> </ThoughtDef> </Defs>
lucci/rjw
1.1/Defs/ThoughtDefs/Thoughts_Plugged.xml
XML
unknown
2,465
<?xml version="1.0" encoding="utf-8" ?> <Defs> <WorkGiverDef> <defName>WG_UseFM</defName> <label>Riding' fuck machine</label> <giverClass>rjwex.WorkGiver_UseFM</giverClass> <workType>BasicWorker</workType> <verb>use</verb> <gerund>using</gerund> <scanThings>false</scanThings> <scanCells>false</scanCells> <priorityInType>10</priorityInType> <!--requiredCapacities> <li>Manipulation</li> </requiredCapacities--> </WorkGiverDef> </Defs>
lucci/rjw
1.1/Defs/WorkGiverDefs/WorkGivers_FuckMachines.xml
XML
unknown
466
<?xml version="1.0" encoding="utf-8"?> <Patch> <Operation Class="PatchOperationFindMod"> <mods> <li>[NL] Facial Animation - WIP</li> </mods> <match Class="PatchOperationSequence"> <success>Always</success> <operations> <li Class="PatchOperationAdd"> <xpath>/Defs/FacialAnimation.FaceAnimationDef[defName="Lovin" or defName="Lovin2"]/targetJobs</xpath> <success>Always</success> <value> <li>UseFM</li> </value> </li> </operations> </match> </Operation> </Patch>
lucci/rjw
1.1/Patches/FacialAnimation_RJW-EXcompatibility.xml
XML
unknown
516
<?xml version="1.0" encoding="utf-8" ?> <Patch> <!--Experimantal Sexuality Tab--> <!-- <Operation Class="PatchOperationAdd"> <xpath>Defs/ThingDef[@Name="BasePawn"]/inspectorTabs</xpath> <value> <li>rjwex.ITab_Pawn_Sexuality</li> </value> </Operation> --> </Patch>
lucci/rjw
1.1/Patches/Things_Patches.xml
XML
unknown
277
root=true [*.{cs,xml}] indent_style = tab
lucci/rjw
1.1/Source/.editorconfig
none
unknown
43
## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. ## ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore # User-specific files *.rsuser *.suo *.user *.userosscache *.sln.docstates # User-specific files (MonoDevelop/Xamarin Studio) *.userprefs # Build results [Dd]ebug/ [Dd]ebugPublic/ [Rr]elease/ [Rr]eleases/ x64/ x86/ [Aa][Rr][Mm]/ [Aa][Rr][Mm]64/ bld/ [Bb]in/ [Oo]bj/ [Ll]og/ # Visual Studio 2015/2017 cache/options directory .vs/ # Uncomment if you have tasks that create the project's static files in wwwroot #wwwroot/ # Visual Studio 2017 auto generated files Generated\ Files/ # 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 # Benchmark Results BenchmarkDotNet.Artifacts/ # .NET Core project.lock.json project.fragment.lock.json artifacts/ # StyleCop StyleCopReport.xml # Files built by Visual Studio *_i.c *_p.c *_h.h *.ilk *.meta *.obj *.iobj *.pch *.pdb *.ipdb *.pgc *.pgd *.rsp *.sbr *.tlb *.tli *.tlh *.tmp *.tmp_proj *_wpftmp.csproj *.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 # Visual Studio Trace Files *.e2e # 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 # AxoCover is a Code Coverage Tool .axoCover/* !.axoCover/settings.json # Visual Studio code coverage results *.coverage *.coveragexml # 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 # Note: 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 **/[Pp]ackages/* # except build/, which is used as an MSBuild target. !**/[Pp]ackages/build/ # Uncomment if necessary however generally it will be regenerated when needed #!**/[Pp]ackages/repositories.config # NuGet v3's project.json files produces more ignorable 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 *.appx # 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 orleans.codegen.cs # Including strong name files can present a security risk # (https://github.com/github/gitignore/pull/2483#issue-259490424) #*.snk # 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 ServiceFabricBackup/ *.rptproj.bak # SQL Server files *.mdf *.ldf *.ndf # Business Intelligence projects *.rdl.data *.bim.layout *.bim_*.settings *.rptproj.rsuser *- Backup*.rdl # Microsoft Fakes FakesAssemblies/ # GhostDoc plugin setting file *.GhostDoc.xml # Node.js Tools for Visual Studio .ntvs_analysis.dat node_modules/ # Visual Studio 6 build log *.plg # Visual Studio 6 workspace options file *.opt # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) *.vbw # 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 personal settings .cr/personal # Python Tools for Visual Studio (PTVS) __pycache__/ *.pyc # Cake - Uncomment if you are using it # tools/** # !tools/packages.config # Tabs Studio *.tss # Telerik's JustMock configuration file *.jmconfig # BizTalk build output *.btp.cs *.btm.cs *.odx.cs *.xsd.cs # OpenCover UI analysis results OpenCover/ # Azure Stream Analytics local run output ASALocalRun/ # MSBuild Binary and Structured Log *.binlog # NVidia Nsight GPU debugger configuration file *.nvuser # MFractors (Xamarin productivity tool) working folder .mfractor/ # Local History for Visual Studio .localhistory/ # BeatPulse healthcheck temp database healthchecksdb
lucci/rjw
1.1/Source/.gitignore
Git
unknown
5,745
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("RimJobWorldExtension")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RimJobWorldExtension")] [assembly: AssemblyCopyright("Copyright © 2019")] [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("a35ee8e8-b802-45ba-8526-16ea37856a86")] // 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")]
lucci/rjw
1.1/Source/0trash/Properties/AssemblyInfo.cs
C#
unknown
1,411
<?xml version="1.0" encoding="utf-8"?> <packages> <package id="Lib.Harmony" version="2.0.0.10" targetFramework="net472" /> <package id="RimWorld.MultiplayerAPI" version="0.2.0" targetFramework="net472" /> <package id="UnlimitedHugs.Rimworld.HugsLib" version="7.1.4" targetFramework="net472" /> </packages>
lucci/rjw
1.1/Source/0trash/packages.config
INI
unknown
314
using RimWorld; using RimWorld.Planet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Verse; using Verse.AI; namespace rjwex { public class Building_FuckMachine_Def : ThingDef { public bool forced = false; public bool automatic = false; public bool vertical = true; public float quality = 1; public bool powered = false; public float height = 0.12f; public float amplitude = 0.08f; public JobDriver_UseFM.Modes mode; } public class Building_FuckMachine : Building { public bool Private = false; public string lastRideInfo = ""; public string currentRideInfo = ""; public List<Pawn> owners { get { if (this.Private) { Room room = this.GetRoom(RegionType.Set_Passable); if (room != null) { return room.Owners.ToList<Pawn>(); } } return new List<Pawn>(); } } public bool IsOwner(Pawn pawn) { return this.owners.Contains(pawn); } public bool CanUse(Pawn pawn) { CompPowerTrader compPower = this.TryGetComp<CompPowerTrader>(); if (compPower != null && !compPower.PowerOn) { return false; } return (this.owners.Contains(pawn) || (this.owners.Count == 0 && !this.Private)); } public override void ExposeData() { base.ExposeData(); Scribe_Values.Look<bool>(ref this.Private, "Private", false, false); Scribe_Values.Look<string>(ref this.lastRideInfo, "lastRideInfo", "", false); Scribe_Values.Look<string>(ref this.currentRideInfo, "currentRideInfo", "", false); } public override void SpawnSetup(Map map, bool respawningAfterLoad) { base.SpawnSetup(map, respawningAfterLoad); FMHelper.Register(this); } public override string GetInspectString() { //TODO status display, mode, progress, etc StringBuilder stringBuilder = new StringBuilder(); stringBuilder.Append(base.GetInspectString()); if (stringBuilder.Length > 0) stringBuilder.AppendLine(); stringBuilder.Append("Access: " + (this.Private ? "Private" : "Public")); stringBuilder.AppendLine(); if (this.Private && this.owners.Count == 0) { stringBuilder.AppendLine("Owner".Translate() + ": " + "Nobody".Translate()); } else if (this.Private && this.owners.Count == 1) { stringBuilder.AppendLine("Owner".Translate() + ": " + this.owners[0].Label); } else if (this.Private) { stringBuilder.Append("Owners".Translate() + ": "); bool flag = false; for (int i = 0; i < this.owners.Count; i++) { if (flag) { stringBuilder.Append(", "); } flag = true; stringBuilder.Append(this.owners[i].LabelShort); } stringBuilder.AppendLine(); } if (!lastRideInfo.NullOrEmpty()) { stringBuilder.Append(lastRideInfo); stringBuilder.AppendLine(); } else if (!currentRideInfo.NullOrEmpty()) { stringBuilder.Append(currentRideInfo); stringBuilder.AppendLine(); } return stringBuilder.ToString().TrimEndNewlines(); } public JobDef GetJobDef() { return DefDatabase<JobDef>.GetNamed("UseFM", true); } // TODO RMB menu? public override IEnumerable<FloatMenuOption> GetFloatMenuOptions(Pawn selPawn) { if (selPawn.Faction == Faction.OfPlayer) { foreach (FloatMenuOption floatMenuOption in base.GetFloatMenuOptions(selPawn)) { FloatMenuOption fmo = floatMenuOption; yield return fmo; fmo = null; } if (!selPawn.CanReserve(this, 1, -1, null, false)) yield return new FloatMenuOption("Reserved", null, MenuOptionPriority.Default, null, null, 0.0f, null, null); else if (!selPawn.CanReach(this, PathEndMode.InteractionCell, Danger.Deadly, false, TraverseMode.ByPawn)) { yield return new FloatMenuOption("No path", null, MenuOptionPriority.Default, null, null, 0.0f, null, null); } else if (!this.CanUse(selPawn)) { yield return new FloatMenuOption("Can't use this", null, MenuOptionPriority.Default, null, null, 0.0f, null, null); } else { Action UseThisFM = (() => { selPawn.drafter.Drafted = false; Job job = new Job(this.GetJobDef(), this); if (job == null) return; selPawn.jobs.TryTakeOrderedJob(job, JobTag.SatisfyingNeeds); }); yield return new FloatMenuOption("Use this machine", UseThisFM); } } } } } //template for vanilla ownership system /* :IAssignableBuilding public List<Pawn> owners = new List<Pawn>(); public bool Unowned { get { return owners.Count <= 0; } } public IEnumerable<Pawn> AssigningCandidates { get { if (!Spawned) { return Enumerable.Empty<Pawn>(); } return Map.mapPawns.FreeColonists; } } public IEnumerable<Pawn> AssignedPawns { get { return owners; } } public int MaxAssignedPawnsCount { get { return 5; } } private int OwnerInspectCount { get { if (owners.Count > 3) { return 3; } return owners.Count; } } private bool PlayerCanSeeOwners { get { if (Faction == Faction.OfPlayer) { return true; } for (int i = 0; i < this.owners.Count; i++) { if (owners[i].Faction == Faction.OfPlayer || owners[i].HostFaction == Faction.OfPlayer) { return true; } } return false; } } public void TryAssignPawn(Pawn pawn) { if (!owners.Contains(pawn)) { owners.Add(pawn); } } public void TryUnassignPawn(Pawn pawn) { if (owners.Contains(pawn)) { owners.Remove(pawn); } } public override void DeSpawn() { RemoveAllOwners(); base.DeSpawn(); } public override void ExposeData() { base.ExposeData(); if (Scribe.mode == LoadSaveMode.Saving) { owners.RemoveAll((Pawn x) => x.Destroyed); } Scribe_Collections.Look(ref owners, "owners", LookMode.Reference); if (Scribe.mode == LoadSaveMode.PostLoadInit) { SortOwners(); } } public override IEnumerable<Gizmo> GetGizmos() { foreach (Gizmo g in base.GetGizmos()) { yield return g; } yield return new Command_Action { defaultLabel = "CommandBedSetOwnerLabel".Translate(), icon = ContentFinder<Texture2D>.Get("UI/Commands/AssignOwner", true), defaultDesc = Static.CommandDesc_SetArcadeOwner, action = delegate { Find.WindowStack.Add(new Dialog_AssignBuildingOwner(this)); }, hotKey = KeyBindingDefOf.Misc3 }; } public override string GetInspectString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.Append(base.GetInspectString()); stringBuilder.AppendLine(); if (PlayerCanSeeOwners) { stringBuilder.AppendLine("ForColonistUse".Translate()); if (owners.Count == 0) { stringBuilder.AppendLine("Owner".Translate() + ": " + "Nobody".Translate().ToLower()); } else if (owners.Count == 1) { stringBuilder.AppendLine("Owner".Translate() + ": " + owners[0].Label); } else { stringBuilder.Append("Owners".Translate() + ": "); bool conjugate = false; for (int i = 0; i < OwnerInspectCount; i++) { if (conjugate) { stringBuilder.Append(", "); } conjugate = true; stringBuilder.Append(owners[i].LabelShort); } if (owners.Count > 3) { stringBuilder.Append($" (+ {owners.Count - 3})"); } stringBuilder.AppendLine(); } } return stringBuilder.ToString().TrimEndNewlines(); } public void SortOwners() { owners.SortBy((Pawn x) => x.thingIDNumber); } private void RemoveAllOwners() { owners.Clear(); } */
lucci/rjw
1.1/Source/FuckMachines/Building_FuckMachine.cs
C#
unknown
7,332
using RimWorld; using rjw; using System; using System.Collections.Generic; using System.Linq; using Verse; using Verse.AI; namespace rjwex { public static class FMHelper { public static List<ThingDef> registeredDefs = new List<ThingDef>(); public static IEnumerable<Thing> ContainedFMs(this Room room) { List<Thing> things = room.ContainedAndAdjacentThings; for (int i = 0; i < things.Count; i++) { if (things[i] is Building_FuckMachine fm) { yield return (Thing)fm; } } } public static IEnumerable<Thing> GetOwnedFMs(this Pawn pawn) { Room room = pawn.GetRoom(); if (room != null) { return room.ContainedFMs(); } return null; } public static void Register(Building_FuckMachine fm) { ThingDef reg = fm.def; if (!registeredDefs.Contains(reg)) { registeredDefs.Add(reg); } } public static List<Thing> GetFMs(Map map) { List<Thing> FMList = new List<Thing>(); foreach (Building_FuckMachine_Def def in registeredDefs) { FMList.AddRange(map.listerThings.ThingsOfDef(def).AsEnumerable()); } if (FMList.Count > 0) return FMList; return null; } public static Building_FuckMachine GetFMForPawn(Pawn pawn) { List<Thing> FMList = GetFMs(pawn.Map); if (FMList == null) return null; bool validator(Thing t) { if (!(t as Building_FuckMachine).CanUse(pawn)) return false; if (!pawn.CanReserve(t, 1, -1, null, false) || t.IsForbidden(pawn) || !t.IsSociallyProper(pawn)) return false; CompPowerTrader comp = t.TryGetComp<CompPowerTrader>(); return (comp == null || comp.PowerOn); } Func<Thing, float> priorityGetter = (t => { float p = 1f; p *= (t.def as Building_FuckMachine_Def).quality; if ((t as Building_FuckMachine).IsOwner(pawn)) p *= 1.15f; if (xxx.is_masochist(pawn) && (t.def as Building_FuckMachine_Def).forced) p *= 1.5f; return p; }); return (Building_FuckMachine)GenClosest.ClosestThing_Global_Reachable(pawn.Position, pawn.Map, FMList, PathEndMode.OnCell, TraverseParms.For(pawn, Danger.Some, TraverseMode.ByPawn, false), 300f, validator, priorityGetter); } } }
lucci/rjw
1.1/Source/FuckMachines/FMHelper.cs
C#
unknown
2,207
using System.Collections.Generic; using RimWorld; using Verse; using Verse.AI; using rjw; using HarmonyLib; using UnityEngine; using Verse.Sound; using System; using Multiplayer.API; namespace rjwex { public class JobDriver_UseFM : JobDriverWithOffsets { //consts private const int ticks_maximum = 15000; //6 in-game hours hard max time private const int ticks_minimum = 416; //10 in-game minutes private const int tickerFrequency = 60; //calculations once per second private const float min_rest_when_free = 0.2f; //cease session if rest below this and not restrained private const float RestFallTick = 1.0f / (2500 * 2); //rest need 1to0 in 2 hours (with mult=1) private const float SexTick = 1.0f / 2500; //sex need 0to1 in 1 hour (with mult=1) private readonly TargetIndex iFM = TargetIndex.A; private Building_FuckMachine FM => (Building_FuckMachine)job.GetTarget(iFM); //machine reference //exposable, set on mode selection with random private int ticks_duration = 7500; //program duration, main time limit, may be extended by program private int ticks_elapsed = 0; //main time counter private Modes CurrentMode = Modes.Normal; //selected mode. Normal for all non-automated machines. TODO manual selector private int ticks_between_hearts = 60; //heart mote frequency private int ticks_between_thrusts = 60; //thrust animation mote frequency private float RestFallMult = 1; //multipliers for needs gain/decay private float SexMult = 1; private float JoyMult = 1; private float totalRestFall = 0f; //counters for stats info private float totalSexSat = 0f; private float totalJoy = 0f; //set on init, no random public float height = 0f; public float amplitude = 0f; public float quality = 1; public bool forced = false; public bool auto = false; private bool vertical = true; private bool powered = false; Need_Rest need_rest; Need_Sex need_sex; Need_Joy need_joy; private JitterHandler jitterer; private Func<bool> statsTicker; private Dictionary<Modes, Func<bool>> tickersDict; //======================= private float restFall; private float sexSat; private float joy; public enum Modes { Normal, // balanced for 0.5-1.5 in-game hours, rest to sex conversion factored by quality Long, // slower pace, same exhaustion but longer time (1-3 hours), more pleasure for longer session Intensive, // faster (0.25-0.75 hour), significant exhaustion, lots of pleasure Maxpleasure,// raising sex need to max at fastest rate, even for hompshroom adiicted, moderate exhaustion Tease, // time from short to long (0.5-2 hours), pawn left at horny threshhold (0.25 by rjw default), gains joy from session Exhaust // moderate pleasure gain, lasts down to 0% rest need, but 2-3 hours minimum, capped at 6 hours }; private void init(bool loadingSave = false) { tickersDict = new Dictionary<Modes, Func<bool>>() { {Modes.Normal,(() =>//default ticker { restFall = RestFallTick * RestFallMult * tickerFrequency; sexSat = SexTick * SexMult * tickerFrequency; joy = (Mathf.Max(sexSat - restFall, 0f) + (sexSat / 4)); // (sex - exhaustion or 0 if negative +1/4 sex) TODO better joy calc if (need_rest!=null) need_rest.CurLevel -= restFall; if (need_sex!=null) need_sex.CurLevel += sexSat; if (need_joy!=null) need_joy.CurLevel += joy; totalRestFall += restFall; totalSexSat += sexSat; totalJoy += joy; /* TODO quirk checks string pawn_quirks = CompRJW.Comp(pawn).quirks.ToString(); if (pawn_quirks.Contains("Endytophile")) { if (pawn.apparel.PsychologicallyNude) } if (pawn_quirks.Contains("Exhibitionist")) { if (xxx.is_zoophile(pawn)) { if (pawn.Map.mapPawns.AllPawnsSpawned.Any(x => x != pawn && !x.Dead && x.CanSee(pawn))) satisfaction *= 1.4f; } else { if (pawn.Map.mapPawns.AllPawnsSpawned.Any(x => x != pawn && !x.Dead && x.CanSee(pawn) && !xxx.is_animal(x))) satisfaction *= 1.4f; } }*/ return true; }) }, {Modes.Tease,(() =>// custom ticker to cap sex need at threshhold { restFall = RestFallTick * RestFallMult * tickerFrequency; sexSat = SexTick * SexMult * tickerFrequency; joy = (Mathf.Max((SexTick * tickerFrequency) - restFall, 0f) + ((SexTick * tickerFrequency) / 4)); //joy fixed by basic sexTick; 3/4hrs 0to1 minus restFall if (need_rest!=null) need_rest.CurLevel -= restFall; if (need_sex!=null) need_sex.CurLevel += sexSat; if (need_joy!=null) need_joy.CurLevel += joy; if (Math.Abs(need_sex.CurLevel - need_sex.thresh_horny()) < sexSat * 2) need_sex.CurLevel = need_sex.thresh_horny(); // cap at horny, not count to total else totalSexSat += sexSat; totalRestFall += restFall; totalJoy += joy; return true; }) }, {Modes.Exhaust,(() =>// custom ticker to to achieve 0 rest if still above after duration, no cap, capped by ticks_maximum check { restFall = RestFallTick * RestFallMult * tickerFrequency; sexSat = SexTick * SexMult * tickerFrequency; joy = (Mathf.Max(sexSat - restFall, 0f) + (sexSat / 4)); if (need_rest!=null) need_rest.CurLevel -= restFall; if (need_sex!=null) need_sex.CurLevel += sexSat; if (need_joy!=null) need_joy.CurLevel += joy; if (ticks_elapsed - ticks_duration < tickerFrequency * 3) ticks_duration += tickerFrequency; totalSexSat += sexSat; totalRestFall += restFall; totalJoy += joy; return true; }) } }; //init vertical = (FM.def as Building_FuckMachine_Def).vertical; powered = (FM.def as Building_FuckMachine_Def).powered; quality = (FM.def as Building_FuckMachine_Def).quality; forced = (FM.def as Building_FuckMachine_Def).forced; auto = (FM.def as Building_FuckMachine_Def).automatic; height = (FM.def as Building_FuckMachine_Def).height; amplitude = (FM.def as Building_FuckMachine_Def).amplitude; need_rest = pawn.needs.TryGetNeed<Need_Rest>(); need_sex = pawn.needs.TryGetNeed<Need_Sex>(); need_joy = pawn.needs.TryGetNeed<Need_Joy>(); this.FailOnDespawnedOrNull(iFM); if (!forced) { this.FailOn(() => pawn.Drafted); this.FailOn(() => pawn.IsFighting()); } //jitterer = Traverse.Create(pawn.Drawer).Field("jitterer").GetValue<JitterHandler>(); jitterer = (AccessTools.Field(typeof(Pawn_DrawTracker), "jitterer")).GetValue(pawn.Drawer) as JitterHandler; if (!loadingSave) { SetMode(); } if (tickersDict.ContainsKey(CurrentMode)) statsTicker = tickersDict[CurrentMode]; else statsTicker = tickersDict[Modes.Normal]; } public override bool TryMakePreToilReservations(bool errorOnFailed) { return pawn.Reserve(FM, job, 1, -1, null, errorOnFailed); } protected override IEnumerable<Toil> MakeNewToils() { init(); Toil riding = new Toil(); riding.tickAction = FMTick; riding.initAction = delegate { drawOffset.z = height; pawn.Rotation = FM.Rotation; if (!xxx.has_quirk(pawn, "Endytophile")) xxxEx.DrawNudeWithBondage(pawn); FM.lastRideInfo = ""; FM.currentRideInfo = ""; }; riding.AddFinishAction(delegate { pawn.Drawer.renderer.graphics.ResolveApparelGraphics(); drawOffset.z = 0f; FM.currentRideInfo = ""; FM.lastRideInfo = "Used by " + GetInfoString(); //private SexUtility.IncreaseTicksToNextLovin(pawn); if (pawn == null || pawn.Dead) return; int currentTime = Find.TickManager.TicksGame; if (pawn.mindState.canLovinTick <= currentTime) pawn.mindState.canLovinTick = currentTime + SexUtility.GenerateMinTicksToNextLovin(pawn); //============== SexUtility.CumFilthGenerator(pawn); if (SexUtility.ConsiderCleaning(pawn)) { LocalTargetInfo own_cum = pawn.PositionHeld.GetFirstThing<Filth>(pawn.Map); Job clean = new Job(JobDefOf.Clean); clean.AddQueuedTarget(TargetIndex.A, own_cum); pawn.jobs.jobQueue.EnqueueFirst(clean); } }); riding.defaultCompleteMode = ToilCompleteMode.Never; riding.socialMode = RandomSocialMode.Off; riding.handlingFacing = true; yield return Toils_Goto.GotoThing(iFM, PathEndMode.OnCell); yield return riding; } public void FMTick() { if (!xxx.has_quirk(pawn, "Endytophile")) xxxEx.DrawNudeWithBondage(pawn); drawOffset.z = height; if (pawn.IsHashIntervalTick(ticks_between_hearts)) // <3 mote { MoteMaker.ThrowMetaIcon(pawn.Position, pawn.Map, ThingDefOf.Mote_Heart); } if (pawn.IsHashIntervalTick(ticks_between_thrusts)) // thrust animation/sounds { jitterer.AddOffset(amplitude, vertical ? 0f : FM.Rotation.AsAngle); if (RJWSettings.sounds_enabled) { if (powered) SoundDef.Named("FMThrust").PlayOneShot(new TargetInfo(pawn.Position, pawn.Map)); else SoundDef.Named("Sex").PlayOneShot(new TargetInfo(pawn.Position, pawn.Map)); } } if (pawn.IsHashIntervalTick(tickerFrequency)) // stats changes/end conditions { statsTicker(); FM.currentRideInfo = "In use by " + GetInfoString(); } ticks_elapsed++; //End conditions if (ticks_elapsed > ticks_minimum) //hard min check { if (ticks_elapsed > ticks_maximum) //hard max check stopSession(); //stop by max possible time if (!auto) { if (forced && ticks_elapsed >= ticks_duration && (need_sex.CurLevel >= need_sex.thresh_ahegao() || need_rest.CurLevel <= min_rest_when_free)) // restrained, release by timer, may continue stopSession(); //stop if released and satisfied or exhausted else if (!forced && (need_sex.CurLevel >= need_sex.thresh_ahegao() || need_rest.CurLevel <= min_rest_when_free)) // not restrained, normal mode stopSession(); //stop any time if satisfied or exhausted } else { if (!forced && (need_sex.CurLevel >= need_sex.thresh_ahegao() || need_rest.CurLevel <= min_rest_when_free || ticks_elapsed >= ticks_duration)) // not restrained, auto mode stopSession(); //stop any time if satisfied or exhausted or if program completed else if (forced && ticks_elapsed >= ticks_duration) // restrained, auto, release and cease by timer stopSession(); //stop if program completed } } } private void stopSession() { ReadyForNextToil(); } [SyncMethod] public void SetMode() { if (auto) { //TODO better mode selection float chance = Rand.Value; if (chance < 0.02) CurrentMode = Modes.Exhaust; else if (chance < 0.05) CurrentMode = Modes.Tease; else if (chance < 0.10) CurrentMode = Modes.Maxpleasure; else if (chance < 0.20) CurrentMode = Modes.Long; else if (chance < 0.50) CurrentMode = Modes.Intensive; else CurrentMode = Modes.Normal; } else { CurrentMode = Modes.Normal; //TODO manual selector } /* Normal, // balanced for 0.5-1.5 in-game hours, rest to sex conversion factored by quality Long, // slower pace, same exhaustion but longer time (1-3 hours), more pleasure for longer session Intensive, // faster (0.25-0.75 hour), significant exhaustion, lots of pleasure Maxpleasure,// raising sex need to max in 20 minutes, even for humpshroom adiicted, moderate exhaustion Tease, // time from short to long (0.5-2.5 hours), pawn left at horny threshhold (0.25 by rjw default), but gains joy from session, moderate exhaustion Exhaust // moderate pleasure gain, lasts down to 0% rest need, but 2-3 hours minimum, capped at 6 hours by ticks_maximum */ if (CurrentMode == Modes.Normal) { ticks_duration = (int)Math.Round(Rand.Range(0.5f, 1.5f) * 2500); ticks_between_thrusts = Rand.RangeInclusive(60, 90); ticks_between_hearts = ticks_between_thrusts; RestFallMult /= quality; SexMult *= quality; } else if (CurrentMode == Modes.Long) { ticks_duration = (int)Math.Round(Rand.Range(1f, 3f) * 2500); ticks_between_thrusts = Rand.RangeInclusive(90, 120); ticks_between_hearts = 60; RestFallMult /= (quality * 2); //less exhaustion for slower pace SexMult *= quality; //normal/2 speed, *2 sex, same exhaustion } else if (CurrentMode == Modes.Intensive) { ticks_duration = (int)Math.Round(Rand.Range(0.25f, 0.75f) * 2500); ticks_between_thrusts = 60; ticks_between_hearts = 40; RestFallMult /= (quality / 2); SexMult *= (quality * 2); //normal*2 sex, exhaustion, speed } else if (CurrentMode == Modes.Maxpleasure) { ticks_duration = (int)Math.Round(0.33f * 2500); // ~20 minutes ticks_between_thrusts = 60; ticks_between_hearts = 40; RestFallMult /= (quality / 3); // normal 1hr exhaustion SexMult = 3; // 20 minutes from 0 to max sex need } else if (CurrentMode == Modes.Tease) { ticks_duration = (int)Math.Round(Rand.Range(0.5f, 2.5f) * 2500); ticks_between_thrusts = Rand.RangeInclusive(60, 90); ; ticks_between_hearts = 60; RestFallMult /= (quality * (float)(ticks_duration / 2500)); //adjusted by time SexMult = need_sex.thresh_horny() - need_sex.CurLevel; } else if (CurrentMode == Modes.Exhaust) { ticks_duration = (int)Math.Round(Rand.Range(2f, 3f) * 2500); ticks_between_thrusts = Rand.RangeInclusive(60, 90); ticks_between_hearts = 60; RestFallMult = 1f; //1to0 in 2 hours, will be affected by Vigorous quirk (/2) SexMult *= quality;// default, 0to1 in 1hr factored by quality } // basic quirks handling if (CurrentMode != Modes.Maxpleasure) { if (pawn.health.hediffSet.HasHediff(HediffDef.Named("HumpShroomAddiction")) && !pawn.health.hediffSet.HasHediff(HediffDef.Named("HumpShroomEffect"))) SexMult = 0.1f; } if (xxx.has_quirk(pawn, "Vigorous")) RestFallMult *= 0.5f; } public override void ExposeData() { base.ExposeData(); Scribe_Values.Look<int>(ref this.ticks_between_hearts, "ticks_between_hearts", 60, false); Scribe_Values.Look<int>(ref this.ticks_between_thrusts, "ticks_between_thrusts", 60, false); Scribe_Values.Look<int>(ref this.ticks_duration, "ticks_duration", 7500, false); Scribe_Values.Look<int>(ref this.ticks_elapsed, "ticks_elapsed", 0, false); Scribe_Values.Look<Modes>(ref this.CurrentMode, "CurrentMode", Modes.Normal, false); Scribe_Values.Look<float>(ref this.totalRestFall, "totalRestFall", 0f, false); Scribe_Values.Look<float>(ref this.totalSexSat, "totalSexSat", 0f, false); Scribe_Values.Look<float>(ref this.totalJoy, "totalJoy", 0f, false); Scribe_Values.Look<float>(ref this.RestFallMult, "RestFallMult", 1, false); Scribe_Values.Look<float>(ref this.SexMult, "SexMult", 1, false); Scribe_Values.Look<float>(ref this.JoyMult, "JoyMult", 1, false); if (Scribe.mode == LoadSaveMode.PostLoadInit) { this.init(true); } } private string GetInfoString() { return xxx.get_pawnname(pawn) + " for " + new DateTime().AddMinutes((double)ticks_elapsed / 2500 * 60).ToString(@"HH\:mm\:ss") + (!auto ? "" : Environment.NewLine + "Mode: " + CurrentMode.ToString()) + (!rjw.RJWSettings.DevMode ? "" : Environment.NewLine + "Gained: " + totalSexSat + " sex, " + totalRestFall + " exh, " + totalJoy + " joy"); } } }
lucci/rjw
1.1/Source/FuckMachines/JobDriver_UseFM.cs
C#
unknown
15,734
using Verse; using Verse.AI; using RimWorld; using rjw; using Multiplayer.API; namespace rjwex { public class JobGiver_UseFM : ThinkNode_JobGiver { protected override Job TryGiveJob(Pawn pawn) { return this.TryGiveJob(pawn, (Building_FuckMachine)null); } [SyncMethod] public Job TryGiveJob(Pawn pawn, Building_FuckMachine fm) { if (pawn.Drafted) return null; if (!RJWSettings.WildMode) { if (!xxx.is_healthy(pawn) || (!SexUtility.ReadyForLovin(pawn) && !xxx.is_frustrated(pawn))) return null; } if (!(pawn.jobs.curJob == null || pawn.jobs.curJob.def == JobDefOf.LayDown)) return null; if (!(pawn.Faction?.IsPlayer ?? false) && !pawn.IsPrisonerOfColony) return null; if (!(Genital_Helper.has_vagina(pawn) && !Genital_Helper.genitals_blocked(pawn)) && !(Genital_Helper.has_anus(pawn) && !Genital_Helper.anus_blocked(pawn))) return null; if (pawn.gender == Gender.Male) { Orientation ori = CompRJW.Comp(pawn).orientation; if (ori == Orientation.Asexual) return null; switch (ori) { case Orientation.Heterosexual: if (Rand.Chance(0.97f)) return null; break; case Orientation.MostlyHeterosexual: if (Rand.Chance(0.85f)) return null; break; case Orientation.LeaningHeterosexual: if (Rand.Chance(0.65f)) return null; break; case Orientation.LeaningHomosexual: if (Rand.Chance(0.35f)) return null; break; case Orientation.MostlyHomosexual: if (Rand.Chance(0.15f)) return null; break; case Orientation.Homosexual: break; } } Building_FuckMachine bestFM = (Building_FuckMachine)null; if (fm != null) { bestFM = fm; } if (fm == null) { bestFM = FMHelper.GetFMForPawn(pawn); } if (bestFM != null) { return new Job(DefDatabase<JobDef>.GetNamed("UseFM"), bestFM); } return (Job)null; } } }
lucci/rjw
1.1/Source/FuckMachines/JobGiver_UseFM.cs
C#
unknown
1,915
using RimWorld; using System.Collections.Generic; using System.Diagnostics; using UnityEngine; using Verse; using Multiplayer.API; namespace rjwex { public class PublicPrivateComp : ThingComp { public bool Private { get { return (this.parent as Building_FuckMachine).Private; } set { if (value == (this.parent as Building_FuckMachine).Private) { return; } (this.parent as Building_FuckMachine).Private = value; } } /* public override void PostExposeData() { Scribe_Values.Look<bool>(ref this.privateInt, "private", false, false); } */ [DebuggerHidden] public override IEnumerable<Gizmo> CompGetGizmosExtra() { foreach (Gizmo c in base.CompGetGizmosExtra()) { yield return c; } if (!(this.parent is Building_FuckMachine) || this.parent.Faction == Faction.OfPlayer) { Command_Action com = new Command_Action(); com.defaultLabel = "Switch"; if ((this.parent as Building_FuckMachine).Private) { com.defaultDesc = "Change to Public"; com.icon = ContentFinder<Texture2D>.Get("UI/private", true); } else { com.defaultDesc = "Change to Private"; com.icon = ContentFinder<Texture2D>.Get("UI/public", true); } com.action = delegate { ChangeMode(); }; yield return com; } } [SyncMethod] public void ChangeMode() { //Log.Message("Submit button is pressed for " + pawn); this.Private = !this.Private; } } public class CompProperties_PublicPrivateComp : CompProperties { public CompProperties_PublicPrivateComp() { compClass = typeof(PublicPrivateComp); } } }
lucci/rjw
1.1/Source/FuckMachines/PublicPrivateComp.cs
C#
unknown
1,653
using RimWorld; using Verse; namespace rjwex { public class RecordWorker_TimeOnFuckMachine : RecordWorker { public override bool ShouldMeasureTimeNow(Pawn pawn) { return pawn.health.hediffSet.HasHediff(HediffDef.Named("Plugged")); } } }
lucci/rjw
1.1/Source/FuckMachines/RecordWorker_TimeOnFuckMachine.cs
C#
unknown
253
using rjw; using System.Linq; using Verse; using Verse.AI; namespace rjwex { class ThinkNode_ChancePerHour_UsingFM : ThinkNode_ChancePerHour { public static float get_fappin_mtb_hours(Pawn p) { if (DebugSettings.alwaysDoLovin) return 0.1f; return (xxx.is_nympho(p) ? 0.5f : 1.0f) * rjw_CORE_EXPOSED.LovePartnerRelationUtility.LovinMtbSinglePawnFactor(p); //todo look into this } protected override float MtbHours(Pawn p) { if (xxx.is_animal(p)) return -1.0f; bool is_horny = xxx.need_some_sex(p) > 1f; if (is_horny) { bool isAlone = !p.Map.mapPawns.AllPawnsSpawned.Any(x => p.CanSee(x) && xxx.is_human(x)); float clothingFactor = p.apparel.PsychologicallyNude ? 0.8f : 1.0f; float SexNeedFactor = (4 - xxx.need_some_sex(p)) / 2f; return get_fappin_mtb_hours(p) * SexNeedFactor * clothingFactor; } return -1.0f; } } }
lucci/rjw
1.1/Source/FuckMachines/ThinkNode_ChancePerHour_UsingFM.cs
C#
unknown
889
using Verse; using Verse.AI; using RimWorld; using rjw; namespace rjwex { public class ThinkNode_ConditionalCanUseFM : ThinkNode_Conditional { protected override bool Satisfied(Pawn p) { if (p.Map == null || p.HostileTo(Faction.OfPlayer) || xxx.is_animal(p) || p.Drafted) return false; return true; } } }
lucci/rjw
1.1/Source/FuckMachines/ThinkNode_ConditionalCanUseFM.cs
C#
unknown
340
using RimWorld; using Verse; using Verse.AI; using rjw; namespace rjwex { public class WorkGiver_UseFM : WorkGiver_Sexchecks { public override bool MoreChecks(Pawn pawn, Thing t, bool forced = false) { Building_FuckMachine target = t as Building_FuckMachine; if (target == null) { if (RJWSettings.DevMode) JobFailReason.Is("not a fuck machine"); return false; } if (target.owners.Count>0&&!target.IsOwner(pawn)) { if (RJWSettings.DevMode) JobFailReason.Is("not pawn's machine"); return false; } CompPowerTrader comp = t.TryGetComp<CompPowerTrader>(); if (comp != null && !comp.PowerOn) { if (RJWSettings.DevMode) JobFailReason.Is("no power"); return false; } return true; } public override Job JobOnThing(Pawn pawn, Thing t, bool forced = false) { return new Job(DefDatabase<JobDef>.GetNamed("UseFM"), t); } } }
lucci/rjw
1.1/Source/FuckMachines/WorkGiver_UseFM.cs
C#
unknown
897
using System.Collections.Generic; using Verse; using HarmonyLib; using UnityEngine; using System; using System.Linq; using System.Reflection.Emit; using System.Reflection; namespace rjwex { //implemented in PawnRendererRenderInternal_Pathch //[HarmonyPatch(typeof(Pawn_DrawTracker))] //[HarmonyPatch("DrawPos", MethodType.Getter)] class Pawn_DrawTracker_DrawPos_Patch { static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) { //HarmonyInstance.DEBUG = true; CodeInstruction newLine; var codes = new List<CodeInstruction>(instructions); int insertIndex = codes.Count - 2;// insertion before final "ldloc.0" "ret" /* inserted code ldloc.0 // vector3 ldarg.0 // this ldfld class Verse.Pawn Verse.Pawn_DrawTracker::pawn call valuetype [UnityEngine]UnityEngine.Vector3 rjwex.FMHelper::FMOffset(class ['Assembly-CSharp']Verse.Pawn) call valuetype [UnityEngine]UnityEngine.Vector3 [UnityEngine]UnityEngine.Vector3::op_Addition(valuetype [UnityEngine]UnityEngine.Vector3, valuetype [UnityEngine]UnityEngine.Vector3) stloc.0 // vector3 */ newLine = new CodeInstruction(OpCodes.Ldloc_0); codes.Insert(insertIndex, newLine); insertIndex++; newLine = new CodeInstruction(OpCodes.Ldarg_0); codes.Insert(insertIndex, newLine); insertIndex++; newLine = new CodeInstruction(OpCodes.Ldfld) { operand = AccessTools.Field(typeof(Pawn_DrawTracker), "pawn") }; codes.Insert(insertIndex, newLine); insertIndex++; newLine = new CodeInstruction(OpCodes.Call) { operand = typeof(DrawUtils).GetMethod("GetDrawOffset") }; codes.Insert(insertIndex, newLine); insertIndex++; newLine = new CodeInstruction(OpCodes.Call) { operand = typeof(Vector3).GetMethod("op_Addition", new Type[] { typeof(Vector3), typeof(Vector3) }) }; codes.Insert(insertIndex, newLine); insertIndex++; newLine = new CodeInstruction(OpCodes.Stloc_0); codes.Insert(insertIndex, newLine); Logger.ListLine("Pawn draw FMOffset addition applied @ Verse.Pawn_DrawTracker.get_DrawPos as Transpiler"); return codes.AsEnumerable(); } } [HarmonyPatch] static class PawnRendererRenderInternal_Pathch { static MethodBase TargetMethod() { return AccessTools.Method(typeof(PawnRenderer), "RenderPawnInternal", new Type[] { typeof(Vector3), typeof(float), typeof(bool), typeof(Rot4), typeof(Rot4), typeof(RotDrawMode), typeof(bool), typeof(bool), typeof(bool)}); } static bool Prefix(ref Vector3 rootLoc, ref float angle, PawnRenderer __instance) { Pawn pawn = (AccessTools.Field(typeof(PawnRenderer), "pawn")).GetValue(__instance) as Pawn; rootLoc += pawn.GetDrawOffset(); angle += pawn.GetAngleOffset(); return true; } } }
lucci/rjw
1.1/Source/HarmonyPatches/FM_DrawOffsets_Patch.cs
C#
unknown
2,804
using RimWorld; using Verse; using HarmonyLib; using System.Reflection; using System.Collections.Generic; using System.Reflection.Emit; using System.Linq; using rjw; namespace rjwex { [HarmonyPatch(typeof(PawnGraphicSet), "ResolveApparelGraphics")] public static class ResolveApparelGraphics_Patch { static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) { int Index = -1; string targetCall = "TryGetGraphicApparel"; var codes = new List<CodeInstruction>(instructions); for (int i = 0; i < codes.Count; i++) { if (codes[i].opcode == OpCodes.Call && codes[i].operand.ToString().Contains(targetCall)) { Index = i; break; } } if (Index > -1) { codes[Index].operand = typeof(ResolveApparelGraphics_Patch).GetMethod( nameof(ResolveApparelGraphics_Patch.RJWExTryGetGraphicApparel), BindingFlags.Static | BindingFlags.Public); Logger.ListLine("Gag graphics patch applied @ Verse.PawnGraphicSet.ResolveApparelGraphics as Transpiler"); } else { Log.Error("[RJWEx] Verse.PawnGraphicSet.ResolveApparelGraphics not patched!"); } return codes.AsEnumerable(); } public static bool RJWExTryGetGraphicApparel(Apparel apparel, BodyTypeDef bodyType, out ApparelGraphicRecord rec) { if (!(apparel is bondage_gear && apparel.def.apparel.bodyPartGroups.Contains(xxxEx.GroupDefTeeth))) //Not RJW Gag? TODO better item detection return ApparelGraphicRecordGetter.TryGetGraphicApparel(apparel, bodyType, out rec); //return default TryGetGraphicApparel() else { Pawn pawn = apparel.Wearer; if (pawn == null) { //handle as null wornGraphicPath rec = new ApparelGraphicRecord(null, null); return false; } string headGraphicPath = pawn.story.HeadGraphicPath; //path containing Normal/Pointy/Wide string gender = pawn.gender.ToString(); //Female/Male/None string crownType = pawn.story.crownType.ToString(); //Narrow/Average TODO check //checks==== if (headGraphicPath.NullOrEmpty() || apparel.def.apparel.wornGraphicPath.NullOrEmpty() || pawn.story.crownType == CrownType.Undefined) return ApparelGraphicRecordGetter.TryGetGraphicApparel(apparel, bodyType, out rec); //something wrong go default if (pawn.gender == Gender.None) gender = "Female"; //========== string faceType; //Normal/Pointy/Wide, from headGraphicPath; if (headGraphicPath.Contains("Pointy")) { faceType = "Pointy"; } else if (headGraphicPath.Contains("Wide")) { faceType = "Wide"; } else { faceType = "Normal"; } string path = apparel.def.apparel.wornGraphicPath + "_" + gender + "_" + crownType + "_" + faceType; Graphic graphic = GraphicDatabase.Get<Graphic_Multi>(path, ShaderDatabase.Cutout, apparel.def.graphicData.drawSize, apparel.DrawColor); rec = new ApparelGraphicRecord(graphic, apparel); return true; } } } }
lucci/rjw
1.1/Source/HarmonyPatches/Gag_ResolveApparelGraphics_Patch.cs
C#
unknown
2,970
using RimWorld; using Verse; using rjw; using System.Linq; namespace rjwex { public class anal_plug_def : bondage_gear_def { public int plug_size = 0; //min 1 - max 3; 0 for expandable plug //new public bool blocks_anus = false; // only for lockable plug } public class anal_plug_soul : bondage_gear_soul { float[,] severity ={ { 0.6f, 0.6f, 0.6f, 0.6f, 0.4f, 0.4f }, //0 size = expandable plug { 0.4f, 0.4f, 0.2f, 0.2f, 0.1f, 0.1f }, //1 size = S plug { 0.4f, 0.6f, 0.4f, 0.2f, 0.1f, 0.1f }, //2 size = M plug { 0.6f, 0.8f, 0.6f, 0.4f, 0.2f, 0.1f } //3 size = L plug }; //bionic,micro,tight,mid,loose,gaping/oversized //0 - loose; //0.2 - comfortable; //0.4 - tightly; //0.6 - very tight; //0.8 - cracking tight; public override void on_wear(Pawn wearer, Apparel gear) { anal_plug_def def = (anal_plug_def)gear.def; //Log.Message("PLUG On_Wear; size: " + def.plug_size); BodyPartRecord anus = Genital_Helper.get_anusBPR(wearer); if (anus != null) { var anusHD = wearer.health.hediffSet.hediffs.FirstOrDefault((Hediff hed) => hed.Part == anus && (hed is Hediff_PartBaseNatural || hed is Hediff_PartBaseArtifical) && (hed.def.defName.ToLower().Contains("anus"))); int aSize = 0; //min 1-5 max, 0 for variable (bionic etc.) //if (wearer.health.hediffSet.HasHediff(Genital_Helper.archotech_anus) || // wearer.health.hediffSet.HasHediff(Genital_Helper.bionic_anus) || // wearer.health.hediffSet.HasHediff(Genital_Helper.hydraulic_anus)) //{ // aSize = 0; //} if (anusHD != null) { switch (anusHD.CurStageIndex) { case 0: aSize = 1; break; case 1: aSize = 2; break; case 2: aSize = 3; break; case 3: aSize = 4; break; case 4: aSize = 5; break; case 5: aSize = 5; break; default: aSize = 0; break; } } float hediffSeverity = severity[def.plug_size, aSize]; Hediff pluggedStatus = wearer.health.AddHediff(HediffDef.Named("Plugged"), anus); pluggedStatus.Severity = hediffSeverity; } var gear_stamp = gear.TryGetComp<CompHoloCryptoStamped>(); if (gear_stamp != null) { var key = ThingMaker.MakeThing(ThingDef.Named("Holokey")); var key_stamp = key.TryGetComp<CompHoloCryptoStamped>(); key_stamp.copy_stamp_from(gear_stamp); if (wearer.Map != null) GenSpawn.Spawn(key, wearer.Position, wearer.Map); else wearer.inventory.TryAddItemNotForSale(key); } } // Removes the gear's HediffDef public override void on_remove(Apparel gear, Pawn former_wearer) { var hed = former_wearer.health.hediffSet.GetFirstHediffOfDef(HediffDef.Named("Plugged")); if (hed != null) former_wearer.health.RemoveHediff(hed); } } public class anal_plug : bondage_gear { } /* //temporary solution for on_wer not being called on gear without hololock [HarmonyPatch] class TryDrop_Patch { static MethodBase TargetMethod() { MethodBase result = AccessTools.Method(typeof(Pawn_ApparelTracker), "TryDrop", new Type[] { typeof(Apparel), typeof(Apparel).MakeByRefType(), typeof(IntVec3), typeof(bool) }); return result; } public static void Postfix(Apparel ap, bool __result, Pawn_ApparelTracker __instance) { if (!__result) return; if (ap.def is anal_plug_def def) { var tra = __instance; (def.soul as anal_plug_soul).on_remove(ap, tra.pawn); } } } */ }
lucci/rjw
1.1/Source/Plugs/Anal_Plugs.cs
C#
unknown
3,545
using RimWorld; using Verse; namespace rjwex { public class RecordWorker_TimePluggedAnal : RecordWorker { public override bool ShouldMeasureTimeNow(Pawn pawn) { return pawn.health.hediffSet.HasHediff(HediffDef.Named("Plugged")); } } }
lucci/rjw
1.1/Source/Plugs/RecordWorker_TimePluggedAnal.cs
C#
unknown
251
using RimWorld; using Verse; namespace rjwex { public class ThoughtWorker_Plugged : ThoughtWorker { protected override ThoughtState CurrentStateInternal(Pawn pawn) { if (pawn.apparel != null) { var hed = pawn.health.hediffSet.GetFirstHediffOfDef(HediffDef.Named("Plugged")); if (hed != null) { if (hed.Severity < 0.2f) { return ThoughtState.ActiveAtStage(0); } else if (hed.Severity < 0.4f) { return ThoughtState.ActiveAtStage(1); } else if (hed.Severity < 0.6f) { return ThoughtState.ActiveAtStage(2); } else if (hed.Severity < 0.8f) { return ThoughtState.ActiveAtStage(3); } else { return ThoughtState.ActiveAtStage(4); } } } return ThoughtState.Inactive; } } }
lucci/rjw
1.1/Source/Plugs/ThoughtWorker_Plugged.cs
C#
unknown
809
using Verse; using HarmonyLib; using System.Reflection; using System; namespace rjwex { [StaticConstructorOnStartup] public static class RJWExMain { static RJWExMain() { Logger.ListBegin("[RJWEx] Patching..."); var harmony = new Harmony("rimworld.ekss.rjwex"); harmony.PatchAll(Assembly.GetExecutingAssembly()); Logger.ListPrint("...done"); } } public static class Logger { /* public static class Logger { private static readonly LogMessageQueue messageQueueRJW = new LogMessageQueue(); public static void Message(string text) { bool DevModeEnabled = RJWSettings.DevMode; if (!DevModeEnabled) return; Debug.Log(text); messageQueueRJW.Enqueue(new LogMessage(LogMessageType.Message, text, StackTraceUtility.ExtractStackTrace())); } }*/ private static string prefix = "[RJWEx] "; private static string listBuffer = ""; public static void ListBegin(string line = "") { listBuffer = (line.NullOrEmpty() ? "" : prefix) + line; } public static void ListLine(string line) { listBuffer += (Environment.NewLine + prefix + line); } public static void ListPrint(string line = "") { if (!line.NullOrEmpty()) { listBuffer += (Environment.NewLine + prefix + line); } Log.Message(listBuffer); listBuffer = ""; } public static void Print(string line) { Log.Message(prefix + line); } } }
lucci/rjw
1.1/Source/RJWExMain.cs
C#
unknown
1,666
<?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>{A35EE8E8-B802-45BA-8526-16EA37856A86}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>rjwex</RootNamespace> <AssemblyName>RimJobWorldExtension</AssemblyName> <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> <TargetFrameworkProfile /> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>false</DebugSymbols> <DebugType>none</DebugType> <Optimize>false</Optimize> <OutputPath>..\Assemblies\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <Prefer32Bit>false</Prefer32Bit> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>..\Assemblies\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <Prefer32Bit>false</Prefer32Bit> </PropertyGroup> <PropertyGroup> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> </PropertyGroup> <ItemGroup> <Reference Include="0Harmony, Version=2.0.0.10, Culture=neutral, processorArchitecture=MSIL"> <HintPath>0trash\packages\Lib.Harmony.2.0.0.10\lib\net472\0Harmony.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="0MultiplayerAPI, Version=0.2.0.0, Culture=neutral, processorArchitecture=MSIL"> <HintPath>0trash\packages\RimWorld.MultiplayerAPI.0.2.0\lib\net472\0MultiplayerAPI.dll</HintPath> </Reference> <Reference Include="Assembly-CSharp, Version=1.1.7372.23222, Culture=neutral, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="HugsLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <HintPath>0trash\packages\UnlimitedHugs.Rimworld.HugsLib.7.1.4\lib\net472\HugsLib.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="NAudio"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\NAudio.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="NVorbis"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\NVorbis.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="RJW"> <HintPath>..\..\..\rjw\1.1\Assemblies\RJW.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="System" /> <Reference Include="System.Runtime.InteropServices.RuntimeInformation" /> <Reference Include="Unity.TextMeshPro"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\Unity.TextMeshPro.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AccessibilityModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AccessibilityModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AIModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AIModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AndroidJNIModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AndroidJNIModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AnimationModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AnimationModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ARModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ARModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AssetBundleModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AssetBundleModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AudioModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AudioModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ClothModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ClothModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ClusterInputModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ClusterInputModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ClusterRendererModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ClusterRendererModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.CoreModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.CrashReportingModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.CrashReportingModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.DirectorModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.DirectorModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.DSPGraphModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.DSPGraphModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.FileSystemHttpModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.FileSystemHttpModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.GameCenterModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.GameCenterModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.GridModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.GridModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.HotReloadModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.HotReloadModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ImageConversionModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ImageConversionModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.IMGUIModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.InputLegacyModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.InputModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.InputModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.JSONSerializeModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.JSONSerializeModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.LocalizationModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.LocalizationModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ParticleSystemModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ParticleSystemModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.PerformanceReportingModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.PerformanceReportingModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.Physics2DModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.PhysicsModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ProfilerModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ProfilerModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ScreenCaptureModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ScreenCaptureModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.SharedInternalsModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.SharedInternalsModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.SpriteMaskModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.SpriteMaskModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.SpriteShapeModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.SpriteShapeModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.StreamingModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.StreamingModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.SubstanceModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.SubstanceModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TerrainModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TerrainModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TerrainPhysicsModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TerrainPhysicsModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TextCoreModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TextCoreModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TextRenderingModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TilemapModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TilemapModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TLSModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TLSModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UI"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UI.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UIElementsModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UIElementsModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UIModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UIModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UmbraModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UmbraModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UNETModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UNETModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityAnalyticsModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityAnalyticsModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityConnectModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityConnectModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityTestProtocolModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityTestProtocolModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityWebRequestAssetBundleModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityWebRequestAssetBundleModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityWebRequestAudioModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityWebRequestAudioModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityWebRequestModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityWebRequestModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityWebRequestTextureModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityWebRequestTextureModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityWebRequestWWWModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityWebRequestWWWModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.VehiclesModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.VehiclesModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.VFXModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.VFXModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.VideoModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.VideoModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.VRModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.VRModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.WindModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.WindModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.XRModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.XRModule.dll</HintPath> <Private>False</Private> </Reference> </ItemGroup> <ItemGroup> <Compile Include="FuckMachines\RecordWorker_TimeOnFuckMachine.cs" /> <Compile Include="HarmonyPatches\FM_DrawOffsets_Patch.cs" /> <Compile Include="HarmonyPatches\Gag_ResolveApparelGraphics_Patch.cs" /> <Compile Include="Plugs\Anal_Plugs.cs" /> <Compile Include="FuckMachines\Building_FuckMachine.cs" /> <Compile Include="FuckMachines\PublicPrivateComp.cs" /> <Compile Include="FuckMachines\FMHelper.cs" /> <Compile Include="FuckMachines\JobDriver_UseFM.cs" /> <Compile Include="FuckMachines\JobGiver_UseFM.cs" /> <Compile Include="FuckMachines\WorkGiver_UseFM.cs" /> <Compile Include="Plugs\ThoughtWorker_Plugged.cs" /> <Compile Include="Plugs\RecordWorker_TimePluggedAnal.cs" /> <Compile Include="RJWExMain.cs" /> <Compile Include="0trash\Properties\AssemblyInfo.cs" /> <Compile Include="FuckMachines\ThinkNode_ChancePerHour_UsingFM.cs" /> <Compile Include="FuckMachines\ThinkNode_ConditionalCanUseFM.cs" /> <Compile Include="SexTab\ITab_Pawn_Sexuality.cs" /> <Compile Include="SexTab\SexCardUtility.cs" /> <Compile Include="Utility\FM_OffsetUtils.cs" /> <Compile Include="Utility\Gag_OffsetUtils.cs" /> </ItemGroup> <ItemGroup> <None Include="0trash\packages.config" /> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> </Project>
lucci/rjw
1.1/Source/RimJobWorldExtension.csproj
csproj
unknown
17,165
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29806.167 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RimJobWorldExtension", "RimJobWorldExtension.csproj", "{A35EE8E8-B802-45BA-8526-16EA37856A86}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {A35EE8E8-B802-45BA-8526-16EA37856A86}.Debug|Any CPU.ActiveCfg = Release|Any CPU {A35EE8E8-B802-45BA-8526-16EA37856A86}.Debug|Any CPU.Build.0 = Release|Any CPU {A35EE8E8-B802-45BA-8526-16EA37856A86}.Release|Any CPU.ActiveCfg = Release|Any CPU {A35EE8E8-B802-45BA-8526-16EA37856A86}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {A8FBAE94-F20D-4EC2-9003-8E8075D506C4} EndGlobalSection EndGlobal
lucci/rjw
1.1/Source/RimJobWorldExtension.sln
sln
unknown
1,124
/*using RimWorld; using System; using UnityEngine; using Verse; using rjw; namespace rjwex { public class ITab_Pawn_Sexuality : ITab { // useful if you have criteria to show/hide this per Thing private Pawn _selected = null; public Pawn SelectedPawn { get { if (base.SelPawn != null) { return base.SelPawn; } Corpse corpse = base.SelThing as Corpse; if (corpse != null) { return corpse.InnerPawn; } return null; } } public override bool IsVisible { get { if (SelectedPawn != null && SelectedPawn.TryGetComp<CompRJW>()!=null) { return true; } else return false; } } public ITab_Pawn_Sexuality() { Vector2 offsets = new Vector2(17f, 17f); this.size = SexCardUtility.CardSize + offsets; this.labelKey = "rjwex_SexTab"; // used to get the Tab's label } protected override void FillTab() { Pawn pawnForHealth = this.SelectedPawn; if (pawnForHealth == null) { Log.Error("Health tab found no selected pawn to display.", false); return; } Rect rect = new Rect(17f, 17f, SexCardUtility.CardSize.x, SexCardUtility.CardSize.y); SexCardUtility.DrawCard(rect, SelectedPawn); } } }*/
lucci/rjw
1.1/Source/SexTab/ITab_Pawn_Sexuality.cs
C#
unknown
1,211
/*using RimWorld; using rjw; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using Verse; namespace rjwex { public class SexCardUtility { public static Vector2 CardSize = new Vector2(395f, 536f); // set the card's size public static void DrawCard(Rect rect, Pawn pawn) { CompRJW comp = pawn.TryGetComp<CompRJW>(); if (pawn == null || comp == null) return; Text.Font = GameFont.Medium; Rect rect1 = new Rect(8f, 4f, rect.width - 8f, rect.height - 20f); Widgets.Label(rect1, "RJW"); Text.Font = GameFont.Tiny; float num = rect1.y + 40f; Rect row1 = new Rect(10f, num, rect.width - 8f, 24f); Rect row2 = new Rect(10f, num + 24, rect.width - 8f, 24f); Rect row3 = new Rect(10f, num + 48, rect.width - 8f, 24f); Rect button1 = new Rect(10f, rect1.height - 10f, rect.width - 8f, 24f); Rect button2 = new Rect(10f, rect1.height - 34f, rect.width - 8f, 24f); string price; string sexuality; // Check for Rational Romance consistency, in case the player adds it mid-game or adds traits (such as with Prepare Carefully) if (xxx.RomanceDiversifiedIsActive || pawn.story.traits.HasTrait(TraitDefOf.Gay)) CompRJW.RRTraitCheck(pawn); switch (CompRJW.Comp(pawn).orientation) { case Orientation.Asexual: sexuality = "Asexual"; break; case Orientation.Bisexual: sexuality = "Bisexual"; break; case Orientation.Heterosexual: sexuality = "Hetero"; break; case Orientation.Homosexual: sexuality = "Gay"; break; case Orientation.LeaningHeterosexual: sexuality = "Bisexual, leaning hetero"; break; case Orientation.LeaningHomosexual: sexuality = "Bisexual, leaning gay"; break; case Orientation.MostlyHeterosexual: sexuality = "Mostly hetero"; break; case Orientation.MostlyHomosexual: sexuality = "Mostly gay"; break; case Orientation.Pansexual: sexuality = "Pansexual"; break; default: sexuality = "None"; break; } Widgets.Label(row1, "Sexuality: " + sexuality); if (Mouse.IsOver(row1)) Widgets.DrawHighlight(row1); string quirklist = CompRJW.Comp(pawn).quirks.ToString(); Widgets.Label(row2, "Quirks".Translate() + quirklist); if (Mouse.IsOver(row2)) { Widgets.DrawHighlight(row2); if (quirklist == "None") TooltipHandler.TipRegion(row2, "NoQuirks".Translate()); else { StringBuilder tooltip = new StringBuilder(); if (quirklist.Contains("Breeder")) tooltip.AppendLine("BreederQuirk".Translate()); if (quirklist.Contains("Endytophile")) tooltip.AppendLine("EndytophileQuirk".Translate()); if (quirklist.Contains("Exhibitionist")) tooltip.AppendLine("ExhibitionistQuirk".Translate()); if (quirklist.Contains("Fertile")) tooltip.AppendLine("FertileQuirk".Translate()); if (quirklist.Contains("Gerontophile")) tooltip.AppendLine("GerontophileQuirk".Translate()); if (quirklist.Contains("Impregnation fetish")) tooltip.AppendLine("ImpregnationFetishQuirk".Translate()); if (quirklist.Contains("Incubator")) tooltip.AppendLine("IncubatorQuirk".Translate()); if (quirklist.Contains("Infertile")) tooltip.AppendLine("InfertileQuirk".Translate()); if (quirklist.Contains("Messy")) tooltip.AppendLine("MessyQuirk".Translate()); if (quirklist.Contains("Podophile")) tooltip.AppendLine("PodophileQuirk".Translate()); if (quirklist.Contains("Pregnancy fetish")) tooltip.AppendLine("PregnancyFetishQuirk".Translate()); if (quirklist.Contains("Sapiosexual")) tooltip.AppendLine("SapiosexualQuirk".Translate()); if (quirklist.Contains("Somnophile")) tooltip.AppendLine("SomnophileQuirk".Translate()); if (quirklist.Contains("Teratophile")) tooltip.AppendLine("TeratophileQuirk".Translate()); if (quirklist.Contains("Vigorous")) tooltip.AppendLine("VigorousQuirk".Translate()); TooltipHandler.TipRegion(row2, tooltip.ToString()); } } if (RJWSettings.sex_minimum_age > pawn.ageTracker.AgeBiologicalYears) price = "Inapplicable (too young)"; else if (pawn.ownership.OwnedRoom == null) { if (Current.ProgramState == ProgramState.Playing) price = "TODO";//WhoringHelper.WhoreMinPrice(pawn) + " - " + WhoringHelper.WhoreMaxPrice(pawn) + " (base, needs suitable bedroom)"; else price = "TODO";//WhoringHelper.WhoreMinPrice(pawn) + " - " + WhoringHelper.WhoreMaxPrice(pawn) + " (base, modified by bedroom quality)"; } else if (xxx.is_animal(pawn)) price = "Incapable of whoring"; else price = "TODO";//WhoringHelper.WhoreMinPrice(pawn) + " - " + WhoringHelper.WhoreMaxPrice(pawn); Widgets.Label(row3, "WhorePrice".Translate() + price); if (Mouse.IsOver(row3)) Widgets.DrawHighlight(row3); // TODO: Add translation. if (Prefs.DevMode || Current.ProgramState != ProgramState.Playing) { if (Widgets.ButtonText(button1, Current.ProgramState != ProgramState.Playing ? "Reroll sexuality" : "[DEV] Reroll sexuality")) { CompRJW.Comp(pawn).Sexualize(pawn, true); } } if (pawn.health.hediffSet.HasHediff(Genital_Helper.archotech_penis) || pawn.health.hediffSet.HasHediff(Genital_Helper.archotech_vagina)) { BodyPartRecord genitalia = Genital_Helper.get_genitals(pawn); if (pawn.health.hediffSet.HasHediff(HediffDef.Named("ImpregnationBlocker"))) { if (Widgets.ButtonText(button2, "[Archotech genitalia] Enable reproduction")) { Hediff blocker = pawn.health.hediffSet.GetFirstHediffOfDef(HediffDef.Named("ImpregnationBlocker")); if (blocker != null) pawn.health.RemoveHediff(blocker); pawn.health.AddHediff(HediffDef.Named("FertilityEnhancer"), genitalia); } } else if (Widgets.ButtonText(button2, "[Archotech genitalia] Disable reproduction")) { Hediff enhancer = pawn.health.hediffSet.GetFirstHediffOfDef(HediffDef.Named("FertilityEnhancer")); if (enhancer != null) pawn.health.RemoveHediff(enhancer); pawn.health.AddHediff(HediffDef.Named("ImpregnationBlocker"), genitalia); } } } } }*/
lucci/rjw
1.1/Source/SexTab/SexCardUtility.cs
C#
unknown
6,247
using UnityEngine; using Verse; using Verse.AI; namespace rjwex { /// <summary> /// Class to inherit to use Draw Offset and Angle Offset /// </summary> public abstract class JobDriverWithOffsets : JobDriver { protected Vector3 drawOffset = new Vector3(0, 0, 0); public Vector3 GetDrawOffset() { return drawOffset; } protected float angleOffset = 0.0f; public float GetAngleOffset() { return angleOffset; } } public static class DrawUtils { /// <summary> /// Get draw point offset for pawn if current JobDriver inherits JobDriverWithOffsets class, else offset set to Vector3(0, 0, 0) /// </summary> /// <param name="pawn"></param> /// <returns></returns> public static Vector3 GetDrawOffset(this Pawn pawn) { if (pawn.jobs?.curDriver is JobDriverWithOffsets job) { return job.GetDrawOffset(); } return new Vector3(0, 0, 0); } /// <summary> /// Get angle offset for pawn if current JobDriver inherits JobDriverWithOffsets class, else offset set to 0.0f /// </summary> /// <param name="pawn"></param> /// <returns></returns> public static float GetAngleOffset(this Pawn pawn) { if (pawn.jobs?.curDriver is JobDriverWithOffsets job) { return job.GetAngleOffset(); } return 0.0f; } } }
lucci/rjw
1.1/Source/Utility/FM_OffsetUtils.cs
C#
unknown
1,269
using System.Linq; using RimWorld; using Verse; using rjw; namespace rjwex { /// <summary>Extension to rjw.xxx functionality</summary> public static class xxxEx { public static BodyPartGroupDef GroupDefTeeth = DefDatabase<BodyPartGroupDef>.GetNamed("Teeth"); public static void DrawNudeWithBondage(Pawn pawn, bool keep_hat_on = false) { if (!rjw.xxx.is_human(pawn)) return; if (pawn.Map != Find.CurrentMap) return; if (RJWPreferenceSettings.sex_wear == RJWPreferenceSettings.Clothing.Clothed) return; pawn.Drawer.renderer.graphics.ClearCache(); pawn.Drawer.renderer.graphics.apparelGraphics.Clear(); bool hgEnabled = RJWPreferenceSettings.sex_wear == RJWPreferenceSettings.Clothing.Headgear || keep_hat_on; foreach (Apparel current in pawn.apparel.WornApparel.Where(x => hgEnabled && (x.def.apparel.bodyPartGroups.Contains(BodyPartGroupDefOf.UpperHead) || x.def.apparel.bodyPartGroups.Contains(BodyPartGroupDefOf.FullHead)) //is apparel headgear || x is bondage_gear || x.def.thingCategories.Any(y => y.defName.ToLower().ContainsAny("vibrator", "piercing", "strapon")) )) { ApparelGraphicRecord item; //ApparelGraphicRecordGetter.TryGetGraphicApparel(current, pawn.story.bodyType, out item) by default, corrected to visible gags handler if (ResolveApparelGraphics_Patch.RJWExTryGetGraphicApparel(current, pawn.story.bodyType, out item)) { pawn.Drawer.renderer.graphics.apparelGraphics.Add(item); } } pawn.Draw(); } } }
lucci/rjw
1.1/Source/Utility/Gag_OffsetUtils.cs
C#
unknown
1,506
<?xml version="1.0" encoding="utf-8" ?> <Defs> <HediffDef ParentName="BondageBase"> <defName>Armbinder</defName> <label>armbinder</label> <labelNoun>an armbinder</labelNoun> <description>An armbinder. A restraint device that binds the arms behind the body.</description> <stages> <li> <capMods> <li> <capacity>Manipulation</capacity> <setMax>0.00</setMax> </li> </capMods> </li> </stages> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>ChastityBelt</defName> <label>chastity belt</label> <labelNoun>a chastity belt</labelNoun> <description>A chastity belt. Restricts access to the vagina and anus from its lover, and its wearer.</description> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>ChastityCage</defName> <label>chastity cage</label> <labelNoun>a chastity cage</labelNoun> <description>A chastity cage. Restricts access to the penis from its lover, and its wearer.</description> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>Yoke</defName> <label>yoke</label> <labelNoun>a yoke</labelNoun> <description>Keeps the arms and head of the wearer locked relative to their body in a raised-arm position.</description> <stages> <li> <capMods> <li> <capacity>Manipulation</capacity> <setMax>0.00</setMax> </li> </capMods> </li> </stages> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>ClosedGag</defName> <label>closed gag</label> <labelNoun>a closed gag</labelNoun> <description>A closed gag that prevents its wearer from speaking.</description> <stages> <li> <capMods> <li> <capacity>Talking</capacity> <setMax>0.00</setMax> </li> <li> <capacity>Eating</capacity> <setMax>0.00</setMax> </li> </capMods> </li> </stages> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>OpenGag</defName> <label>open gag</label> <labelNoun>an open gag</labelNoun> <description>An open gag that only allows its wearer to mutter incomprehensibly.</description> <stages> <li> <capMods> <li> <capacity>Talking</capacity> <setMax>0.00</setMax> </li> <li> <capacity>Eating</capacity> <offset>-0.25</offset> </li> </capMods> </li> </stages> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>Legbinder</defName> <label>legbinder</label> <labelNoun>a legbinder</labelNoun> <description>An legbinder. A restraint device that binds the legs restricting movement.</description> <stages> <li> <capMods> <li> <capacity>Moving</capacity> <setMax>0.30</setMax> </li> </capMods> </li> </stages> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>Blindfold</defName> <label>blindfold</label> <labelNoun>a blindfold</labelNoun> <description>A blindfold. A restraint device that blocks the wearer's vision.</description> <stages> <li> <capMods> <li> <capacity>Sight</capacity> <setMax>0.00</setMax> </li> </capMods> </li> </stages> </HediffDef> </Defs>
lucci/rjw
1.2/Defs/HediffDefs/Hediffs_Bondage.xml
XML
unknown
3,167
<?xml version="1.0" encoding="utf-8" ?> <Defs> <HediffDef> <defName>Plugged</defName> <hediffClass>Hediff</hediffClass> <defaultLabelColor>(0.5, 0.5, 0.9)</defaultLabelColor> <label>Plugged</label> <description>Plugged.</description> <makesSickThought>false</makesSickThought> <tendable>false</tendable> <stages> <li> <label>loosely</label> </li> <li> <label>comfortable</label> <minSeverity>0.2</minSeverity> <capMods> <li> <capacity>Moving</capacity> <offset>-0.01</offset> </li> </capMods> <statOffsets> <Vulnerability>0.1</Vulnerability> <SexFrequency>0.5</SexFrequency> </statOffsets> </li> <li> <label>tightly</label> <minSeverity>0.4</minSeverity> <painOffset>0.01</painOffset> <capMods> <li> <capacity>Moving</capacity> <offset>-0.05</offset> </li> </capMods> <statOffsets> <Vulnerability>0.15</Vulnerability> <SexFrequency>1</SexFrequency> </statOffsets> </li> <li> <label>very tight</label> <minSeverity>0.6</minSeverity> <painOffset>0.03</painOffset> <capMods> <li> <capacity>Moving</capacity> <offset>-0.05</offset> </li> </capMods> <statOffsets> <Vulnerability>0.2</Vulnerability> <SexFrequency>1.2</SexFrequency> </statOffsets> </li> <li> <label>cracking tight</label> <minSeverity>0.8</minSeverity> <painOffset>0.10</painOffset> <capMods> <li> <capacity>Moving</capacity> <offset>-0.15</offset> </li> </capMods> <statOffsets> <Vulnerability>0.35</Vulnerability> <SexFrequency>1</SexFrequency> </statOffsets> </li> </stages> <scenarioCanAdd>false</scenarioCanAdd> </HediffDef> </Defs>
lucci/rjw
1.2/Defs/HediffDefs/Hediffs_Plugged.xml
XML
unknown
1,806
<?xml version="1.0" encoding="utf-8" ?> <Defs> <JobDef> <defName>UseFM</defName> <driverClass>rjwex.JobDriver_UseFM</driverClass> <reportString>using fuck machine</reportString> <casualInterruptible>false</casualInterruptible> </JobDef> </Defs>
lucci/rjw
1.2/Defs/JobDefs/Job_UseFM.xml
XML
unknown
255
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffArmbinder</defName> <label>force off armbinder</label> <description>Forcibly removes an armbinder without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing armbinder.</jobString> <removes_apparel>Armbinder</removes_apparel> <failure_affects>Torso</failure_affects> <destroys_one_of> <li>Hand</li> </destroys_one_of> <major_burns_on> <li>Hand</li> <li>Arm</li> </major_burns_on> <minor_burns_on> <li>Torso</li> </minor_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffGagBall</defName> <label>force off gag</label> <description>Forcibly removes a gag without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing gag.</jobString> <removes_apparel>GagBall</removes_apparel> <failure_affects>Head</failure_affects> <destroys_one_of> <li>Jaw</li> </destroys_one_of> <major_burns_on> <li>Head</li> <li>Neck</li> </major_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffGagRing</defName> <label>force off gag</label> <description>Forcibly removes a gag without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing gag.</jobString> <removes_apparel>GagRing</removes_apparel> <failure_affects>Head</failure_affects> <destroys_one_of> <li>Jaw</li> </destroys_one_of> <major_burns_on> <li>Head</li> <li>Neck</li> </major_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffChastityBelt</defName> <label>force off chastity belt</label> <description>Forcibly removes a chastity belt without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing chastity belt.</jobString> <removes_apparel>ChastityBelt</removes_apparel> <failure_affects>Torso</failure_affects> <destroys_one_of> <li>Genitals</li> </destroys_one_of> <major_burns_on> <li>Torso</li> </major_burns_on> <minor_burns_on> <li>Leg</li> </minor_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffChastityBeltOpen</defName> <label>force off chastity belt</label> <description>Forcibly removes a chastity belt without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing chastity belt.</jobString> <removes_apparel>ChastityBeltO</removes_apparel> <failure_affects>Torso</failure_affects> <destroys_one_of> <li>Genitals</li> </destroys_one_of> <major_burns_on> <li>Torso</li> </major_burns_on> <minor_burns_on> <li>Leg</li> </minor_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffChastityCage</defName> <label>force off chastity belt</label> <description>Forcibly removes a chastity cage without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing chastity cage.</jobString> <removes_apparel>ChastityCage</removes_apparel> <failure_affects>Torso</failure_affects> <destroys_one_of> <li>Genitals</li> </destroys_one_of> <major_burns_on> <li>Torso</li> </major_burns_on> <minor_burns_on> <li>Leg</li> </minor_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffLegbinder</defName> <label>force off legbinder</label> <description>Forcibly removes a legbinder without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing legbinder.</jobString> <removes_apparel>Legbinder</removes_apparel> <failure_affects>Torso</failure_affects> <major_burns_on> <li>Leg</li> </major_burns_on> <minor_burns_on> <li>Genitals</li> </minor_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffBlindfold</defName> <label>force off blindfold</label> <description>Forcibly removes a blindfold without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing blindfold.</jobString> <removes_apparel>Blindfold</removes_apparel> <failure_affects>Head</failure_affects> <major_burns_on> <li>Head</li> </major_burns_on> <minor_burns_on> <li>Neck</li> </minor_burns_on> </rjw.force_off_gear_def> </Defs>
lucci/rjw
1.2/Defs/RecipeDefs/Recipes_ForceRemoveBondage.xml
XML
unknown
4,709
<?xml version="1.0" encoding="utf-8" ?> <Defs> <RecipeDef Abstract="True" Name="RJWEX_MakeBondageGear"> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSkill>Crafting</workSkill> </RecipeDef> <RecipeDef Abstract="True" Name="RJWEX_MakeAdvBondageGear" ParentName="RJWEX_MakeBondageGear"> <soundWorking>Recipe_Tailor</soundWorking> <unfinishedThingDef>UnfinishedApparel</unfinishedThingDef> <recipeUsers> <li>ElectricTailoringBench</li> </recipeUsers> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeArmbinder</defName> <label>make armbinder</label> <description>Make an armbinder.</description> <jobString>Making armbinder.</jobString> <workAmount>5000</workAmount> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>50</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>30</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <!-- <categories> <li>Leathers</li> </categories> --> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <Armbinder>1</Armbinder> </products> <skillRequirements> <Crafting>6</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeGagBall</defName> <label>make ball gag</label> <description>Make a gag with a ball, prevents talking.</description> <jobString>Making gag.</jobString> <workAmount>1500</workAmount> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>8</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>4</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <GagBall>1</GagBall> </products> <skillRequirements> <Crafting>3</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeGagRing</defName> <label>make ring gag</label> <description>Make a gag with a ring, prevents talking.</description> <jobString>Making gag.</jobString> <workAmount>1250</workAmount> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>8</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>4</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <GagRing>1</GagRing> </products> <skillRequirements> <Crafting>3</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeChastityBelt</defName> <label>make chastity belt</label> <description>Make a chastity belt, prevents access to genitals and anus.</description> <jobString>Making chastity belt.</jobString> <workAmount>4000</workAmount> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>10</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>50</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <ChastityBelt>1</ChastityBelt> </products> <skillRequirements> <Crafting>5</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeChastityBeltO</defName> <label>make chastity belt(open)</label> <description>Make a chastity belt, prevents access to genitals, have a hole for anal sex.</description> <jobString>Making chastity belt.</jobString> <workAmount>4000</workAmount> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>10</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>50</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <ChastityBeltO>1</ChastityBeltO> </products> <skillRequirements> <Crafting>5</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeChastityCage</defName> <label>make chastity cage</label> <description>Make a chastity cage, prevents erection.</description> <jobString>Making chastity cage.</jobString> <workAmount>2000</workAmount> <ingredients> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>10</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <ChastityCage>1</ChastityCage> </products> <skillRequirements> <Crafting>5</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeLegbinder</defName> <label>make legbinder</label> <description>Make a legbinder.</description> <jobString>Making legbinder.</jobString> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <soundWorking>Recipe_Tailor</soundWorking> <workAmount>5000</workAmount> <unfinishedThingDef>UnfinishedApparel</unfinishedThingDef> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>70</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>30</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <Legbinder>1</Legbinder> </products> <skillRequirements> <Crafting>6</Crafting> </skillRequirements> <workSkill>Crafting</workSkill> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeBlindfold</defName> <label>make blindfold</label> <description>Make a blindfold.</description> <jobString>Making blindfold.</jobString> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <soundWorking>Recipe_Tailor</soundWorking> <workAmount>5000</workAmount> <unfinishedThingDef>UnfinishedApparel</unfinishedThingDef> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>40</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>20</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <Blindfold>1</Blindfold> </products> <skillRequirements> <Crafting>6</Crafting> </skillRequirements> <workSkill>Crafting</workSkill> </RecipeDef> </Defs>
lucci/rjw
1.2/Defs/RecipeDefs/Recipes_MakeBondageGear.xml
XML
unknown
10,155
<?xml version="1.0" encoding="utf-8" ?> <Defs> <RecordDef> <defName>TimePluggedAnal</defName> <label>wearing anal plug</label> <description>Total time wearing plug in butthole.</description> <type>Time</type> <workerClass>rjwex.RecordWorker_TimePluggedAnal</workerClass> </RecordDef> <RecordDef> <defName>TimeOnFuckMachine</defName> <label>time on fuck machine</label> <description>Total time spent using fuck machine (or bound to it).</description> <type>Time</type> <measuredTimeJobs> <li>UseFM</li> </measuredTimeJobs> </RecordDef> <!--RecordDef> <defName>TimesDominated</defName> <label>time on fuck machine</label> <description>Total time spent using fuck machine (or bound to it).</description> <type>Int</type> </RecordDef> <RecordDef> <defName>TimesDominatedOthers</defName> <label>time on fuck machine</label> <description>Total time spent using fuck machine (or bound to it).</description> <type>Int</type> </RecordDef--> </Defs>
lucci/rjw
1.2/Defs/RecordDefs/Records.xml
XML
unknown
998
<?xml version="1.0" encoding="utf-8"?> <Defs> <SoundDef> <defName>FMThrust</defName> <context>MapOnly</context> <eventNames /> <maxSimultaneous>1</maxSimultaneous> <subSounds> <li> <grains> <li Class="AudioGrain_Folder"> <clipFolderPath>FM/FMThrust</clipFolderPath> </li> </grains> <volumeRange> <min>15</min> <max>15 </max> </volumeRange> <pitchRange> <min>1</min> <max>1</max> </pitchRange> <distRange> <min>0</min> <max>51.86047</max> </distRange> <sustainLoop>False</sustainLoop> </li> </subSounds> </SoundDef> </Defs>
lucci/rjw
1.2/Defs/SoundDefs/Sounds_FM.xml
XML
unknown
625
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!-- <rjw.bondage_gear_def ParentName="BondageGearBase"> <defName>Yoke</defName> <label>yoke</label> <description>A high-tech yoke. It prevents any pawn it's attached to from using their arms.</description> <thingClass>rjw.yoke</thingClass> <graphicData> <texPath>Things\Pawn\Humanlike\Apparel\Bondage\Armbinder\armbinder</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <MaxHitPoints>250</MaxHitPoints> <Flammability>0.3</Flammability> <DeteriorationRate>1.0</DeteriorationRate> <Beauty>-6</Beauty> <MarketValue>850</MarketValue> <Mass>4</Mass> <ArmorRating_Blunt>0.15</ArmorRating_Blunt> <ArmorRating_Sharp>0.25</ArmorRating_Sharp> <Insulation_Cold>-4</Insulation_Cold> </statBases> <apparel> <bodyPartGroups> <li>Arms</li> <li>LeftHand</li> <li>RightHand</li> </bodyPartGroups> <wornGraphicPath>Things\Pawn\Humanlike\Apparel\Bondage\Armbinder\</wornGraphicPath> <layers> <li>Shell</li> </layers> </apparel> <soul_type>rjw.bondage_gear_soul</soul_type> <equipped_hediff>Yoke</equipped_hediff> <gives_bound_moodlet>true</gives_bound_moodlet> </rjw.bondage_gear_def> --> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Bondage/Items_Bondage.xml
XML
unknown
1,253
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.bondage_gear_def ParentName="BondageGearBase"> <defName>Armbinder</defName> <label>armbinder</label> <description>Armbinder prevents any pawn it's attached to from using their arms.</description> <thingClass>rjw.armbinder</thingClass> <graphicData> <texPath>Items/Armbinder/armbinder</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <stuffCategories> <li>Leathery</li> </stuffCategories> <costStuffCount>80</costStuffCount> <statBases> <MaxHitPoints>250</MaxHitPoints> <Flammability>0.5</Flammability> <DeteriorationRate>1.0</DeteriorationRate> <Beauty>-6</Beauty> <MarketValue>550</MarketValue> <Mass>4</Mass> <ArmorRating_Blunt>0.15</ArmorRating_Blunt> <ArmorRating_Sharp>0.25</ArmorRating_Sharp> <Insulation_Cold>-4</Insulation_Cold> </statBases> <apparel> <bodyPartGroups> <li>Arms</li> <li>LeftHand</li> <li>RightHand</li> </bodyPartGroups> <wornGraphicPath>Items/Armbinder/Armbinder</wornGraphicPath> <layers> <li>Shell</li> </layers> </apparel> <soul_type>rjw.bondage_gear_soul</soul_type> <equipped_hediff>Armbinder</equipped_hediff> <gives_bound_moodlet>true</gives_bound_moodlet> <blocks_hands>true</blocks_hands> <HediffTargetBodyPartDefs> <li>Arm</li> </HediffTargetBodyPartDefs> <BoundBodyPartGroupDefs> <li>LeftHand</li> <li>RightHand</li> </BoundBodyPartGroupDefs> </rjw.bondage_gear_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Bondage/Items_Bondage_Armbinder.xml
XML
unknown
1,505
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.bondage_gear_def ParentName="BondageGearBase"> <defName>Blindfold</defName> <label>blindfold</label> <description>A blindfold. A restraint device that blocks the wearer's vision.</description> <thingClass>rjw.armbinder</thingClass> <graphicData> <texPath>Items/Blindfold/Blindfold</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <stuffCategories> <li>Leathery</li> </stuffCategories> <costStuffCount>40</costStuffCount> <statBases> <MaxHitPoints>250</MaxHitPoints> <Flammability>0.5</Flammability> <DeteriorationRate>1.0</DeteriorationRate> <Beauty>-6</Beauty> <MarketValue>550</MarketValue> <Mass>4</Mass> </statBases> <apparel> <hatRenderedFrontOfFace>true</hatRenderedFrontOfFace> <bodyPartGroups> <li>Eyes</li> </bodyPartGroups> <wornGraphicPath>Items/Blindfold/Blindfold</wornGraphicPath> <layers> <li>Overhead</li> </layers> <!-- <commonality>0</commonality> --> </apparel> <soul_type>rjw.bondage_gear_soul</soul_type> <equipped_hediff>Blindfold</equipped_hediff> <gives_bound_moodlet>true</gives_bound_moodlet> <blocks_hands>false</blocks_hands> <HediffTargetBodyPartDefs> <li>Eye</li> </HediffTargetBodyPartDefs> <BoundBodyPartGroupDefs> <li>Eyes</li> </BoundBodyPartGroupDefs> </rjw.bondage_gear_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Bondage/Items_Bondage_Blindfold.xml
XML
unknown
1,398
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.bondage_gear_def ParentName="BondageGearBase"> <defName>ChastityBelt</defName> <label>chastity belt</label> <description>Chastity belt prevents sex and masturbation.</description> <thingClass>rjw.bondage_gear</thingClass> <graphicData> <texPath>Items/ChastityBelt/chastity_belt</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <stuffCategories> <li>Metallic</li> </stuffCategories> <costStuffCount>60</costStuffCount> <statBases> <MaxHitPoints>300</MaxHitPoints> <Flammability>0.1</Flammability> <DeteriorationRate>0.5</DeteriorationRate> <Beauty>-6</Beauty> <MarketValue>550</MarketValue> <Mass>3</Mass> </statBases> <apparel> <!-- Use the legs group so it doesn't conflict with shirts --> <bodyPartGroups> <li>Legs</li> </bodyPartGroups> <wornGraphicPath>Items/ChastityBelt/Chastity_Belt</wornGraphicPath> <!-- Use the shell layer so it doesn't conflict with pants --> <layers> <li>Shell</li> </layers> </apparel> <soul_type>rjw.bondage_gear_soul</soul_type> <gives_bound_moodlet>true</gives_bound_moodlet> <blocks_penis>true</blocks_penis> <blocks_vagina>true</blocks_vagina> <blocks_anus>true</blocks_anus> <equipped_hediff>ChastityBelt</equipped_hediff> <HediffTargetBodyPartDefs> <li>Genitals</li> <li>Anus</li> </HediffTargetBodyPartDefs> </rjw.bondage_gear_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Bondage/Items_Bondage_ChastityBelt.xml
XML
unknown
1,456
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.bondage_gear_def ParentName="BondageGearBase"> <defName>ChastityBeltO</defName> <label>chastity belt(Open)</label> <description>Chastity belt allows anal sex.</description> <thingClass>rjw.bondage_gear</thingClass> <graphicData> <texPath>Items/ChastityBelt/chastity_belt</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <stuffCategories> <li>Metallic</li> </stuffCategories> <costStuffCount>60</costStuffCount> <statBases> <MaxHitPoints>300</MaxHitPoints> <Flammability>0.1</Flammability> <DeteriorationRate>0.5</DeteriorationRate> <Beauty>-6</Beauty> <MarketValue>550</MarketValue> <Mass>3</Mass> </statBases> <apparel> <bodyPartGroups> <li>Legs</li> </bodyPartGroups> <wornGraphicPath>Items/ChastityBelt/Chastity_Belt</wornGraphicPath> <layers> <li>Shell</li> </layers> </apparel> <soul_type>rjw.bondage_gear_soul</soul_type> <gives_bound_moodlet>true</gives_bound_moodlet> <blocks_penis>true</blocks_penis> <blocks_vagina>true</blocks_vagina> <equipped_hediff>ChastityBelt</equipped_hediff> <HediffTargetBodyPartDefs> <li>Genitals</li> <li>Anus</li> </HediffTargetBodyPartDefs> </rjw.bondage_gear_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Bondage/Items_Bondage_ChastityBeltOpen.xml
XML
unknown
1,283
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.bondage_gear_def ParentName="BondageGearBase"> <defName>ChastityCage</defName> <label>chastity Cage</label> <description>Chastity cage for males, prevents erection.</description> <thingClass>rjw.bondage_gear</thingClass> <graphicData> <texPath>Items/ChastityBelt/chastity_belt</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <stuffCategories> <li>Metallic</li> </stuffCategories> <costStuffCount>10</costStuffCount> <statBases> <MaxHitPoints>100</MaxHitPoints> <Flammability>0.1</Flammability> <DeteriorationRate>0.5</DeteriorationRate> <Beauty>-6</Beauty> <MarketValue>100</MarketValue> <Mass>1</Mass> </statBases> <apparel> <bodyPartGroups> <li>Legs</li> </bodyPartGroups> <wornGraphicPath>Items/ChastityBelt/Chastity_Belt</wornGraphicPath> <layers> <li>Shell</li> </layers> </apparel> <soul_type>rjw.bondage_gear_soul</soul_type> <gives_bound_moodlet>true</gives_bound_moodlet> <blocks_penis>true</blocks_penis> <equipped_hediff>ChastityCage</equipped_hediff> <HediffTargetBodyPartDefs> <li>Genitals</li> </HediffTargetBodyPartDefs> </rjw.bondage_gear_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Bondage/Items_Bondage_ChastityCage.xml
XML
unknown
1,234
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.bondage_gear_def ParentName="BondageGearBase"> <defName>Earmuff</defName> <label>earmuff</label> <description>An earmuff. A restraint device that blocks the wearer's perception of sound.</description> <thingClass>rjw.armbinder</thingClass> <graphicData> <texPath>Items/Blindfold/Blindfold</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <stuffCategories> <li>Leathery</li> </stuffCategories> <costStuffCount>40</costStuffCount> <statBases> <MaxHitPoints>250</MaxHitPoints> <Flammability>0.5</Flammability> <DeteriorationRate>1.0</DeteriorationRate> <Beauty>-6</Beauty> <MarketValue>550</MarketValue> <Mass>4</Mass> </statBases> <apparel> <hatRenderedFrontOfFace>true</hatRenderedFrontOfFace> <bodyPartGroups> <li>Ear</li> </bodyPartGroups> <wornGraphicPath>Items/Blindfold/Blindfold</wornGraphicPath> <layers> <li>Overhead</li> </layers> <!-- <commonality>0</commonality> --> </apparel> <soul_type>rjw.bondage_gear_soul</soul_type> <equipped_hediff>Blindfold</equipped_hediff> <gives_bound_moodlet>true</gives_bound_moodlet> <blocks_hands>false</blocks_hands> <HediffTargetBodyPartDefs> <li>Ear</li> </HediffTargetBodyPartDefs> <BoundBodyPartGroupDefs> <li>Ear</li> </BoundBodyPartGroupDefs> </rjw.bondage_gear_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Bondage/Items_Bondage_Earmuff.xml
XML
unknown
1,404
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.bondage_gear_def ParentName="BondageGearBase"> <defName>GagBall</defName> <label>ball gag</label> <description>Ball gag prevents talking.</description> <thingClass>rjw.bondage_gear</thingClass> <graphicData> <texPath>Items/GagBall/gag_ball</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <MaxHitPoints>150</MaxHitPoints> <Flammability>0.5</Flammability> <DeteriorationRate>1.0</DeteriorationRate> <Beauty>-6</Beauty> <MarketValue>450</MarketValue> <Mass>1</Mass> </statBases> <apparel> <bodyPartGroups> <li>Teeth</li> <!-- <li>FullHead</li> --> <!-- <li>Mouth</li> Causes bugs with ApparelUtility.HasPartsToWear --> </bodyPartGroups> <wornGraphicPath>Items/GagBall/GagBall</wornGraphicPath> <layers> <li>Overhead</li> <!-- <li>OnSkin</li> --> </layers> <hatRenderedFrontOfFace>true</hatRenderedFrontOfFace> </apparel> <soul_type>rjw.bondage_gear_soul</soul_type> <equipped_hediff>ClosedGag</equipped_hediff> <gives_gagged_moodlet>true</gives_gagged_moodlet> <blocks_oral>true</blocks_oral> <HediffTargetBodyPartDefs> <li>Jaw</li> <li>AnimalJaw</li> <li>Beak</li> <li>InsectMouth</li> <li>SnakeMouth</li> </HediffTargetBodyPartDefs> <BoundBodyPartGroupDefs> <li>HeadAttackTool</li> <li>Teeth</li> <li>Beak</li> <li>Mouth</li> </BoundBodyPartGroupDefs> </rjw.bondage_gear_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Bondage/Items_Bondage_GagBall.xml
XML
unknown
1,495
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.bondage_gear_def ParentName="BondageGearBase"> <defName>GagRing</defName> <label>ring gag</label> <description>Ring gag prevents talking, allows oral interaction.</description> <thingClass>rjw.bondage_gear</thingClass> <graphicData> <texPath>Items/GagRing/gag_ring</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <MaxHitPoints>150</MaxHitPoints> <Flammability>0.2</Flammability> <DeteriorationRate>1.0</DeteriorationRate> <Beauty>-6</Beauty> <MarketValue>550</MarketValue> <Mass>1</Mass> </statBases> <apparel> <bodyPartGroups> <li>Teeth</li> <!-- <li>FullHead</li> --> <!-- <li>Mouth</li> Causes bugs with ApparelUtility.HasPartsToWear --> </bodyPartGroups> <wornGraphicPath>Items/GagRing/GagRing</wornGraphicPath> <layers> <li>Overhead</li> <!-- <li>OnSkin</li> --> </layers> <hatRenderedFrontOfFace>true</hatRenderedFrontOfFace> </apparel> <soul_type>rjw.bondage_gear_soul</soul_type> <equipped_hediff>OpenGag</equipped_hediff> <gives_gagged_moodlet>true</gives_gagged_moodlet> <HediffTargetBodyPartDefs> <li>Jaw</li> <li>AnimalJaw</li> <li>Beak</li> <li>InsectMouth</li> <li>SnakeMouth</li> </HediffTargetBodyPartDefs> <BoundBodyPartGroupDefs> <li>HeadAttackTool</li> <li>Teeth</li> <li>Beak</li> <li>Mouth</li> </BoundBodyPartGroupDefs> </rjw.bondage_gear_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Bondage/Items_Bondage_GagRing.xml
XML
unknown
1,484
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.bondage_gear_def ParentName="BondageGearBase"> <defName>Legbinder</defName> <label>legbinder</label> <description>legbinder that prevents any pawn it's attached to from using their legs.</description> <thingClass>rjw.armbinder</thingClass> <graphicData> <texPath>Items/Legbinder/Legbinder</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <stuffCategories> <li>Leathery</li> </stuffCategories> <costStuffCount>80</costStuffCount> <statBases> <MaxHitPoints>250</MaxHitPoints> <Flammability>0.5</Flammability> <DeteriorationRate>1.0</DeteriorationRate> <Beauty>-6</Beauty> <MarketValue>550</MarketValue> <Mass>4</Mass> <ArmorRating_Blunt>0.15</ArmorRating_Blunt> <ArmorRating_Sharp>0.25</ArmorRating_Sharp> <Insulation_Cold>-4</Insulation_Cold> </statBases> <apparel> <bodyPartGroups> <li>Waist</li> </bodyPartGroups> <wornGraphicPath>Items/Legbinder/Legbinder</wornGraphicPath> <layers> <li>Middle</li> </layers> <!-- <commonality>0</commonality> --> </apparel> <soul_type>rjw.bondage_gear_soul</soul_type> <equipped_hediff>Legbinder</equipped_hediff> <gives_bound_moodlet>true</gives_bound_moodlet> <blocks_hands>false</blocks_hands> <HediffTargetBodyPartDefs> <li>Leg</li> </HediffTargetBodyPartDefs> <BoundBodyPartGroupDefs> <li>Legs</li> </BoundBodyPartGroupDefs> </rjw.bondage_gear_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Bondage/Items_Bondage_Legbinder.xml
XML
unknown
1,482
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThingDef ParentName="FuckMachineBase" Class="rjwex.Building_FuckMachine_Def"> <defName>FuckMachineAutoChair</defName> <label>Autochair fuck machine</label> <description>Model popular on glitterworlds. Variable shape fits any user, wide range of instruments provides unique sensations. This equipped with platesteel restraints armchair doesn't have any external controls and instead guided by wireless neurointerface, it decides by itself what feelings user will experience this time.</description> <thingClass>rjwex.Building_FuckMachine</thingClass> <graphicData> <texPath>Buildings/FuckMachines/AutoChair/FMAutoChair</texPath> <graphicClass>Graphic_Multi</graphicClass> <drawSize>(1,1)</drawSize> </graphicData> <staticSunShadowHeight>0.05</staticSunShadowHeight> <castEdgeShadows>False</castEdgeShadows> <size>(1,1)</size> <uiIconPath>Buildings/FuckMachines/AutoChair/FMAutoChair_south</uiIconPath> <uiIconScale>0.90</uiIconScale> <defaultPlacingRot>South</defaultPlacingRot> <statBases> <MaxHitPoints>200</MaxHitPoints> <Flammability>1.0</Flammability> <WorkToBuild>1500</WorkToBuild> <Mass>20</Mass> <Beauty>10</Beauty> </statBases> <stuffCategories> <li>Fabric</li> <li>Leathery</li> </stuffCategories> <costStuffCount>20</costStuffCount> <costList> <Plasteel>10</Plasteel> <Gold>10</Gold> <ComponentIndustrial>6</ComponentIndustrial> <ComponentSpacer>1</ComponentSpacer> </costList> <comps> <li Class="CompProperties_Forbiddable"/> <li Class="CompProperties_Power"> <compClass>CompPowerTrader</compClass> <basePowerConsumption>200</basePowerConsumption> </li> <li Class="CompProperties_Flickable"/> <li Class="CompProperties_Breakdownable"/> <li Class="rjwex.CompProperties_PublicPrivateComp" /> </comps> <techLevel>Industrial</techLevel> <constructionSkillPrerequisite>12</constructionSkillPrerequisite> <researchPrerequisites> <li>ComplexFurniture</li> <li>Electricity</li> <li>MicroelectronicsBasics</li> </researchPrerequisites> <forced>true</forced> <automatic>True</automatic> <vertical>True</vertical> <powered>True</powered> <quality>1.5</quality> <height>0.20</height> <mode>Normal</mode> </ThingDef> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/FuckMachines/Buildings_FuckMachine_AutoChair.xml
XML
unknown
2,315
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThingDef ParentName="FuckMachineBase" Class="rjwex.Building_FuckMachine_Def"> <defName>FuckMachineSaddle</defName> <label>Saddle fuck machine</label> <description>Convinient model which will provide many fascinating rides.</description> <thingClass>rjwex.Building_FuckMachine</thingClass> <graphicData> <texPath>Buildings/FuckMachines/Saddle/FMSaddle</texPath> <graphicClass>Graphic_Multi</graphicClass> <drawSize>(1,1)</drawSize> </graphicData> <staticSunShadowHeight>0.05</staticSunShadowHeight> <castEdgeShadows>False</castEdgeShadows> <size>(1,1)</size> <uiIconPath>Buildings/FuckMachines/Saddle/FMSaddle_east</uiIconPath> <uiIconScale>0.90</uiIconScale> <defaultPlacingRot>East</defaultPlacingRot> <statBases> <MaxHitPoints>200</MaxHitPoints> <Flammability>1.0</Flammability> <WorkToBuild>1500</WorkToBuild> <Mass>20</Mass> <Beauty>10</Beauty> </statBases> <stuffCategories> <li>Fabric</li> <li>Leathery</li> </stuffCategories> <costStuffCount>20</costStuffCount> <costList> <Steel>10</Steel> <ComponentIndustrial>1</ComponentIndustrial> </costList> <comps> <li Class="CompProperties_Forbiddable"/> <li Class="CompProperties_Power"> <compClass>CompPowerTrader</compClass> <basePowerConsumption>50</basePowerConsumption> </li> <li Class="CompProperties_Flickable"/> <li Class="CompProperties_Breakdownable"/> <li Class="rjwex.CompProperties_PublicPrivateComp" /> </comps> <techLevel>Industrial</techLevel> <constructionSkillPrerequisite>8</constructionSkillPrerequisite> <researchPrerequisites> <li>ComplexFurniture</li> <li>Electricity</li> </researchPrerequisites> <forced>False</forced> <automatic>False</automatic> <vertical>True</vertical> <powered>True</powered> <quality>1</quality> <height>0.20</height> <mode>Normal</mode> </ThingDef> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/FuckMachines/Buildings_FuckMachine_Saddle.xml
XML
unknown
1,938
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThingDef ParentName="FuckMachineBase" Class="rjwex.Building_FuckMachine_Def"> <defName>FuckMachineWooden</defName> <label>Fuck machine</label> <description>Not quite a "machine", but definitely some "fuck" with the right mood. At least some entertainment when there is no electricity, but hip work can be tiring. Remember to polish dildo before using, unless you want a torture device.</description> <thingClass>rjwex.Building_FuckMachine</thingClass> <graphicData> <texPath>Buildings/FuckMachines/Wooden/FMWooden</texPath> <graphicClass>Graphic_Multi</graphicClass> <drawSize>(1,1)</drawSize> </graphicData> <staticSunShadowHeight>0.05</staticSunShadowHeight> <castEdgeShadows>False</castEdgeShadows> <size>(1,1)</size> <uiIconPath>Buildings/FuckMachines/Wooden/FMWooden_east</uiIconPath> <uiIconScale>0.90</uiIconScale> <defaultPlacingRot>South</defaultPlacingRot> <statBases> <MaxHitPoints>200</MaxHitPoints> <Flammability>1.0</Flammability> <WorkToBuild>500</WorkToBuild> <Mass>20</Mass> <Beauty>10</Beauty> </statBases> <stuffCategories> <li>Stony</li> <li>Woody</li> </stuffCategories> <costStuffCount>10</costStuffCount> <comps> <li Class="rjwex.CompProperties_PublicPrivateComp" /> <li Class="CompProperties_Forbiddable"/> </comps> <techLevel>Medieval</techLevel> <constructionSkillPrerequisite>6</constructionSkillPrerequisite> <researchPrerequisites> <li>ComplexFurniture</li> </researchPrerequisites> <forced>False</forced> <automatic>False</automatic> <vertical>True</vertical> <powered>False</powered> <quality>0.5</quality> <height>0.22</height> <mode>Normal</mode> </ThingDef> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/FuckMachines/Buildings_FuckMachine_Wooden.xml
XML
unknown
1,750
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThingCategoryDef> <defName>BuildingsFuckMachines</defName> <label>fuck machines</label> <parent>Buildings</parent> </ThingCategoryDef> <ThingDef Name="FuckMachineBase" Abstract="True"> <soundImpactDefault>BulletImpact_Metal</soundImpactDefault> <selectable>true</selectable> <drawerType>MapMeshAndRealTime</drawerType> <category>Building</category> <thingClass>Building</thingClass> <terrainAffordanceNeeded>Light</terrainAffordanceNeeded> <repairEffect>Repair</repairEffect> <minifiedDef>MinifiedThing</minifiedDef> <thingCategories> <li>BuildingsFuckMachines</li> </thingCategories> <rotatable>true</rotatable> <altitudeLayer>Building</altitudeLayer> <designationCategory>Misc</designationCategory> <statBases> <MaxHitPoints>200</MaxHitPoints> <Flammability>1.0</Flammability> <WorkToBuild>500</WorkToBuild> <Mass>20</Mass> <Beauty>10</Beauty> </statBases> <fillPercent>0.2</fillPercent> <pathCost>30</pathCost> <leaveResourcesWhenKilled>True</leaveResourcesWhenKilled> <techLevel>Industrial</techLevel> <constructionSkillPrerequisite>8</constructionSkillPrerequisite> <researchPrerequisites> <li>ComplexFurniture</li> </researchPrerequisites> <passability>PassThroughOnly</passability> <socialPropernessMatters>False</socialPropernessMatters> </ThingDef> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/FuckMachines/Buildings_FuckMachines_base.xml
XML
unknown
1,394
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!--Variable-size lockable--> <rjwex.anal_plug_def ParentName="AnalPlugBase"> <defName>AnalPlugExpandable</defName> <label>Expandable anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Expandable anal plug. Hololock equipped.</description> <techLevel>Industrial</techLevel> <graphicData> <texPath>Items/Plugs/AnalPlugExpandable</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.8</Mass> </statBases> <plug_size>0</plug_size> <comps> <li Class="rjw.CompProperties_HoloCryptoStamped" /> </comps> <stuffCategories> <li>Leathery</li> </stuffCategories> <recipeMaker> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSkill>Crafting</workSkill> <effectWorking>Smith</effectWorking> <soundWorking>Recipe_Machining</soundWorking> <unfinishedThingDef>UnfinishedArmor</unfinishedThingDef> <recipeUsers> <li>TableMachining</li> </recipeUsers> </recipeMaker> <costStuffCount>5</costStuffCount> <costList> <ComponentIndustrial>1</ComponentIndustrial> <Hololock>1</Hololock> </costList> <blocks_anus>true</blocks_anus> </rjwex.anal_plug_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Plugs/Items_Plugs_Inflatable.xml
XML
unknown
1,254
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!--Base--> <rjwex.anal_plug_def Name="MetalAnalPlugBase" ParentName="AnalPlugBase" Abstract="True"> <techLevel>Medieval</techLevel> <stuffCategories> <li>Metallic</li> </stuffCategories> <costStuffCount>2</costStuffCount> <recipeMaker> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSkill>Crafting</workSkill> <effectWorking>Smith</effectWorking> <soundWorking>Recipe_Machining</soundWorking> <unfinishedThingDef>UnfinishedArmor</unfinishedThingDef> <recipeUsers> <li>TableMachining</li> <li>FueledSmithy</li> <li>ElectricSmithy</li> </recipeUsers> </recipeMaker> <researchPrerequisites> <li>Smithing</li> </researchPrerequisites> </rjwex.anal_plug_def> <!--S-size--> <rjwex.anal_plug_def ParentName="MetalAnalPlugBase"> <defName>MAnalPlugSmall</defName> <label>Small anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Plain polished shiny anal plug. S-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugSmall</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.3</Mass> </statBases> <costStuffCount>1</costStuffCount> <plug_size>1</plug_size> </rjwex.anal_plug_def> <!--M-size--> <rjwex.anal_plug_def ParentName="MetalAnalPlugBase"> <defName>MAnalPlugMedium</defName> <label>Medium anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Plain polished shiny anal plug. M-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugAverage</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.5</Mass> </statBases> <costStuffCount>2</costStuffCount> <plug_size>2</plug_size> </rjwex.anal_plug_def> <!--L-size--> <rjwex.anal_plug_def ParentName="MetalAnalPlugBase"> <defName>MAnalPlugLarge</defName> <label>Large anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Plain polished shiny anal plug. L-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugLarge</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.8</Mass> </statBases> <costStuffCount>3</costStuffCount> <plug_size>3</plug_size> </rjwex.anal_plug_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Plugs/Items_Plugs_Metal.xml
XML
unknown
2,348
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!--Base--> <rjwex.anal_plug_def Name="StonyAnalPlugBase" ParentName="AnalPlugBase" Abstract="True"> <techLevel>Neolithic</techLevel> <stuffCategories> <li>Stony</li> </stuffCategories> <costStuffCount>2</costStuffCount> <recipeMaker> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSkill>Crafting</workSkill> <effectWorking>Smith</effectWorking> <soundWorking>Recipe_Machining</soundWorking> <unfinishedThingDef>UnfinishedArmor</unfinishedThingDef> <recipeUsers> <li>TableStonecutter</li> </recipeUsers> </recipeMaker> <researchPrerequisites> <li>Stonecutting</li> </researchPrerequisites> </rjwex.anal_plug_def> <!--S-size--> <rjwex.anal_plug_def ParentName="StonyAnalPlugBase"> <defName>SAnalPlugSmall</defName> <label>Small anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Heavy polished anal plug. S-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugSmall</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.6</Mass> </statBases> <costStuffCount>1</costStuffCount> <plug_size>1</plug_size> </rjwex.anal_plug_def> <!--M-size--> <rjwex.anal_plug_def ParentName="StonyAnalPlugBase"> <defName>SAnalPlugMedium</defName> <label>Medium anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Heavy polished anal plug. M-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugAverage</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>1.0</Mass> </statBases> <costStuffCount>2</costStuffCount> <plug_size>2</plug_size> </rjwex.anal_plug_def> <!--L-size--> <rjwex.anal_plug_def ParentName="StonyAnalPlugBase"> <defName>SAnalPlugLarge</defName> <label>Large anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Heavy polished anal plug. L-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugLarge</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>1.6</Mass> </statBases> <costStuffCount>3</costStuffCount> <plug_size>3</plug_size> </rjwex.anal_plug_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Plugs/Items_Plugs_Stony.xml
XML
unknown
2,280
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!--Base--> <rjwex.anal_plug_def Name="WoodyAnalPlugBase" ParentName="AnalPlugBase" Abstract="True"> <techLevel>Neolithic</techLevel> <stuffCategories> <li>Woody</li> </stuffCategories> <costStuffCount>2</costStuffCount> <recipeMaker> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSkill>Crafting</workSkill> <effectWorking>Smith</effectWorking> <soundWorking>Recipe_Machining</soundWorking> <unfinishedThingDef>UnfinishedArmor</unfinishedThingDef> <recipeUsers> <li>CraftingSpot</li> </recipeUsers> </recipeMaker> </rjwex.anal_plug_def> <!--S-size--> <rjwex.anal_plug_def ParentName="WoodyAnalPlugBase"> <defName>WAnalPlugSmall</defName> <label>Small anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Primitive polished anal plug, probably not very healthy for a long term wearing. S-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugSmall</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.1</Mass> </statBases> <costStuffCount>1</costStuffCount> <plug_size>1</plug_size> </rjwex.anal_plug_def> <!--M-size--> <rjwex.anal_plug_def ParentName="WoodyAnalPlugBase"> <defName>WAnalPlugMedium</defName> <label>Medium anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Primitive polished anal plug, probably not very healthy for a long term wearing. M-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugAverage</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.2</Mass> </statBases> <costStuffCount>2</costStuffCount> <plug_size>2</plug_size> </rjwex.anal_plug_def> <!--L-size--> <rjwex.anal_plug_def ParentName="WoodyAnalPlugBase"> <defName>WAnalPlugLarge</defName> <label>Large anal plug</label> <soul_type>rjwex.anal_plug_soul</soul_type> <description>Primitive polished anal plug, probably not very healthy for a long term wearing. L-size</description> <graphicData> <texPath>Items/Plugs/AnalPlugLarge</texPath> <graphicClass>Graphic_Single</graphicClass> </graphicData> <statBases> <Mass>0.4</Mass> </statBases> <costStuffCount>3</costStuffCount> <plug_size>3</plug_size> </rjwex.anal_plug_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Plugs/Items_Plugs_Woody.xml
XML
unknown
2,363
<?xml version="1.0" encoding="utf-8" ?> <Defs> <!--Base--> <rjwex.anal_plug_def Name="AnalPlugBase" Abstract="True"> <thingClass>rjwex.anal_plug</thingClass> <category>Item</category> <thingCategories> <li>Bondage</li> </thingCategories> <selectable>True</selectable> <pathCost>10</pathCost> <useHitPoints>True</useHitPoints> <graphicData> <onGroundRandomRotateAngle>35</onGroundRandomRotateAngle> </graphicData> <drawGUIOverlay>true</drawGUIOverlay> <statBases> <MaxHitPoints>100</MaxHitPoints> <DeteriorationRate>0</DeteriorationRate> <Beauty>-4</Beauty> <SellPriceFactor>0.80</SellPriceFactor> <Flammability>0.1</Flammability> <WorkToMake>1500</WorkToMake> <Mass>0.5</Mass> </statBases> <altitudeLayer>Item</altitudeLayer> <alwaysHaulable>True</alwaysHaulable> <tickerType>Never</tickerType> <tradeTags> <li>Exotic</li> </tradeTags> <comps> <li Class="CompProperties_Usable"> <compClass>rjw.CompBondageGear</compClass> <useJob>GiveBondageGear</useJob> <useLabel>Equip</useLabel> </li> <li Class="CompProperties_UseEffect"> <compClass>rjw.CompGetBondageGear</compClass> </li> <li Class="CompProperties_Forbiddable" /> <li> <compClass>CompColorable</compClass> </li> <li> <compClass>CompQuality</compClass> </li> </comps> <apparel> <bodyPartGroups> <li>Waist</li> </bodyPartGroups> <layers> <li>OnSkin</li> </layers> </apparel> </rjwex.anal_plug_def> </Defs>
lucci/rjw
1.2/Defs/ThingDefs/Plugs/Items_Plugs_base.xml
XML
unknown
1,510
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThinkTreeDef> <defName>FMTree</defName> <insertTag>Humanlike_PostMentalState</insertTag> <insertPriority>12</insertPriority> <thinkRoot Class="ThinkNode_Priority"> <subNodes> <li Class="rjw.ThinkNode_ConditionalSexChecks"> <subNodes> <li Class="rjwex.ThinkNode_ConditionalCanUseFM"> <subNodes> <li Class="rjwex.ThinkNode_ChancePerHour_UsingFM"> <subNodes> <li Class="rjwex.JobGiver_UseFM"/> </subNodes> </li> </subNodes> </li> </subNodes> </li> </subNodes> </thinkRoot> </ThinkTreeDef> </Defs>
lucci/rjw
1.2/Defs/ThinkTreeDefs/ThinkTrees_FMachines.xml
XML
unknown
648
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ThoughtDef> <defName>Pluged</defName> <workerClass>rjwex.ThoughtWorker_Plugged</workerClass> <validWhileDespawned>true</validWhileDespawned> <nullifyingTraits> <li>Masochist</li> <li>Nymphomaniac</li> </nullifyingTraits> <stages> <li> <label>Plugged loosely</label> <description>Sometimes I just forget about this thing in my butt.</description> <baseMoodEffect>0</baseMoodEffect> </li> <li> <label>Plugged</label> <description>This plug fits so well, I can wear it all day long.</description> <baseMoodEffect>3</baseMoodEffect> </li> <li> <label>Plugged tightly</label> <description>This plug keeps my butthole in constant tension. Exciting, but rather uncomfortable.</description> <baseMoodEffect>2</baseMoodEffect> </li> <li> <label>Plugged very tight</label> <description>This thing is very disturbing, I want to take it out.</description> <baseMoodEffect>-2</baseMoodEffect> </li> <li> <label>Plugged cracking tight</label> <description>My butt is at the limit, I barely can walk.</description> <baseMoodEffect>-5</baseMoodEffect> </li> </stages> </ThoughtDef> <ThoughtDef> <defName>MasochistPluged</defName> <workerClass>rjwex.ThoughtWorker_Plugged</workerClass> <validWhileDespawned>true</validWhileDespawned> <requiredTraits> <li>Masochist</li> <li>Nymphomaniac</li> </requiredTraits> <stages> <li> <label>Plugged loosely</label> <description>Sometimes I just forget about this thing in my butt.</description> <baseMoodEffect>0</baseMoodEffect> </li> <li> <label>Plugged</label> <description>This plug fits so well, I can wear it all day long.</description> <baseMoodEffect>3</baseMoodEffect> </li> <li> <label>Plugged tightly</label> <description>This plug keeps my butthole in constant tension. It's so exciting.</description> <baseMoodEffect>5</baseMoodEffect> </li> <li> <label>Plugged very tight</label> <description>This plug in my butt constantly reminds of itself. Trying to sit with it is so arousing.</description> <baseMoodEffect>8</baseMoodEffect> </li> <li> <label>Plugged cracking tight</label> <description>My butt is stretched to the limit, and I can't think of anything else.</description> <baseMoodEffect>10</baseMoodEffect> </li> </stages> </ThoughtDef> </Defs>
lucci/rjw
1.2/Defs/ThoughtDefs/Thoughts_Plugged.xml
XML
unknown
2,465
<?xml version="1.0" encoding="utf-8" ?> <Defs> <WorkGiverDef> <defName>WG_UseFM</defName> <label>Riding' fuck machine</label> <giverClass>rjwex.WorkGiver_UseFM</giverClass> <workType>BasicWorker</workType> <verb>use</verb> <gerund>using</gerund> <scanThings>false</scanThings> <scanCells>false</scanCells> <priorityInType>10</priorityInType> <!--requiredCapacities> <li>Manipulation</li> </requiredCapacities--> </WorkGiverDef> </Defs>
lucci/rjw
1.2/Defs/WorkGiverDefs/WorkGivers_FuckMachines.xml
XML
unknown
466
<?xml version="1.0" encoding="utf-8"?> <Patch> <Operation Class="PatchOperationFindMod"> <mods> <li>[NL] Facial Animation - WIP</li> </mods> <match Class="PatchOperationSequence"> <success>Always</success> <operations> <li Class="PatchOperationAdd"> <xpath>/Defs/FacialAnimation.FaceAnimationDef[defName="Lovin" or defName="Lovin2"]/targetJobs</xpath> <success>Always</success> <value> <li>UseFM</li> </value> </li> </operations> </match> </Operation> </Patch>
lucci/rjw
1.2/Patches/FacialAnimation_RJW-EXcompatibility.xml
XML
unknown
516
<?xml version="1.0" encoding="utf-8" ?> <Patch> <!--Experimantal Sexuality Tab--> <!-- <Operation Class="PatchOperationAdd"> <xpath>Defs/ThingDef[@Name="BasePawn"]/inspectorTabs</xpath> <value> <li>rjwex.ITab_Pawn_Sexuality</li> </value> </Operation> --> </Patch>
lucci/rjw
1.2/Patches/Things_Patches.xml
XML
unknown
277
root=true [*.{cs,xml}] indent_style = tab
lucci/rjw
1.2/Source/.editorconfig
none
unknown
43
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("RimJobWorldExtension")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RimJobWorldExtension")] [assembly: AssemblyCopyright("Copyright © 2019")] [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("a35ee8e8-b802-45ba-8526-16ea37856a86")] // 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")]
lucci/rjw
1.2/Source/0trash/Properties/AssemblyInfo.cs
C#
unknown
1,411
<?xml version="1.0" encoding="utf-8"?> <packages> <package id="Lib.Harmony" version="2.0.0.10" targetFramework="net472" /> <package id="RimWorld.MultiplayerAPI" version="0.2.0" targetFramework="net472" /> <package id="UnlimitedHugs.Rimworld.HugsLib" version="7.1.4" targetFramework="net472" /> </packages>
lucci/rjw
1.2/Source/0trash/packages.config
INI
unknown
314
using RimWorld; using RimWorld.Planet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Verse; using Verse.AI; namespace rjwex { public class Building_FuckMachine_Def : ThingDef { public bool forced = false; public bool automatic = false; public bool vertical = true; public float quality = 1; public bool powered = false; public float height = 0.12f; public float amplitude = 0.08f; public JobDriver_UseFM.Modes mode; } public class Building_FuckMachine : Building { public bool Private = false; public string lastRideInfo = ""; public string currentRideInfo = ""; public List<Pawn> owners { get { if (this.Private) { Room room = this.GetRoom(RegionType.Set_Passable); if (room != null) { return room.Owners.ToList<Pawn>(); } } return new List<Pawn>(); } } public bool IsOwner(Pawn pawn) { return this.owners.Contains(pawn); } public bool CanUse(Pawn pawn) { CompPowerTrader compPower = this.TryGetComp<CompPowerTrader>(); if (compPower != null && !compPower.PowerOn) { return false; } return (this.owners.Contains(pawn) || (this.owners.Count == 0 && !this.Private)); } public override void ExposeData() { base.ExposeData(); Scribe_Values.Look<bool>(ref this.Private, "Private", false, false); Scribe_Values.Look<string>(ref this.lastRideInfo, "lastRideInfo", "", false); Scribe_Values.Look<string>(ref this.currentRideInfo, "currentRideInfo", "", false); } public override void SpawnSetup(Map map, bool respawningAfterLoad) { base.SpawnSetup(map, respawningAfterLoad); FMHelper.Register(this); } public override string GetInspectString() { //TODO status display, mode, progress, etc StringBuilder stringBuilder = new StringBuilder(); stringBuilder.Append(base.GetInspectString()); if (stringBuilder.Length > 0) stringBuilder.AppendLine(); stringBuilder.Append("Access: " + (this.Private ? "Private" : "Public")); stringBuilder.AppendLine(); if (this.Private && this.owners.Count == 0) { stringBuilder.AppendLine("Owner".Translate() + ": " + "Nobody".Translate()); } else if (this.Private && this.owners.Count == 1) { stringBuilder.AppendLine("Owner".Translate() + ": " + this.owners[0].Label); } else if (this.Private) { stringBuilder.Append("Owners".Translate() + ": "); bool flag = false; for (int i = 0; i < this.owners.Count; i++) { if (flag) { stringBuilder.Append(", "); } flag = true; stringBuilder.Append(this.owners[i].LabelShort); } stringBuilder.AppendLine(); } if (!lastRideInfo.NullOrEmpty()) { stringBuilder.Append(lastRideInfo); stringBuilder.AppendLine(); } else if (!currentRideInfo.NullOrEmpty()) { stringBuilder.Append(currentRideInfo); stringBuilder.AppendLine(); } return stringBuilder.ToString().TrimEndNewlines(); } public JobDef GetJobDef() { return DefDatabase<JobDef>.GetNamed("UseFM", true); } // TODO RMB menu? public override IEnumerable<FloatMenuOption> GetFloatMenuOptions(Pawn selPawn) { if (selPawn.Faction == Faction.OfPlayer) { foreach (FloatMenuOption floatMenuOption in base.GetFloatMenuOptions(selPawn)) { FloatMenuOption fmo = floatMenuOption; yield return fmo; fmo = null; } if (!selPawn.CanReserve(this, 1, -1, null, false)) yield return new FloatMenuOption("Reserved", null, MenuOptionPriority.Default, null, null, 0.0f, null, null); else if (!selPawn.CanReach(this, PathEndMode.InteractionCell, Danger.Deadly, false, TraverseMode.ByPawn)) { yield return new FloatMenuOption("No path", null, MenuOptionPriority.Default, null, null, 0.0f, null, null); } else if (!this.CanUse(selPawn)) { yield return new FloatMenuOption("Can't use this", null, MenuOptionPriority.Default, null, null, 0.0f, null, null); } else { Action UseThisFM = (() => { selPawn.drafter.Drafted = false; Job job = new Job(this.GetJobDef(), this); if (job == null) return; selPawn.jobs.TryTakeOrderedJob(job, JobTag.SatisfyingNeeds); }); yield return new FloatMenuOption("Use this machine", UseThisFM); } } } } } //template for vanilla ownership system /* :IAssignableBuilding public List<Pawn> owners = new List<Pawn>(); public bool Unowned { get { return owners.Count <= 0; } } public IEnumerable<Pawn> AssigningCandidates { get { if (!Spawned) { return Enumerable.Empty<Pawn>(); } return Map.mapPawns.FreeColonists; } } public IEnumerable<Pawn> AssignedPawns { get { return owners; } } public int MaxAssignedPawnsCount { get { return 5; } } private int OwnerInspectCount { get { if (owners.Count > 3) { return 3; } return owners.Count; } } private bool PlayerCanSeeOwners { get { if (Faction == Faction.OfPlayer) { return true; } for (int i = 0; i < this.owners.Count; i++) { if (owners[i].Faction == Faction.OfPlayer || owners[i].HostFaction == Faction.OfPlayer) { return true; } } return false; } } public void TryAssignPawn(Pawn pawn) { if (!owners.Contains(pawn)) { owners.Add(pawn); } } public void TryUnassignPawn(Pawn pawn) { if (owners.Contains(pawn)) { owners.Remove(pawn); } } public override void DeSpawn() { RemoveAllOwners(); base.DeSpawn(); } public override void ExposeData() { base.ExposeData(); if (Scribe.mode == LoadSaveMode.Saving) { owners.RemoveAll((Pawn x) => x.Destroyed); } Scribe_Collections.Look(ref owners, "owners", LookMode.Reference); if (Scribe.mode == LoadSaveMode.PostLoadInit) { SortOwners(); } } public override IEnumerable<Gizmo> GetGizmos() { foreach (Gizmo g in base.GetGizmos()) { yield return g; } yield return new Command_Action { defaultLabel = "CommandBedSetOwnerLabel".Translate(), icon = ContentFinder<Texture2D>.Get("UI/Commands/AssignOwner", true), defaultDesc = Static.CommandDesc_SetArcadeOwner, action = delegate { Find.WindowStack.Add(new Dialog_AssignBuildingOwner(this)); }, hotKey = KeyBindingDefOf.Misc3 }; } public override string GetInspectString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.Append(base.GetInspectString()); stringBuilder.AppendLine(); if (PlayerCanSeeOwners) { stringBuilder.AppendLine("ForColonistUse".Translate()); if (owners.Count == 0) { stringBuilder.AppendLine("Owner".Translate() + ": " + "Nobody".Translate().ToLower()); } else if (owners.Count == 1) { stringBuilder.AppendLine("Owner".Translate() + ": " + owners[0].Label); } else { stringBuilder.Append("Owners".Translate() + ": "); bool conjugate = false; for (int i = 0; i < OwnerInspectCount; i++) { if (conjugate) { stringBuilder.Append(", "); } conjugate = true; stringBuilder.Append(owners[i].LabelShort); } if (owners.Count > 3) { stringBuilder.Append($" (+ {owners.Count - 3})"); } stringBuilder.AppendLine(); } } return stringBuilder.ToString().TrimEndNewlines(); } public void SortOwners() { owners.SortBy((Pawn x) => x.thingIDNumber); } private void RemoveAllOwners() { owners.Clear(); } */
lucci/rjw
1.2/Source/FuckMachines/Building_FuckMachine.cs
C#
unknown
7,332
using RimWorld; using rjw; using System; using System.Collections.Generic; using System.Linq; using Verse; using Verse.AI; namespace rjwex { public static class FMHelper { public static List<ThingDef> registeredDefs = new List<ThingDef>(); public static IEnumerable<Thing> ContainedFMs(this Room room) { List<Thing> things = room.ContainedAndAdjacentThings; for (int i = 0; i < things.Count; i++) { if (things[i] is Building_FuckMachine fm) { yield return (Thing)fm; } } } public static IEnumerable<Thing> GetOwnedFMs(this Pawn pawn) { Room room = pawn.GetRoom(); if (room != null) { return room.ContainedFMs(); } return null; } public static void Register(Building_FuckMachine fm) { ThingDef reg = fm.def; if (!registeredDefs.Contains(reg)) { registeredDefs.Add(reg); } } public static List<Thing> GetFMs(Map map) { List<Thing> FMList = new List<Thing>(); foreach (Building_FuckMachine_Def def in registeredDefs) { FMList.AddRange(map.listerThings.ThingsOfDef(def).AsEnumerable()); } if (FMList.Count > 0) return FMList; return null; } public static Building_FuckMachine GetFMForPawn(Pawn pawn) { List<Thing> FMList = GetFMs(pawn.Map); if (FMList == null) return null; bool validator(Thing t) { if (!(t as Building_FuckMachine).CanUse(pawn)) return false; if (!pawn.CanReserve(t, 1, -1, null, false) || t.IsForbidden(pawn) || !t.IsSociallyProper(pawn)) return false; CompPowerTrader comp = t.TryGetComp<CompPowerTrader>(); return (comp == null || comp.PowerOn); } Func<Thing, float> priorityGetter = (t => { float p = 1f; p *= (t.def as Building_FuckMachine_Def).quality; if ((t as Building_FuckMachine).IsOwner(pawn)) p *= 1.15f; if (xxx.is_masochist(pawn) && (t.def as Building_FuckMachine_Def).forced) p *= 1.5f; return p; }); return (Building_FuckMachine)GenClosest.ClosestThing_Global_Reachable(pawn.Position, pawn.Map, FMList, PathEndMode.OnCell, TraverseParms.For(pawn, Danger.Some, TraverseMode.ByPawn, false), 300f, validator, priorityGetter); } } }
lucci/rjw
1.2/Source/FuckMachines/FMHelper.cs
C#
unknown
2,207
using System.Collections.Generic; using RimWorld; using Verse; using Verse.AI; using rjw; using HarmonyLib; using UnityEngine; using Verse.Sound; using System; using Multiplayer.API; namespace rjwex { public class JobDriver_UseFM : JobDriverWithOffsets { //consts private const int ticks_maximum = 15000; //6 in-game hours hard max time private const int ticks_minimum = 416; //10 in-game minutes private const int tickerFrequency = 60; //calculations once per second private const float min_rest_when_free = 0.2f; //cease session if rest below this and not restrained private const float RestFallTick = 1.0f / (2500 * 2); //rest need 1to0 in 2 hours (with mult=1) private const float SexTick = 1.0f / 2500; //sex need 0to1 in 1 hour (with mult=1) private readonly TargetIndex iFM = TargetIndex.A; private Building_FuckMachine FM => (Building_FuckMachine)job.GetTarget(iFM); //machine reference //exposable, set on mode selection with random private int ticks_duration = 7500; //program duration, main time limit, may be extended by program private int ticks_elapsed = 0; //main time counter private Modes CurrentMode = Modes.Normal; //selected mode. Normal for all non-automated machines. TODO manual selector private int ticks_between_hearts = 60; //heart mote frequency private int ticks_between_thrusts = 60; //thrust animation mote frequency private float RestFallMult = 1; //multipliers for needs gain/decay private float SexMult = 1; private float JoyMult = 1; private float totalRestFall = 0f; //counters for stats info private float totalSexSat = 0f; private float totalJoy = 0f; //set on init, no random public float height = 0f; public float amplitude = 0f; public float quality = 1; public bool forced = false; public bool auto = false; private bool vertical = true; private bool powered = false; Need_Rest need_rest; Need_Sex need_sex; Need_Joy need_joy; private JitterHandler jitterer; private Func<bool> statsTicker; private Dictionary<Modes, Func<bool>> tickersDict; //======================= private float restFall; private float sexSat; private float joy; public enum Modes { Normal, // balanced for 0.5-1.5 in-game hours, rest to sex conversion factored by quality Long, // slower pace, same exhaustion but longer time (1-3 hours), more pleasure for longer session Intensive, // faster (0.25-0.75 hour), significant exhaustion, lots of pleasure Maxpleasure,// raising sex need to max at fastest rate, even for hompshroom adiicted, moderate exhaustion Tease, // time from short to long (0.5-2 hours), pawn left at horny threshhold (0.25 by rjw default), gains joy from session Exhaust // moderate pleasure gain, lasts down to 0% rest need, but 2-3 hours minimum, capped at 6 hours }; private void init(bool loadingSave = false) { tickersDict = new Dictionary<Modes, Func<bool>>() { {Modes.Normal,(() =>//default ticker { restFall = RestFallTick * RestFallMult * tickerFrequency; sexSat = SexTick * SexMult * tickerFrequency; joy = (Mathf.Max(sexSat - restFall, 0f) + (sexSat / 4)); // (sex - exhaustion or 0 if negative +1/4 sex) TODO better joy calc if (need_rest!=null) need_rest.CurLevel -= restFall; if (need_sex!=null) need_sex.CurLevel += sexSat; if (need_joy!=null) need_joy.CurLevel += joy; totalRestFall += restFall; totalSexSat += sexSat; totalJoy += joy; /* TODO quirk checks string pawn_quirks = CompRJW.Comp(pawn).quirks.ToString(); if (pawn_quirks.Contains("Endytophile")) { if (pawn.apparel.PsychologicallyNude) } if (pawn_quirks.Contains("Exhibitionist")) { if (xxx.is_zoophile(pawn)) { if (pawn.Map.mapPawns.AllPawnsSpawned.Any(x => x != pawn && !x.Dead && x.CanSee(pawn))) satisfaction *= 1.4f; } else { if (pawn.Map.mapPawns.AllPawnsSpawned.Any(x => x != pawn && !x.Dead && x.CanSee(pawn) && !xxx.is_animal(x))) satisfaction *= 1.4f; } }*/ return true; }) }, {Modes.Tease,(() =>// custom ticker to cap sex need at threshhold { restFall = RestFallTick * RestFallMult * tickerFrequency; sexSat = SexTick * SexMult * tickerFrequency; joy = (Mathf.Max((SexTick * tickerFrequency) - restFall, 0f) + ((SexTick * tickerFrequency) / 4)); //joy fixed by basic sexTick; 3/4hrs 0to1 minus restFall if (need_rest!=null) need_rest.CurLevel -= restFall; if (need_sex!=null) need_sex.CurLevel += sexSat; if (need_joy!=null) need_joy.CurLevel += joy; if (Math.Abs(need_sex.CurLevel - need_sex.thresh_horny()) < sexSat * 2) need_sex.CurLevel = need_sex.thresh_horny(); // cap at horny, not count to total else totalSexSat += sexSat; totalRestFall += restFall; totalJoy += joy; return true; }) }, {Modes.Exhaust,(() =>// custom ticker to to achieve 0 rest if still above after duration, no cap, capped by ticks_maximum check { restFall = RestFallTick * RestFallMult * tickerFrequency; sexSat = SexTick * SexMult * tickerFrequency; joy = (Mathf.Max(sexSat - restFall, 0f) + (sexSat / 4)); if (need_rest!=null) need_rest.CurLevel -= restFall; if (need_sex!=null) need_sex.CurLevel += sexSat; if (need_joy!=null) need_joy.CurLevel += joy; if (ticks_elapsed - ticks_duration < tickerFrequency * 3) ticks_duration += tickerFrequency; totalSexSat += sexSat; totalRestFall += restFall; totalJoy += joy; return true; }) } }; //init vertical = (FM.def as Building_FuckMachine_Def).vertical; powered = (FM.def as Building_FuckMachine_Def).powered; quality = (FM.def as Building_FuckMachine_Def).quality; forced = (FM.def as Building_FuckMachine_Def).forced; auto = (FM.def as Building_FuckMachine_Def).automatic; height = (FM.def as Building_FuckMachine_Def).height; amplitude = (FM.def as Building_FuckMachine_Def).amplitude; need_rest = pawn.needs.TryGetNeed<Need_Rest>(); need_sex = pawn.needs.TryGetNeed<Need_Sex>(); need_joy = pawn.needs.TryGetNeed<Need_Joy>(); this.FailOnDespawnedOrNull(iFM); if (!forced) { this.FailOn(() => pawn.Drafted); this.FailOn(() => pawn.IsFighting()); } //jitterer = Traverse.Create(pawn.Drawer).Field("jitterer").GetValue<JitterHandler>(); jitterer = (AccessTools.Field(typeof(Pawn_DrawTracker), "jitterer")).GetValue(pawn.Drawer) as JitterHandler; if (!loadingSave) { SetMode(); } if (tickersDict.ContainsKey(CurrentMode)) statsTicker = tickersDict[CurrentMode]; else statsTicker = tickersDict[Modes.Normal]; } public override bool TryMakePreToilReservations(bool errorOnFailed) { return pawn.Reserve(FM, job, 1, -1, null, errorOnFailed); } protected override IEnumerable<Toil> MakeNewToils() { init(); Toil riding = new Toil(); riding.tickAction = FMTick; riding.initAction = delegate { drawOffset.z = height; pawn.Rotation = FM.Rotation; if (!xxx.has_quirk(pawn, "Endytophile")) xxxEx.DrawNudeWithBondage(pawn); FM.lastRideInfo = ""; FM.currentRideInfo = ""; }; riding.AddFinishAction(delegate { pawn.Drawer.renderer.graphics.ResolveApparelGraphics(); drawOffset.z = 0f; FM.currentRideInfo = ""; FM.lastRideInfo = "Used by " + GetInfoString(); //private SexUtility.IncreaseTicksToNextLovin(pawn); if (pawn == null || pawn.Dead) return; int currentTime = Find.TickManager.TicksGame; if (pawn.mindState.canLovinTick <= currentTime) pawn.mindState.canLovinTick = currentTime + SexUtility.GenerateMinTicksToNextLovin(pawn); //============== SexUtility.CumFilthGenerator(pawn); if (SexUtility.ConsiderCleaning(pawn)) { LocalTargetInfo own_cum = pawn.PositionHeld.GetFirstThing<Filth>(pawn.Map); Job clean = new Job(JobDefOf.Clean); clean.AddQueuedTarget(TargetIndex.A, own_cum); pawn.jobs.jobQueue.EnqueueFirst(clean); } }); riding.defaultCompleteMode = ToilCompleteMode.Never; riding.socialMode = RandomSocialMode.Off; riding.handlingFacing = true; yield return Toils_Goto.GotoThing(iFM, PathEndMode.OnCell); yield return riding; } public void FMTick() { if (!xxx.has_quirk(pawn, "Endytophile")) xxxEx.DrawNudeWithBondage(pawn); drawOffset.z = height; if (pawn.IsHashIntervalTick(ticks_between_hearts)) // <3 mote { MoteMaker.ThrowMetaIcon(pawn.Position, pawn.Map, ThingDefOf.Mote_Heart); } if (pawn.IsHashIntervalTick(ticks_between_thrusts)) // thrust animation/sounds { jitterer.AddOffset(amplitude, vertical ? 0f : FM.Rotation.AsAngle); if (RJWSettings.sounds_enabled) { if (powered) SoundDef.Named("FMThrust").PlayOneShot(new TargetInfo(pawn.Position, pawn.Map)); else SoundDef.Named("Sex").PlayOneShot(new TargetInfo(pawn.Position, pawn.Map)); } } if (pawn.IsHashIntervalTick(tickerFrequency)) // stats changes/end conditions { statsTicker(); FM.currentRideInfo = "In use by " + GetInfoString(); } ticks_elapsed++; //End conditions if (ticks_elapsed > ticks_minimum) //hard min check { if (ticks_elapsed > ticks_maximum) //hard max check stopSession(); //stop by max possible time if (!auto) { if (forced && ticks_elapsed >= ticks_duration && (need_sex.CurLevel >= need_sex.thresh_ahegao() || need_rest.CurLevel <= min_rest_when_free)) // restrained, release by timer, may continue stopSession(); //stop if released and satisfied or exhausted else if (!forced && (need_sex.CurLevel >= need_sex.thresh_ahegao() || need_rest.CurLevel <= min_rest_when_free)) // not restrained, normal mode stopSession(); //stop any time if satisfied or exhausted } else { if (!forced && (need_sex.CurLevel >= need_sex.thresh_ahegao() || need_rest.CurLevel <= min_rest_when_free || ticks_elapsed >= ticks_duration)) // not restrained, auto mode stopSession(); //stop any time if satisfied or exhausted or if program completed else if (forced && ticks_elapsed >= ticks_duration) // restrained, auto, release and cease by timer stopSession(); //stop if program completed } } } private void stopSession() { ReadyForNextToil(); } [SyncMethod] public void SetMode() { if (auto) { //TODO better mode selection float chance = Rand.Value; if (chance < 0.02) CurrentMode = Modes.Exhaust; else if (chance < 0.05) CurrentMode = Modes.Tease; else if (chance < 0.10) CurrentMode = Modes.Maxpleasure; else if (chance < 0.20) CurrentMode = Modes.Long; else if (chance < 0.50) CurrentMode = Modes.Intensive; else CurrentMode = Modes.Normal; } else { CurrentMode = Modes.Normal; //TODO manual selector } /* Normal, // balanced for 0.5-1.5 in-game hours, rest to sex conversion factored by quality Long, // slower pace, same exhaustion but longer time (1-3 hours), more pleasure for longer session Intensive, // faster (0.25-0.75 hour), significant exhaustion, lots of pleasure Maxpleasure,// raising sex need to max in 20 minutes, even for humpshroom adiicted, moderate exhaustion Tease, // time from short to long (0.5-2.5 hours), pawn left at horny threshhold (0.25 by rjw default), but gains joy from session, moderate exhaustion Exhaust // moderate pleasure gain, lasts down to 0% rest need, but 2-3 hours minimum, capped at 6 hours by ticks_maximum */ if (CurrentMode == Modes.Normal) { ticks_duration = (int)Math.Round(Rand.Range(0.5f, 1.5f) * 2500); ticks_between_thrusts = Rand.RangeInclusive(60, 90); ticks_between_hearts = ticks_between_thrusts; RestFallMult /= quality; SexMult *= quality; } else if (CurrentMode == Modes.Long) { ticks_duration = (int)Math.Round(Rand.Range(1f, 3f) * 2500); ticks_between_thrusts = Rand.RangeInclusive(90, 120); ticks_between_hearts = 60; RestFallMult /= (quality * 2); //less exhaustion for slower pace SexMult *= quality; //normal/2 speed, *2 sex, same exhaustion } else if (CurrentMode == Modes.Intensive) { ticks_duration = (int)Math.Round(Rand.Range(0.25f, 0.75f) * 2500); ticks_between_thrusts = 60; ticks_between_hearts = 40; RestFallMult /= (quality / 2); SexMult *= (quality * 2); //normal*2 sex, exhaustion, speed } else if (CurrentMode == Modes.Maxpleasure) { ticks_duration = (int)Math.Round(0.33f * 2500); // ~20 minutes ticks_between_thrusts = 60; ticks_between_hearts = 40; RestFallMult /= (quality / 3); // normal 1hr exhaustion SexMult = 3; // 20 minutes from 0 to max sex need } else if (CurrentMode == Modes.Tease) { ticks_duration = (int)Math.Round(Rand.Range(0.5f, 2.5f) * 2500); ticks_between_thrusts = Rand.RangeInclusive(60, 90); ; ticks_between_hearts = 60; RestFallMult /= (quality * (float)(ticks_duration / 2500)); //adjusted by time SexMult = need_sex.thresh_horny() - need_sex.CurLevel; } else if (CurrentMode == Modes.Exhaust) { ticks_duration = (int)Math.Round(Rand.Range(2f, 3f) * 2500); ticks_between_thrusts = Rand.RangeInclusive(60, 90); ticks_between_hearts = 60; RestFallMult = 1f; //1to0 in 2 hours, will be affected by Vigorous quirk (/2) SexMult *= quality;// default, 0to1 in 1hr factored by quality } // basic quirks handling if (CurrentMode != Modes.Maxpleasure) { if (pawn.health.hediffSet.HasHediff(HediffDef.Named("HumpShroomAddiction")) && !pawn.health.hediffSet.HasHediff(HediffDef.Named("HumpShroomEffect"))) SexMult = 0.1f; } if (xxx.has_quirk(pawn, "Vigorous")) RestFallMult *= 0.5f; } public override void ExposeData() { base.ExposeData(); Scribe_Values.Look<int>(ref this.ticks_between_hearts, "ticks_between_hearts", 60, false); Scribe_Values.Look<int>(ref this.ticks_between_thrusts, "ticks_between_thrusts", 60, false); Scribe_Values.Look<int>(ref this.ticks_duration, "ticks_duration", 7500, false); Scribe_Values.Look<int>(ref this.ticks_elapsed, "ticks_elapsed", 0, false); Scribe_Values.Look<Modes>(ref this.CurrentMode, "CurrentMode", Modes.Normal, false); Scribe_Values.Look<float>(ref this.totalRestFall, "totalRestFall", 0f, false); Scribe_Values.Look<float>(ref this.totalSexSat, "totalSexSat", 0f, false); Scribe_Values.Look<float>(ref this.totalJoy, "totalJoy", 0f, false); Scribe_Values.Look<float>(ref this.RestFallMult, "RestFallMult", 1, false); Scribe_Values.Look<float>(ref this.SexMult, "SexMult", 1, false); Scribe_Values.Look<float>(ref this.JoyMult, "JoyMult", 1, false); if (Scribe.mode == LoadSaveMode.PostLoadInit) { this.init(true); } } private string GetInfoString() { return xxx.get_pawnname(pawn) + " for " + new DateTime().AddMinutes((double)ticks_elapsed / 2500 * 60).ToString(@"HH\:mm\:ss") + (!auto ? "" : Environment.NewLine + "Mode: " + CurrentMode.ToString()) + (!rjw.RJWSettings.DevMode ? "" : Environment.NewLine + "Gained: " + totalSexSat + " sex, " + totalRestFall + " exh, " + totalJoy + " joy"); } } }
lucci/rjw
1.2/Source/FuckMachines/JobDriver_UseFM.cs
C#
unknown
15,734
using Verse; using Verse.AI; using RimWorld; using rjw; using Multiplayer.API; namespace rjwex { public class JobGiver_UseFM : ThinkNode_JobGiver { protected override Job TryGiveJob(Pawn pawn) { return this.TryGiveJob(pawn, (Building_FuckMachine)null); } [SyncMethod] public Job TryGiveJob(Pawn pawn, Building_FuckMachine fm) { if (pawn.Drafted) return null; if (!RJWSettings.WildMode) { if (!xxx.is_healthy(pawn) || (!SexUtility.ReadyForLovin(pawn) && !xxx.is_frustrated(pawn))) return null; } if (!(pawn.jobs.curJob == null || pawn.jobs.curJob.def == JobDefOf.LayDown)) return null; if (!(pawn.Faction?.IsPlayer ?? false) && !pawn.IsPrisonerOfColony) return null; if (!(Genital_Helper.has_vagina(pawn) && !Genital_Helper.genitals_blocked(pawn)) && !(Genital_Helper.has_anus(pawn) && !Genital_Helper.anus_blocked(pawn))) return null; if (pawn.gender == Gender.Male) { Orientation ori = CompRJW.Comp(pawn).orientation; if (ori == Orientation.Asexual) return null; switch (ori) { case Orientation.Heterosexual: if (Rand.Chance(0.97f)) return null; break; case Orientation.MostlyHeterosexual: if (Rand.Chance(0.85f)) return null; break; case Orientation.LeaningHeterosexual: if (Rand.Chance(0.65f)) return null; break; case Orientation.LeaningHomosexual: if (Rand.Chance(0.35f)) return null; break; case Orientation.MostlyHomosexual: if (Rand.Chance(0.15f)) return null; break; case Orientation.Homosexual: break; } } Building_FuckMachine bestFM = (Building_FuckMachine)null; if (fm != null) { bestFM = fm; } if (fm == null) { bestFM = FMHelper.GetFMForPawn(pawn); } if (bestFM != null) { return new Job(DefDatabase<JobDef>.GetNamed("UseFM"), bestFM); } return (Job)null; } } }
lucci/rjw
1.2/Source/FuckMachines/JobGiver_UseFM.cs
C#
unknown
1,915
using RimWorld; using System.Collections.Generic; using System.Diagnostics; using UnityEngine; using Verse; using Multiplayer.API; namespace rjwex { public class PublicPrivateComp : ThingComp { public bool Private { get { return (this.parent as Building_FuckMachine).Private; } set { if (value == (this.parent as Building_FuckMachine).Private) { return; } (this.parent as Building_FuckMachine).Private = value; } } /* public override void PostExposeData() { Scribe_Values.Look<bool>(ref this.privateInt, "private", false, false); } */ [DebuggerHidden] public override IEnumerable<Gizmo> CompGetGizmosExtra() { foreach (Gizmo c in base.CompGetGizmosExtra()) { yield return c; } if (!(this.parent is Building_FuckMachine) || this.parent.Faction == Faction.OfPlayer) { Command_Action com = new Command_Action(); com.defaultLabel = "Switch"; if ((this.parent as Building_FuckMachine).Private) { com.defaultDesc = "Change to Public"; com.icon = ContentFinder<Texture2D>.Get("UI/private", true); } else { com.defaultDesc = "Change to Private"; com.icon = ContentFinder<Texture2D>.Get("UI/public", true); } com.action = delegate { ChangeMode(); }; yield return com; } } [SyncMethod] public void ChangeMode() { //Log.Message("Submit button is pressed for " + pawn); this.Private = !this.Private; } } public class CompProperties_PublicPrivateComp : CompProperties { public CompProperties_PublicPrivateComp() { compClass = typeof(PublicPrivateComp); } } }
lucci/rjw
1.2/Source/FuckMachines/PublicPrivateComp.cs
C#
unknown
1,653
using RimWorld; using Verse; namespace rjwex { public class RecordWorker_TimeOnFuckMachine : RecordWorker { public override bool ShouldMeasureTimeNow(Pawn pawn) { return pawn.health.hediffSet.HasHediff(HediffDef.Named("Plugged")); } } }
lucci/rjw
1.2/Source/FuckMachines/RecordWorker_TimeOnFuckMachine.cs
C#
unknown
253
using rjw; using System.Linq; using Verse; using Verse.AI; namespace rjwex { class ThinkNode_ChancePerHour_UsingFM : ThinkNode_ChancePerHour { public static float get_fappin_mtb_hours(Pawn p) { if (DebugSettings.alwaysDoLovin) return 0.1f; return (xxx.is_nympho(p) ? 0.5f : 1.0f) * rjw_CORE_EXPOSED.LovePartnerRelationUtility.LovinMtbSinglePawnFactor(p); //todo look into this } protected override float MtbHours(Pawn p) { if (xxx.is_animal(p)) return -1.0f; bool is_horny = xxx.need_some_sex(p) > 1f; if (is_horny) { bool isAlone = !p.Map.mapPawns.AllPawnsSpawned.Any(x => p.CanSee(x) && xxx.is_human(x)); float clothingFactor = p.apparel.PsychologicallyNude ? 0.8f : 1.0f; float SexNeedFactor = (4 - xxx.need_some_sex(p)) / 2f; return get_fappin_mtb_hours(p) * SexNeedFactor * clothingFactor; } return -1.0f; } } }
lucci/rjw
1.2/Source/FuckMachines/ThinkNode_ChancePerHour_UsingFM.cs
C#
unknown
889
using Verse; using Verse.AI; using RimWorld; using rjw; namespace rjwex { public class ThinkNode_ConditionalCanUseFM : ThinkNode_Conditional { protected override bool Satisfied(Pawn p) { if (p.Map == null || p.HostileTo(Faction.OfPlayer) || xxx.is_animal(p) || p.Drafted) return false; return true; } } }
lucci/rjw
1.2/Source/FuckMachines/ThinkNode_ConditionalCanUseFM.cs
C#
unknown
340
using RimWorld; using Verse; using Verse.AI; using rjw; namespace rjwex { public class WorkGiver_UseFM : WorkGiver_Sexchecks { public override bool MoreChecks(Pawn pawn, Thing t, bool forced = false) { Building_FuckMachine target = t as Building_FuckMachine; if (target == null) { if (RJWSettings.DevMode) JobFailReason.Is("not a fuck machine"); return false; } if (target.owners.Count>0&&!target.IsOwner(pawn)) { if (RJWSettings.DevMode) JobFailReason.Is("not pawn's machine"); return false; } CompPowerTrader comp = t.TryGetComp<CompPowerTrader>(); if (comp != null && !comp.PowerOn) { if (RJWSettings.DevMode) JobFailReason.Is("no power"); return false; } return true; } public override Job JobOnThing(Pawn pawn, Thing t, bool forced = false) { return new Job(DefDatabase<JobDef>.GetNamed("UseFM"), t); } } }
lucci/rjw
1.2/Source/FuckMachines/WorkGiver_UseFM.cs
C#
unknown
897
using System.Collections.Generic; using Verse; using HarmonyLib; using UnityEngine; using System; using System.Linq; using System.Reflection.Emit; using System.Reflection; namespace rjwex { //implemented in PawnRendererRenderInternal_Pathch //[HarmonyPatch(typeof(Pawn_DrawTracker))] //[HarmonyPatch("DrawPos", MethodType.Getter)] class Pawn_DrawTracker_DrawPos_Patch { static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) { //HarmonyInstance.DEBUG = true; CodeInstruction newLine; var codes = new List<CodeInstruction>(instructions); int insertIndex = codes.Count - 2;// insertion before final "ldloc.0" "ret" /* inserted code ldloc.0 // vector3 ldarg.0 // this ldfld class Verse.Pawn Verse.Pawn_DrawTracker::pawn call valuetype [UnityEngine]UnityEngine.Vector3 rjwex.FMHelper::FMOffset(class ['Assembly-CSharp']Verse.Pawn) call valuetype [UnityEngine]UnityEngine.Vector3 [UnityEngine]UnityEngine.Vector3::op_Addition(valuetype [UnityEngine]UnityEngine.Vector3, valuetype [UnityEngine]UnityEngine.Vector3) stloc.0 // vector3 */ newLine = new CodeInstruction(OpCodes.Ldloc_0); codes.Insert(insertIndex, newLine); insertIndex++; newLine = new CodeInstruction(OpCodes.Ldarg_0); codes.Insert(insertIndex, newLine); insertIndex++; newLine = new CodeInstruction(OpCodes.Ldfld) { operand = AccessTools.Field(typeof(Pawn_DrawTracker), "pawn") }; codes.Insert(insertIndex, newLine); insertIndex++; newLine = new CodeInstruction(OpCodes.Call) { operand = typeof(DrawUtils).GetMethod("GetDrawOffset") }; codes.Insert(insertIndex, newLine); insertIndex++; newLine = new CodeInstruction(OpCodes.Call) { operand = typeof(Vector3).GetMethod("op_Addition", new Type[] { typeof(Vector3), typeof(Vector3) }) }; codes.Insert(insertIndex, newLine); insertIndex++; newLine = new CodeInstruction(OpCodes.Stloc_0); codes.Insert(insertIndex, newLine); Logger.ListLine("Pawn draw FMOffset addition applied @ Verse.Pawn_DrawTracker.get_DrawPos as Transpiler"); return codes.AsEnumerable(); } } [HarmonyPatch] static class PawnRendererRenderInternal_Pathch { static MethodBase TargetMethod() { return AccessTools.Method(typeof(PawnRenderer), "RenderPawnInternal", new Type[] { typeof(Vector3), typeof(float), typeof(bool), typeof(Rot4), typeof(Rot4), typeof(RotDrawMode), typeof(bool), typeof(bool), typeof(bool)}); } static bool Prefix(ref Vector3 rootLoc, ref float angle, PawnRenderer __instance) { Pawn pawn = (AccessTools.Field(typeof(PawnRenderer), "pawn")).GetValue(__instance) as Pawn; rootLoc += pawn.GetDrawOffset(); angle += pawn.GetAngleOffset(); return true; } } }
lucci/rjw
1.2/Source/HarmonyPatches/FM_DrawOffsets_Patch.cs
C#
unknown
2,804
using RimWorld; using Verse; using HarmonyLib; using System.Reflection; using System.Collections.Generic; using System.Reflection.Emit; using System.Linq; using rjw; namespace rjwex { [HarmonyPatch(typeof(PawnGraphicSet), "ResolveApparelGraphics")] public static class ResolveApparelGraphics_Patch { static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) { int Index = -1; string targetCall = "TryGetGraphicApparel"; var codes = new List<CodeInstruction>(instructions); for (int i = 0; i < codes.Count; i++) { if (codes[i].opcode == OpCodes.Call && codes[i].operand.ToString().Contains(targetCall)) { Index = i; break; } } if (Index > -1) { codes[Index].operand = typeof(ResolveApparelGraphics_Patch).GetMethod( nameof(ResolveApparelGraphics_Patch.RJWExTryGetGraphicApparel), BindingFlags.Static | BindingFlags.Public); Logger.ListLine("Gag graphics patch applied @ Verse.PawnGraphicSet.ResolveApparelGraphics as Transpiler"); } else { Log.Error("[RJWEx] Verse.PawnGraphicSet.ResolveApparelGraphics not patched!"); } return codes.AsEnumerable(); } public static bool RJWExTryGetGraphicApparel(Apparel apparel, BodyTypeDef bodyType, out ApparelGraphicRecord rec) { if (!(apparel is bondage_gear && apparel.def.apparel.bodyPartGroups.Contains(xxxEx.GroupDefTeeth))) //Not RJW Gag? TODO better item detection return ApparelGraphicRecordGetter.TryGetGraphicApparel(apparel, bodyType, out rec); //return default TryGetGraphicApparel() else { Pawn pawn = apparel.Wearer; if (pawn == null) { //handle as null wornGraphicPath rec = new ApparelGraphicRecord(null, null); return false; } string headGraphicPath = pawn.story.HeadGraphicPath; //path containing Normal/Pointy/Wide string gender = pawn.gender.ToString(); //Female/Male/None string crownType = pawn.story.crownType.ToString(); //Narrow/Average TODO check //checks==== if (headGraphicPath.NullOrEmpty() || apparel.def.apparel.wornGraphicPath.NullOrEmpty() || pawn.story.crownType == CrownType.Undefined) return ApparelGraphicRecordGetter.TryGetGraphicApparel(apparel, bodyType, out rec); //something wrong go default if (pawn.gender == Gender.None) gender = "Female"; //========== string faceType; //Normal/Pointy/Wide, from headGraphicPath; if (headGraphicPath.Contains("Pointy")) { faceType = "Pointy"; } else if (headGraphicPath.Contains("Wide")) { faceType = "Wide"; } else { faceType = "Normal"; } string path = apparel.def.apparel.wornGraphicPath + "_" + gender + "_" + crownType + "_" + faceType; Graphic graphic = GraphicDatabase.Get<Graphic_Multi>(path, ShaderDatabase.Cutout, apparel.def.graphicData.drawSize, apparel.DrawColor); rec = new ApparelGraphicRecord(graphic, apparel); return true; } } } }
lucci/rjw
1.2/Source/HarmonyPatches/Gag_ResolveApparelGraphics_Patch.cs
C#
unknown
2,970
using RimWorld; using Verse; using rjw; using System.Linq; namespace rjwex { public class anal_plug_def : bondage_gear_def { public int plug_size = 0; //min 1 - max 3; 0 for expandable plug //new public bool blocks_anus = false; // only for lockable plug } public class anal_plug_soul : bondage_gear_soul { float[,] severity ={ { 0.6f, 0.6f, 0.6f, 0.6f, 0.4f, 0.4f }, //0 size = expandable plug { 0.4f, 0.4f, 0.2f, 0.2f, 0.1f, 0.1f }, //1 size = S plug { 0.4f, 0.6f, 0.4f, 0.2f, 0.1f, 0.1f }, //2 size = M plug { 0.6f, 0.8f, 0.6f, 0.4f, 0.2f, 0.1f } //3 size = L plug }; //bionic,micro,tight,mid,loose,gaping/oversized //0 - loose; //0.2 - comfortable; //0.4 - tightly; //0.6 - very tight; //0.8 - cracking tight; public override void on_wear(Pawn wearer, Apparel gear) { anal_plug_def def = (anal_plug_def)gear.def; //Log.Message("PLUG On_Wear; size: " + def.plug_size); BodyPartRecord anus = Genital_Helper.get_anusBPR(wearer); if (anus != null) { var anusHD = wearer.health.hediffSet.hediffs.FirstOrDefault((Hediff hed) => hed.Part == anus && (hed is Hediff_PartBaseNatural || hed is Hediff_PartBaseArtifical) && (hed.def.defName.ToLower().Contains("anus"))); int aSize = 0; //min 1-5 max, 0 for variable (bionic etc.) //if (wearer.health.hediffSet.HasHediff(Genital_Helper.archotech_anus) || // wearer.health.hediffSet.HasHediff(Genital_Helper.bionic_anus) || // wearer.health.hediffSet.HasHediff(Genital_Helper.hydraulic_anus)) //{ // aSize = 0; //} if (anusHD != null) { switch (anusHD.CurStageIndex) { case 0: aSize = 1; break; case 1: aSize = 2; break; case 2: aSize = 3; break; case 3: aSize = 4; break; case 4: aSize = 5; break; case 5: aSize = 5; break; default: aSize = 0; break; } } float hediffSeverity = severity[def.plug_size, aSize]; Hediff pluggedStatus = wearer.health.AddHediff(HediffDef.Named("Plugged"), anus); pluggedStatus.Severity = hediffSeverity; } var gear_stamp = gear.TryGetComp<CompHoloCryptoStamped>(); if (gear_stamp != null) { var key = ThingMaker.MakeThing(ThingDef.Named("Holokey")); var key_stamp = key.TryGetComp<CompHoloCryptoStamped>(); key_stamp.copy_stamp_from(gear_stamp); if (wearer.Map != null) GenSpawn.Spawn(key, wearer.Position, wearer.Map); else wearer.inventory.TryAddItemNotForSale(key); } } // Removes the gear's HediffDef public override void on_remove(Apparel gear, Pawn former_wearer) { var hed = former_wearer.health.hediffSet.GetFirstHediffOfDef(HediffDef.Named("Plugged")); if (hed != null) former_wearer.health.RemoveHediff(hed); } } public class anal_plug : bondage_gear { } /* //temporary solution for on_wer not being called on gear without hololock [HarmonyPatch] class TryDrop_Patch { static MethodBase TargetMethod() { MethodBase result = AccessTools.Method(typeof(Pawn_ApparelTracker), "TryDrop", new Type[] { typeof(Apparel), typeof(Apparel).MakeByRefType(), typeof(IntVec3), typeof(bool) }); return result; } public static void Postfix(Apparel ap, bool __result, Pawn_ApparelTracker __instance) { if (!__result) return; if (ap.def is anal_plug_def def) { var tra = __instance; (def.soul as anal_plug_soul).on_remove(ap, tra.pawn); } } } */ }
lucci/rjw
1.2/Source/Plugs/Anal_Plugs.cs
C#
unknown
3,545
using RimWorld; using Verse; namespace rjwex { public class RecordWorker_TimePluggedAnal : RecordWorker { public override bool ShouldMeasureTimeNow(Pawn pawn) { return pawn.health.hediffSet.HasHediff(HediffDef.Named("Plugged")); } } }
lucci/rjw
1.2/Source/Plugs/RecordWorker_TimePluggedAnal.cs
C#
unknown
251
using RimWorld; using Verse; namespace rjwex { public class ThoughtWorker_Plugged : ThoughtWorker { protected override ThoughtState CurrentStateInternal(Pawn pawn) { if (pawn.apparel != null) { var hed = pawn.health.hediffSet.GetFirstHediffOfDef(HediffDef.Named("Plugged")); if (hed != null) { if (hed.Severity < 0.2f) { return ThoughtState.ActiveAtStage(0); } else if (hed.Severity < 0.4f) { return ThoughtState.ActiveAtStage(1); } else if (hed.Severity < 0.6f) { return ThoughtState.ActiveAtStage(2); } else if (hed.Severity < 0.8f) { return ThoughtState.ActiveAtStage(3); } else { return ThoughtState.ActiveAtStage(4); } } } return ThoughtState.Inactive; } } }
lucci/rjw
1.2/Source/Plugs/ThoughtWorker_Plugged.cs
C#
unknown
809
using Verse; using HarmonyLib; using System.Reflection; using System; namespace rjwex { [StaticConstructorOnStartup] public static class RJWExMain { static RJWExMain() { Logger.ListBegin("[RJWEx] Patching..."); var harmony = new Harmony("rimworld.ekss.rjwex"); harmony.PatchAll(Assembly.GetExecutingAssembly()); Logger.ListPrint("...done"); } } public static class Logger { /* public static class Logger { private static readonly LogMessageQueue messageQueueRJW = new LogMessageQueue(); public static void Message(string text) { bool DevModeEnabled = RJWSettings.DevMode; if (!DevModeEnabled) return; Debug.Log(text); messageQueueRJW.Enqueue(new LogMessage(LogMessageType.Message, text, StackTraceUtility.ExtractStackTrace())); } }*/ private static string prefix = "[RJWEx] "; private static string listBuffer = ""; public static void ListBegin(string line = "") { listBuffer = (line.NullOrEmpty() ? "" : prefix) + line; } public static void ListLine(string line) { listBuffer += (Environment.NewLine + prefix + line); } public static void ListPrint(string line = "") { if (!line.NullOrEmpty()) { listBuffer += (Environment.NewLine + prefix + line); } Log.Message(listBuffer); listBuffer = ""; } public static void Print(string line) { Log.Message(prefix + line); } } }
lucci/rjw
1.2/Source/RJWExMain.cs
C#
unknown
1,666
<?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>{A35EE8E8-B802-45BA-8526-16EA37856A86}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>rjwex</RootNamespace> <AssemblyName>RimJobWorldExtension</AssemblyName> <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> <TargetFrameworkProfile /> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>false</DebugSymbols> <DebugType>none</DebugType> <Optimize>false</Optimize> <OutputPath>..\Assemblies\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <Prefer32Bit>false</Prefer32Bit> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>..\Assemblies\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <Prefer32Bit>false</Prefer32Bit> </PropertyGroup> <PropertyGroup> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> </PropertyGroup> <ItemGroup> <Reference Include="0Harmony, Version=2.0.0.10, Culture=neutral, processorArchitecture=MSIL"> <HintPath>0trash\packages\Lib.Harmony.2.0.0.10\lib\net472\0Harmony.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="0MultiplayerAPI, Version=0.2.0.0, Culture=neutral, processorArchitecture=MSIL"> <HintPath>0trash\packages\RimWorld.MultiplayerAPI.0.2.0\lib\net472\0MultiplayerAPI.dll</HintPath> </Reference> <Reference Include="Assembly-CSharp, Version=1.1.7372.23222, Culture=neutral, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="HugsLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <HintPath>0trash\packages\UnlimitedHugs.Rimworld.HugsLib.7.1.4\lib\net472\HugsLib.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="NAudio"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\NAudio.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="NVorbis"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\NVorbis.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="RJW"> <HintPath>..\..\..\rjw\1.1\Assemblies\RJW.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="System" /> <Reference Include="System.Runtime.InteropServices.RuntimeInformation" /> <Reference Include="Unity.TextMeshPro"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\Unity.TextMeshPro.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AccessibilityModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AccessibilityModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AIModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AIModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AndroidJNIModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AndroidJNIModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AnimationModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AnimationModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ARModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ARModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AssetBundleModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AssetBundleModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.AudioModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.AudioModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ClothModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ClothModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ClusterInputModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ClusterInputModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ClusterRendererModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ClusterRendererModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.CoreModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.CrashReportingModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.CrashReportingModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.DirectorModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.DirectorModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.DSPGraphModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.DSPGraphModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.FileSystemHttpModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.FileSystemHttpModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.GameCenterModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.GameCenterModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.GridModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.GridModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.HotReloadModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.HotReloadModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ImageConversionModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ImageConversionModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.IMGUIModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.InputLegacyModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.InputModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.InputModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.JSONSerializeModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.JSONSerializeModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.LocalizationModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.LocalizationModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ParticleSystemModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ParticleSystemModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.PerformanceReportingModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.PerformanceReportingModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.Physics2DModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.PhysicsModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ProfilerModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ProfilerModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.ScreenCaptureModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.ScreenCaptureModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.SharedInternalsModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.SharedInternalsModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.SpriteMaskModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.SpriteMaskModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.SpriteShapeModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.SpriteShapeModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.StreamingModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.StreamingModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.SubstanceModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.SubstanceModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TerrainModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TerrainModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TerrainPhysicsModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TerrainPhysicsModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TextCoreModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TextCoreModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TextRenderingModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TilemapModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TilemapModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.TLSModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TLSModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UI"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UI.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UIElementsModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UIElementsModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UIModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UIModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UmbraModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UmbraModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UNETModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UNETModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityAnalyticsModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityAnalyticsModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityConnectModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityConnectModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityTestProtocolModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityTestProtocolModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityWebRequestAssetBundleModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityWebRequestAssetBundleModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityWebRequestAudioModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityWebRequestAudioModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityWebRequestModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityWebRequestModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityWebRequestTextureModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityWebRequestTextureModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.UnityWebRequestWWWModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.UnityWebRequestWWWModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.VehiclesModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.VehiclesModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.VFXModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.VFXModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.VideoModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.VideoModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.VRModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.VRModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.WindModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.WindModule.dll</HintPath> <Private>False</Private> </Reference> <Reference Include="UnityEngine.XRModule"> <HintPath>..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.XRModule.dll</HintPath> <Private>False</Private> </Reference> </ItemGroup> <ItemGroup> <Compile Include="FuckMachines\RecordWorker_TimeOnFuckMachine.cs" /> <Compile Include="HarmonyPatches\FM_DrawOffsets_Patch.cs" /> <Compile Include="HarmonyPatches\Gag_ResolveApparelGraphics_Patch.cs" /> <Compile Include="Plugs\Anal_Plugs.cs" /> <Compile Include="FuckMachines\Building_FuckMachine.cs" /> <Compile Include="FuckMachines\PublicPrivateComp.cs" /> <Compile Include="FuckMachines\FMHelper.cs" /> <Compile Include="FuckMachines\JobDriver_UseFM.cs" /> <Compile Include="FuckMachines\JobGiver_UseFM.cs" /> <Compile Include="FuckMachines\WorkGiver_UseFM.cs" /> <Compile Include="Plugs\ThoughtWorker_Plugged.cs" /> <Compile Include="Plugs\RecordWorker_TimePluggedAnal.cs" /> <Compile Include="RJWExMain.cs" /> <Compile Include="0trash\Properties\AssemblyInfo.cs" /> <Compile Include="FuckMachines\ThinkNode_ChancePerHour_UsingFM.cs" /> <Compile Include="FuckMachines\ThinkNode_ConditionalCanUseFM.cs" /> <Compile Include="SexTab\ITab_Pawn_Sexuality.cs" /> <Compile Include="SexTab\SexCardUtility.cs" /> <Compile Include="Utility\FM_OffsetUtils.cs" /> <Compile Include="Utility\Gag_OffsetUtils.cs" /> </ItemGroup> <ItemGroup> <None Include="0trash\packages.config" /> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> </Project>
lucci/rjw
1.2/Source/RimJobWorldExtension.csproj
csproj
unknown
17,165
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29806.167 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RimJobWorldExtension", "RimJobWorldExtension.csproj", "{A35EE8E8-B802-45BA-8526-16EA37856A86}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {A35EE8E8-B802-45BA-8526-16EA37856A86}.Debug|Any CPU.ActiveCfg = Release|Any CPU {A35EE8E8-B802-45BA-8526-16EA37856A86}.Debug|Any CPU.Build.0 = Release|Any CPU {A35EE8E8-B802-45BA-8526-16EA37856A86}.Release|Any CPU.ActiveCfg = Release|Any CPU {A35EE8E8-B802-45BA-8526-16EA37856A86}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {A8FBAE94-F20D-4EC2-9003-8E8075D506C4} EndGlobalSection EndGlobal
lucci/rjw
1.2/Source/RimJobWorldExtension.sln
sln
unknown
1,124
/*using RimWorld; using System; using UnityEngine; using Verse; using rjw; namespace rjwex { public class ITab_Pawn_Sexuality : ITab { // useful if you have criteria to show/hide this per Thing private Pawn _selected = null; public Pawn SelectedPawn { get { if (base.SelPawn != null) { return base.SelPawn; } Corpse corpse = base.SelThing as Corpse; if (corpse != null) { return corpse.InnerPawn; } return null; } } public override bool IsVisible { get { if (SelectedPawn != null && SelectedPawn.TryGetComp<CompRJW>()!=null) { return true; } else return false; } } public ITab_Pawn_Sexuality() { Vector2 offsets = new Vector2(17f, 17f); this.size = SexCardUtility.CardSize + offsets; this.labelKey = "rjwex_SexTab"; // used to get the Tab's label } protected override void FillTab() { Pawn pawnForHealth = this.SelectedPawn; if (pawnForHealth == null) { Log.Error("Health tab found no selected pawn to display.", false); return; } Rect rect = new Rect(17f, 17f, SexCardUtility.CardSize.x, SexCardUtility.CardSize.y); SexCardUtility.DrawCard(rect, SelectedPawn); } } }*/
lucci/rjw
1.2/Source/SexTab/ITab_Pawn_Sexuality.cs
C#
unknown
1,211
/*using RimWorld; using rjw; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using Verse; namespace rjwex { public class SexCardUtility { public static Vector2 CardSize = new Vector2(395f, 536f); // set the card's size public static void DrawCard(Rect rect, Pawn pawn) { CompRJW comp = pawn.TryGetComp<CompRJW>(); if (pawn == null || comp == null) return; Text.Font = GameFont.Medium; Rect rect1 = new Rect(8f, 4f, rect.width - 8f, rect.height - 20f); Widgets.Label(rect1, "RJW"); Text.Font = GameFont.Tiny; float num = rect1.y + 40f; Rect row1 = new Rect(10f, num, rect.width - 8f, 24f); Rect row2 = new Rect(10f, num + 24, rect.width - 8f, 24f); Rect row3 = new Rect(10f, num + 48, rect.width - 8f, 24f); Rect button1 = new Rect(10f, rect1.height - 10f, rect.width - 8f, 24f); Rect button2 = new Rect(10f, rect1.height - 34f, rect.width - 8f, 24f); string price; string sexuality; // Check for Rational Romance consistency, in case the player adds it mid-game or adds traits (such as with Prepare Carefully) if (xxx.RomanceDiversifiedIsActive || pawn.story.traits.HasTrait(TraitDefOf.Gay)) CompRJW.RRTraitCheck(pawn); switch (CompRJW.Comp(pawn).orientation) { case Orientation.Asexual: sexuality = "Asexual"; break; case Orientation.Bisexual: sexuality = "Bisexual"; break; case Orientation.Heterosexual: sexuality = "Hetero"; break; case Orientation.Homosexual: sexuality = "Gay"; break; case Orientation.LeaningHeterosexual: sexuality = "Bisexual, leaning hetero"; break; case Orientation.LeaningHomosexual: sexuality = "Bisexual, leaning gay"; break; case Orientation.MostlyHeterosexual: sexuality = "Mostly hetero"; break; case Orientation.MostlyHomosexual: sexuality = "Mostly gay"; break; case Orientation.Pansexual: sexuality = "Pansexual"; break; default: sexuality = "None"; break; } Widgets.Label(row1, "Sexuality: " + sexuality); if (Mouse.IsOver(row1)) Widgets.DrawHighlight(row1); string quirklist = CompRJW.Comp(pawn).quirks.ToString(); Widgets.Label(row2, "Quirks".Translate() + quirklist); if (Mouse.IsOver(row2)) { Widgets.DrawHighlight(row2); if (quirklist == "None") TooltipHandler.TipRegion(row2, "NoQuirks".Translate()); else { StringBuilder tooltip = new StringBuilder(); if (quirklist.Contains("Breeder")) tooltip.AppendLine("BreederQuirk".Translate()); if (quirklist.Contains("Endytophile")) tooltip.AppendLine("EndytophileQuirk".Translate()); if (quirklist.Contains("Exhibitionist")) tooltip.AppendLine("ExhibitionistQuirk".Translate()); if (quirklist.Contains("Fertile")) tooltip.AppendLine("FertileQuirk".Translate()); if (quirklist.Contains("Gerontophile")) tooltip.AppendLine("GerontophileQuirk".Translate()); if (quirklist.Contains("Impregnation fetish")) tooltip.AppendLine("ImpregnationFetishQuirk".Translate()); if (quirklist.Contains("Incubator")) tooltip.AppendLine("IncubatorQuirk".Translate()); if (quirklist.Contains("Infertile")) tooltip.AppendLine("InfertileQuirk".Translate()); if (quirklist.Contains("Messy")) tooltip.AppendLine("MessyQuirk".Translate()); if (quirklist.Contains("Podophile")) tooltip.AppendLine("PodophileQuirk".Translate()); if (quirklist.Contains("Pregnancy fetish")) tooltip.AppendLine("PregnancyFetishQuirk".Translate()); if (quirklist.Contains("Sapiosexual")) tooltip.AppendLine("SapiosexualQuirk".Translate()); if (quirklist.Contains("Somnophile")) tooltip.AppendLine("SomnophileQuirk".Translate()); if (quirklist.Contains("Teratophile")) tooltip.AppendLine("TeratophileQuirk".Translate()); if (quirklist.Contains("Vigorous")) tooltip.AppendLine("VigorousQuirk".Translate()); TooltipHandler.TipRegion(row2, tooltip.ToString()); } } if (RJWSettings.sex_minimum_age > pawn.ageTracker.AgeBiologicalYears) price = "Inapplicable (too young)"; else if (pawn.ownership.OwnedRoom == null) { if (Current.ProgramState == ProgramState.Playing) price = "TODO";//WhoringHelper.WhoreMinPrice(pawn) + " - " + WhoringHelper.WhoreMaxPrice(pawn) + " (base, needs suitable bedroom)"; else price = "TODO";//WhoringHelper.WhoreMinPrice(pawn) + " - " + WhoringHelper.WhoreMaxPrice(pawn) + " (base, modified by bedroom quality)"; } else if (xxx.is_animal(pawn)) price = "Incapable of whoring"; else price = "TODO";//WhoringHelper.WhoreMinPrice(pawn) + " - " + WhoringHelper.WhoreMaxPrice(pawn); Widgets.Label(row3, "WhorePrice".Translate() + price); if (Mouse.IsOver(row3)) Widgets.DrawHighlight(row3); // TODO: Add translation. if (Prefs.DevMode || Current.ProgramState != ProgramState.Playing) { if (Widgets.ButtonText(button1, Current.ProgramState != ProgramState.Playing ? "Reroll sexuality" : "[DEV] Reroll sexuality")) { CompRJW.Comp(pawn).Sexualize(pawn, true); } } if (pawn.health.hediffSet.HasHediff(Genital_Helper.archotech_penis) || pawn.health.hediffSet.HasHediff(Genital_Helper.archotech_vagina)) { BodyPartRecord genitalia = Genital_Helper.get_genitals(pawn); if (pawn.health.hediffSet.HasHediff(HediffDef.Named("ImpregnationBlocker"))) { if (Widgets.ButtonText(button2, "[Archotech genitalia] Enable reproduction")) { Hediff blocker = pawn.health.hediffSet.GetFirstHediffOfDef(HediffDef.Named("ImpregnationBlocker")); if (blocker != null) pawn.health.RemoveHediff(blocker); pawn.health.AddHediff(HediffDef.Named("FertilityEnhancer"), genitalia); } } else if (Widgets.ButtonText(button2, "[Archotech genitalia] Disable reproduction")) { Hediff enhancer = pawn.health.hediffSet.GetFirstHediffOfDef(HediffDef.Named("FertilityEnhancer")); if (enhancer != null) pawn.health.RemoveHediff(enhancer); pawn.health.AddHediff(HediffDef.Named("ImpregnationBlocker"), genitalia); } } } } }*/
lucci/rjw
1.2/Source/SexTab/SexCardUtility.cs
C#
unknown
6,247
using UnityEngine; using Verse; using Verse.AI; namespace rjwex { /// <summary> /// Class to inherit to use Draw Offset and Angle Offset /// </summary> public abstract class JobDriverWithOffsets : JobDriver { protected Vector3 drawOffset = new Vector3(0, 0, 0); public Vector3 GetDrawOffset() { return drawOffset; } protected float angleOffset = 0.0f; public float GetAngleOffset() { return angleOffset; } } public static class DrawUtils { /// <summary> /// Get draw point offset for pawn if current JobDriver inherits JobDriverWithOffsets class, else offset set to Vector3(0, 0, 0) /// </summary> /// <param name="pawn"></param> /// <returns></returns> public static Vector3 GetDrawOffset(this Pawn pawn) { if (pawn.jobs?.curDriver is JobDriverWithOffsets job) { return job.GetDrawOffset(); } return new Vector3(0, 0, 0); } /// <summary> /// Get angle offset for pawn if current JobDriver inherits JobDriverWithOffsets class, else offset set to 0.0f /// </summary> /// <param name="pawn"></param> /// <returns></returns> public static float GetAngleOffset(this Pawn pawn) { if (pawn.jobs?.curDriver is JobDriverWithOffsets job) { return job.GetAngleOffset(); } return 0.0f; } } }
lucci/rjw
1.2/Source/Utility/FM_OffsetUtils.cs
C#
unknown
1,269
using System.Linq; using RimWorld; using Verse; using rjw; namespace rjwex { /// <summary>Extension to rjw.xxx functionality</summary> public static class xxxEx { public static BodyPartGroupDef GroupDefTeeth = DefDatabase<BodyPartGroupDef>.GetNamed("Teeth"); public static void DrawNudeWithBondage(Pawn pawn, bool keep_hat_on = false) { if (!rjw.xxx.is_human(pawn)) return; if (pawn.Map != Find.CurrentMap) return; if (RJWPreferenceSettings.sex_wear == RJWPreferenceSettings.Clothing.Clothed) return; pawn.Drawer.renderer.graphics.ClearCache(); pawn.Drawer.renderer.graphics.apparelGraphics.Clear(); bool hgEnabled = RJWPreferenceSettings.sex_wear == RJWPreferenceSettings.Clothing.Headgear || keep_hat_on; foreach (Apparel current in pawn.apparel.WornApparel.Where(x => hgEnabled && (x.def.apparel.bodyPartGroups.Contains(BodyPartGroupDefOf.UpperHead) || x.def.apparel.bodyPartGroups.Contains(BodyPartGroupDefOf.FullHead)) //is apparel headgear || x is bondage_gear || x.def.thingCategories.Any(y => y.defName.ToLower().ContainsAny("vibrator", "piercing", "strapon")) )) { ApparelGraphicRecord item; //ApparelGraphicRecordGetter.TryGetGraphicApparel(current, pawn.story.bodyType, out item) by default, corrected to visible gags handler if (ResolveApparelGraphics_Patch.RJWExTryGetGraphicApparel(current, pawn.story.bodyType, out item)) { pawn.Drawer.renderer.graphics.apparelGraphics.Add(item); } } pawn.Draw(); } } }
lucci/rjw
1.2/Source/Utility/Gag_OffsetUtils.cs
C#
unknown
1,506
<?xml version="1.0" encoding="utf-8" ?> <Defs> <HediffDef ParentName="BondageBase"> <defName>Armbinder</defName> <label>armbinder</label> <labelNoun>an armbinder</labelNoun> <description>An armbinder. A restraint device that binds the arms behind the body.</description> <stages> <li> <capMods> <li> <capacity>Manipulation</capacity> <setMax>0.00</setMax> </li> </capMods> </li> </stages> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>ChastityBelt</defName> <label>chastity belt</label> <labelNoun>a chastity belt</labelNoun> <description>A chastity belt. Restricts access to the vagina and anus from its lover, and its wearer.</description> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>ChastityCage</defName> <hediffClass>rjwex.ChastityCage</hediffClass> <label>chastity cage</label> <labelNoun>a chastity cage</labelNoun> <description>A chastity cage. Restricts access to the penis from its lover, and its wearer.</description> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>Yoke</defName> <label>yoke</label> <labelNoun>a yoke</labelNoun> <description>Keeps the arms and head of the wearer locked relative to their body in a raised-arm position.</description> <stages> <li> <capMods> <li> <capacity>Manipulation</capacity> <setMax>0.00</setMax> </li> </capMods> </li> </stages> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>ClosedGag</defName> <label>closed gag</label> <labelNoun>a closed gag</labelNoun> <description>A closed gag that prevents its wearer from speaking.</description> <stages> <li> <capMods> <li> <capacity>Talking</capacity> <setMax>0.00</setMax> </li> <li> <capacity>Eating</capacity> <setMax>0.00</setMax> </li> </capMods> </li> </stages> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>OpenGag</defName> <label>open gag</label> <labelNoun>an open gag</labelNoun> <description>An open gag that only allows its wearer to mutter incomprehensibly.</description> <stages> <li> <capMods> <li> <capacity>Talking</capacity> <setMax>0.00</setMax> </li> <li> <capacity>Eating</capacity> <offset>-0.25</offset> </li> </capMods> </li> </stages> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>Legbinder</defName> <label>legbinder</label> <labelNoun>a legbinder</labelNoun> <description>An legbinder. A restraint device that binds the legs restricting movement.</description> <stages> <li> <capMods> <li> <capacity>Moving</capacity> <setMax>0.30</setMax> </li> </capMods> </li> </stages> </HediffDef> <HediffDef ParentName="BondageBase"> <defName>RJW_Blindfold</defName> <label>blindfold</label> <labelNoun>a blindfold</labelNoun> <description>A blindfold. A restraint device that blocks the wearer's vision.</description> <stages> <li> <capMods> <li> <capacity>Sight</capacity> <setMax>0.00</setMax> </li> </capMods> </li> </stages> </HediffDef> </Defs>
lucci/rjw
1.3/Defs/HediffDefs/Hediffs_Bondage.xml
XML
unknown
3,219
<?xml version="1.0" encoding="utf-8" ?> <Defs> <HediffDef> <defName>Plugged</defName> <hediffClass>rjwex.Plugged</hediffClass> <defaultLabelColor>(0.5, 0.5, 0.9)</defaultLabelColor> <label>Plugged</label> <description>Plugged.</description> <makesSickThought>false</makesSickThought> <tendable>false</tendable> <stages> <li> <label>loosely</label> <capMods> <li> <capacity>Moving</capacity> <offset>-0.1</offset> </li> </capMods> </li> <li> <label>comfortable</label> <minSeverity>0.2</minSeverity> <capMods> <li> <capacity>Moving</capacity> <offset>-0.01</offset> </li> </capMods> <statOffsets> <Vulnerability>0.1</Vulnerability> <SexFrequency>0.5</SexFrequency> </statOffsets> </li> <li> <label>tightly</label> <minSeverity>0.4</minSeverity> <painOffset>0.01</painOffset> <capMods> <li> <capacity>Moving</capacity> <offset>-0.05</offset> </li> </capMods> <statOffsets> <Vulnerability>0.15</Vulnerability> <SexFrequency>1</SexFrequency> </statOffsets> </li> <li> <label>very tight</label> <minSeverity>0.6</minSeverity> <painOffset>0.03</painOffset> <capMods> <li> <capacity>Moving</capacity> <offset>-0.05</offset> </li> </capMods> <statOffsets> <Vulnerability>0.2</Vulnerability> <SexFrequency>1.2</SexFrequency> </statOffsets> </li> <li> <label>cracking tight</label> <minSeverity>0.8</minSeverity> <painOffset>0.10</painOffset> <capMods> <li> <capacity>Moving</capacity> <offset>-0.15</offset> </li> </capMods> <statOffsets> <Vulnerability>0.35</Vulnerability> <SexFrequency>1</SexFrequency> </statOffsets> </li> </stages> <scenarioCanAdd>false</scenarioCanAdd> </HediffDef> </Defs>
lucci/rjw
1.3/Defs/HediffDefs/Hediffs_Plugged.xml
XML
unknown
1,925
<?xml version="1.0" encoding="utf-8" ?> <Defs> <JobDef> <defName>UseFM</defName> <driverClass>rjwex.JobDriver_UseFM</driverClass> <reportString>using fuck machine</reportString> <casualInterruptible>false</casualInterruptible> </JobDef> </Defs>
lucci/rjw
1.3/Defs/JobDefs/Job_UseFM.xml
XML
unknown
255
<?xml version="1.0" encoding="utf-8" ?> <Defs> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffArmbinder</defName> <label>force off armbinder</label> <description>Forcibly removes an armbinder without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing armbinder.</jobString> <removes_apparel>Armbinder</removes_apparel> <failure_affects>Torso</failure_affects> <destroys_one_of> <li>Hand</li> </destroys_one_of> <major_burns_on> <li>Hand</li> <li>Arm</li> </major_burns_on> <minor_burns_on> <li>Torso</li> </minor_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffGagBall</defName> <label>force off gag</label> <description>Forcibly removes a gag without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing gag.</jobString> <removes_apparel>GagBall</removes_apparel> <failure_affects>Head</failure_affects> <destroys_one_of> <li>Jaw</li> </destroys_one_of> <major_burns_on> <li>Head</li> <li>Neck</li> </major_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffGagRing</defName> <label>force off gag</label> <description>Forcibly removes a gag without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing gag.</jobString> <removes_apparel>GagRing</removes_apparel> <failure_affects>Head</failure_affects> <destroys_one_of> <li>Jaw</li> </destroys_one_of> <major_burns_on> <li>Head</li> <li>Neck</li> </major_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffChastityBelt</defName> <label>force off chastity belt</label> <description>Forcibly removes a chastity belt without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing chastity belt.</jobString> <removes_apparel>ChastityBelt</removes_apparel> <failure_affects>Torso</failure_affects> <destroys_one_of> <li>Genitals</li> </destroys_one_of> <major_burns_on> <li>Torso</li> </major_burns_on> <minor_burns_on> <li>Leg</li> </minor_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffChastityBeltOpen</defName> <label>force off chastity belt</label> <description>Forcibly removes a chastity belt without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing chastity belt.</jobString> <removes_apparel>ChastityBeltO</removes_apparel> <failure_affects>Torso</failure_affects> <destroys_one_of> <li>Genitals</li> </destroys_one_of> <major_burns_on> <li>Torso</li> </major_burns_on> <minor_burns_on> <li>Leg</li> </minor_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffChastityCage</defName> <label>force off chastity belt</label> <description>Forcibly removes a chastity cage without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing chastity cage.</jobString> <removes_apparel>ChastityCage</removes_apparel> <failure_affects>Torso</failure_affects> <destroys_one_of> <li>Genitals</li> </destroys_one_of> <major_burns_on> <li>Torso</li> </major_burns_on> <minor_burns_on> <li>Leg</li> </minor_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffLegbinder</defName> <label>force off legbinder</label> <description>Forcibly removes a legbinder without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing legbinder.</jobString> <removes_apparel>Legbinder</removes_apparel> <failure_affects>Torso</failure_affects> <major_burns_on> <li>Leg</li> </major_burns_on> <minor_burns_on> <li>Genitals</li> </minor_burns_on> </rjw.force_off_gear_def> <rjw.force_off_gear_def ParentName="ForceOffGenericGear"> <defName>ForceOffBlindfold</defName> <label>force off blindfold</label> <description>Forcibly removes a blindfold without the key at the cost of significant damage to the wearer.</description> <jobString>Forcibly removing blindfold.</jobString> <removes_apparel>Blindfold</removes_apparel> <failure_affects>Head</failure_affects> <major_burns_on> <li>Head</li> </major_burns_on> <minor_burns_on> <li>Neck</li> </minor_burns_on> </rjw.force_off_gear_def> </Defs>
lucci/rjw
1.3/Defs/RecipeDefs/Recipes_ForceRemoveBondage.xml
XML
unknown
4,709
<?xml version="1.0" encoding="utf-8" ?> <Defs> <RecipeDef Abstract="True" Name="RJWEX_MakeBondageGear"> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSkill>Crafting</workSkill> </RecipeDef> <RecipeDef Abstract="True" Name="RJWEX_MakeAdvBondageGear" ParentName="RJWEX_MakeBondageGear"> <soundWorking>Recipe_Tailor</soundWorking> <unfinishedThingDef>UnfinishedApparel</unfinishedThingDef> <recipeUsers> <li>ElectricTailoringBench</li> </recipeUsers> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeArmbinder</defName> <label>make armbinder</label> <description>Make an armbinder.</description> <jobString>Making armbinder.</jobString> <workAmount>5000</workAmount> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>50</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>30</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <!-- <categories> <li>Leathers</li> </categories> --> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <Armbinder>1</Armbinder> </products> <skillRequirements> <Crafting>6</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeGagBall</defName> <label>make ball gag</label> <description>Make a gag with a ball, prevents talking.</description> <jobString>Making gag.</jobString> <workAmount>1500</workAmount> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>8</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>4</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <GagBall>1</GagBall> </products> <skillRequirements> <Crafting>3</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeGagRing</defName> <label>make ring gag</label> <description>Make a gag with a ring, prevents talking.</description> <jobString>Making gag.</jobString> <workAmount>1250</workAmount> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>8</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>4</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <GagRing>1</GagRing> </products> <skillRequirements> <Crafting>3</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeChastityBelt</defName> <label>make chastity belt</label> <description>Make a chastity belt, prevents access to genitals and anus.</description> <jobString>Making chastity belt.</jobString> <workAmount>4000</workAmount> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>10</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>50</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <ChastityBelt>1</ChastityBelt> </products> <skillRequirements> <Crafting>5</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeChastityBeltO</defName> <label>make chastity belt(open)</label> <description>Make a chastity belt, prevents access to genitals, have a hole for anal sex.</description> <jobString>Making chastity belt.</jobString> <workAmount>4000</workAmount> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>10</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>50</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <ChastityBeltO>1</ChastityBeltO> </products> <skillRequirements> <Crafting>5</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeChastityCage</defName> <label>make chastity cage</label> <description>Make a chastity cage, prevents erection.</description> <jobString>Making chastity cage.</jobString> <workAmount>2000</workAmount> <ingredients> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>10</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <ChastityCage>1</ChastityCage> </products> <skillRequirements> <Crafting>5</Crafting> </skillRequirements> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeLegbinder</defName> <label>make legbinder</label> <description>Make a legbinder.</description> <jobString>Making legbinder.</jobString> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <soundWorking>Recipe_Tailor</soundWorking> <workAmount>5000</workAmount> <unfinishedThingDef>UnfinishedApparel</unfinishedThingDef> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>70</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>30</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <Legbinder>1</Legbinder> </products> <skillRequirements> <Crafting>6</Crafting> </skillRequirements> <workSkill>Crafting</workSkill> </RecipeDef> <RecipeDef ParentName="RJWEX_MakeAdvBondageGear"> <defName>MakeBlindfold</defName> <label>make blindfold</label> <description>Make a blindfold.</description> <jobString>Making blindfold.</jobString> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> <soundWorking>Recipe_Tailor</soundWorking> <workAmount>5000</workAmount> <unfinishedThingDef>UnfinishedApparel</unfinishedThingDef> <ingredients> <li> <filter> <categories> <li>Leathers</li> <li>Textiles</li> </categories> </filter> <count>40</count> </li> <li> <filter> <categories> <li>ResourcesRaw</li> </categories> </filter> <count>20</count> </li> <li> <filter> <thingDefs> <li>Hololock</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter> <thingDefs> <li>Leather_Human</li> <li>Leather_Light</li> <li>Leather_Plain</li> <li>Synthread</li> <li>Hyperweave</li> <li>DevilstrandCloth</li> <li>Silver</li> <li>Gold</li> <li>Steel</li> <li>Plasteel</li> <li>Hololock</li> </thingDefs> </fixedIngredientFilter> <products> <Blindfold>1</Blindfold> </products> <skillRequirements> <Crafting>6</Crafting> </skillRequirements> <workSkill>Crafting</workSkill> </RecipeDef> </Defs>
lucci/rjw
1.3/Defs/RecipeDefs/Recipes_MakeBondageGear.xml
XML
unknown
10,155
<?xml version="1.0" encoding="utf-8" ?> <Defs> <RecordDef> <defName>TimePluggedAnal</defName> <label>wearing anal plug</label> <description>Total time wearing plug in butthole.</description> <type>Time</type> <workerClass>rjwex.RecordWorker_TimePluggedAnal</workerClass> </RecordDef> <RecordDef> <defName>TimeOnFuckMachine</defName> <label>time on fuck machine</label> <description>Total time spent using fuck machine (or bound to it).</description> <type>Time</type> <measuredTimeJobs> <li>UseFM</li> </measuredTimeJobs> </RecordDef> <!--RecordDef> <defName>TimesDominated</defName> <label>time on fuck machine</label> <description>Total time spent using fuck machine (or bound to it).</description> <type>Int</type> </RecordDef> <RecordDef> <defName>TimesDominatedOthers</defName> <label>time on fuck machine</label> <description>Total time spent using fuck machine (or bound to it).</description> <type>Int</type> </RecordDef--> </Defs>
lucci/rjw
1.3/Defs/RecordDefs/Records.xml
XML
unknown
998