Exemplo n.º 1
0
 private bool IsValid(AvailablePart loadedPart)
 {
     return(WorkshopUtils.PartResearched(loadedPart) && WorkshopUtils.GetPackedPartVolume(loadedPart) <= _maxVolume && !WorkshopBlacklistItemsDatabase.Blacklist.Contains(loadedPart.name));
 }