Added cave mushrooms

This commit is contained in:
Joshua Barretto 2020-12-05 18:00:29 +00:00
parent 217890e70d
commit b37be14b86
4 changed files with 15 additions and 6 deletions

View File

@ -1,10 +1,10 @@
[
(10, Velorite),
(15, VeloriteFrag),
(110, Stones),
(110, Stones),
(150, ShortGrass),
(60, Mushroom),
(120, CaveMushroom),
(2, ShinyGem),
(2, Chest),
(15, Crate),
(15, Crate),
]

View File

@ -519,6 +519,13 @@ Mushroom: Some((
offset: (-6.0, -6.0, 0.0),
lod_axes: (1.0, 1.0, 1.0),
),
],
wind_sway: 0.1,
)),
// Cave Mushrooms
CaveMushroom: Some((
variations: [
(
model: "voxygen.voxel.sprite.mushrooms.mushroom-11",
offset: (-8.0, -8.0, 0.0),
@ -2028,7 +2035,7 @@ GrassBlue: Some((
model: "voxygen.voxel.sprite.underwater_grass.blue-1",
offset: (-5.5, -5.5, 0.0),
lod_axes: (0.0, 0.0, 0.5),
),
),
],
wind_sway: 1.0,
)),
@ -2044,7 +2051,7 @@ ChestBurried: Some((
model: "voxygen.voxel.sprite.underwater_chests.chest_vines",
offset: (-10.0, -8.5, 0.0),
lod_axes: (0.0, 0.0, 0.5),
),
),
],
wind_sway: 0.0,
)),
@ -2060,7 +2067,7 @@ Mud: Some((
model: "voxygen.voxel.sprite.underwater_mud.mud-1",
offset: (-8.5, -7.5, 0.0),
lod_axes: (0.0, 0.0, 0.5),
),
),
],
wind_sway: 0.0,
)),

View File

@ -173,6 +173,7 @@ impl Block {
SpriteKind::WallLamp => Some(16),
SpriteKind::FireBowlGround => Some(16),
SpriteKind::Velorite | SpriteKind::VeloriteFrag => Some(6),
SpriteKind::CaveMushroom => Some(12),
_ => None,
}
}

View File

@ -108,6 +108,7 @@ make_case_elim!(
ChestBurried = 0x52,
Mud = 0x53,
FireBowlGround = 0x54,
CaveMushroom = 0x55,
}
);