mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Rebalanced ships
This commit is contained in:
parent
b6a7401cd9
commit
dfbd9e8132
@ -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 */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user