From fafb73a463d090056ac02edbb5b4e6cd680eb60f Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 1 Apr 2024 04:47:26 +0200 Subject: [PATCH] triple moon size, for now, to see them better --- src/commands.rs | 3 +++ src/defs.txt | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/src/commands.rs b/src/commands.rs index 8b4c040..97e4a11 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -227,6 +227,9 @@ pub fn load_defs( ["vehicle", "yes"] => { state.is_vehicle = true; } + ["moon", "yes"] => { + state.model_scale *= 3.0; + } ["oxygen", amount] => { if let Ok(amount) = amount.parse::() { state.is_lifeform = true; diff --git a/src/defs.txt b/src/defs.txt index 9921b36..1c16378 100644 --- a/src/defs.txt +++ b/src/defs.txt @@ -42,24 +42,32 @@ actor -435000 0 -435000 io rotationy -0.40 angularmomentum 0 0.0001 0 sphere yes + moon yes + physics off actor -900000 200000 1900000 europa scale 8733 rotationy 0.20 angularmomentum 0 0.0001 0 sphere yes + moon yes + physics off actor 2500000 0 -1000000 ganymede scale 14737 rotationy -0.40 angularmomentum 0 0.0001 0 sphere yes + moon yes + physics off actor -4000000 0 1500000 callisto scale 13484 rotationy -0.40 angularmomentum 0 0.0001 0 sphere yes + moon yes + physics off actor 3000 0 0 moonlet scale 500