mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
reverted to original method of finding animation
This commit is contained in:
parent
4adc4a6906
commit
81fd210b9a
4 changed files with 4 additions and 147 deletions
|
@ -81,10 +81,10 @@ namespace Rimworld_Animations {
|
|||
|
||||
//TESTING ANIMATIONS ONLY REMEMBER TO COMMENT OUT BEFORE PUSH
|
||||
/*
|
||||
if (x.defName != "Missionary")
|
||||
if (x.defName != "Doggystyle")
|
||||
return false;
|
||||
|
||||
*/
|
||||
|
||||
|
||||
if (x.actors[i].isFucking && !rjw.xxx.can_fuck(localParticipants[i])) {
|
||||
Log.Message(x.defName.ToStringSafe() + " not selected -- " + localParticipants[i].def.defName.ToStringSafe() + " " + localParticipants[i].Name.ToStringSafe() + " can't fuck");
|
||||
|
|
|
@ -104,6 +104,8 @@ namespace Rimworld_Animations {
|
|||
}
|
||||
public void StartAnimation(AnimationDef anim, int actor, bool mirror = false, bool shiver = false, bool fastAnimForQuickie = false) {
|
||||
|
||||
isAnimating = true;
|
||||
|
||||
AlienRaceOffset raceOffset = anim?.actors[actor]?.raceOffsets?.Find(x => x.defName == pawn.def.defName);
|
||||
|
||||
if (raceOffset != null) {
|
||||
|
@ -154,8 +156,6 @@ namespace Rimworld_Animations {
|
|||
//tick once for initialization
|
||||
tickAnim();
|
||||
|
||||
isAnimating = true;
|
||||
|
||||
}
|
||||
public override void CompTick() {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue