private static HashedString CustomIdleAnim_Moo_Puft(IdleStates.Instance smi, ref HashedString pre_anim) { CreatureCalorieMonitor.Instance smi2 = smi.GetSMI <CreatureCalorieMonitor.Instance>(); return((smi2 != null && smi2.stomach.IsReadyToPoop()) ? "idle_loop_full" : "idle_loop"); }
private static HashedString CustomIdleAnim(IdleStates.Instance smi, ref HashedString pre_anim) { CreatureCalorieMonitor.Instance sMI = smi.GetSMI <CreatureCalorieMonitor.Instance>(); return((sMI == null || !sMI.stomach.IsReadyToPoop()) ? "idle_loop" : "idle_loop_full"); }