5dims
This commit is contained in:
parent
236a102877
commit
4eb6e89b73
6 changed files with 131 additions and 8 deletions
|
|
@ -1,9 +1,8 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.1.5
|
Version: 0.2.0
|
||||||
Date: 2021-01-24
|
Date: 2021-01-25
|
||||||
Changes:
|
Features:
|
||||||
- Lead used to make colored items for some mods.
|
- 5dims compatibility
|
||||||
- Update Krastorio 2 matter tech icon.
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.1.4
|
Version: 0.1.4
|
||||||
Date: 2021-01-22
|
Date: 2021-01-22
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
require("lead-recipe-final-stacking")
|
require("lead-recipe-final-stacking")
|
||||||
require("lead-recipe-modules")
|
require("lead-recipe-modules")
|
||||||
require("lead-recipe-colors")
|
require("lead-recipe-colors")
|
||||||
|
require("lead-recipe-final-5d")
|
||||||
|
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzlead",
|
"name": "bzlead",
|
||||||
"version": "0.1.5",
|
"version": "0.2.0",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Lead",
|
"title": "Lead",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
122
lead-recipe-final-5d.lua
Normal file
122
lead-recipe-final-5d.lua
Normal file
|
|
@ -0,0 +1,122 @@
|
||||||
|
local util = require("__bzlead__.util");
|
||||||
|
|
||||||
|
if mods["5dim_core"] then
|
||||||
|
|
||||||
|
data.raw.item["lead-plate"].subgroup = "plates-plates"
|
||||||
|
data.raw.recipe["lead-plate"].subgroup = "plates-plates"
|
||||||
|
data.raw.item["lead-ore"].subgroup = "plates-ore"
|
||||||
|
|
||||||
|
-- Industrial furnace
|
||||||
|
data:extend({
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "lead-plate-industrial-ore",
|
||||||
|
category = "industrial-furnace",
|
||||||
|
subgroup = "plates-industrial-ore",
|
||||||
|
order = "ad[lead-plate]",
|
||||||
|
icon = "__bzlead__/graphics/icons/lead-plate.png",
|
||||||
|
icon_size = 64,
|
||||||
|
enabled = true,
|
||||||
|
energy_required = 65,
|
||||||
|
ingredients = {{"lead-ore", 85}},
|
||||||
|
result = util.lead_plate,
|
||||||
|
result_count = 100,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Lead dust
|
||||||
|
data:extend(
|
||||||
|
{
|
||||||
|
{
|
||||||
|
type = "item",
|
||||||
|
name = "lead-dust",
|
||||||
|
icon_size = 32,
|
||||||
|
subgroup = "plates-dust",
|
||||||
|
order = "d[lead-plate]",
|
||||||
|
icon = "__bzlead__/graphics/icons/lead-powder.png",
|
||||||
|
icon_size = 64,
|
||||||
|
stack_size = 200
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "lead-plate-dust",
|
||||||
|
icon = "__bzlead__/graphics/icons/lead-plate.png",
|
||||||
|
icon_size = 64,
|
||||||
|
subgroup = "plates-plates2",
|
||||||
|
order = "d[lead-plate]",
|
||||||
|
category = "smelting",
|
||||||
|
energy_required = 3.2,
|
||||||
|
enabled = true,
|
||||||
|
ingredients = {
|
||||||
|
{"lead-dust", 1}
|
||||||
|
},
|
||||||
|
result = util.lead_plate
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "lead-dust",
|
||||||
|
icon = "__bzlead__/graphics/icons/lead-powder.png",
|
||||||
|
icon_size = 64,
|
||||||
|
category = "mashering",
|
||||||
|
subgroup = "",
|
||||||
|
order = "d[lead-plate]",
|
||||||
|
energy_required = 3.2,
|
||||||
|
enabled = true,
|
||||||
|
ingredients = {
|
||||||
|
{"lead-ore", 1}
|
||||||
|
},
|
||||||
|
results = {
|
||||||
|
{type="item", name = "lead-dust", amount=2},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "lead-plate-industrial-dust",
|
||||||
|
category = "industrial-furnace",
|
||||||
|
subgroup = "plates-industrial-dust",
|
||||||
|
order = "ad[lead-plate]",
|
||||||
|
icon = "__bzlead__/graphics/icons/lead-plate.png",
|
||||||
|
icon_size = 64,
|
||||||
|
enabled = true,
|
||||||
|
energy_required = 65,
|
||||||
|
ingredients = {{"lead-dust", 85}},
|
||||||
|
result = util.lead_plate,
|
||||||
|
result_count = 100,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if mods["5dim_resources"] then
|
||||||
|
local mks = {"01", "02", "03", "04", "05", "06", "07", "08", "09", "10"}
|
||||||
|
local items = {"5d-masher-"}
|
||||||
|
for i, mk in pairs(mks) do
|
||||||
|
for j, item in pairs(items) do
|
||||||
|
util.add_ingredient(item..mk, "lead-plate", 2)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
if mods["5dim_energy"] then
|
||||||
|
local mks = {"02", "03", "04", "05", "06", "07", "08", "09", "10"}
|
||||||
|
local items = {"5d-substation-", "5d-big-electric-pole-", "5d-solar-panel-"}
|
||||||
|
for i, mk in pairs(mks) do
|
||||||
|
for j, item in pairs(items) do
|
||||||
|
util.add_ingredient(item..mk, "lead-plate", 2)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if mods["5dim_battlefield"] then
|
||||||
|
local mks = {"01", "02", "03", "04", "05", "06", "07", "08", "09", "10"}
|
||||||
|
local items = {"5d-gun-turret-", "5d-gun-turret-big-", "5d-gun-turret-small-"}
|
||||||
|
for i, mk in pairs(mks) do
|
||||||
|
for j, item in pairs(items) do
|
||||||
|
util.replace_some_ingredient(item..mk, "iron-plate", "lead-plate", 2)
|
||||||
|
end
|
||||||
|
util.replace_some_ingredient("5d-gun-turret-sniper-"..mk, "steel-plate", "lead-plate", 1)
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -47,8 +47,8 @@ data:extend(
|
||||||
energy_required = 12.8,
|
energy_required = 12.8,
|
||||||
ingredients = {{"lead-ore", 4}},
|
ingredients = {{"lead-ore", 4}},
|
||||||
results = {
|
results = {
|
||||||
{type="item", name = util.lead_plate, amount=2, probability=0.8333},
|
{type="item", name = util.lead_plate, amount=2, probability=5/6},
|
||||||
{type="item", name = "copper-ore", amount=2, probability=0.333},
|
{type="item", name = "copper-ore", amount=2, probability=1/3},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ enriched-lead=Enrich lead ore, purifying with sulfuric acid [fluid=sulfuric-acid
|
||||||
[recipe-name]
|
[recipe-name]
|
||||||
enriched-lead=__ITEM__enriched-lead__
|
enriched-lead=__ITEM__enriched-lead__
|
||||||
lead-plate=__ITEM__lead-plate__
|
lead-plate=__ITEM__lead-plate__
|
||||||
|
lead-dust=__ITEM__lead-dust__
|
||||||
dirty-water-filtration-lead=Filter dirty water [item=lead-ore]
|
dirty-water-filtration-lead=Filter dirty water [item=lead-ore]
|
||||||
|
|
||||||
[recipe-description]
|
[recipe-description]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue