diff --git a/C0ffee's RJW Ideology Addons.csproj b/C0ffee's RJW Ideology Addons.csproj index 805da46..ca47b96 100644 --- a/C0ffee's RJW Ideology Addons.csproj +++ b/C0ffee's RJW Ideology Addons.csproj @@ -79,6 +79,7 @@ + diff --git a/CRIALactation/Defs/SpecialThingFilterDefs/Items_Resource_Milk.xml b/CRIALactation/Defs/SpecialThingFilterDefs/Items_Resource_Milk.xml new file mode 100644 index 0000000..71b4431 --- /dev/null +++ b/CRIALactation/Defs/SpecialThingFilterDefs/Items_Resource_Milk.xml @@ -0,0 +1,22 @@ + + + + AllowWithHumanMilk + + Allow food that was made with human milk. + Foods + true + allowWithHumanMilk + CRIALactation.SpecialThingFilterWorker_Milk + + + + AllowWithoutHumanMilk + + Allow normal food. + Foods + true + allowWithoutHumanMilk + CRIALactation.SpecialThingFilterWorker_NoMilk + + diff --git a/CRIALactation/Source/ThingFilters/SpecialThingFilterWorker_Milk.cs b/CRIALactation/Source/ThingFilters/SpecialThingFilterWorker_Milk.cs index 3e7260c..86bb2fa 100644 --- a/CRIALactation/Source/ThingFilters/SpecialThingFilterWorker_Milk.cs +++ b/CRIALactation/Source/ThingFilters/SpecialThingFilterWorker_Milk.cs @@ -5,7 +5,7 @@ using System.Text; using System.Threading.Tasks; using Verse; -namespace CRIALactation.Source.ThingFilters +namespace CRIALactation { class SpecialThingFilterWorker_Milk : SpecialThingFilterWorker_MilkBase {