Friendly Fire - 2.0


Fork of butterduck's Friendly Fire mod, updated to fix syntax errors and support Factorio 2.0 / Space Age.

Tweaks
10 days ago
2.0
11
Combat Cheats
Owner:
dreezy_05
Source:
N/A
Homepage:
https://n/a
License:
MIT
Created:
10 days ago
Latest Version:
2.2.0 (10 days ago)
Factorio version:
2.0
Downloaded by:
11 users

Description

A simple, lightweight update of butterduck's classic "Friendly Fire" mod, completely overhauled to fix legacy syntax bugs and provide native support for Factorio 2.0 and the Space Age expansion.

Tired of your own flamethrower turrets melting your logistical infrastructure and defense lines? This mod ensures your automated network stays intact during heavy alien assaults.

Features

Universal Fire Protection

The mod has been completely rewritten to dynamically handle fire immunity rather than relying on a hardcoded list of entities.

  • Future-Proof (Zero Maintenance): The script automatically detects and protects any new buildings or structures added by Wube in future Factorio updates.
  • Full Mod Compatibility: Dynamically scans and applies 100% fire immunity to custom buildings, turrets, walls, or train stops added by other mods.
  • Vanilla Balance Intact (No Cheating): Strictly targets player-placed items and logistics bots. Natural trees, rocks, and enemy biters/spawners remain completely flammable so your defenses can toast the aliens as intended.
  • Fully compatible with the base Factorio 2.0 engine and Space Age surfaces.

Why this fork?

The original 0.15 mod contained nested for loops that lacked proper closing statements, causing instant Lua syntax crashes in modern versions of the game. This fork fixes those structural errors, cleans up the conditional data checks, and updates the metadata structure to meet Wube's strict Factorio 2.0 mod specifications.

Credits: All original concept and functional code credits go to the original author, butterduck.

Version Updates

  • 2.1.0: Extended fire immunity to lamp, electric-pole, transport-belt, inserter, container and logistic-container

  • 2.2.0: Extended fire immunity to all player buildable entities.