This commit is contained in:
Ed86 2022-07-13 16:08:16 +03:00
parent 65afc7f93d
commit d778e3a53a
33 changed files with 53 additions and 51 deletions

Binary file not shown.

Binary file not shown.

View file

@ -4,7 +4,7 @@
<!-- part of HIV --> <!-- part of HIV -->
<HediffDef> <HediffDef>
<defName>Immunodeficiency</defName> <defName>Immunodeficiency</defName>
<hediffClass>std.Hediff_ID</hediffClass> <hediffClass>rjwstd.Hediff_ID</hediffClass>
<defaultLabelColor>(1.0, 0.0, 0.0)</defaultLabelColor> <defaultLabelColor>(1.0, 0.0, 0.0)</defaultLabelColor>
<label>Immunodeficiency</label> <label>Immunodeficiency</label>
<makesSickThought>false</makesSickThought> <makesSickThought>false</makesSickThought>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Defs> <Defs>
<STD.std_def> <rjwstd.std_def>
<defName>Boobitis</defName> <defName>Boobitis</defName>
<label>boobitis</label> <label>boobitis</label>
<description>Boobitis is a highly contagious mechanite plague that causes permanent breast growth if left untreated. It was initialy created as a harmless glittertech "party drug" but has since mutated and spread to virtually every human colony.</description> <description>Boobitis is a highly contagious mechanite plague that causes permanent breast growth if left untreated. It was initialy created as a harmless glittertech "party drug" but has since mutated and spread to virtually every human colony.</description>
@ -13,5 +13,5 @@
<appliedOnFixedBodyParts> <appliedOnFixedBodyParts>
<li>Chest</li> <li>Chest</li>
</appliedOnFixedBodyParts> </appliedOnFixedBodyParts>
</STD.std_def> </rjwstd.std_def>
</Defs> </Defs>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Defs> <Defs>
<STD.std_def> <rjwstd.std_def>
<defName>HIV</defName> <defName>HIV</defName>
<label>HIV</label> <label>HIV</label>
<description>HIV consists of two parts: an acute and a chronic infection. Both parts follow the same course, reducing the infected pawn's blood filtration as their severity increases. The acute phase progresses rapidly but can be fought by the pawn's immune system, whereas the chronic phase progresses very slowly but can never be cured. Treatment can modestly slow the progress of the disease.</description> <description>HIV consists of two parts: an acute and a chronic infection. Both parts follow the same course, reducing the infected pawn's blood filtration as their severity increases. The acute phase progresses rapidly but can be fought by the pawn's immune system, whereas the chronic phase progresses very slowly but can never be cured. Treatment can modestly slow the progress of the disease.</description>
@ -10,5 +10,5 @@
<catch_chance>0.05</catch_chance> <catch_chance>0.05</catch_chance>
<spawn_chance>0.005</spawn_chance> <spawn_chance>0.005</spawn_chance>
<spawn_severity>0.80</spawn_severity> <spawn_severity>0.80</spawn_severity>
</STD.std_def> </rjwstd.std_def>
</Defs> </Defs>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Defs> <Defs>
<STD.std_def> <rjwstd.std_def>
<defName>Herpes</defName> <defName>Herpes</defName>
<label>herpes</label> <label>herpes</label>
<description>Herpes is an incurable but nonfatal disease. Affected pawns experience pain and itchiness in the affected body parts. Treatment is effective at reducing the intensity of the symptoms.</description> <description>Herpes is an incurable but nonfatal disease. Affected pawns experience pain and itchiness in the affected body parts. Treatment is effective at reducing the intensity of the symptoms.</description>
@ -12,5 +12,5 @@
<appliedOnFixedBodyParts> <appliedOnFixedBodyParts>
<li>Genitals</li> <li>Genitals</li>
</appliedOnFixedBodyParts> </appliedOnFixedBodyParts>
</STD.std_def> </rjwstd.std_def>
</Defs> </Defs>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Defs> <Defs>
<STD.std_def> <rjwstd.std_def>
<defName>Syphilis</defName> <defName>Syphilis</defName>
<label>syphilis</label> <label>syphilis</label>
<description>Syphilis is a serious disease that affects the mind. If left untreated, it leads to corrupted thoughts, mood problems, potential permanent damage to the brain, liver, and kidneys, and, ultimately, death. The good news is that it is easily defeated by proper treatment.</description> <description>Syphilis is a serious disease that affects the mind. If left untreated, it leads to corrupted thoughts, mood problems, potential permanent damage to the brain, liver, and kidneys, and, ultimately, death. The good news is that it is easily defeated by proper treatment.</description>
@ -9,5 +9,5 @@
<catch_chance>0.08</catch_chance> <catch_chance>0.08</catch_chance>
<environment_pitch_chance>0.03</environment_pitch_chance> <environment_pitch_chance>0.03</environment_pitch_chance>
<autocure_below_severity>0.01</autocure_below_severity> <autocure_below_severity>0.01</autocure_below_severity>
</STD.std_def> </rjwstd.std_def>
</Defs> </Defs>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Defs> <Defs>
<STD.std_def> <rjwstd.std_def>
<defName>Warts</defName> <defName>Warts</defName>
<label>warts</label> <label>warts</label>
<description>Genital warts are unsightly and cause an itching/burning sensation. They are easily treated and never fatal.</description> <description>Genital warts are unsightly and cause an itching/burning sensation. They are easily treated and never fatal.</description>
@ -11,5 +11,5 @@
<appliedOnFixedBodyParts> <appliedOnFixedBodyParts>
<li>Genitals</li> <li>Genitals</li>
</appliedOnFixedBodyParts> </appliedOnFixedBodyParts>
</STD.std_def> </rjwstd.std_def>
</Defs> </Defs>

