mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 19:03:43 +01:00
More support for model[]
This commit is contained in:
parent
09e73745fb
commit
e74b485e7c
4
init.lua
4
init.lua
@ -1201,6 +1201,10 @@ local function get_title_fs(query_item, favs, lang_code, fs, spacing)
|
||||
|
||||
_name = sprintf("%s^[multiply:%s", v.name,
|
||||
sprintf("#%s%s", sub(hex, 3), sub(hex, 1, 2)))
|
||||
|
||||
elseif v.animation then
|
||||
_name = sprintf("%s^[verticalframe:%u:0", v.name,
|
||||
v.animation.aspect_h)
|
||||
end
|
||||
|
||||
t[#t + 1] = _name or v.name or v
|
||||
|
Loading…
Reference in New Issue
Block a user