public PartResource SetResourceMaxAmount(string name, double max)
 {
     return(ResourceHelper.setResourceMaxAmount(part, name, max));
 }