mirror of
https://github.com/minetest-mods/craftguide.git
synced 2025-07-15 14:20:31 +02:00
Compare commits
5 Commits
1.11b
...
aa47a70e12
Author | SHA1 | Date | |
---|---|---|---|
aa47a70e12 | |||
0463712cbb | |||
1745cc0ba3 | |||
66fc47a1c3 | |||
d6542a2697 |
6
init.lua
6
init.lua
@ -1416,7 +1416,7 @@ local function get_init_items()
|
||||
last_str = str
|
||||
end
|
||||
|
||||
local full_char, empty_char = "▰", "▱"
|
||||
local full_char, empty_char = "o", "."
|
||||
|
||||
for name, def in pairs(reg_items) do
|
||||
ic = ic + 1
|
||||
@ -1426,7 +1426,7 @@ local function get_init_items()
|
||||
bar = bar .. (i <= percent / (100 / len) and full_char or empty_char)
|
||||
end
|
||||
|
||||
iop(fmt("[craftguide] Caching data %s %u%%\r", bar, percent))
|
||||
iop(fmt("[craftguide] Caching data %s %u%%\n", bar, percent))
|
||||
|
||||
if show_item(def) then
|
||||
if not fuel_cache[name] then
|
||||
@ -2029,3 +2029,5 @@ register_command("craft", {
|
||||
return true, craftguide.show(name, node_name)
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.log("action", "[craftguide] loaded.")
|
||||
|
Reference in New Issue
Block a user