Anyone happen to know how I could add these new ammo types to the base game's bullet damage and speed technologies?
Oh! Also I would like to add a couple more steps of military technology research, that way I can add the Assault Rifle after the SMG and the Sniper Rifle after the Flamethrower. So I would need to edit the base game's research prerequisites as well..
I've been searching for an answer for hours, and it's getting really frustrating.. Any help is greatly appreciated, thanks!
I've tried adding technology.lua in prototypes>technology, and inside the file I have this code:
Code: Select all
data.raw["technology"]["bullet-damage-1"].effects =
{
{
type = "ammo-damage",
ammo_category = {"bullet", "rifle-bullet", "sniper-bullet"},
modifier = "0.1"
}
}



