mirror of
				https://github.com/minetest-mods/craftguide.git
				synced 2025-10-31 21:35:24 +01:00 
			
		
		
		
	Compare commits
	
		
			5 Commits
		
	
	
		
			redesign
			...
			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 | 		last_str = str | ||||||
| 	end | 	end | ||||||
|  |  | ||||||
| 	local full_char, empty_char = "▰", "▱" | 	local full_char, empty_char = "o", "." | ||||||
|  |  | ||||||
| 	for name, def in pairs(reg_items) do | 	for name, def in pairs(reg_items) do | ||||||
| 		ic = ic + 1 | 		ic = ic + 1 | ||||||
| @@ -1426,7 +1426,7 @@ local function get_init_items() | |||||||
| 			bar = bar .. (i <= percent / (100 / len) and full_char or empty_char) | 			bar = bar .. (i <= percent / (100 / len) and full_char or empty_char) | ||||||
| 		end | 		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 show_item(def) then | ||||||
| 			if not fuel_cache[name] then | 			if not fuel_cache[name] then | ||||||
| @@ -2029,3 +2029,5 @@ register_command("craft", { | |||||||
| 		return true, craftguide.show(name, node_name) | 		return true, craftguide.show(name, node_name) | ||||||
| 	end, | 	end, | ||||||
| }) | }) | ||||||
|  |  | ||||||
|  | minetest.log("action", "[craftguide] loaded.") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user