private static RoomType GetTrueRoomType(RoomType type, RanchStation.Instance instance)
            {
                var roomtype = instance?.GetComponent <RoomTracker>()?.requiredRoomType;

                if (string.IsNullOrEmpty(roomtype))
                {
                    return(type);
                }
                return(Db.Get().RoomTypes.TryGet(roomtype) ?? type);
            }
 private static List <KPrefabID> GetOrderedCreatureList(List <KPrefabID> creatures, RanchStation.Instance instance)
 {
     if (creatures.Count > 0)
     {
         var butcherStation = instance.GetComponent <ButcherStation>();
         if (butcherStation != null)
         {
             butcherStation.RefreshCreatures(creatures);
             return(butcherStation.Creatures);
         }
     }
     return(creatures);
 }