No Flushing Fluids

by mady.e2

Simple mod to prevent the user from flushing or destroying fluids by mining storage tanks. On 2.1, this includes bot deconstruction, and intelligently allows destruction of storage tanks if the fluid can be stored in connected tanks.

Tweaks
14 days ago
2.0 - 2.1
11
Fluids Storage
Owner:
mady.e2
Source:
https://github.com/mady-cat/factorio-...
Homepage:
https://github.com/mady-cat/factorio-...
License:
GNU GPLv3
Created:
14 days ago
Latest Version:
0.0.2 (14 days ago)
Factorio version:
2.0 - 2.1
Downloaded by:
11 users

Simple mod that disables flushing, deconstruction and mining of storage-tank entities that contain an amount of fluid past a certain threshhold. Also adds a lifetime limit of flushing or destruction of entities with less than that threshhold to prevent abuse of deleting many storage entities with a small number of fluids

Meant to preserve the integrity of mods where handling fluid byproducts is an intended challenge of the game.

On 2.1, thanks to API updates, this also prevents bot deconstruction, and intelligently allows destruction of storage tanks if the fluid can be moved in connected tanks.

Mod authors: If you want to configure the settings for this in your mod as a balance mod, update settings-updates.lua to configure the various settings (such as configuring which fluids should be unflushable), and then set the settings to hidden if you don't want the user to be able to modify the settings in-game.

NOTE: When readding flushed fluids, the mod adds the fluid at the default fluid temperature. Therefore, you should be careful when using this mod in situations where fluids dont have the default temperature.