anim comp and features

This commit is contained in:
c0ffee 2022-01-24 18:18:18 -08:00
parent 00e8d5cf4e
commit 456888cdfa
6 changed files with 50 additions and 6 deletions

View file

@ -5,12 +5,14 @@ using System.Text;
using System.Threading.Tasks;
using RimWorld;
using Verse;
using rjw;
namespace RJW_ToysAndMasturbation {
public class CompProperties_SexToy : CompProperties {
public Gender primaryGender = Gender.Female;
public float satisfactionModifier = 1.5f;
public List<string> requiredBodyParts;
public CompProperties_SexToy() {
compClass = typeof(CompSexToy);
}

View file

@ -15,6 +15,7 @@ namespace RJW_ToysAndMasturbation {
public CompProperties_SexToy Props => (CompProperties_SexToy)props;
public override IEnumerable<FloatMenuOption> CompFloatMenuOptions(Pawn pawn) {
if (!pawn.CanReach(parent, PathEndMode.Touch, Danger.Deadly)) {
@ -54,6 +55,8 @@ namespace RJW_ToysAndMasturbation {
}
private string FloatMenuOptionLabel(Pawn pawn) {
return "Masturbate with toy";
}