Undeletable fluids (For Nullius or other mods)

by Wiwiweb

Prevents the flushing of fluids in pipes and tanks. Use this when a mod asks you to dispose of byproducts and you want to stop yourself from cheesing. Designed with Nullius in mind.

Tweaks
1 year, 1 month ago
1.1
1.87K
Fluids

Changelog

Version: 1.0.4
Date: 2023-10-17
  Bugfixes:
    - Fixed some fluids disappearing when trying to flush a fluid in a system that had multiple fluids.
    - Fixed destroying a fluid (with "Prevent destruction" setting) not preserving temperature.

  Info:
    - KNOWN BUG: Attempting to flush fluids will reset the fluid to its default temperature. Be careful around steam!
      The fix for this bug will require an API change: https://forums.factorio.com/viewtopic.php?f=28&t=109233
Version: 1.0.3
Date: 2023-09-18
  Changes:
    - Added "deletable fluids" remote interface methods: `get/set/add/remove_deletable_fluid`. This can be used instead of the "undeletable" list by mods who want to restrict all fluids except a few. The "undeletable" list will be ignored if the "deletable" list is used.
Version: 1.0.2
Date: 2023-03-11

  Changes:
    - Removed the `/undeletable-fluids-nullius-preset` command, which will now be auto-applied when Nullius is detected.
Version: 1.0.1
Date: 2022-11-23

  Changes:
    - Added "minimum threshold" setting, which allows tanks and pipes to be deleted when they only have a little amount of fluid (default: 100).
Version: 1.0.0
Date: 2022-10-13

  Features:
    - Initial release.