mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
added filter workers
This commit is contained in:
parent
8810840d48
commit
bcf2b42d6d
3 changed files with 24 additions and 1 deletions
|
@ -79,6 +79,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="CRIALactation\Defs\PreceptDefs\Precepts_Lactating_Role.xml" />
|
||||
<Content Include="CRIALactation\Defs\SpecialThingFilterDefs\Items_Resource_Milk.xml" />
|
||||
<Content Include="LoadFolders.xml" />
|
||||
<Content Include="Textures\UI\Issues\Lactating.png" />
|
||||
<Content Include="Textures\UI\Memes\Hucow.png" />
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
<SpecialThingFilterDef>
|
||||
<defName>AllowWithHumanMilk</defName>
|
||||
<label>allow food with human milk</label>
|
||||
<description>Allow food that was made with human milk.</description>
|
||||
<parentCategory>Foods</parentCategory>
|
||||
<allowedByDefault>true</allowedByDefault>
|
||||
<saveKey>allowWithHumanMilk</saveKey>
|
||||
<workerClass>CRIALactation.SpecialThingFilterWorker_Milk</workerClass>
|
||||
</SpecialThingFilterDef>
|
||||
|
||||
<SpecialThingFilterDef>
|
||||
<defName>AllowWithoutHumanMilk</defName>
|
||||
<label>allow food without human milk</label>
|
||||
<description>Allow normal food.</description>
|
||||
<parentCategory>Foods</parentCategory>
|
||||
<allowedByDefault>true</allowedByDefault>
|
||||
<saveKey>allowWithoutHumanMilk</saveKey>
|
||||
<workerClass>CRIALactation.SpecialThingFilterWorker_NoMilk</workerClass>
|
||||
</SpecialThingFilterDef>
|
||||
</Defs>
|
|
@ -5,7 +5,7 @@ using System.Text;
|
|||
using System.Threading.Tasks;
|
||||
using Verse;
|
||||
|
||||
namespace CRIALactation.Source.ThingFilters
|
||||
namespace CRIALactation
|
||||
{
|
||||
class SpecialThingFilterWorker_Milk : SpecialThingFilterWorker_MilkBase
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue