mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
1.5 Update by A Flock of Birds
This commit is contained in:
parent
d24eb8c4a2
commit
1bc56f65ce
11 changed files with 28 additions and 20 deletions
BIN
CRIALactation/1.5/Assemblies/CRIALactation.dll
Normal file
BIN
CRIALactation/1.5/Assemblies/CRIALactation.dll
Normal file
Binary file not shown.
|
@ -18,7 +18,7 @@
|
|||
<DebugSymbols>false</DebugSymbols>
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>1.4\Assemblies\</OutputPath>
|
||||
<OutputPath>1.5\Assemblies\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
|
@ -26,14 +26,14 @@
|
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>1.4\Assemblies\</OutputPath>
|
||||
<OutputPath>1.5\Assemblies\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="0Harmony">
|
||||
<HintPath>..\..\..\..\..\workshop\content\294100\839005762\1.4\Assemblies\0Harmony.dll</HintPath>
|
||||
<HintPath>$(STEAMC)\workshop\content\294100\839005762\1.4\Assemblies\0Harmony.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Assembly-CSharp">
|
||||
|
@ -41,15 +41,15 @@
|
|||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="HugsLib">
|
||||
<HintPath>..\..\..\..\..\workshop\content\294100\818773962\v1.4\Assemblies\HugsLib.dll</HintPath>
|
||||
<HintPath>$(STEAMC)\workshop\content\294100\818773962\v1.4\Assemblies\HugsLib.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Milk">
|
||||
<HintPath>..\..\rjw-mc\1.4\Assemblies\Milk.dll</HintPath>
|
||||
<HintPath>..\..\rjw-mc\1.5\Assemblies\Milk.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="RJW">
|
||||
<HintPath>..\..\rjw\1.4\Assemblies\RJW.dll</HintPath>
|
||||
<HintPath>..\..\rjw\1.5\Assemblies\RJW.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace CRIALactation
|
|||
public class PreceptComp_Lactation : PreceptComp
|
||||
{
|
||||
|
||||
public override void Notify_MemberGenerated(Pawn pawn, Precept precept, bool newborn)
|
||||
public override void Notify_MemberGenerated(Pawn pawn, Precept precept, bool newborn, bool ignoreApparel = false)
|
||||
{
|
||||
|
||||
if (newborn) return;
|
||||
|
@ -30,7 +30,5 @@ namespace CRIALactation
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace CRIALactation
|
|||
|
||||
public override bool ShouldSkip(Pawn pawn, bool forced = false)
|
||||
{
|
||||
List<Pawn> list = pawn.Map.mapPawns.AllPawnsSpawned;
|
||||
IReadOnlyList<Pawn> list = pawn.Map.mapPawns.AllPawnsSpawned;
|
||||
for(int i = 0; i < list.Count; i++)
|
||||
{
|
||||
if(LactationUtility.isMassageable(list[i]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue