Thanks for the best electric train mod!
I use a translator
I found it strange that:
1) to research the train you need red and green research packs (you need to add blue ones)
2) to build it you need batteries and electric motors, but there is no dependence on these technologies
3) It turns out that after exploring the train the player cannot build it LOL =)
So I changed a little technology to study and now everything looks nice.
data:extend(
{
{
type = "technology",
name = "rail-power-system",
icon = ""..modname.."/graphics/tech/tech.png",
effects =
{
{
type = "unlock-recipe",
recipe = electric_locomotive
},
{
type = "unlock-recipe",
recipe = railpole_prototype
},
{
type = "unlock-recipe",
recipe = electric_rail
}
},
icon_size = 128,
prerequisites = {"battery", "electric-engine", "chemical-science-pack", "circuit-network", "railway"},
unit =
{
count = 200,
ingredients =
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1}
},
time = 15
},
order = "a-d-d",
}
})