mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed acacia colours
This commit is contained in:
parent
8e8bad137a
commit
879789ecc4
BIN
assets/world/structure/natural/witch-hut.vox
(Stored with Git LFS)
BIN
assets/world/structure/natural/witch-hut.vox
(Stored with Git LFS)
Binary file not shown.
@ -12,6 +12,7 @@ use vek::*;
|
||||
pub enum StructureBlock {
|
||||
TemperateLeaves,
|
||||
PineLeaves,
|
||||
Acacia,
|
||||
PalmLeaves,
|
||||
Block(Block),
|
||||
}
|
||||
@ -90,6 +91,7 @@ impl Asset for Structure {
|
||||
0 => StructureBlock::TemperateLeaves,
|
||||
1 => StructureBlock::PineLeaves,
|
||||
2 => StructureBlock::PalmLeaves,
|
||||
4 => StructureBlock::Acacia,
|
||||
index => {
|
||||
let color = palette
|
||||
.get(index as usize)
|
||||
|
@ -318,6 +318,15 @@ impl<'a> BlockGen<'a> {
|
||||
)
|
||||
.map(|e| e as u8),
|
||||
),
|
||||
StructureBlock::Acacia => Block::new(
|
||||
1,
|
||||
Lerp::lerp(
|
||||
Rgb::new(60.0, 165.0, 20.0),
|
||||
Rgb::new(150.0, 245.0, 30.0),
|
||||
lerp,
|
||||
)
|
||||
.map(|e| e as u8),
|
||||
),
|
||||
StructureBlock::Block(block) => block,
|
||||
}
|
||||
}
|
||||
|
@ -421,7 +421,7 @@ lazy_static! {
|
||||
|
||||
pub static ref QUIRKY: Vec<Arc<Structure>> = vec![
|
||||
st_asset("world/structure/natural/tower-ruin.vox", (11, 14, 5)),
|
||||
st_asset("world/structure/natural/witch-hut.vox", (10, 13, 3)),
|
||||
st_asset("world/structure/natural/witch-hut.vox", (10, 13, 9)),
|
||||
];
|
||||
|
||||
pub static ref QUIRKY_DRY: Vec<Arc<Structure>> = vec![
|
||||
|
Loading…
Reference in New Issue
Block a user