]> git.localhorst.tv Git - blobs-assets.git/commitdiff
universe data file
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 18 Dec 2017 12:33:34 +0000 (13:33 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 18 Dec 2017 12:33:34 +0000 (13:33 +0100)
data/universe [new file with mode: 0644]

diff --git a/data/universe b/data/universe
new file mode 100644 (file)
index 0000000..fc67c86
--- /dev/null
@@ -0,0 +1,47 @@
+Sun {
+
+       name = "Sun";
+       mass = 1.0e17;
+       radius = 200.0;
+       color = [ 1.0, 1.0, 1.0 ];
+       luminosity = 1.0e8;
+       axial_tilt = [ 0.78539816339744830961, 0.78539816339744830961 ];
+       angular_momentum = 1.0e18;
+
+       children = [
+               Planet(25) {
+                       name = "Planet";
+                       mass = 1.0e13;
+                       axial_tilt = [ 0.39898226700590374128, 0.0 ];
+                       angular_momentum = 6.5e13;
+                       orbit = {
+                               SMA = 8184.0;
+                       };
+                       generate = earthlike;
+                       atmosphere = air;
+                       children = [
+                               Planet(5) {
+                                       name = "Moon";
+                                       mass = 1.0e7;
+                                       rotation = 0.78539816339744830961;
+                                       angular_momentum = 5.22e5;
+                                       orbit = {
+                                               SMA = 72.5;
+                                       };
+                                       generate = test;
+                               },
+                       ];
+               },
+               Planet(14) {
+                       name = "Second planet";
+                       mass = 1.0e12;
+                       axial_tilt = [ 2.98451302091030357651, 0.0 ];
+                       angular_momentum = 1.0e12;
+                       orbit = {
+                               SMA = 4350.0;
+                       };
+                       generate = test;
+               },
+       ];
+
+};