pizza sprite

This commit is contained in:
Pfauenauge90 2020-04-11 02:13:48 +02:00 committed by Joshua Barretto
parent 67f27ef970
commit fd3ffdf28b
4 changed files with 10 additions and 12 deletions

BIN
assets/voxygen/voxel/sprite/ember/1.vox (Stored with Git LFS)

Binary file not shown.

View File

@ -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,
}
}

View File

@ -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()

View File

@ -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,