diff --git a/assets/common/npc_names.json b/assets/common/npc_names.json index f97abf5008..02b904a488 100644 --- a/assets/common/npc_names.json +++ b/assets/common/npc_names.json @@ -457,6 +457,10 @@ "truffler": { "keyword": "truffler", "generic": "Truffler" + }, + "frog": { + "keyword": "frog", + "generic": "Frog" } } }, diff --git a/assets/voxygen/voxel/npc/frog/male/chest.vox b/assets/voxygen/voxel/npc/frog/male/chest.vox new file mode 100644 index 0000000000..910a6bf96f --- /dev/null +++ b/assets/voxygen/voxel/npc/frog/male/chest.vox @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed7842d9ea39d89d7bc30ae087d148431f9ac98aebc216c790c11726bddb5c50 +size 1980 diff --git a/assets/voxygen/voxel/npc/frog/male/foot_bl.vox b/assets/voxygen/voxel/npc/frog/male/foot_bl.vox new file mode 100644 index 0000000000..6a71af4f1b --- /dev/null +++ b/assets/voxygen/voxel/npc/frog/male/foot_bl.vox @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73639cb81b4346ed81cbec74e463271b908b8d4cf64ff460f96cd4a56e97fb67 +size 1240 diff --git a/assets/voxygen/voxel/npc/frog/male/foot_br.vox b/assets/voxygen/voxel/npc/frog/male/foot_br.vox new file mode 100644 index 0000000000..9b6f8bd9ae --- /dev/null +++ b/assets/voxygen/voxel/npc/frog/male/foot_br.vox @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a793f98374657cfceb9b9bebbf09de5e987b7740f1794806a35d285d41c8b66b +size 1240 diff --git a/assets/voxygen/voxel/npc/frog/male/foot_fl.vox b/assets/voxygen/voxel/npc/frog/male/foot_fl.vox new file mode 100644 index 0000000000..33e9134b53 --- /dev/null +++ b/assets/voxygen/voxel/npc/frog/male/foot_fl.vox @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c7a3fb00a34206552249f6bdc6f5caf9ae441545769de9a1952eb2dabc42ba +size 1164 diff --git a/assets/voxygen/voxel/npc/frog/male/foot_fr.vox b/assets/voxygen/voxel/npc/frog/male/foot_fr.vox new file mode 100644 index 0000000000..a0aa5f1930 --- /dev/null +++ b/assets/voxygen/voxel/npc/frog/male/foot_fr.vox @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6397928ad51e341ca36336aff868db8a5407ee2b02f4b26bf07e4222865a1011 +size 1164 diff --git a/assets/voxygen/voxel/npc/frog/male/head.vox b/assets/voxygen/voxel/npc/frog/male/head.vox new file mode 100644 index 0000000000..3dac017559 --- /dev/null +++ b/assets/voxygen/voxel/npc/frog/male/head.vox @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c4ca0329f5e75269b38d21031e958605cde7d054b99a9a54357af163587ea93 +size 1868 diff --git a/assets/voxygen/voxel/npc/pig/female/chest.vox b/assets/voxygen/voxel/npc/pig/female/chest.vox deleted file mode 100644 index 314fe26fde..0000000000 --- a/assets/voxygen/voxel/npc/pig/female/chest.vox +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:170ab26eb390edb51611472158d2ec684544ae8554d5f68e2dce0ebba2c71885 -size 3176 diff --git a/assets/voxygen/voxel/npc/pig/female/foot_bl.vox b/assets/voxygen/voxel/npc/pig/female/foot_bl.vox deleted file mode 100644 index add136f9c3..0000000000 --- a/assets/voxygen/voxel/npc/pig/female/foot_bl.vox +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ae196dd350b829bdb748cdaecd2ee79c5b6a3dcadee18877bf4f580f3d3be7f -size 1240 diff --git a/assets/voxygen/voxel/npc/pig/female/foot_br.vox b/assets/voxygen/voxel/npc/pig/female/foot_br.vox deleted file mode 100644 index 8aba943b41..0000000000 --- a/assets/voxygen/voxel/npc/pig/female/foot_br.vox +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a8538576cb07634d5b65d1770c964aedd44f308503b26c60e74f42a74e10d2a1 -size 1240 diff --git a/assets/voxygen/voxel/npc/pig/female/foot_fl.vox b/assets/voxygen/voxel/npc/pig/female/foot_fl.vox deleted file mode 100644 index d8ded34572..0000000000 --- a/assets/voxygen/voxel/npc/pig/female/foot_fl.vox +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b1de2be8786143fb817a65155065ecea65342c79e8ac627512b8b02873a3475 -size 1196 diff --git a/assets/voxygen/voxel/npc/pig/female/foot_fr.vox b/assets/voxygen/voxel/npc/pig/female/foot_fr.vox deleted file mode 100644 index 3f798e3660..0000000000 --- a/assets/voxygen/voxel/npc/pig/female/foot_fr.vox +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36c019f483b17f8e35f3965f0408178b88b79d2ae953367ca2bf2986fda8aad8 -size 1196 diff --git a/assets/voxygen/voxel/npc/pig/female/head.vox b/assets/voxygen/voxel/npc/pig/female/head.vox deleted file mode 100644 index c9c3aef181..0000000000 --- a/assets/voxygen/voxel/npc/pig/female/head.vox +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:958baa646d847ccb1be9a7ec1ae038cd0f0dd48b09c3f8ec1ba505f8dedb5e9f -size 2576 diff --git a/assets/voxygen/voxel/npc/pig/female/tail.vox b/assets/voxygen/voxel/npc/pig/female/tail.vox deleted file mode 100644 index 579cbbaf25..0000000000 --- a/assets/voxygen/voxel/npc/pig/female/tail.vox +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa3e51a854df33330304bb9910874e9cf0e6628b2dc60b6bac5bd8084552bb7f -size 1140 diff --git a/assets/voxygen/voxel/npc/pig/male/foot_bl.vox b/assets/voxygen/voxel/npc/pig/male/foot_bl.vox index add136f9c3..8aba943b41 100644 --- a/assets/voxygen/voxel/npc/pig/male/foot_bl.vox +++ b/assets/voxygen/voxel/npc/pig/male/foot_bl.vox @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2ae196dd350b829bdb748cdaecd2ee79c5b6a3dcadee18877bf4f580f3d3be7f +oid sha256:a8538576cb07634d5b65d1770c964aedd44f308503b26c60e74f42a74e10d2a1 size 1240 diff --git a/assets/voxygen/voxel/npc/pig/male/foot_br.vox b/assets/voxygen/voxel/npc/pig/male/foot_br.vox index 8aba943b41..4e807ca0ac 100644 --- a/assets/voxygen/voxel/npc/pig/male/foot_br.vox +++ b/assets/voxygen/voxel/npc/pig/male/foot_br.vox @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a8538576cb07634d5b65d1770c964aedd44f308503b26c60e74f42a74e10d2a1 +oid sha256:f8d95c0e4565826aac2d4b6af22fb0d9cd902d71fe52cce74ffa8220367ddbc6 size 1240 diff --git a/assets/voxygen/voxel/npc/pig/male/foot_fl.vox b/assets/voxygen/voxel/npc/pig/male/foot_fl.vox index d8ded34572..cf95caec8f 100644 --- a/assets/voxygen/voxel/npc/pig/male/foot_fl.vox +++ b/assets/voxygen/voxel/npc/pig/male/foot_fl.vox @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9b1de2be8786143fb817a65155065ecea65342c79e8ac627512b8b02873a3475 +oid sha256:e3ec823e5b628dabf27526524603feb436fe7b8123b5c8aee540dae984f5bb44 size 1196 diff --git a/assets/voxygen/voxel/npc/pig/male/head.vox b/assets/voxygen/voxel/npc/pig/male/head.vox index c9c3aef181..56d62f1ca7 100644 --- a/assets/voxygen/voxel/npc/pig/male/head.vox +++ b/assets/voxygen/voxel/npc/pig/male/head.vox @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:958baa646d847ccb1be9a7ec1ae038cd0f0dd48b09c3f8ec1ba505f8dedb5e9f +oid sha256:77d5da151969f69eb05efa02a8ff6e66c71de1333680761f06261e7a1d6e231b size 2576 diff --git a/assets/voxygen/voxel/npc/pig/male/tail.vox b/assets/voxygen/voxel/npc/pig/male/tail.vox index 579cbbaf25..65bddb32a6 100644 --- a/assets/voxygen/voxel/npc/pig/male/tail.vox +++ b/assets/voxygen/voxel/npc/pig/male/tail.vox @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fa3e51a854df33330304bb9910874e9cf0e6628b2dc60b6bac5bd8084552bb7f +oid sha256:08ba2dc4816001364968f8080b049e11c6cbe157970cf1f2ff1938fe32321258 size 1140 diff --git a/assets/voxygen/voxel/quadruped_small_central_manifest.ron b/assets/voxygen/voxel/quadruped_small_central_manifest.ron index 28474862ca..d1d5628738 100644 --- a/assets/voxygen/voxel/quadruped_small_central_manifest.ron +++ b/assets/voxygen/voxel/quadruped_small_central_manifest.ron @@ -9,22 +9,22 @@ central: ("npc.pig.male.chest"), ), tail: ( - offset: (-2.5, -3.0, -0.0), + offset: (-2.0, -3.0, -0.0), central: ("npc.pig.male.tail"), ), ), (Pig, Female):( head: ( offset: (-5.0, 0.0, -4.0), - central: ("npc.pig.female.head"), + central: ("npc.pig.male.head"), ), chest: ( offset: (-5.0, -5.0, -3.5), - central: ("npc.pig.female.chest"), + central: ("npc.pig.male.chest"), ), tail: ( - offset: (-2.5, -3.0, -0.0), - central: ("npc.pig.female.tail"), + offset: (-2.0, -3.0, -0.0), + central: ("npc.pig.male.tail"), ), ), @@ -434,4 +434,32 @@ central: ("armor.empty"), ), ), + (Frog, Male):( + head: ( + offset: (-3.5, 0.0, -3.0), + central: ("npc.frog.male.head"), + ), + chest: ( + offset: (-3.5, -5.0, -3.0), + central: ("npc.frog.male.chest"), + ), + tail: ( + offset: (0.0, 0.0, 0.0), + central: ("armor.empty"), + ), + ), + (Frog, Female):( + head: ( + offset: (-3.5, 0.0, -3.0), + central: ("npc.frog.male.head"), + ), + chest: ( + offset: (-3.5, -5.0, -3.0), + central: ("npc.frog.male.chest"), + ), + tail: ( + offset: (0.0, 0.0, 0.0), + central: ("armor.empty"), + ), + ), }) \ No newline at end of file diff --git a/assets/voxygen/voxel/quadruped_small_lateral_manifest.ron b/assets/voxygen/voxel/quadruped_small_lateral_manifest.ron index aa991feeec..d89037e22b 100644 --- a/assets/voxygen/voxel/quadruped_small_lateral_manifest.ron +++ b/assets/voxygen/voxel/quadruped_small_lateral_manifest.ron @@ -20,19 +20,19 @@ (Pig, Female): ( left_front: ( offset: (-1.0, -1.5, -5.0), - lateral: ("npc.pig.female.foot_fl"), + lateral: ("npc.pig.male.foot_fl"), ), right_front: ( offset: (-1.0, -1.5, -5.0), - lateral: ("npc.pig.female.foot_fr"), + lateral: ("npc.pig.male.foot_fr"), ), left_back: ( offset: (-1.0, -2.0, -6.0), - lateral: ("npc.pig.female.foot_bl"), + lateral: ("npc.pig.male.foot_bl"), ), right_back: ( offset: (-1.0, -2.0, -6.0), - lateral: ("npc.pig.female.foot_br"), + lateral: ("npc.pig.male.foot_br"), ), ), @@ -557,4 +557,41 @@ lateral: ("npc.truffler.male.foot_br"), ), ), + (Frog, Male): ( + left_front: ( + offset: (-2.5, -2.5, -4.0), + lateral: ("npc.frog.male.foot_fl"), + ), + right_front: ( + offset: (-2.5, -2.5, -4.0), + lateral: ("npc.frog.male.foot_fr"), + ), + left_back: ( + offset: (-2.5, -3.5, -4.0), + lateral: ("npc.frog.male.foot_bl"), + ), + right_back: ( + offset: (-2.5, -3.5, -4.0), + lateral: ("npc.frog.male.foot_br"), + ), + ), + + (Frog, Female): ( + left_front: ( + offset: (-2.5, -2.5, -4.0), + lateral: ("npc.frog.male.foot_fl"), + ), + right_front: ( + offset: (-2.5, -2.5, -4.0), + lateral: ("npc.frog.male.foot_fr"), + ), + left_back: ( + offset: (-2.5, -3.5, -4.0), + lateral: ("npc.frog.male.foot_bl"), + ), + right_back: ( + offset: (-2.5, -3.5, -4.0), + lateral: ("npc.frog.male.foot_br"), + ), + ), }) \ No newline at end of file diff --git a/common/src/comp/body/quadruped_small.rs b/common/src/comp/body/quadruped_small.rs index 63ce8f192c..63055e856a 100644 --- a/common/src/comp/body/quadruped_small.rs +++ b/common/src/comp/body/quadruped_small.rs @@ -43,6 +43,7 @@ pub enum Species { Hyena = 12, Rabbit = 13, Truffler = 14, + Frog = 15, } /// Data representing per-species generic data. @@ -65,6 +66,7 @@ pub struct AllSpecies { pub hyena: SpeciesMeta, pub rabbit: SpeciesMeta, pub truffler: SpeciesMeta, + pub frog: SpeciesMeta, } impl<'a, SpeciesMeta> core::ops::Index<&'a Species> for AllSpecies { @@ -88,11 +90,12 @@ impl<'a, SpeciesMeta> core::ops::Index<&'a Species> for AllSpecies Species::Hyena => &self.hyena, Species::Rabbit => &self.rabbit, Species::Truffler => &self.truffler, + Species::Frog => &self.frog, } } } -pub const ALL_SPECIES: [Species; 15] = [ +pub const ALL_SPECIES: [Species; 16] = [ Species::Pig, Species::Fox, Species::Sheep, @@ -108,6 +111,7 @@ pub const ALL_SPECIES: [Species; 15] = [ Species::Hyena, Species::Rabbit, Species::Truffler, + Species::Frog, ]; impl<'a, SpeciesMeta: 'a> IntoIterator for &'a AllSpecies { diff --git a/voxygen/src/anim/src/quadruped_small/mod.rs b/voxygen/src/anim/src/quadruped_small/mod.rs index 5753307496..dc860029ec 100644 --- a/voxygen/src/anim/src/quadruped_small/mod.rs +++ b/voxygen/src/anim/src/quadruped_small/mod.rs @@ -132,9 +132,10 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Hyena, _) => (7.5, 2.0), (Rabbit, _) => (4.0, 3.0), (Truffler, _) => (7.5, -9.0), + (Frog, _) => (4.0, 2.0), }, chest: match (body.species, body.body_type) { - (Pig, _) => (0.0, 7.0), + (Pig, _) => (0.0, 6.0), (Fox, _) => (0.0, 8.0), (Sheep, _) => (2.0, 7.0), (Boar, _) => (0.0, 9.5), @@ -149,9 +150,10 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Hyena, _) => (-2.0, 9.0), (Rabbit, _) => (-2.0, 6.0), (Truffler, _) => (-2.0, 16.0), + (Frog, _) => (-2.0, 4.5), }, feet_f: match (body.species, body.body_type) { - (Pig, _) => (4.5, 3.0, -2.0), + (Pig, _) => (4.5, 3.5, -1.0), (Fox, _) => (3.0, 5.0, -5.5), (Sheep, _) => (3.5, 2.0, -2.0), (Boar, _) => (3.5, 6.0, -5.5), @@ -166,9 +168,10 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Hyena, _) => (2.5, 5.0, -4.0), (Rabbit, _) => (3.0, 3.0, -3.0), (Truffler, _) => (2.5, 5.0, -9.0), + (Frog, _) => (4.5, 6.5, 0.0), }, feet_b: match (body.species, body.body_type) { - (Pig, _) => (3.5, -2.0, -1.5), + (Pig, _) => (3.5, -2.0, 0.0), (Fox, _) => (3.0, -3.0, -3.0), (Sheep, _) => (3.5, -3.5, -2.0), (Boar, _) => (3.0, -3.0, -2.5), @@ -183,6 +186,7 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Hyena, _) => (3.0, -5.0, -2.5), (Rabbit, _) => (3.5, -2.0, -1.0), (Truffler, _) => (3.0, -5.0, -9.5), + (Frog, _) => (5.0, -3.5, 0.0), }, tail: match (body.species, body.body_type) { (Pig, _) => (-4.5, 2.5), @@ -199,7 +203,8 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Holladon, _) => (-1.0, 4.0), (Hyena, _) => (-7.0, 0.0), (Rabbit, _) => (-4.0, -0.0), - (Truffler, _) => (-7.0, 0.0), + (Truffler, _) => (0.0, 0.0), + (Frog, _) => (0.0, -0.0), }, scaler: match (body.species, body.body_type) { (Pig, _) => (0.9), @@ -217,6 +222,7 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Hyena, _) => (1.0), (Rabbit, _) => (0.7), (Truffler, _) => (1.0), + (Frog, _) => (0.7), }, tempo: match (body.species, body.body_type) { (Pig, _) => (1.0), @@ -234,6 +240,7 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Hyena, _) => (1.1), (Rabbit, _) => (1.15), (Truffler, _) => (1.0), + (Frog, _) => (1.15), }, maximize: match (body.species, body.body_type) { (Pig, _) => (1.0), @@ -251,6 +258,7 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Hyena, _) => (1.4), (Rabbit, _) => (1.3), (Truffler, _) => (1.0), + (Frog, _) => (1.3), }, minimize: match (body.species, body.body_type) { (Pig, _) => (0.6), @@ -268,6 +276,7 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Hyena, _) => (1.4), (Rabbit, _) => (0.8), (Truffler, _) => (1.0), + (Frog, _) => (0.8), }, spring: match (body.species, body.body_type) { (Pig, _) => (1.0), @@ -285,6 +294,7 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Hyena, _) => (1.4), (Rabbit, _) => (2.5), (Truffler, _) => (0.8), + (Frog, _) => (2.5), }, feed: match (body.species, body.body_type) { (Pig, _) => (1.0), @@ -302,6 +312,7 @@ impl<'a> From<&'a comp::quadruped_small::Body> for SkeletonAttr { (Hyena, _) => (1.0), (Rabbit, _) => (1.2), (Truffler, _) => (0.6), + (Frog, _) => (1.2), }, } }