-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locked chests aren't protected against explosions #1885
Comments
I thought that was a feature... |
The locked chest dropping as a normal chest (?) sounds like a bug, but the TNT explosion itself is the one that checks for protected nodes. I typically equate locked doors and chests, so I have to ask: Do the steel doors also explode normally? (And now I'm wondering about bones.) TNT exploding a chest, locked chest, bookshelf, or vessel shelf, will drop the node, and its contents, by design. |
The Minetest wiki page on Locked Chests states that a locked chest will survive explosions. This was the behaviour before 011ad78. @jastevenson303 I can confirm that locked doors are not removed in an explosion. Also the locked chest was not removed before 011ad78. Looking at 011ad78, line 1892 defines an empty |
Regardless of previous behavior, how it stands now is inconsistent with locked doors and bones, both fresh and old. Bones and Steel Doors simply don't explode, while Locked Chests do. I remember blowing up player's bones with TNT. That was nice. |
@jastevenson303 The point is that the behaviour has changed and was not intended to change (at least not as far as I can tell). Judging from the code introduced in 011ad78, it definitely appears to be an error as |
Chests and shelves blowing up and dropping their contents was added as a feature. Are you saying that before 011ad78, only regular chests blew and not locked ones? I agree locked chests should not blow up, as to match the behavior of steel doors (and bones). However, I actually wouldn't mind being able to blow up old, expired bones. And I can imagine blowing up the chest as a design choice, too. Let's ask @sofar |
@jastevenson303 Yes, before 011ad78 locked chests could not be blown up, only regular chests. I believe that this is the intended behaviour according to the wiki. |
Since commit 011ad78 locked chests are affected by explosions just as with regular chests, dropping their contents. (Furthermore, the chest itself is dropped as a normal chest rather than a locked chest.)
I suspect that this is a bug.
The text was updated successfully, but these errors were encountered: