mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
orgy tweaks
This commit is contained in:
parent
379c9a4d7d
commit
eb3cdf7758
5 changed files with 63 additions and 4 deletions
Binary file not shown.
BIN
CRIAOrgy/Assemblies/CRIAOrgy.dll
Normal file
BIN
CRIAOrgy/Assemblies/CRIAOrgy.dll
Normal file
Binary file not shown.
|
@ -14,13 +14,14 @@
|
||||||
<Deterministic>true</Deterministic>
|
<Deterministic>true</Deterministic>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>false</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>Assemblies\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
|
@ -31,6 +32,22 @@
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Reference Include="0Harmony">
|
||||||
|
<HintPath>..\..\..\..\..\workshop\content\294100\2009463077\Current\Assemblies\0Harmony.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Assembly-CSharp">
|
||||||
|
<HintPath>..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="HugsLib">
|
||||||
|
<HintPath>..\..\..\..\..\workshop\content\294100\818773962\v1.3\Assemblies\HugsLib.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="RJW">
|
||||||
|
<HintPath>..\..\rjw\1.3\Assemblies\RJW.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
@ -39,13 +56,25 @@
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="UnityEngine">
|
||||||
|
<HintPath>..\..\..\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.CoreModule">
|
||||||
|
<HintPath>..\..\..\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="Source\RitualOutcomeEffectWorkers\RitualOutcomeEffectWorker_Orgy.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Defs\PreceptDefs\Precepts_PublicSex.xml" />
|
<Content Include="Defs\PreceptDefs\Precepts_PublicSex.xml" />
|
||||||
<Content Include="Defs\ThoughtDefs\Thoughts_Ritual_Orgy.xml" />
|
<Content Include="Defs\ThoughtDefs\Thoughts_Ritual_Orgy.xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Assemblies\" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
|
@ -44,7 +44,7 @@
|
||||||
<RitualOutcomeEffectDef>
|
<RitualOutcomeEffectDef>
|
||||||
<defName>FertilityRitualOutcome</defName>
|
<defName>FertilityRitualOutcome</defName>
|
||||||
<description>orgy ritual outcome</description>
|
<description>orgy ritual outcome</description>
|
||||||
<workerClass>RitualOutcomeEffectWorker_FromQuality</workerClass>
|
<workerClass>CRIAOrgy.RitualOutcomeEffectWorker_Orgy</workerClass>
|
||||||
<comps>
|
<comps>
|
||||||
<li Class="RitualOutcomeComp_ParticipantCount">
|
<li Class="RitualOutcomeComp_ParticipantCount">
|
||||||
<label>participant count</label>
|
<label>participant count</label>
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Verse;
|
||||||
|
using RimWorld;
|
||||||
|
using rjw;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace CRIAOrgy
|
||||||
|
{
|
||||||
|
public class RitualOutcomeEffectWorker_Orgy : RitualOutcomeEffectWorker_FromQuality
|
||||||
|
{
|
||||||
|
public override void Apply(float progress, Dictionary<Pawn, int> totalPresence, LordJob_Ritual jobRitual)
|
||||||
|
{
|
||||||
|
foreach (KeyValuePair<Pawn, int> keyValuePair in totalPresence)
|
||||||
|
{
|
||||||
|
Pawn participant = keyValuePair.Key;
|
||||||
|
|
||||||
|
participant.mindState.Notify_OutfitChanged();
|
||||||
|
|
||||||
|
GlobalTextureAtlasManager.TryMarkPawnFrameSetDirty(participant);
|
||||||
|
if (xxx.is_human(participant))
|
||||||
|
participant.Drawer.renderer.graphics.ResolveAllGraphics();
|
||||||
|
}
|
||||||
|
|
||||||
|
base.Apply(progress, totalPresence, jobRitual);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue