-
Notifications
You must be signed in to change notification settings - Fork 67
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
Stairs become unknown nodes when disabling moreblocks #139
Comments
The only way to fix this (to my knowledge) would be to stop overriding default stairs nodes, but I need to make sure not to accidentally disable Stairs+ nodes for default materials while doing so. Moreover, the circular saw would need a fair amount of rework to be able to handle this. |
Wouldn't it be possible to just leave out the shapes from normal stairs and slaps from the circular saw? So the mod does not mess with them at all? This would also give space for more custom shapes. This would automatically fix #138, too 😄 |
So, in order to make stuff like this work, the mod needs to keep a table of
I'm doing some rewrites that will make handling these cases a bit easier and will probably submit a PR with them this week. |
this seems like expected behavior? "i removed the mod, and the nodes that required the mod are now unknown nodes" is hardly a bug or in need of fixing. i certainly am not opposed to the creation of another mod that makes an attempt to alias nodes defined via stairsplus to other "stairs", but there's no perfect or preferred way to do that, so far as i can see. |
Sorta related: https://forum.minetest.net/viewtopic.php?p=426579#p426579 |
I would consider it to be a bug if a mod irreversibly replaces existing nodes with something that turns into unknown node once it's uninstalled. To examplify this better, imagine a mod replaced all stone in the world. The approach where default stairs are kept as is is the solution, but as the author noted, it would require a lot of changes and tests in the code. Not sure how much, didn't touch minetest code since my last comment, but I do think this is a bug or at least an annoyance is accidentally turning the mod on could badly corrupt the saves with lots of stairs. |
When crafting normal stairs/slabs (the ones from the
stairs
mod that come with Minetest Game) and then disabling moreblocks all of the stairs nodes become unknown nodes.Reproduce:
The text was updated successfully, but these errors were encountered: