change cauldron spawning

cooking pot height
fmt
fmt, changelog
This commit is contained in:
Monty 2021-04-19 17:56:16 +02:00 committed by Monty Marz
parent 11ba02130c
commit 86445af09c
4 changed files with 8 additions and 8 deletions

View File

@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added `/server_physics` admin command. - Added `/server_physics` admin command.
- Sort inventory button - Sort inventory button
- Option to change the master volume when window is unfocused - Option to change the master volume when window is unfocused
- Crafting stations in towns
### Changed ### Changed

View File

@ -193,7 +193,7 @@ impl SpriteKind {
SpriteKind::Forge => 2.7, SpriteKind::Forge => 2.7,
SpriteKind::Cauldron => 1.27, SpriteKind::Cauldron => 1.27,
SpriteKind::Anvil => 1.1, SpriteKind::Anvil => 1.1,
SpriteKind::CookingPot => 1.82, SpriteKind::CookingPot => 1.36,
// TODO: Find suitable heights. // TODO: Find suitable heights.
SpriteKind::BarrelCactus SpriteKind::BarrelCactus
| SpriteKind::RoundCactus | SpriteKind::RoundCactus

View File

@ -530,7 +530,7 @@ impl Archetype for House {
center_offset.x, center_offset.x,
center_offset.y, center_offset.y,
z + 100, z + 100,
)) % 7 )) % 8
{ {
0..=1 => SpriteKind::Crate, 0..=1 => SpriteKind::Crate,
2 => SpriteKind::Bench, 2 => SpriteKind::Bench,
@ -538,7 +538,7 @@ impl Archetype for House {
4 => SpriteKind::CookingPot, 4 => SpriteKind::CookingPot,
5 => SpriteKind::CraftingBench, 5 => SpriteKind::CraftingBench,
6 => SpriteKind::FireBowlGround, 6 => SpriteKind::FireBowlGround,
//7 => SpriteKind::Cauldron, 7 => SpriteKind::Cauldron,
//8 => SpriteKind::Forge, //8 => SpriteKind::Forge,
_ => unreachable!(), _ => unreachable!(),
}; };
@ -562,7 +562,7 @@ impl Archetype for House {
center_offset.x, center_offset.x,
center_offset.y, center_offset.y,
z + 100, z + 100,
)) % 13 )) % 12
{ {
0 => SpriteKind::Planter, 0 => SpriteKind::Planter,
1 => SpriteKind::ChairSingle, 1 => SpriteKind::ChairSingle,
@ -586,7 +586,6 @@ impl Archetype for House {
SpriteKind::VialEmpty SpriteKind::VialEmpty
} }
}, },
11 => SpriteKind::Cauldron,
_ => { _ => {
if dynamic_rng.gen_range(0..2) == 0 { if dynamic_rng.gen_range(0..2) == 0 {
SpriteKind::Bowl SpriteKind::Bowl