Merge branch 'gumgee/disable-chest-explosions' into 'master'

Updated explode_power function to make chests non-explodable

Closes #1541

See merge request veloren/veloren!3404
This commit is contained in:
Samuel Keiffer 2022-05-31 04:29:55 +00:00
commit d86a3f7ac3
2 changed files with 10 additions and 1 deletions

View File

@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Skiing and ice skating
- Added loot ownership for NPC drops
- Bamboo collectibles now spawn near rivers
- Chest sprites can longer be exploded
### Changed

View File

@ -286,7 +286,15 @@ impl Block {
| SpriteKind::Loom
| SpriteKind::SpinningWheel
| SpriteKind::DismantlingBench
| SpriteKind::TanningRack => None,
| SpriteKind::TanningRack
| SpriteKind::Chest
| SpriteKind::DungeonChest0
| SpriteKind::DungeonChest1
| SpriteKind::DungeonChest2
| SpriteKind::DungeonChest3
| SpriteKind::DungeonChest4
| SpriteKind::DungeonChest5
| SpriteKind::ChestBuried => None,
SpriteKind::EnsnaringVines | SpriteKind::EnsnaringWeb => Some(0.1),
_ => Some(0.25),
}),