mirror of
https://gitgud.io/c0ffeeeeeeee/rjw-toys-and-masturbation.git
synced 2024-08-15 00:43:44 +00:00
anim comp and features
This commit is contained in:
parent
00e8d5cf4e
commit
456888cdfa
6 changed files with 50 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue