bonus mood, thinknode AI

This commit is contained in:
c0ffeeeeeeee 2020-11-05 22:03:16 -08:00
parent 1b49e235cf
commit da8939c4b8
9 changed files with 95 additions and 9 deletions

View file

@ -9,6 +9,7 @@ using Verse;
namespace RJW_ToysAndMasturbation {
public class CompProperties_SexToy : CompProperties {
public Gender primaryGender = Gender.Female;
public CompProperties_SexToy() {
compClass = typeof(CompSexToy);
}

View file

@ -13,6 +13,8 @@ namespace RJW_ToysAndMasturbation {
public static IntVec3 FapLocation(Pawn p) => (new JobGiver_Masturbate()).FindFapLocation(p);
public CompProperties_SexToy Props => (CompProperties_SexToy)props;
public override IEnumerable<FloatMenuOption> CompFloatMenuOptions(Pawn pawn) {
if (!pawn.CanReach(parent, PathEndMode.Touch, Danger.Deadly)) {