Compare commits
2 commits
872fe7fb73
...
4553e887a3
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4553e887a3 | ||
![]() |
c20f490d81 |
5 changed files with 9 additions and 7 deletions
|
@ -7,7 +7,8 @@ local target_planet = settings.startup["aps-planet"].value
|
|||
if target_planet == "none" or target_planet == "nauvis" then return end
|
||||
|
||||
-- Switch planet discovery technology to the new planet
|
||||
Technology:new("planet-discovery-" .. target_planet)
|
||||
local planet_discovery = data.raw.technology["planet-discovery-" .. target_planet] or data.raw.technology["moon-discovery-" .. target_planet]
|
||||
Technology:new(planet_discovery)
|
||||
:assign({
|
||||
enabled = true,
|
||||
hidden = false
|
||||
|
|
|
@ -10,7 +10,8 @@ Technology:new("tree-seeding"):setPrerequisites({ "wood-science-pack" })
|
|||
|
||||
|
||||
-- Switch planet discovery technology to the new planet
|
||||
Technology:new("planet-discovery-" .. target_planet)
|
||||
local planet_discovery = data.raw.technology["planet-discovery-" .. target_planet] or data.raw.technology["moon-discovery-" .. target_planet]
|
||||
Technology:new(planet_discovery)
|
||||
:assign({
|
||||
enabled = true,
|
||||
hidden = false,
|
||||
|
@ -24,8 +25,8 @@ Technology:new("planet-discovery-" .. target_planet)
|
|||
}
|
||||
})
|
||||
:setPrerequisites({ "provisional-rocketry" })
|
||||
Technology:new("iron-processing"):replacePrerequisite("planet-discovery-nauvis", "planet-discovery-" .. target_planet)
|
||||
Technology:new("copper-processing"):replacePrerequisite("planet-discovery-nauvis", "planet-discovery-" .. target_planet)
|
||||
Technology:new("iron-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
|
||||
Technology:new("copper-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
|
||||
|
||||
|
||||
-- Vulcanus
|
||||
|
|
|
@ -53,7 +53,7 @@ data:extend({
|
|||
auto_recycle = false,
|
||||
hide_from_player_crafting = settings.startup["crushing-industry-hide-player-crafting"].value,
|
||||
energy_required = 3.2,
|
||||
ingredients = { { type = "item", name = "crushed-gold-ore", amount = 2 } },
|
||||
ingredients = { { type = "item", name = "crushed-gold-ore", amount = 1 } },
|
||||
results = { { type = "item", name = "gold-plate", amount = 1 } },
|
||||
main_product = "gold-plate",
|
||||
},
|
||||
|
|
|
@ -20,7 +20,7 @@ data:extend({
|
|||
name = "gold-plate",
|
||||
category = "smelting",
|
||||
energy_required = 3.2,
|
||||
ingredients = { { type = "item", name = "gold-ore", amount = 2 } },
|
||||
ingredients = { { type = "item", name = "gold-ore", amount = 1 } },
|
||||
results = { { type = "item", name = "gold-plate", amount = 1 } },
|
||||
allow_productivity = true
|
||||
},
|
||||
|
|
|
@ -147,7 +147,7 @@ plant.minable = {
|
|||
mining_time = 2,
|
||||
results = {
|
||||
{ type = "item", name = "moist-stromatolite-remnant", amount = 25 },
|
||||
{ type = "item", name = "gold-bacteria", amount = 30 },
|
||||
{ type = "item", name = "gold-bacteria", amount = 20 },
|
||||
{ type = "item", name = "gold-stromatolite-seed", amount_min = 1, amount_max = 3 }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue