Better Zones Client/Server

This commit is contained in:
hyperion51 2020-03-31 13:44:18 +01:00
commit 4b8a300c0a
16 changed files with 223 additions and 42 deletions

View file

@ -89,12 +89,15 @@ public class GlobalData : DatabaseEntry
[InspectableField] [JsonProperty("beltProbability")] [Key(25)]
public float BeltProbability = .05f;
[InspectableField] [JsonProperty("beltMassCeiling")] [Key(25)]
[InspectableField] [JsonProperty("beltMassCeiling")] [Key(26)]
public float BeltMassCeiling = 500f;
[InspectableField] [JsonProperty("beltMassRatio")] [Key(26)]
[InspectableField] [JsonProperty("beltMassRatio")] [Key(27)]
public float BeltMassRatio = 100f;
[InspectableField] [JsonProperty("beltMassExponent")] [Key(28)]
public float BeltMassExponent = 100f;
public float PlanetRadius(float mass)
{
return pow(mass, 1 / RadiusPower);