From 6af866ce505cee8d076634f5404ef4b10c066b31 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Fri, 17 Sep 2021 15:40:54 +0100 Subject: [PATCH] Rebalanced boat speed --- common/src/comp/body/ship.rs | 4 ++-- common/src/states/utils.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/comp/body/ship.rs b/common/src/comp/body/ship.rs index 2165d416cf..1c3a28570b 100644 --- a/common/src/comp/body/ship.rs +++ b/common/src/comp/body/ship.rs @@ -44,7 +44,7 @@ impl Body { match self { Body::DefaultAirship => Vec3::new(25.0, 50.0, 40.0), Body::AirBalloon => Vec3::new(25.0, 50.0, 40.0), - Body::SailBoat => Vec3::new(13.0, 31.0, 6.0), + Body::SailBoat => Vec3::new(13.0, 31.0, 3.0), } } @@ -77,7 +77,7 @@ impl Body { pub fn density(&self) -> Density { match self { Body::DefaultAirship | Body::AirBalloon => Density(AIR_DENSITY), - _ => Density(AIR_DENSITY * 0.75 + WATER_DENSITY * 0.25), // Most boats should be buoyant + _ => Density(AIR_DENSITY * 0.8 + WATER_DENSITY * 0.2), // Most boats should be buoyant } } diff --git a/common/src/states/utils.rs b/common/src/states/utils.rs index 655f6b3e8f..3b554b4f07 100644 --- a/common/src/states/utils.rs +++ b/common/src/states/utils.rs @@ -201,7 +201,7 @@ impl Body { Body::QuadrupedLow(_) => Some(300.0 * self.mass().0), Body::QuadrupedMedium(_) => Some(300.0 * self.mass().0), Body::QuadrupedSmall(_) => Some(300.0 * self.mass().0), - Body::Ship(ship) if ship.has_water_thrust() => Some(750.0 * self.mass().0), + Body::Ship(ship) if ship.has_water_thrust() => Some(1500.0 * self.mass().0), Body::Ship(_) => None, } }