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.
- Sort inventory button
- Option to change the master volume when window is unfocused
- Crafting stations in towns
### Changed

View File

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

View File

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