

# Why does this exist?
The original tt mod had license issues; it stated MIT license, but didn't actually provide the license, so respecting the (not included) conditions of the MIT license was impossible. As such, this mod was made with the same (_tt)[.*] tags listened for, but rewritten with better functionality and an explicit zero BSD license.

# How to use
```lua
minetest.register_node("aom_stone:stone", {
    description = "Stone",
    _some_variable = "What type of stone? Yes.", -- can be any variable
    groups = {oddly_breakable_by_hand = 3},
    tiles = {"blank.png^[noalpha^[colorize:#aaa:255"},
})
-- put this in an interface mod or into the /tooltips.lua file obviously!
aer_itemdesc.register_tooltip(function(itemname, def)
    return def._some_variable, "#fa7"
end)
```

Note you may also "jump the queue" with snippet registrations:
```lua
aer_itemdesc.register_tooltip(function(itemname, def)
    return "World", "#fa7"
end)
aer_itemdesc.register_tooltip(function(itemname, def)
    return "Hello", "#fa7"
end, 1) -- puts this in index 1 in the callback array, before other elements

--> My Item
--> Hello
--> World
```


Included by default tooltips are (in order):
1. old description, colored with _tt_color (can be a color or a number which selects an "item tier")
2. _tt_long_desc
3. _tt_how_to_use
4. _tt_help (for compatibility only)
5. _tt_uses (number for tool durability)
6. the internal name e.g. "mod_name:item_name"
