Infinite Research Extender
Posted: Sat Apr 29, 2017 7:55 pm
Hello, I'm attempting to create a mod that adds the 0.15 infinite research to many other aspects of the game. I've been trying to add another research that once completed increases the speed of the drill (very similar to the mining drill productivity research, but for speed).
I've tried to extend the research normally but It says the effects i'm using don't exist.
I've tried many different effect names/types with no luck. I could possibly get this working if I had access to data.raw in control.lua but I think that's bad practice.
Can anyone point me in the right direction? Is what i'm doing even possible?
Thank you!
I've tried to extend the research normally but It says the effects i'm using don't exist.
Code: Select all
data:extend(
{
{
type = "technology",
name = "mining-speed-1",
icon = "__base__/graphics/technology/mining-speed.png",
--prerequisites = {"advanced-electronics"},
effects =
{
{
type = "mining-drill-speed-bonus", --I know this doesn't exist
modifier = 0.02
}
},
unit =
{
count_formula = "100*L",
ingredients =
{
{"science-pack-1", 1},
{"science-pack-2", 1},
},
time = 60
},
upgrade = true,
max_level = "3",
order = "c-k-f-e"
}
})
Can anyone point me in the right direction? Is what i'm doing even possible?
Thank you!