diff --git a/1.4/Assemblies/RJW-Events.dll b/1.4/Assemblies/RJW-Events.dll index dde5494..ea5b58c 100644 Binary files a/1.4/Assemblies/RJW-Events.dll and b/1.4/Assemblies/RJW-Events.dll differ diff --git a/Defs/GameConditionDefs/GameConditions_Misc.xml b/Defs/GameConditionDefs/GameConditions_Misc.xml index 5b9ecd3..5b08134 100644 --- a/Defs/GameConditionDefs/GameConditions_Misc.xml +++ b/Defs/GameConditionDefs/GameConditions_Misc.xml @@ -2,7 +2,7 @@ PsychicArouse - RJW_Events.GameCondition_PsychicArouse + RJW_Events.GameCondition_PsychicEmanation A distant archotech is emitting psychic signals through an orbital amplifier, sexually arousing people. @@ -12,5 +12,8 @@ BadMedium NegativeEvent false + +
  • PsychicArouse
  • +
    diff --git a/Source/IncidentWorkers/IncidentWorker_PsychicArouse.cs b/Source/IncidentWorkers/IncidentWorker_PsychicArouse.cs index 206c587..11ec827 100644 --- a/Source/IncidentWorkers/IncidentWorker_PsychicArouse.cs +++ b/Source/IncidentWorkers/IncidentWorker_PsychicArouse.cs @@ -5,12 +5,24 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using Verse; +using Verse.Sound; namespace RJW_Events { public class IncidentWorker_PsychicArouse : IncidentWorker_PsychicEmanation { - protected override void DoConditionAndLetter(IncidentParms parms, Map map, int duration, Gender gender, float points) + + protected override bool TryExecuteWorker(IncidentParms parms) + { + if (base.TryExecuteWorker(parms)) + { + SoundDefOf.PsychicSootheGlobal.PlayOneShotOnCamera((Map)parms.target); + return true; + } + return false; + } + + protected override void DoConditionAndLetter(IncidentParms parms, Map map, int duration, Gender gender, float points) { PsychicDroneLevel level; if (points < 800f)