mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Mountable airships
This commit is contained in:
parent
09142d99b8
commit
e59b68c262
@ -176,7 +176,7 @@ impl Body {
|
||||
pub fn can_fly(&self) -> Option<f32> {
|
||||
match self {
|
||||
Body::BirdMedium(_) | Body::Dragon(_) | Body::BirdSmall(_) => Some(1.0),
|
||||
Body::Ship(ship::Body::DefaultAirship) => Some(1.5),
|
||||
Body::Ship(ship::Body::DefaultAirship) => Some(1.0),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
@ -233,6 +233,7 @@ impl StateExt for State {
|
||||
.with(comp::Energy::new(ship.into(), level))
|
||||
.with(comp::Health::new(ship.into(), level))
|
||||
.with(comp::Stats::new("Airship".to_string()))
|
||||
.with(comp::MountState::Unmounted)
|
||||
.with(comp::Buffs::default())
|
||||
.with(comp::Combo::default())
|
||||
.with(comp::Agent::with_destination())
|
||||
|
Loading…
Reference in New Issue
Block a user