mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added mod.rs entries for truffler and Fungome
This commit is contained in:
parent
377afc410d
commit
d4df012835
@ -212,6 +212,8 @@ pub enum VoiceKind {
|
|||||||
Goat,
|
Goat,
|
||||||
Mandragora,
|
Mandragora,
|
||||||
Asp,
|
Asp,
|
||||||
|
Fungome,
|
||||||
|
Truffler
|
||||||
}
|
}
|
||||||
|
|
||||||
fn body_to_voice(body: &Body) -> Option<VoiceKind> {
|
fn body_to_voice(body: &Body) -> Option<VoiceKind> {
|
||||||
@ -227,6 +229,7 @@ fn body_to_voice(body: &Body) -> Option<VoiceKind> {
|
|||||||
_ => return None,
|
_ => return None,
|
||||||
},
|
},
|
||||||
Body::QuadrupedSmall(body) => match body.species {
|
Body::QuadrupedSmall(body) => match body.species {
|
||||||
|
quadruped_small::Species::Fungome => VoiceKind::Fungome,
|
||||||
quadruped_small::Species::Sheep => VoiceKind::Sheep,
|
quadruped_small::Species::Sheep => VoiceKind::Sheep,
|
||||||
quadruped_small::Species::Pig | quadruped_small::Species::Boar => VoiceKind::Pig,
|
quadruped_small::Species::Pig | quadruped_small::Species::Boar => VoiceKind::Pig,
|
||||||
quadruped_small::Species::Cat => VoiceKind::Cat,
|
quadruped_small::Species::Cat => VoiceKind::Cat,
|
||||||
@ -234,6 +237,7 @@ fn body_to_voice(body: &Body) -> Option<VoiceKind> {
|
|||||||
_ => VoiceKind::Critter,
|
_ => VoiceKind::Critter,
|
||||||
},
|
},
|
||||||
Body::QuadrupedMedium(body) => match body.species {
|
Body::QuadrupedMedium(body) => match body.species {
|
||||||
|
quadruped_medium::Species::Truffler => VoiceKind::Truffler,
|
||||||
quadruped_medium::Species::Saber
|
quadruped_medium::Species::Saber
|
||||||
| quadruped_medium::Species::Tiger
|
| quadruped_medium::Species::Tiger
|
||||||
| quadruped_medium::Species::Lion
|
| quadruped_medium::Species::Lion
|
||||||
|
Loading…
Reference in New Issue
Block a user