mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2026-06-18 19:25:57 +00:00
- Removed DDS Files - Added Initial Support for Rimworld 1.6 - Added Additional mod requirement to PatchBSShared.xml to prevent premature loading. - Refactored Cumpilation integration to make it optional rather then a Required Mod. - Disabled succubus tail interactions pending rewrite for RJW's new interactions system. - Disabled Quirks pending rewrite RJW separating them into their own mod.
35 lines
847 B
C#
35 lines
847 B
C#
using RimWorld;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Verse.Sound;
|
|
using Verse;
|
|
using RimWorld.Planet;
|
|
using rjw;
|
|
using HarmonyLib;
|
|
using Verse.AI;
|
|
|
|
namespace RJW_Genes
|
|
{
|
|
public class CompAbilityEffect_MatingCall : CompAbilityEffect
|
|
{
|
|
|
|
private new CompProperties_AbilityMatingCall Props
|
|
{
|
|
get
|
|
{
|
|
return (CompProperties_AbilityMatingCall)this.props;
|
|
}
|
|
}
|
|
|
|
public override void Apply(LocalTargetInfo target, LocalTargetInfo dest)
|
|
{
|
|
base.Apply(target, dest);
|
|
ModLog.Message($"{this.parent.pawn} is casting MatingCall");
|
|
AnimalBreedingHelper.DoAnimalBreedingPulse(this.parent.pawn, Props.calldistance);
|
|
}
|
|
|
|
}
|
|
}
|