View file

@ -3,7 +3,7 @@
<Defs> <Defs>
<ThoughtDef> <ThoughtDef>
<defName>WastingAway</defName> <defName>WastingAway</defName>
<workerClass>STD.ThoughtWorker_WastingAway</workerClass> <workerClass>rjwstd.ThoughtWorker_WastingAway</workerClass>
<stages> <stages>
<li> <li>
<label>wasting away</label> <label>wasting away</label>

View file

@ -3,7 +3,7 @@
<Defs> <Defs>
<ThoughtDef> <ThoughtDef>
<defName>ItchyCrotch</defName> <defName>ItchyCrotch</defName>
<workerClass>STD.ThoughtWorker_ItchyCrotch</workerClass> <workerClass>rjwstd.ThoughtWorker_ItchyCrotch</workerClass>
<stages> <stages>
<li> <li>
<label>itchy crotch</label> <label>itchy crotch</label>

View file

@ -3,7 +3,7 @@
<Defs> <Defs>
<ThoughtDef> <ThoughtDef>
<defName>SyphiliticThoughts</defName> <defName>SyphiliticThoughts</defName>
<workerClass>STD.ThoughtWorker_SyphiliticThoughts</workerClass> <workerClass>rjwstd.ThoughtWorker_SyphiliticThoughts</workerClass>
<stages> <stages>
<li> <li>
<label>syphilitic thoughts</label> <label>syphilitic thoughts</label>

View file

@ -6,8 +6,8 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{3FC2D442-19B8-4CF9-9D35-CD13B6AC7B28}</ProjectGuid> <ProjectGuid>{3FC2D442-19B8-4CF9-9D35-CD13B6AC7B28}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<RootNamespace>STD</RootNamespace> <RootNamespace>rjwstd</RootNamespace>
<AssemblyName>STD</AssemblyName> <AssemblyName>RimJobWorldSTD</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
</PropertyGroup> </PropertyGroup>

View file

