forked from minetest-mods/unified_inventory
Add unified_inventory_enable_item_names
setting (#235)
Show only names settings: in case of multi-line descriptions, only the first line is shown Shorten long descriptions: Removes all characters after x index, and add `[...]` Max length before truncation: x for Shorten long descriptions Notes: If Max length == 0, then item names won't be displayed
This commit is contained in:
5
init.lua
5
init.lua
@ -191,7 +191,8 @@ dofile(modpath.."/register.lua")
|
||||
if minetest.settings:get_bool("unified_inventory_bags") ~= false then
|
||||
dofile(modpath.."/bags.lua")
|
||||
end
|
||||
|
||||
dofile(modpath.."/item_names.lua")
|
||||
if minetest.settings:get_bool("unified_inventory_item_names") ~= false then
|
||||
dofile(modpath.."/item_names.lua")
|
||||
end
|
||||
dofile(modpath.."/waypoints.lua")
|
||||
dofile(modpath.."/legacy.lua") -- mod compatibility
|
||||
|
Reference in New Issue
Block a user