2024-04-17 03:44:51 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Verse;
|
|
|
|
|
|
|
|
|
|
namespace Rimworld_Animations
|
|
|
|
|
{
|
|
|
|
|
public class AnimationStage_Branch : AnimationStage
|
|
|
|
|
{
|
2024-04-17 23:57:18 +00:00
|
|
|
|
public List<AnimationStage> paths;
|
2024-04-18 22:32:31 +00:00
|
|
|
|
public override List<AnimationDef> GetAnimations(int actorNumber, int seed)
|
2024-04-17 03:44:51 +00:00
|
|
|
|
{
|
2024-04-18 22:32:31 +00:00
|
|
|
|
return paths[(seed * 59) % paths.Count].GetAnimations(actorNumber, seed);
|
2024-04-17 03:44:51 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|