mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add tent
This commit is contained in:
parent
215a2640f4
commit
f3c5ece983
BIN
assets/voxygen/voxel/object/tent.vox
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/voxel/object/tent.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -27,6 +27,7 @@ pub enum Body {
|
||||
PotionGreen,
|
||||
PotionRed,
|
||||
Crate,
|
||||
Tent,
|
||||
}
|
||||
|
||||
impl Body {
|
||||
@ -36,7 +37,7 @@ impl Body {
|
||||
}
|
||||
}
|
||||
|
||||
const ALL_OBJECTS: [Body; 25] = [
|
||||
const ALL_OBJECTS: [Body; 26] = [
|
||||
Body::Bomb,
|
||||
Body::Scarecrow,
|
||||
Body::Cauldron,
|
||||
@ -62,4 +63,5 @@ const ALL_OBJECTS: [Body; 25] = [
|
||||
Body::PotionBlue,
|
||||
Body::PotionGreen,
|
||||
Body::Crate,
|
||||
Body::Tent,
|
||||
];
|
||||
|
@ -547,6 +547,7 @@ impl FigureModelCache {
|
||||
object::Body::PotionBlue => ("object/potion_blue.vox", Vec3::new(-2.0, -2.0, 0.0)),
|
||||
object::Body::PotionGreen => ("object/potion_green.vox", Vec3::new(-2.0, -2.0, 0.0)),
|
||||
object::Body::Crate => ("object/crate.vox", Vec3::new(-7.0, -7.0, 0.0)),
|
||||
object::Body::Tent => ("object/tent.vox", Vec3::new(-18.5, -19.5, 0.0)),
|
||||
};
|
||||
Self::load_mesh(name, offset)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user