fix witch hut smoke

This commit is contained in:
Monty Marz 2021-08-30 12:03:13 +02:00
parent 9ac5e555e6
commit 13c15b3840
6 changed files with 20 additions and 2 deletions

BIN
assets/voxygen/voxel/sprite/ember/dummy.vox (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1247,6 +1247,17 @@ Ember: Some((
],
wind_sway: 0.8,
)),
// Smoke dummy
Smoke: Some((
variations: [
(
model: "voxygen.voxel.sprite.ember.dummy",
offset: (-5.5, -5.5, -5.5),
lod_axes: (1.0, 1.0, 0.0),
),
],
wind_sway: 0.8,
)),
// Corn
Corn: Some((
variations: [

View File

@ -10,7 +10,7 @@
44: Filled(GlowingRock, (r: 54, g: 180, b: 64)),
8: Filled(Air, (r: 255, g: 255, b: 255)),
249: Sprite(PotionMinor),
251: Sprite(Ember),
251: Sprite(SmokeDummy),
},
),
]

Binary file not shown.

View File

@ -175,6 +175,7 @@ make_case_elim!(
Orb = 0x94,
EnsnaringVines = 0x95,
WitchWindow = 0x96,
SmokeDummy = 0x97,
}
);

View File

@ -98,6 +98,9 @@ impl BlocksOfInterest {
fires.push(pos);
smokers.push(pos);
},
Some(SpriteKind::SmokeDummy) => {
smokers.push(pos);
},
// Offset positions to account for block height.
// TODO: Is this a good idea?
Some(SpriteKind::StreetLamp) => fire_bowls.push(pos + Vec3::unit_z() * 2),