mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
Experimental quivering on orgasm
This commit is contained in:
parent
0a5b504d29
commit
9d70c2cb59
11 changed files with 78 additions and 4 deletions
|
@ -13,6 +13,7 @@ namespace Rimworld_Animations {
|
|||
public AltitudeLayer layer = AltitudeLayer.Pawn;
|
||||
|
||||
public Dictionary<int, string> SoundEffects = new Dictionary<int, string>();
|
||||
public Dictionary<int, bool> quiver = new Dictionary<int, bool>();
|
||||
public SimpleCurve BodyAngle = new SimpleCurve();
|
||||
public SimpleCurve HeadAngle = new SimpleCurve();
|
||||
public SimpleCurve HeadBob = new SimpleCurve();
|
||||
|
@ -89,6 +90,11 @@ namespace Rimworld_Animations {
|
|||
SoundEffects.Add(keyframePosition, frame.soundEffect);
|
||||
}
|
||||
|
||||
if(frame.tickDuration != 1 && frame.quiver.HasValue) {
|
||||
|
||||
quiver.Add(keyframePosition, true);
|
||||
quiver.Add(keyframePosition + frame.tickDuration - 1, false);
|
||||
}
|
||||
keyframePosition += frame.tickDuration;
|
||||
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ namespace Rimworld_Animations {
|
|||
public int? headFacing;
|
||||
|
||||
public string soundEffect;
|
||||
public bool? quiver;
|
||||
|
||||
public float? atTick;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue