Fix compatibility with Bio Industries
This commit is contained in:
		
							parent
							
								
									2eccd9b53f
								
							
						
					
					
						commit
						0d55409e64
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								me.lua
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								me.lua
									
										
									
									
									
								
							|  | @ -10,11 +10,11 @@ end | ||||||
| 
 | 
 | ||||||
| function me.more_intermediates() | function me.more_intermediates() | ||||||
|   if me.get_setting("bz-all-intermediates") then return true end |   if me.get_setting("bz-all-intermediates") then return true end | ||||||
|   return mods["Bio_Industries"] or me.get_setting("bzsilicon-more-intermediates") == "yes" |   return mods["Bio_Industries_2"] or me.get_setting("bzsilicon-more-intermediates") == "yes" | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
| function me.use_bio_crushed_stone() | function me.use_bio_crushed_stone() | ||||||
|   return mods["Bio_Industries"] and me.get_setting("bzsilicon-bio-crushed-stone") == true |   return mods["Bio_Industries_2"] and me.get_setting("bzsilicon-bio-crushed-stone") == true | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
| function me.get_setting(name) | function me.get_setting(name) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann