se matter, some belts
This commit is contained in:
parent
ffe0fc769c
commit
7711e99d84
5 changed files with 45 additions and 23 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.2.7
|
||||||
|
Date: 2022-08-17
|
||||||
|
Fixes:
|
||||||
|
- SE: Disable matter recipes at start
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.2.6
|
Version: 1.2.6
|
||||||
Date: 2022-08-16
|
Date: 2022-08-16
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,34 @@ function util.contains(table, sought)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
-- se landfill
|
||||||
|
-- params: ore, icon_size
|
||||||
|
function util.se_landfill(params)
|
||||||
|
if mods["space-exploration"] then
|
||||||
|
if not params.icon_size then params.icon_size = 64 end
|
||||||
|
local lname="landfill-"..params.ore
|
||||||
|
data:extend({
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
icons = {
|
||||||
|
{ icon = "__base__/graphics/icons/landfill.png", icon_size = 64, icon_mipmaps = 3 },
|
||||||
|
{ icon = "__"..me.name.."__/graphics/icons/"..params.ore..".png", icon_size = params.icon_size, scale = 0.33*64/params.icon_size},
|
||||||
|
},
|
||||||
|
energy_required = 1,
|
||||||
|
enabled=false,
|
||||||
|
name = lname,
|
||||||
|
category = "hard-recycling",
|
||||||
|
order = "z-b-"..params.ore,
|
||||||
|
subgroup = "terrain",
|
||||||
|
result = "landfill",
|
||||||
|
ingredients = {{params.ore, 50}},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
util.add_unlock("se-recycling-facility", lname)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- se matter
|
-- se matter
|
||||||
-- params: ore, energy_required, quant_out, quant_in, icon_size, stream_out
|
-- params: ore, energy_required, quant_out, quant_in, icon_size, stream_out
|
||||||
function util.se_matter(params)
|
function util.se_matter(params)
|
||||||
|
|
@ -117,6 +145,7 @@ function util.se_matter(params)
|
||||||
icon_size = 64, scale = 0.5},
|
icon_size = 64, scale = 0.5},
|
||||||
},
|
},
|
||||||
energy_required = params.energy_required,
|
energy_required = params.energy_required,
|
||||||
|
enabled = false,
|
||||||
ingredients = {
|
ingredients = {
|
||||||
{sedata, 1},
|
{sedata, 1},
|
||||||
{type="fluid", name="se-particle-stream", amount=50},
|
{type="fluid", name="se-particle-stream", amount=50},
|
||||||
|
|
@ -136,6 +165,7 @@ function util.se_matter(params)
|
||||||
if mods.Krastorio2 then
|
if mods.Krastorio2 then
|
||||||
local lname = params.ore.."-to-particle-stream"
|
local lname = params.ore.."-to-particle-stream"
|
||||||
data:extend({
|
data:extend({
|
||||||
|
enabled = false,
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = lname,
|
name = lname,
|
||||||
|
|
@ -154,6 +184,7 @@ function util.se_matter(params)
|
||||||
icon_size = 64, scale = 0.5},
|
icon_size = 64, scale = 0.5},
|
||||||
},
|
},
|
||||||
energy_required = 30,
|
energy_required = 30,
|
||||||
|
enabled = false,
|
||||||
ingredients = {
|
ingredients = {
|
||||||
{"se-kr-matter-liberation-data", 1},
|
{"se-kr-matter-liberation-data", 1},
|
||||||
{params.ore, params.quant_in},
|
{params.ore, params.quant_in},
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bztitanium",
|
"name": "bztitanium",
|
||||||
"version": "1.2.6",
|
"version": "1.2.7",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Titanium",
|
"title": "Titanium",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
|
|
@ -4,22 +4,8 @@ local util = require("data-util");
|
||||||
if mods["space-exploration"] then
|
if mods["space-exploration"] then
|
||||||
se_delivery_cannon_recipes["titanium-ore"] = {name= "titanium-ore"}
|
se_delivery_cannon_recipes["titanium-ore"] = {name= "titanium-ore"}
|
||||||
se_delivery_cannon_recipes[util.me.titanium_plate] = {name= util.me.titanium_plate}
|
se_delivery_cannon_recipes[util.me.titanium_plate] = {name= util.me.titanium_plate}
|
||||||
data:extend({
|
util.se_landfill({ore="titanium-ore"})
|
||||||
{
|
|
||||||
type = "recipe",
|
|
||||||
icons = {
|
|
||||||
{ icon = "__base__/graphics/icons/landfill.png", icon_size = 64, icon_mipmaps = 3 },
|
|
||||||
{ icon = "__bztitanium__/graphics/icons/titanium-ore.png", icon_size = 64, scale = 0.25},
|
|
||||||
},
|
|
||||||
name = "landfill-titanium-ore",
|
|
||||||
category = "hard-recycling",
|
|
||||||
order = "z-b-titanium",
|
|
||||||
subgroup = "terrain",
|
|
||||||
result = "landfill",
|
|
||||||
ingredients = {{"titanium-ore", 50}},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
||||||
util.se_matter({ore="titanium-ore", energy_required=2, quant_out=10, stream_out=60})
|
util.se_matter({ore="titanium-ore", energy_required=2, quant_out=10, stream_out=60})
|
||||||
data:extend({
|
data:extend({
|
||||||
|
|
|
||||||
|
|
@ -141,13 +141,13 @@ util.add_ingredient("BetterBelts_ultra-transport-belt", util.me.titanium_plate,
|
||||||
util.add_ingredient("BetterBelts_ultra-underground-belt-v1", util.me.titanium_plate, 40)
|
util.add_ingredient("BetterBelts_ultra-underground-belt-v1", util.me.titanium_plate, 40)
|
||||||
|
|
||||||
-- Ultimate belts
|
-- Ultimate belts
|
||||||
util.add_ingredient("ultra-fast-belt", util.me.titanium_plate, 10)
|
util.add_ingredient("ultra-fast-belt", util.me.titanium_plate, 5)
|
||||||
util.add_ingredient("ultra-fast-underground-belt", util.me.titanium_plate, 40)
|
util.add_ingredient("ultra-fast-underground-belt", util.me.titanium_plate, 20)
|
||||||
util.add_ingredient("ultra-fast-belt-loader", util.me.titanium_plate, 20)
|
util.add_ingredient("ultra-fast-belt-loader", util.me.titanium_plate, 10)
|
||||||
if not mods.bzaluminum then
|
if not mods.bzaluminum then
|
||||||
util.replace_ingredient("extreme-fast-belt", "express-transport-belt", util.me.titanium_plate, 20)
|
util.replace_ingredient("extreme-fast-belt", "express-transport-belt", util.me.titanium_plate, 10)
|
||||||
util.replace_ingredient("extreme-fast-underground-belt", "express-underground-belt", util.me.titanium_plate, 80)
|
util.replace_ingredient("extreme-fast-underground-belt", "express-underground-belt", util.me.titanium_plate, 40)
|
||||||
util.replace_ingredient("extreme-fast-belt-loader", "express-transport-belt-loader", util.me.titanium_plate, 40)
|
util.replace_ingredient("extreme-fast-belt-loader", "express-transport-belt-loader", util.me.titanium_plate, 20)
|
||||||
end
|
end
|
||||||
|
|
||||||
util.replace_ingredient("turbo-transport-belt", "steel-plate", util.me.titanium_plate, 20)
|
util.replace_ingredient("turbo-transport-belt", "steel-plate", util.me.titanium_plate, 20)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue