mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
pizza sprite
This commit is contained in:
parent
67f27ef970
commit
fd3ffdf28b
BIN
assets/voxygen/voxel/sprite/ember/1.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/sprite/ember/1.vox
(Stored with Git LFS)
Binary file not shown.
@ -89,7 +89,7 @@ impl BlockKind {
|
||||
|
||||
pub fn is_fluid(&self) -> bool {
|
||||
match self {
|
||||
BlockKind::Water => true,
|
||||
BlockKind::Water => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
@ -125,7 +125,8 @@ impl BlockKind {
|
||||
BlockKind::LeafyPlant => false,
|
||||
BlockKind::Fern => false,
|
||||
BlockKind::DeadBush => false,
|
||||
BlockKind::Blueberry => false,
|
||||
BlockKind::Blueberry => false,
|
||||
BlockKind::Ember => false,
|
||||
_ => true,
|
||||
}
|
||||
}
|
||||
@ -183,7 +184,7 @@ impl BlockKind {
|
||||
BlockKind::Velorite => true,
|
||||
BlockKind::VeloriteFrag => true,
|
||||
BlockKind::Chest => true,
|
||||
BlockKind::Pumpkin => true,
|
||||
BlockKind::Pumpkin => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
@ -172,7 +172,7 @@ fn sprite_config_for(kind: BlockKind) -> Option<SpriteConfig> {
|
||||
}),
|
||||
BlockKind::Ember => Some(SpriteConfig {
|
||||
variations: 1,
|
||||
wind_sway: 4.0,
|
||||
wind_sway: 0.8,
|
||||
}),
|
||||
|
||||
_ => None,
|
||||
@ -1073,10 +1073,7 @@ impl<V: RectRasterableVol> Terrain<V> {
|
||||
// Ember
|
||||
(
|
||||
(BlockKind::Ember, 0),
|
||||
make_model(
|
||||
"voxygen.voxel.sprite.ember.1",
|
||||
Vec3::new(-6.0, -6.0, -0.0),
|
||||
),
|
||||
make_model("voxygen.voxel.sprite.ember.1", Vec3::new(-7.0, -7.0, -2.9)),
|
||||
),
|
||||
]
|
||||
.into_iter()
|
||||
|
@ -604,12 +604,12 @@ pub fn block_from_structure(
|
||||
StructureBlock::Fruit => Some(if field.get(pos + structure_pos) % 3 > 0 {
|
||||
Block::empty()
|
||||
} else {
|
||||
Block::new(BlockKind::Ember, Rgb::new(0, 0, 0))
|
||||
Block::new(BlockKind::Apple, Rgb::new(1, 1, 1))
|
||||
}),
|
||||
StructureBlock::Chest => Some(if structure_seed % 10 < 7 {
|
||||
Block::empty()
|
||||
} else {
|
||||
Block::new(BlockKind::Chest, Rgb::new(0, 0, 0))
|
||||
Block::new(BlockKind::Chest, Rgb::new(1, 1, 1))
|
||||
}),
|
||||
StructureBlock::Liana => Some(Block::new(
|
||||
BlockKind::Liana,
|
||||
|
Loading…
Reference in New Issue
Block a user