Allow manual addition of the friendly fire warning railguns have.

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
AndreusAxolotl
Burner Inserter
Burner Inserter
Posts: 9
Joined: Mon Aug 04, 2025 6:26 pm
Contact:

Allow manual addition of the friendly fire warning railguns have.

Post by AndreusAxolotl »

I have been having some issues with my shotgun turret, finding out it, unexpectedly, dealt friendly fire damage. While I thought of finding ways to make it not deal friendly fire damage, I thought a more interesting idea would've been to maintain the friendly fire but add in the damage warnings the railgun turrets have.

To my surprise I found out this property is, as far as I've tested, hardcoded into the "line" action type in the projectile prototype.

I believe it would be nice if this property was added as a separate field in the projectile or turret prototype so any kind of modded turret that doesn't use "line" projectiles could show the warning, like my shotgun turret for example.
08-17-2026, 11-59-19.png
08-17-2026, 11-59-19.png (221.27 KiB) Viewed 66 times
The warning in question.
Post Reply

Return to “Modding interface requests”