more cleanup
This commit is contained in:
parent
434f7a8842
commit
9588010e98
@ -1,14 +0,0 @@
|
||||
using RimWorld;
|
||||
using Verse;
|
||||
|
||||
namespace LitterBiotech
|
||||
{
|
||||
[RimWorld.DefOf]
|
||||
public static class HediffDefOf
|
||||
{
|
||||
// public static HediffDef Infatuo;
|
||||
// public static HediffDef InfatuoCalibrating;
|
||||
public static HediffDef OvaryAgitator;
|
||||
public static HediffDef Bioscaffold;
|
||||
}
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
// FOR ANYONE (THAT ISN"T ME (BOEUF)) THAT CARES
|
||||
// =====================
|
||||
// This is an idea for an implant that I had that basically forces a pawn to romantically obsess about another pawn, but I'm taking a break from working on it
|
||||
// because I'm too smoothbrain to work out relation defs and making custom relations, and the multibirth stuff was taking up my time as is
|
||||
// If you want to mess with it, this code is here for shits and gigs - modify it, throw it out, make something new, idgaf
|
||||
|
||||
/*using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LitterBiotech.Hediffs
|
||||
{
|
||||
class Infatuo
|
||||
{
|
||||
public class PawnRelationWorker_InfatuoInfatuated : PawnRelationWorker
|
||||
{
|
||||
// BaseGenerationChanceFactor - should NEVER autogenerate on pawns (for now, anyway)
|
||||
new public float BaseGenerationChanceFactor(Pawn generated, Pawn other, PawnGenerationRequest request)
|
||||
{
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
// CreateRelation - shouldn't be needed for now since we're not autogenerating infatuo relations, but may be used in future
|
||||
public override void CreateRelation(Pawn generated, Pawn other, ref PawnGenerationRequest request)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// GenerationChance - should NEVER autogenerate on pawns (for now, anyway)
|
||||
public override float GenerationChance(Pawn generated, Pawn other, PawnGenerationRequest request)
|
||||
{
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
public override bool InRelation(Pawn me, Pawn other)
|
||||
{
|
||||
return (me.health.hediffSet.GetFirstHediff<Hediff_Infatuo>().target == other);
|
||||
}
|
||||
}
|
||||
|
||||
public class Hediff_Infatuo : Hediff
|
||||
{
|
||||
public Hediff_Infatuo(Pawn intTarget)
|
||||
{
|
||||
target = intTarget;
|
||||
}
|
||||
public Pawn target;
|
||||
}
|
||||
|
||||
public class Hediff_InfatuoCalibrating : Hediff
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}*/
|
@ -136,9 +136,6 @@ namespace LitterBiotech
|
||||
if (currentLaborState.birthTotal == currentLaborState.birthCount)
|
||||
{
|
||||
laborStateMap.Remove(__instance.pawn.ThingID);
|
||||
if (__instance.pawn.health.hediffSet.HasHediff(HediffDef.Named("Bioscaffold"))) {
|
||||
__instance.pawn.health.RemoveHediff(__instance.pawn.health.hediffSet.GetFirstHediffOfDef(LitterBiotech.HediffDefOf.Bioscaffold));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -52,8 +52,6 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="DefOf\GeneDefOf.cs" />
|
||||
<Compile Include="DefOf\HediffDefOf.cs" />
|
||||
<Compile Include="Hediffs\Infatuo.cs" />
|
||||
<Compile Include="Helpers\LBTLogger.cs" />
|
||||
<Compile Include="Helpers\LaborState.cs" />
|
||||
<Compile Include="DefOf\LetterDefOf.cs" />
|
||||
|
@ -39,8 +39,6 @@ namespace LitterBiotech
|
||||
listingStandard.Begin(inRect);
|
||||
listingStandard.Gap(4f);
|
||||
listingStandard.CheckboxLabeled("EnableLBTDevLogging".Translate(), ref devMode, "EnableLBTDevLoggingDesc".Translate());
|
||||
listingStandard.Gap(4f);
|
||||
listingStandard.CheckboxLabeled("RegretStealingLovinThoughtDisabled".Translate(), ref regretStealingLovinThoughtDisabled, "RegretStealingLovinThoughtDisabledDesc".Translate());
|
||||
listingStandard.End();
|
||||
}
|
||||
|
||||
@ -48,7 +46,6 @@ namespace LitterBiotech
|
||||
{
|
||||
base.ExposeData();
|
||||
Scribe_Values.Look(ref devMode, "EnableLBTDevLogging", devMode, true);
|
||||
Scribe_Values.Look(ref regretStealingLovinThoughtDisabled, "regretStealingLovinThoughtDisabled", regretStealingLovinThoughtDisabled, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user