haul out the critter skele, add theropod

This commit is contained in:
jshipsey
2020-08-29 04:23:12 -04:00
parent aa440c02bb
commit cd6e1ad45f
106 changed files with 1771 additions and 825 deletions

View File

@ -1,5 +1,5 @@
use crate::{
comp::{critter, humanoid, quadruped_low, quadruped_medium, quadruped_small, Body},
comp::{humanoid, quadruped_low, quadruped_medium, quadruped_small, theropod, Body},
path::Chaser,
sync::Uid,
};
@ -97,6 +97,7 @@ impl<'a> From<&'a Body> for Psyche {
quadruped_small::Species::Rabbit => 0.1,
quadruped_small::Species::Truffler => 0.8,
quadruped_small::Species::Frog => 0.6,
_ => 1.0,
},
Body::QuadrupedMedium(quadruped_medium) => match quadruped_medium.species {
quadruped_medium::Species::Tuskram => 0.8,
@ -123,10 +124,7 @@ impl<'a> From<&'a Body> for Psyche {
Body::BipedLarge(_) => 1.0,
Body::Object(_) => 1.0,
Body::Golem(_) => 1.0,
Body::Critter(critter) => match critter.species {
critter::Species::Axolotl => 1.0,
critter::Species::Turtle => 1.0,
critter::Species::Fungome => 1.0,
Body::Theropod(theropod) => match theropod.species {
_ => 0.4,
},
Body::Dragon(_) => 1.0,