forked from cacklingfiend/Limestone2
K2: Add dirty water filtration
This commit is contained in:
parent
da9c54887a
commit
97f87df1f4
3 changed files with 51 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
require("prototypes.limestone-ore")
|
require("prototypes.limestone-ore")
|
||||||
require("prototypes.calcium-recipe")
|
require("prototypes.calcium-recipe")
|
||||||
require("prototypes.technology")
|
require("prototypes.technology")
|
||||||
|
require("prototypes.k2")
|
||||||
|
|
@ -33,5 +33,6 @@ limestone-stone=Limestone to stone
|
||||||
calcium-battery=Calcium battery
|
calcium-battery=Calcium battery
|
||||||
bio-advanced-solar-panel=Bio advanced solar panel
|
bio-advanced-solar-panel=Bio advanced solar panel
|
||||||
calcium-chloride-water-reaction=Calcium chloride water reaction
|
calcium-chloride-water-reaction=Calcium chloride water reaction
|
||||||
|
dirty-water-filtration-limestone=Filter dirty water [item=limestone]
|
||||||
|
|
||||||
[recipe-description]
|
[recipe-description]
|
||||||
48
Limestone2/prototypes/k2.lua
Normal file
48
Limestone2/prototypes/k2.lua
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
if not mods["Krastorio2"] then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
data:extend({
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "dirty-water-filtration-limestone",
|
||||||
|
category = "kr-fluid-filtration",
|
||||||
|
icons = {
|
||||||
|
{
|
||||||
|
icon = data.raw.fluid["kr-dirty-water"].icon,
|
||||||
|
icon_size = data.raw.fluid["kr-dirty-water"].icon_size
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon = data.raw.item["limestone"].icon,
|
||||||
|
icon_size = data.raw.item["limestone"].icon_size,
|
||||||
|
scale = 0.20,
|
||||||
|
shift = { 0, 4 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
icon_size = data.raw.fluid["kr-dirty-water"].icon_size,
|
||||||
|
energy_required = 2,
|
||||||
|
enabled = false,
|
||||||
|
allow_as_intermediate = false,
|
||||||
|
always_show_made_in = true,
|
||||||
|
always_show_products = true,
|
||||||
|
ingredients = {
|
||||||
|
{ type = "fluid", name = "kr-dirty-water", amount = 100, catalyst_amount = 100 },
|
||||||
|
},
|
||||||
|
results = {
|
||||||
|
{ type = "fluid", name = "water", amount = 90, catalyst_amount = 90 },
|
||||||
|
{ type = "item", name = "stone", probability = 0.30, amount = 1 },
|
||||||
|
{ type = "item", name = "limestone", probability = 0.20, amount = 1 },
|
||||||
|
},
|
||||||
|
crafting_machine_tint = {
|
||||||
|
primary = { r = 0.60, g = 0.20, b = 0, a = 0.6 },
|
||||||
|
secondary = { r = 1.0, g = 0.843, b = 0.0, a = 0.9 }
|
||||||
|
},
|
||||||
|
subgroup = "raw-material",
|
||||||
|
order = "w013[dirty-water-filtration-aluminum]"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
table.insert(data.raw.technology["kr-enriched-ores"].effects, {
|
||||||
|
type = "unlock-recipe",
|
||||||
|
recipe = "dirty-water-filtration-limestone"
|
||||||
|
})
|
||||||
Loading…
Add table
Add a link
Reference in a new issue