[Request] Add new effects to Modifier
Posted: Thu Feb 08, 2018 2:52 pm
I tried to make plugin for laser turrets range research similarly as artillery ranges.
But I found that for laser turrets there are missing modifier for modify range. Artillery has this modifier (although it is NOT documented).
technology.lua
I could made new turrets mk2 mk3 mk4 etc. but i want it to be infinite so making new entities is kinda odd here.
Please consider add some new effects to http://lua-api.factorio.com/0.16.22/Con ... l#Modifier
so these can be modified via plugins with researches like other stuff, robot cargo, artillery range etc.
Effects:
not sure if this is correct definition, but some like this:
Would be this possible?
But I found that for laser turrets there are missing modifier for modify range. Artillery has this modifier (although it is NOT documented).
technology.lua
Code: Select all
{
type = "technology",
...
effects =
{
{
type = "artillery-range",
modifier = 0.3
}
},
....
Please consider add some new effects to http://lua-api.factorio.com/0.16.22/Con ... l#Modifier
so these can be modified via plugins with researches like other stuff, robot cargo, artillery range etc.
Effects:
- gun-turret-range
laser-turret-range
personal-laser-turret-range
not sure if this is correct definition, but some like this:
Code: Select all
technology.lua
effects =
{
{
type = "laser-turret-range",
modifier = 0.2
}
},