mirror of
				https://github.com/minetest-mods/craftguide.git
				synced 2025-11-04 06:55:30 +01:00 
			
		
		
		
	Compare commits
	
		
			4 Commits
		
	
	
		
			redesign
			...
			0463712cbb
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 0463712cbb | |||
| 1745cc0ba3 | |||
| 66fc47a1c3 | |||
| 
						 | 
					d6542a2697 | 
							
								
								
									
										6
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								init.lua
									
									
									
									
									
								
							@@ -1415,7 +1415,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
 | 
				
			||||||
@@ -1425,7 +1425,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
 | 
				
			||||||
@@ -2028,3 +2028,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