Okay, people, I've releasedd version 1.0.2.
doc_items (1.0.2):
- Fix possible crash with some tools from Technic or Gloopblocks (tools where the tool times table was empty)
doc_identifier (1.2.1):
- Hide the “liquid mode” lookup tool from crafting guides which support repairing recipes
I hope this release fixes the crashes reported previously. Everyone who had the crashes, please test again.
Replies:
1. The lookup-tool should display information about the pointed thing only, and not the whole encyclopedia.
This would basically be showing a single entry, but without the tabs or the “next/previous” buttons. It would be easy to do but I don't know what's the point of it. It only makes it less convenient to use for no reason.
2. In addition to 1 maybe the encyclopedia can lookup using right-click like the lookup-tool before with possibility to switch to other items.
The problem with that is that it won't work with liquids. Since this is a modpack, you can always disable the encyclopedia mod. I know this item does not make sense for some subgames with special interface requirements, so I made it as easy as possible to get rid of the encyclopedia.
The encyclopedia was also only born as an easy way to always guarantee access to the help, regardless of subgame. The downside is that it is an item. I was never happy with its existance. The prime solution would be to add a button (or something like that) into the interface, but this needs most likely to be done at subgame level. And if the subgame interface has a proper button, the encyclopedia item can be removed.
Besides, I'm planning to add this modpack to MineClone 2 in one form or another. :-)
3. "eatable" factoid (I like this word) - currently if you try to analyze something eatable like apple you get the message
Yes, I know. This is because of the arcane way how Minetest handles food. Sadly, the only way to make food is to use a function, which means nothing can be parsed automatically.
Your link demonstrates a hack, but not a real solution. I think I will complain to the Minetest issue tracker soon, because it's really dumb that it is so hard to find out whether an item is food.
I think about a "libclassify" mod that should analyze and classify the items by logic in a way reusable in mentioned 3 mods.
First, you have not outlined a concept, so I'm not interested. Second, MineClone 2 currently gets most of my attention, so a project like this is currently out of question for me. Third, the proliferation of wrappers around wrappers around wrappers around wrappers worries me. At some point, the real stuff needs to be done. doc_items is already 3 levels deep in the API tree (doc_items → doc → Minetest Lua API) and provides an API itself. I don't indend to make it even more complex. Your suggestion sound generic enough that it could maybe go directly into the Lua API itself. You should talk to the core developers about this.