-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add commands to replace destructible nodes with their indestructible variants and vice versa (if a variant exists) #1255
base: master
Are you sure you want to change the base?
Conversation
Instead of looping through nodes manually try using |
If you're talking about the code from line number 256-258, I am not able to understand what I will need to put in the |
I copied that line from the lua_api.txt, did you check there? |
Yes, but since I have to enter either a node name (the example I saw in the API was |
Edit: Looks like I've also missed some cases, I'll make a commit for it after you reply to get it all together. |
I've tried searching for this and am unsure if I've found it. Sorry if it is obvious, and I'm just not able to see it |
capturetheflag/mods/ctf/ctf_map/nodes.lua Line 120 in 01e5bf8
|
Ah, I wasn't sure if it was that exactly but I did notice it in the node definitions. Thanks a lot! |
Hey there, just letting you know that I can work on this after 26th Jan only; a bit delayed |
So I've got In the meanwhile, I'll try optimising my mod prefix fixes using the local |
I fixed the |
I would maybe change how things work so that the |
The manual method via voxelmanip might be best in the future, can wait and see how things go though |
Alright. I forgot to commit my previous changes before my vacations. |
This PR aims to add the commands
/destructify
and/indestructify
which replace indestructible nodes with their destructible variants and vice versa respectively.