@ -3,7 +3,7 @@ using HugsLib;
using HugsLib.Settings; using HugsLib.Settings;
using Verse; using Verse;
namespace STD namespace rjwstd
{ {
public class STDBase : ModBase public class STDBase : ModBase
{ {

View file

@ -3,7 +3,7 @@ using HarmonyLib;
using System; using System;
using rjw; using rjw;
namespace STD namespace rjwstd
{ {
///<summary> ///<summary>
///boobitis increase sex need/make pawn horny ///boobitis increase sex need/make pawn horny

View file

@ -4,7 +4,7 @@ using System;
using rjw; using rjw;
using RimWorld; using RimWorld;
namespace STD namespace rjwstd
{ {
public static class std_Boobitis public static class std_Boobitis
{ {

View file

@ -1,6 +1,6 @@
using Verse; using Verse;
namespace STD namespace rjwstd
{ {
public class Hediff_ID : Hediff public class Hediff_ID : Hediff
{ {

View file

@ -1,7 +1,7 @@
using RimWorld; using RimWorld;
using Verse; using Verse;
namespace STD namespace rjwstd
{ {
public class ThoughtWorker_WastingAway : ThoughtWorker public class ThoughtWorker_WastingAway : ThoughtWorker
{ {

View file

@ -4,7 +4,7 @@ using System;
using rjw; using rjw;
using RimWorld; using RimWorld;
namespace STD namespace rjwstd
{ {
[HarmonyPatch(typeof(std_updater), "update")] [HarmonyPatch(typeof(std_updater), "update")]
[StaticConstructorOnStartup] [StaticConstructorOnStartup]

View file

@ -4,7 +4,7 @@ using System;
using rjw; using rjw;
using RimWorld; using RimWorld;
namespace STD namespace rjwstd
{ {
/// <summary> /// <summary>
/// add some infections /// add some infections

View file

@ -1,7 +1,7 @@
using RimWorld; using RimWorld;
using Verse; using Verse;
namespace STD namespace rjwstd
{ {
public class ThoughtWorker_ItchyCrotch : ThoughtWorker public class ThoughtWorker_ItchyCrotch : ThoughtWorker
{ {

View file

@ -4,7 +4,7 @@ using rjw;
using System; using System;
using RimWorld; using RimWorld;
namespace STD namespace rjwstd
{ {
[HarmonyPatch(typeof(AfterSexUtility), "think_about_sex", new Type[] {typeof(Pawn), typeof(Pawn), typeof(bool), typeof(SexProps), typeof(bool)})] [HarmonyPatch(typeof(AfterSexUtility), "think_about_sex", new Type[] {typeof(Pawn), typeof(Pawn), typeof(bool), typeof(SexProps), typeof(bool)})]
[StaticConstructorOnStartup] [StaticConstructorOnStartup]

View file

@ -4,7 +4,7 @@ using rjw;
using System; using System;
using RimWorld; using RimWorld;
namespace STD namespace rjwstd
{ {
public static class std_Rash public static class std_Rash
{ {

View file

@ -1,7 +1,7 @@
using RimWorld; using RimWorld;
using Verse; using Verse;
namespace STD namespace rjwstd
{ {
public class ThoughtWorker_SyphiliticThoughts : ThoughtWorker public class ThoughtWorker_SyphiliticThoughts : ThoughtWorker
{ {

View file

@ -4,7 +4,7 @@ using System;
using rjw; using rjw;
using RimWorld; using RimWorld;
namespace STD namespace rjwstd
{ {
[HarmonyPatch(typeof(std_updater), "update")] [HarmonyPatch(typeof(std_updater), "update")]
[StaticConstructorOnStartup] [StaticConstructorOnStartup]

View file

@ -4,7 +4,7 @@ using System;
using rjw; using rjw;
using RimWorld; using RimWorld;
namespace STD namespace rjwstd
{ {
/// <summary> /// <summary>
/// do damage to pawn health /// do damage to pawn health

View file

@ -3,7 +3,7 @@ using HarmonyLib;
using rjw; using rjw;
using System; using System;
namespace STD namespace rjwstd
{ {
///<summary> ///<summary>
///roll for STD with unprotected rjw sex ///roll for STD with unprotected rjw sex

View file

@ -4,7 +4,7 @@ using rjw;
using System; using System;
using System.Reflection; using System.Reflection;
namespace STD namespace rjwstd
{ {
///<summary> ///<summary>
///roll for STD update every 10 sex need ticks ///roll for STD update every 10 sex need ticks

View file

@ -4,7 +4,7 @@ using rjw;
using System; using System;
using System.Reflection; using System.Reflection;
namespace STD namespace rjwstd
{ {
///<summary> ///<summary>
///roll for STD update every 10 sex need ticks ///roll for STD update every 10 sex need ticks

View file

@ -3,7 +3,7 @@ using System.Linq;
using Verse; using Verse;
using rjw; using rjw;
namespace STD namespace rjwstd
{ {
/// <summary> /// <summary>
/// Common functions and constants relevant to STDs. /// Common functions and constants relevant to STDs.

View file

@ -1,7 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using Verse; using Verse;
namespace STD namespace rjwstd
{ {
/// <summary> /// <summary>
/// Defines a disease that has a chance to spread during sex. /// Defines a disease that has a chance to spread during sex.

View file

@ -6,7 +6,7 @@ using Verse;
using rjw; using rjw;
using rjw.Modules.Interactions.Enums; using rjw.Modules.Interactions.Enums;
namespace STD namespace rjwstd
{ {
/// <summary> /// <summary>
/// Responsible for spreading STDs (adding STD hediffs). Usually happens during sex. /// Responsible for spreading STDs (adding STD hediffs). Usually happens during sex.

View file

@ -3,7 +3,7 @@ using RimWorld;
using Verse; using Verse;
using rjw; using rjw;
namespace STD namespace rjwstd
{ {
/// <summary> /// <summary>
/// Responsible for handling the periodic effects of having an STD hediff. /// Responsible for handling the periodic effects of having an STD hediff.

View file

@ -1,23 +1,25 @@
And why would you read me? Requirements:
Harmony
Hugslib
Rimjobworld 5.0+(https://gitgud.io/Ed86/rjw)
Mod git: Features:
https://gitgud.io/Ed86/rjw-std Adds STDs when pawns have unprotected sex with infected pawns or in dirty environment:
- HIVs/Immunodeficiency - apply random infections
- Syphilis - damages pawn organs/health
- Herpes & Warts - :(
- Boobitis - expands breasts by ~70%
Patches:
Nymphs spawn std chance x3
Support Ed:
https://subscribestar.adult/Ed86
Discord: Discord:
https://discord.gg/CXwHhv8 https://discord.gg/CXwHhv8
LoversLab:
-
Requirements:
Harmony
Hugslib
Rimjobworld 5.0+ (https://gitgud.io/Ed86/rjw)
Additional features to RimJobWorld (STDs): Additional features to RimJobWorld (STDs):
- HIVs
- Immunodeficiency
- Syphilis - Syphilis
- Herpes & Warts
- Boobitis