forked from cacklingfiend/lignumis
		
	Add molten gold
This commit is contained in:
		
							parent
							
								
									1974dad572
								
							
						
					
					
						commit
						bf89fb4e04
					
				
					 6 changed files with 55 additions and 0 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/icons/casting-gold.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lignumis/graphics/icons/casting-gold.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 8.4 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/icons/molten-gold.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lignumis/graphics/icons/molten-gold.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 7.8 KiB  | 
| 
						 | 
					@ -85,6 +85,7 @@ destination-nauvis=Insert this item into a rocket to travel to Nauvis. Notice th
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[fluid-name]
 | 
					[fluid-name]
 | 
				
			||||||
wood-pulp=Wood pulp
 | 
					wood-pulp=Wood pulp
 | 
				
			||||||
 | 
					molten-gold=Molten gold
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[recipe-name]
 | 
					[recipe-name]
 | 
				
			||||||
moist-stromatolite-remnant-desiccation=Desiccate moist stromatolite remnant
 | 
					moist-stromatolite-remnant-desiccation=Desiccate moist stromatolite remnant
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,5 @@
 | 
				
			||||||
local item_sounds = require("__base__.prototypes.item_sounds")
 | 
					local item_sounds = require("__base__.prototypes.item_sounds")
 | 
				
			||||||
 | 
					local Technology = require("__cf-lib__/data/Technology")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
data:extend({
 | 
					data:extend({
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
| 
						 | 
					@ -41,5 +42,58 @@ data:extend({
 | 
				
			||||||
        ingredients = { { type = "item", name = "gold-plate", amount = 1 } },
 | 
					        ingredients = { { type = "item", name = "gold-plate", amount = 1 } },
 | 
				
			||||||
        results = { { type = "item", name = "gold-cable", amount = 2 } },
 | 
					        results = { { type = "item", name = "gold-cable", amount = 2 } },
 | 
				
			||||||
        allow_productivity = true
 | 
					        allow_productivity = true
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "fluid",
 | 
				
			||||||
 | 
					        name = "molten-gold",
 | 
				
			||||||
 | 
					        icon = "__lignumis__/graphics/icons/molten-gold.png",
 | 
				
			||||||
 | 
					        subgroup = "fluid",
 | 
				
			||||||
 | 
					        order = "b[new-fluid]-0[lignumis]-a[molten-gold]",
 | 
				
			||||||
 | 
					        default_temperature = 1500,
 | 
				
			||||||
 | 
					        max_temperature = 2000,
 | 
				
			||||||
 | 
					        heat_capacity = "0.01kJ",
 | 
				
			||||||
 | 
					        base_color = { 210, 149, 34 },
 | 
				
			||||||
 | 
					        flow_color = { 210, 149, 34 },
 | 
				
			||||||
 | 
					        auto_barrel = false
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "recipe",
 | 
				
			||||||
 | 
					        name = "molten-gold",
 | 
				
			||||||
 | 
					        category = "metallurgy",
 | 
				
			||||||
 | 
					        subgroup = "vulcanus-processes",
 | 
				
			||||||
 | 
					        order = "a[melting]-d[molten-gold]",
 | 
				
			||||||
 | 
					        auto_recycle = false,
 | 
				
			||||||
 | 
					        enabled = false,
 | 
				
			||||||
 | 
					        ingredients = {
 | 
				
			||||||
 | 
					            { type = "item", name = "gold-ore", amount = 50 },
 | 
				
			||||||
 | 
					            { type = "item", name = "calcite",  amount = 1 },
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        energy_required = 32,
 | 
				
			||||||
 | 
					        results = {
 | 
				
			||||||
 | 
					            { type = "fluid", name = "molten-gold", amount = 500 },
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        allow_productivity = true,
 | 
				
			||||||
 | 
					        hide_from_signal_gui = false,
 | 
				
			||||||
 | 
					        main_product = "molten-gold"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "recipe",
 | 
				
			||||||
 | 
					        name = "casting-gold",
 | 
				
			||||||
 | 
					        category = "metallurgy",
 | 
				
			||||||
 | 
					        subgroup = "vulcanus-processes",
 | 
				
			||||||
 | 
					        order = "b[casting]-c[casting-gold]",
 | 
				
			||||||
 | 
					        icon = "__lignumis__/graphics/icons/casting-gold.png",
 | 
				
			||||||
 | 
					        enabled = false,
 | 
				
			||||||
 | 
					        ingredients = {
 | 
				
			||||||
 | 
					            { type = "fluid", name = "molten-gold", amount = 20, fluidbox_multiplier = 10 },
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        energy_required = 3.2,
 | 
				
			||||||
 | 
					        allow_decomposition = false,
 | 
				
			||||||
 | 
					        results = { { type = "item", name = "gold-plate", amount = 2 } },
 | 
				
			||||||
 | 
					        allow_productivity = true
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					local foundry_technology = Technology:new("foundry")
 | 
				
			||||||
 | 
					foundry_technology:addRecipe("casting-gold")
 | 
				
			||||||
 | 
					foundry_technology:addRecipe("molten-gold")
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								sources/icons/casting-gold.afphoto
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sources/icons/casting-gold.afphoto
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								sources/icons/molten-gold.afphoto
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sources/icons/molten-gold.afphoto
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue