diff --git a/C0ffee's RJW Ideology Addons.sln b/C0ffee's RJW Ideology Addons.sln index 27cd1fe..6c92b81 100644 --- a/C0ffee's RJW Ideology Addons.sln +++ b/C0ffee's RJW Ideology Addons.sln @@ -9,7 +9,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CRIALactation", "CRIALactat EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CRIAOrgy", "CRIAOrgy\CRIAOrgy.csproj", "{212ED289-C5A3-4807-B482-A53F36B31F23}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CRIAPregnancy", "..\CRIAPregnancy\CRIAPregnancy.csproj", "{7338B390-A5AC-4A08-9C7D-ACA72100309E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CRIAPregnancy", "CRIAPregnancy\CRIAPregnancy.csproj", "{7338B390-A5AC-4A08-9C7D-ACA72100309E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/CRIAPregnancy/CRIAPregnancy.csproj b/CRIAPregnancy/CRIAPregnancy.csproj new file mode 100644 index 0000000..868e97a --- /dev/null +++ b/CRIAPregnancy/CRIAPregnancy.csproj @@ -0,0 +1,57 @@ + + + + + Debug + AnyCPU + {7338B390-A5AC-4A08-9C7D-ACA72100309E} + Library + Properties + CRIAPregnancy + CRIAPregnancy + v4.7.2 + 512 + true + + + false + none + false + Assemblies\ + DEBUG;TRACE + prompt + 4 + Off + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CRIAPregnancy/Defs/PreceptDefs/Precepts_Pregnancy.xml b/CRIAPregnancy/Defs/PreceptDefs/Precepts_Pregnancy.xml new file mode 100644 index 0000000..2fb370e --- /dev/null +++ b/CRIAPregnancy/Defs/PreceptDefs/Precepts_Pregnancy.xml @@ -0,0 +1,43 @@ + + + + + + Pregnancy + + + + + Preg_Virtue + Pregnancy + + Pregnancy is a virtue; a symbol of health and fertility. + Medium + 100 + +
  • + Pregnancy_Virtue + Pregnancy is a symbol of virtue and respect. + true +
  • +
    +
    + + + Preg_Duty + Pregnancy + + Being pregnant and birthing offspring for the colony is expected from the fertile. + High + 110 + + +
  • + Pain + Pain_Idealized + true +
  • +
    +
    +
    + diff --git a/CRIAPregnancy/Properties/AssemblyInfo.cs b/CRIAPregnancy/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b1e15a5 --- /dev/null +++ b/CRIAPregnancy/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +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("CRIAPregnancy")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("CRIAPregnancy")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[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("7338b390-a5ac-4a08-9c7d-aca72100309e")] + +// 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")] diff --git a/CRIAPregnancy/Source/CompProperties/CompProperties_LastPregnancy.cs b/CRIAPregnancy/Source/CompProperties/CompProperties_LastPregnancy.cs new file mode 100644 index 0000000..ea6fe0a --- /dev/null +++ b/CRIAPregnancy/Source/CompProperties/CompProperties_LastPregnancy.cs @@ -0,0 +1,15 @@ +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Verse; +using RimWorld; +using rjw; +using UnityEngine; + +namespace CRIAPregnancy +{ + public class CompProperties_LastPregnancy : CompProperties + { + } +} diff --git a/CRIAPregnancy/Source/Comps/Comp_LastPregnancy.cs b/CRIAPregnancy/Source/Comps/Comp_LastPregnancy.cs new file mode 100644 index 0000000..d442f23 --- /dev/null +++ b/CRIAPregnancy/Source/Comps/Comp_LastPregnancy.cs @@ -0,0 +1,18 @@ +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Verse; +using RimWorld; +using rjw; +using UnityEngine; + +namespace CRIAPregnancy +{ + public class Comp_LastPregnancy : ThingComp + { + + + + } +} diff --git a/CRIAPregnancy/Source/Thoughts/ThoughtWorker_Pregnancy.cs b/CRIAPregnancy/Source/Thoughts/ThoughtWorker_Pregnancy.cs new file mode 100644 index 0000000..2ef77bf --- /dev/null +++ b/CRIAPregnancy/Source/Thoughts/ThoughtWorker_Pregnancy.cs @@ -0,0 +1,31 @@ +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Verse; +using RimWorld; +using rjw; +using UnityEngine; + +namespace CRIAPregnancy +{ + class ThoughtWorker_Pregnancy : ThoughtWorker_Precept + { + + public static bool CanBePregnant(Pawn p) + { + if(p.RaceHasPregnancy() + && Genital_Helper.has_vagina(p) + && p.health.capacities.GetLevel(xxx.reproduction) > 0) + { + return true; + } + return false; + } + + protected override ThoughtState ShouldHaveThought(Pawn p) + { + if (p) + } + } +}