-
Notifications
You must be signed in to change notification settings - Fork 81
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
Highlight visited chests #985
Conversation
How are opened chests handled in MTG? |
The same approach |
I think I should have been more clear with the explanation, what I mean is that visited chests, chests that have already been touched/opened by a player, will be distinguishable from untouched ones. |
Looks like massive code duplication to me; shouldn't this basically be the same def. as the treasure chest except for the tiles (and maybe glow)? Why don't you After some more thought, I believe the ideal solution might be "treasure boxes" which when dug drop all their contents. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: MΛGN☰TΛR <legitmagnetar@gmail.com>
Make it visible for your teammates when a chest has already been opened by someone.
AFAIK it is not (yet) possible to change node textures during run time, this is why I'm using
minetest.swap_node()
.