Tracer Ammunition

by Leoncio

Bullets fly in real-time, emit light, collide with objects and have bullet tracers.

Content
1 year, 7 months ago
1.1
1.31K
Combat

g Free Help!

10 months ago
(updated 10 months ago)

Can you please stop remaking all the recipes for the vannila ammo? It breaks some mods which rename the ingredients, such as this one:
https://mods.factorio.com/mod/galdocs-manufacturing/discussion/64ab68121dd55d8d04f6242e
It is stuff like this which breaks mods:
{
type = "recipe",
name = "firearm-magazine",
energy_required = 1,
enabled = true,
ingredients =
{
{ "iron-plate", 4 },
},
result = "firearm-magazine",
}

A better way to go about it, is to change the vanilla recipes if needed, like this:
data.raw['item']['firearm-magazine'].result = 'this-mods-special-firearm-magazine-whatever-it-is-called'
although you will need to wait until the base mod has loaded, since that it what makes the original recipe. This is done by default, but you could have removed it.
I'm also not saying you did anything wrong, but it's good practice (i think, i have only made 2 mods) not to do this.

10 months ago

I think the compatibility issue with AAI may have something to do with this kind of code too.

10 months ago
(updated 10 months ago)

Yeah, that's generally good form (at least in my opinion) - it can result in you having to do more to deal with things yourself, but designating things from scratch can cause more problems - in particular it can cause crashes in other mods or can even revert their changes.

Oh No! You already know this information and i didn't need to tell you it (but it seems like you didn't use the information to it's full potential)

New response