forked from mtcontrib/homedecor_modpack
		
	Add background image to signs_lib formspec
This commit is contained in:
		@@ -389,7 +389,11 @@ end
 | 
			
		||||
 | 
			
		||||
signs_lib.construct_sign = function(pos)
 | 
			
		||||
    local meta = minetest.get_meta(pos)
 | 
			
		||||
	meta:set_string("formspec", "field[text;;${text}]")
 | 
			
		||||
	meta:set_string(
 | 
			
		||||
		"formspec",
 | 
			
		||||
		"field[text;;${text}]"..
 | 
			
		||||
		"size[4,2]"..
 | 
			
		||||
		"background[-1.25,-0.5;6.5,3;bg_signs_lib.jpg]")
 | 
			
		||||
	meta:set_string("infotext", "")
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								signs_lib/textures/bg_signs_lib.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								signs_lib/textures/bg_signs_lib.jpg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 70 KiB  | 
		Reference in New Issue
	
	Block a user