public static StorageResources InitPlanetResources() { var max = MaterialResource.StoreDefaultMaxStorable(); var cur = MaterialResource.InitStartResourses(max); return(new StorageResources { Current = cur, Max = max }); }
public static StorageResources InitMotherResources() { var max = MaterialResource.MaxMotherResourses(); var cur = MaterialResource.InitStartResourses(max); return(new StorageResources { Current = cur, Max = max.Multiply(0.5) }); }