From dfbd9e81328fe514664ea1fc5fad80f64647d16b Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Wed, 17 May 2023 15:52:05 +0100 Subject: [PATCH] Rebalanced ships --- common/src/comp/body/ship.rs | 3 ++- common/src/states/utils.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/src/comp/body/ship.rs b/common/src/comp/body/ship.rs index 680938276c..53d30e60dc 100644 --- a/common/src/comp/body/ship.rs +++ b/common/src/comp/body/ship.rs @@ -100,7 +100,8 @@ impl Body { pub fn density(&self) -> Density { match self { Body::DefaultAirship | Body::AirBalloon | Body::Volume => Density(AIR_DENSITY), - _ => Density(AIR_DENSITY * 0.75 + WATER_DENSITY * 0.25), // Most boats should be buoyant + _ => Density(AIR_DENSITY * 0.95 + WATER_DENSITY * 0.05), /* Most boats should be very + * buoyant */ } } diff --git a/common/src/states/utils.rs b/common/src/states/utils.rs index 585ad3e37e..5cd49ec014 100644 --- a/common/src/states/utils.rs +++ b/common/src/states/utils.rs @@ -236,7 +236,7 @@ impl Body { match self { Body::Object(_) => return None, Body::ItemDrop(_) => return None, - Body::Ship(ship) if ship.has_water_thrust() => 0.1 * self.mass().0, + Body::Ship(ship) if ship.has_water_thrust() => 0.2 * self.mass().0, Body::Ship(_) => return None, Body::BipedLarge(_) => 120.0 * self.mass().0, Body::Golem(_) => 0.5 * self.mass().0,