Suggest mod: Metatool (for Luatool item) #2735
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#2735
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Suggest item Luatool from Metatool mod see:
https://content.minetest.net/packages/-SX-/metatool/
Luatool functionality is requested often in chat for the short time I've been playing YL, it shows the contents of mem for a lua controller and is low-risk to add. Other parts of Metatool mod are known to have unintended side-effects but there is an active maintainer that responds quickly to bug reports so would suggest caution. Does Luatool need to be separated out from Technics dependency?
the luatool and tube_tool seem useful, the other things not so much.
Luatool allows to view the mem contents of a Lua controller. This helps a lot for learning and further writing lua controllers that operate as intended. For example:
you can view the contents of mem on that lua controller to see the full message with all parameters, even if the documentation is not easy to understand this removes the guesswork and confusion about writing for luacontroller.
i like this tool. IMO one of the best parts of minetest is how it can help people learn what coding is, but the luacontroller is terrible for giving feedback.
Let's add it to the testserver.
Ready for this, will test when added on testserver.
It's up on the testserver
and somehow also on the mainserver, generating an error message.
Error[Main]: loading teleport tubes for sharetool failed, update your pipeworks mod
I can't find any evidence of metatools active on the mainserver?
mh strange, should have made a screenshot
from #4151, does the wrench actually allow copying arbitrary nodes? that sounds like a great admin item, but not something normal players should have access to. the creaplacer (creative replacer) from my replacer_redo mod does that.
The wrench from technic does - as far as I remember it - allow to pick up filled chests including their content. It doesn't create a copy. It just allows to carry the chest in your inventory and place it again at a diffrent place. This would also be of intrest for player bones.
It doesn't have much to do with the metatool discussed here which - I think - is intended to show metadata to the player.
Confirming I got that wrong about the Tron Wrench from metatools it is only for digtron configurations which we do not (and never will) use on Your Land.
Sokomine is correct that I was misremembering the Wrench from Technic.
So, this metatools is less interesting than I thought for Your Land. However it is vital for luacontroller debugging to be able to view the contents of mem variable, and Lua Tool from metatools allows for this in an easy and intuitive way. Unless you want some of the other functionality, it may be only useful to have an in-game item such as Lua Tool that allows to view the contents of mem on a luacontroller, eeprom, etc. I can't think of much use for the other player tools it provides, perhaps the API it provides is the most interesting component.
Summary of findings:
metatool:containertool would need to be made compatible to chesttools, for read/write of container name and colours in future chesttools update. As it is I did not find it very useful since our most common containers (chesttools) are not supported. Not sure about other possible uses like smartshop?
metatool:luatool useful for luacontroller debug, especially for touchscreen users that don't have access to their console for print statements.
metatool:magic_pen interesting and functional but where this would be useful, we do a lot of signs in Your Land but is there much that needs a tool for this? I don't know.
metatool:tronwrench is not useful on Your Land (it is meant for Dig Tron construction machine mod only). Hide this so that any item that is a useful item with "wrench" in the name can be found easily in crafting guide.
metatool:tubetool very useful for sorting tubes and teleport tubes. The recipe needs to be adjusted because its recipe asks for luatube which is "red" restricted on Your Land. I would suggest substituting sorting tube in the recipe, to stay with the theme.
Can this give access to some "private" info stored in meta? I think there was a chest with password or something?
possibly. i know that the tube tool checks whether the user has access to the private channel (or has the protection_bypass priv). i also still think that only the tube tool and lua tool should be accessible by regular players.