mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
offset changer + fix for pawns off map
This commit is contained in:
parent
c13b3d793b
commit
c915b10e54
11 changed files with 163 additions and 21 deletions
|
@ -5,6 +5,7 @@ using System.Text;
|
|||
using System.Threading.Tasks;
|
||||
using Verse;
|
||||
using UnityEngine;
|
||||
using RimWorld;
|
||||
|
||||
namespace Rimworld_Animations {
|
||||
public class AnimationSettings : ModSettings {
|
||||
|
@ -12,6 +13,8 @@ namespace Rimworld_Animations {
|
|||
public static bool orgasmQuiver, rapeShiver, soundOverride = true, hearts = true, controlGenitalRotation = false, applySemenOnAnimationOrgasm = false, fastAnimForQuickie = false;
|
||||
public static float shiverIntensity = 2f;
|
||||
|
||||
public static Dictionary<string, Vector2> offsetsByDefName;
|
||||
|
||||
public override void ExposeData() {
|
||||
|
||||
base.ExposeData();
|
||||
|
@ -25,6 +28,7 @@ namespace Rimworld_Animations {
|
|||
Scribe_Values.Look(ref soundOverride, "rjwAnimSoundOverride", true);
|
||||
Scribe_Values.Look(ref shiverIntensity, "shiverIntensity", 2f);
|
||||
|
||||
//todo: save offsetsByDefName
|
||||
|
||||
}
|
||||
|
||||
|
@ -54,9 +58,12 @@ namespace Rimworld_Animations {
|
|||
listingStandard.CheckboxLabeled("Enable Rape Shiver", ref AnimationSettings.rapeShiver);
|
||||
listingStandard.CheckboxLabeled("Enable hearts during lovin'", ref AnimationSettings.hearts);
|
||||
|
||||
listingStandard.CheckboxLabeled("Enable Offset Tab", ref OffsetMainButtonDefOf.OffsetManager.buttonVisible);
|
||||
|
||||
listingStandard.Label("Shiver/Quiver Intensity (default 2): " + AnimationSettings.shiverIntensity);
|
||||
AnimationSettings.shiverIntensity = listingStandard.Slider(AnimationSettings.shiverIntensity, 0.0f, 12f);
|
||||
|
||||
|
||||
listingStandard.End();
|
||||
base.DoSettingsWindowContents(inRect);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue