Better Zones Client/Server
This commit is contained in:
parent
b0556d3900
commit
4b8a300c0a
16 changed files with 223 additions and 42 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue