Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions prototypes/buildings/accumulator-mk01.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ RECIPE {
results = {
{type = "item", name = "accumulator-mk01", amount = 1}
}
}
}:add_unlock {"py-accumulator-mk01"}

if mods.pycoalprocessing then
RECIPE("accumulator-mk01"):replace_ingredient_unsafe("steel-plate", "nexelit-plate"):add_ingredient_unsafe {type = "item", name = "niobium-plate", amount = 10}:add_unlock {"py-accumulator-mk01"}
RECIPE("accumulator-mk01"):replace_ingredient_unsafe("steel-plate", "nexelit-plate"):add_ingredient_unsafe {type = "item", name = "niobium-plate", amount = 10}
end

if mods.pyhightech then
RECIPE("accumulator-mk01"):add_ingredient_unsafe {type = "item", name = "used-nexelit-battery", amount = 1}
end

ITEM {
Expand Down
9 changes: 7 additions & 2 deletions prototypes/buildings/accumulator-mk02.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,21 @@ RECIPE {
results = {
{type = "item", name = "accumulator-mk02", amount = 1}
}
}
}:add_unlock("py-accumulator-mk02")

if mods.pycoalprocessing then
RECIPE("accumulator-mk02"):replace_ingredient_unsafe("steel-plate", "nexelit-plate"):add_ingredient_unsafe {type = "item", name = "optical-fiber", amount = 30}:add_unlock("py-accumulator-mk02")
RECIPE("accumulator-mk02"):replace_ingredient_unsafe("steel-plate", "nexelit-plate"):add_ingredient_unsafe {type = "item", name = "optical-fiber", amount = 30}
end

if mods.pyrawores then
RECIPE("accumulator-mk02"):add_ingredient_unsafe {type = "fluid", name = "liquid-nitrogen", amount = 50}
end

if mods.pyhightech then
RECIPE("accumulator-mk02"):add_ingredient_unsafe {type = "item", name = "used-nexelit-battery", amount = 5}
RECIPE("accumulator-mk02"):remove_ingredient("battery"):add_ingredient_unsafe {type = "item", name = "re-magnet", amount = 10}:add_ingredient_unsafe {type = "item", name = "sc-coil", amount = 10}
end

ITEM {
type = "item",
name = "accumulator-mk02",
Expand Down
3 changes: 3 additions & 0 deletions prototypes/technologies/accumulators.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ TECHNOLOGY {
order = "c-k-a",
upgrade = true
}
if mods.pycoalprocessing then
RECIPE("accumulator-mk02"):add_unlock("py-accumulator-mk02")
end

if mods["pyalternativeenergy"] then
TECHNOLOGY {
Expand Down