Turns Water into a non infinite resource. Water bodies get removed and replaced by solid ground. Offshore Drains allow water & oil to be put back into these depleted areas.
Version: 0.7.0 Author: ZpmFred Date: 18. 08. 2019 Mod Change(s): - Changed all player setting to glabal setting for multiplayer - Changed the fact that an ofshore pump go to player 1 invertory when wrong fluid input, it now just pop en entity on the floor - New Command: /RemoveAllDrainedArea that remove permanently all drained area so that the map save an load faster
Version: 0.6.17 Date: 30. 03. 2019 Bug Fix(s): - Offshore Drains East-West connections covered by sprite, amended and changed bounding and collision box - Pump rereplace amended, to search for pumps at end of the list rather then the 1st Mod Change(s): - Regen moved to 1 per second as too powerful being 1 per tick - Changed Tiles.lua to only include the crude-oil tiles, cleaned up the other code - Data.lua updated to insert new tiles in water types table, borders now work correctly - Added fluidlist.lua to support all base fluids (Green/Shallow/Mud) - Removed unneeded graphics, saving 14 mb :)
Version: 0.6.16 Date: 29. 03. 2019 Bug Fix(s): - Moved around global references so that /RestoreWater works as required in all cases
Version: 0.6.15 Date: 28. 03. 2019 Bug Fix(s): - Changed tables that store surfaces to store the surface, instead of just the name - Typo in Compare function would have assigned surface of an offshore pump not drain - Changed functions to use surface.name - Pump replace takes into account neighbours in case of fluidmix errors - Removed Drains Deactivate % as causing issues with reactivation - Drains now clear there contents when inactive and no neighbours, to allow easy reconnection to the fluid network - Restore Water now clears oil fluid areas
Version: 0.6.14 Date: 26. 03. 2019 Mod Change(s): - Landfill Task Now Runs 1 per second instead of on every tick Bug Fix{s}: - Now marks landfilled tiles as landfill, meaning no issues with finding tiles - Landfill takes into account the bonus value applied and correctly recalculates the fluidarea size - GlobalWaterArea stores the bonus amount in case required, Update script updated - Immediately deals with tiles outside area so UPS isn't affected over a long period - Only landfill tiles are considered, all other tile placement is ignored - Removed message about updating mod internals - Added surface to continuing search function in case required
Version: 0.6.13 Date: 25. 03. 2019 Mod Change(s): - Offshore Pumps/Drains take into account the surface they are created on - WaterGlobalArea takes into account the surface it is created on - Other Functions take into account the surface for calculations etc Bug Fix(s): - Removed Debug message "Found In Area"
Version: 0.6.12 Date: 24. 03. 2019 Bug Fix(s): - Removed Landfill size message, Check message and count message
Version: 0.6.11 Date: 24. 03. 2019 Bug Fix(s): - Fixed New/Mid game variables not linking correctly, now reference the global
Version: 0.6.10 Date: 22. 03. 2019 Mod Change(s): - Changed Mod Init, splitting Globals and there References - Added 4 More Compass Points to search - Removed unrequired search in GlobalWaterArea function - Changed FoundExt to a boolean - Removed RegenWater and unrequired variable from CreateWaterArea - Removed unrequired checking in FluidAreaContinue - Renamed local variables in CalculatedWaterTotal - RegenWater variable names changed - EverySec function has logic checks applied - Rebuilt New/Mid Game logic checks - FluidRate Checks readded to stop high usage just after load game - Removed unrequired logic checks in Landfill function - CheckWater uses more logic checks - Many variable name changes to link with globals - Added function to clear landfill table if used in a scenario
Version: 0.6.01 Date: 13. 03. 2019 Bug Fix(s): - Added check for no nil InstallTick variable, and to set it if so
Version: 0.6.0 Date: 12. 03. 2019 Major Feature: - 0.17 Compatibility New Factorio Version Fix(s): - Remove Flag "Goes to Quickbar" from Item Prototypes - Remove Count from Crude-Oil HR sprite settings - Fixed Offshore Pump not removing water from pipes - Offshore Drain is now a "pipe-to-ground" entity to work around fluid mixing logic - Offshore Crude Oil Pump set output filter to crude-oil - Fluidentities calculation amended to use new get method Minor Feature: - Offshore Drain / Pump Item Icons updated to easily tell them apart Bug Fix(s): - Reference Global.NewInstall not NewInstall so OP/OD's remove on reload of save game - OD's get replaced on mod update to update the entity saved in global.ODLocate - OP's get replaced on mod update to update the entity and prevent fluid mixing issues, offshore pump gets refunded
Version: 0.5.16 Date: 16. 02. 2019 Minor Features: - Warning Prompt on Mid-Game Install about depleting FluidArea Bug Fix(s): - On Mid-Game Install don't instantly deplete the FluidAreas - The fluid "Fluid" cannot be barrelled - Mod Update Script wont affect active OP/OD count on install - Mod Update Script replaces OPs to correct FluidArea type - Mod Update Script other misc fixes
Version: 0.5.15 Date: 05. 02. 2019 Minor Features: - Offshore Pumps NoFluid Replace themselves with Offshore Pumps when FluidArea refills to players chosen percentage - Offshore Drains deactivate at 0% used, then reactivate after a FluidArea has been drained on player chosen percentage Bug Fix(s): - Water Calcs off through unrequired checking of flow rate - Offshore Drain depletion message on 100% & 0% - Offshore Drains no longer drain more per tick then a Pump provides
Version: 0.5.14 Date: 08. 01. 2019 Bug Fix(s): - Removing Landfilled Tiles from table only happens after searching through all FluidAreas - No Longer displays Landfill message if not affected a FluidArea
Version: 0.5.13 Date: 08. 01. 2019 Bug Fix(s): - Remove landfill from table if not found in any FluidAreas
Version: 0.5.12 Date: 30. 12. 2018 Major Features: - Landfill Support (FluidAreas will now ignore landfilled tiles) Minor Features: - Rewrote Mod Update script to avoid issue with Mod numbering scheme Bug Fix(s): - Added Entity valid check for FluidProducers and initial scans on mod added to game - Back/To Method Kept ground tiles when more then 1 fluidarea was present
Version: 0.5.11 Date: 28. 11. 2018 Minor Features: - Added Pumpjacks command to see how many pump jacks you have in the world Bug Fix(s): - Fixed issue with Mod Update script, removed unneeded code
Version: 0.5.10 Date: 28. 11. 2018 Bug Fix(s): - Fixed issue in Mod Update Script not correctly getting the Entity from find_entities_filtered for pumpjacks
Version: 0.5.9 Date: 27. 11. 2018 Bug Fix(s): - On Robot Placement/Removal of Pumps/Drains/Jacks Mod will check for these and run the correct functions
Version: 0.5.8 Date: 25. 11. 2018 Bug Fix(s): - Fixed issue with Detecting PumpJacks
Version: 0.5.7 Date: 24. 11. 2018 Major Features: - On First Install Scans for Offshore Pumps and Pumpjacks and sets up FluidAreas - Can Choose Tile Replacement Method, either Random or From/To Pump - Compatibility with SeaBlock, Limits Area to 60,000 tiles (A Sea!) Bug Fix(s): - Offshore Pump No Fluids would continue to Pump, Fixed DeepCopy
Version: 0.5.6 Date: 14. 11. 2018 Major Features: - Offshore Pump No Fluid and Crude-oil are now deep copied for Mod Compatibility Support - Compatibility with AAI Industry for the Gfx + Power on Offshore Pumps - WaterAreas now Regenerate a fixed amount per tick Minor Features: - Added Per Player Setting for Alarm - Continuing Search - Added Global Setting for the Regenerative amount - Added Global Setting to Enable Regeneration of WaterAreas
Version: 0.5.5 Date: 03. 11. 2018 Minor Features: - Added alert to show scan is continuing, triggers every 20 seconds Bug Fix(s): - Check for Valid tile before using it in the search function
Version: 0.5.4 Date: 01. 11. 2018 Minor Features: - Nth Ticks function to continue searching for tiles after the initial area is created - GetWater Function amended to support continued tile searching - FluidArea Name + Amount Popup delayed on a continuing search, new popup to say a search is ongoing - Modified boundaries for fluid area type (Pond/Lake/Great Lake/Sea/Ocean) - Warning Alarms and Commands have correct fluid types - Per Player Settings for the FluidArea - Initial Size (Tiles) and FluidArea - Additional Tiles per Second in Mod Settings - Per Map Settings for the Tile Fluid Amounts for Shallow and Deep tiles Bug Fix(s): - Max Tile Limit Removed, No More Diamond areas - AssignTiles only runs once, instead of on every tick - AssignFluid no longer double loops, so existing areas don't change to new area fluid type - FluidAreas, Pumps and Drains have had there FluidType and PipeFluid checked for Nil and amended in Mod Update Script - AddedWaterArea now only changes tiles for every 0.1% change between 100 and 80 instead of on every tick
Version: 0.5.3 Date: 25. 10. 2018 Minor Changes: - CorrectPump now runs without a loop and checks for a valid entity - Entity Creation checks for validity before setting up tables
Version: 0.5.2 Date: 25. 10. 2018 Bug Fix(s): - Tile Correction only took Deepwater into account, now accesses both types and returns a fluid name
Version: 0.5.1 Date: 25. 10. 2018 Bug Fix(s): - Mod Update Script would crash if you had no PumpJacks in the world, now checks before using entity value
Version: 0.5.0 Date: 24. 10. 2018 Major Features: - Drains/Pumps can now use Crude Oil - Created Crude-oil and Crude-oil tiles types - FluidProducers table created to track pumpjacks crude oil fluid production, and will track other entities soon - FluidEntities.lua created to calculate fluid being created by external entities that would effect calcs - Rewrote Calcs and many other functions to take into account multiple fluid types Minor Features: - Updated Mod Update Script Bug Fix(s): - Multiple Drains will now correctly stop/fill depleted fluid areas - Storage Tanks no longer empty instantly when connected to Drains, empty at rate of 20 per tick - Drains now partially fill a fluid area instead of 0% it when pipe runs dry - Drains now reset the fluid area Warning Alarm flags - Prevent Crude Oil tiles from generating at map creation - Pumps and Drains can run at the same time and not cause loss of fluid
Version: 0.4.0 Date: 16. 10. 2018 Major Features: - Added Offshore Drain to fill up fluid areas (Water Only) - Added Offshore Drain Command to see number of Drains, position etc Minor Features: - Mod Update Script updated to force a check on active OP areas, resetting it - Rewrote Many functions to enable them to be used for both pumps and drains Bug Fix(s): - Infinite water if removed an inactive pump before any were active - DesOP function had typo, would always find its own Y co-ord - Other Bug issues relating to the new feature
Version: 0.3.4 Date: 26. 09. 2018 Other Features: - Reduced Number of calls to global variables, trying to improve performance Bug Fix(s): - Removed Player Mod settings as not working - Adding the Mod mid-game would throw an error in the Mod Update routine
Version: 0.3.3 Date: 25. 09. 2018 Bug(s): - Player Specified Map Settings aren't Remembered between Save/Load Bug Fix(s): - Fixed ActiveOPs Bug, rewrote the function and now reinitialises the ActiveOPs variable during OnTick
Version: 0.3.2 Date: 24. 09. 2018 Minor Features: - WaterNames are now there own names, without the WaterArea prefix - Added Configurable Shallow & Deep water volumes Bug Fix(s): - Massive Waterbodies cause the game to hang, then the mod fails to generate an area and crashes (Now has a slight pause on 3000+ tile WaterAreas)
Version: 0.3.1 Date: 23. 09. 2018 Minor Features: - Removed Unneeded files from inside mod, reducing the file size.
Version: 0.3.0 Date: 23. 09. 2018 Major Features: - Added Offshores command to show the position of all the Offshore Pumps - Added WaterAreas command to show the % Used of all Water Areas - MOD Configuration Changed Script for updating of the mod Minor Features: - Add Notification on WaterBody creation, its name and size - Add Notification on additional Offshores added, will show % depletion of built into WaterArea - Add Notifications on 50/75/90/95 to 100% Depletion - Add on screen text when command RestoreWater is used - Add Mod Settings so player can turn on/off RestoreWater Command, High and Low Alarms on WaterAreas Bug Fix(s): - Fixed errors with Offshore Pump Deletion Code - Fixed errors in checking for the same location in Offshore Pump function - Fixed Restoring Water on Partially Filled in WaterAreas Fails - Fixed trying to remove an offshore from a partially filled WaterArea crashes game - Fixed RestoreWater command now correctly removes Inactive OffshorePump artefacts - Fixed Calc errors when more then 1 offshore in/and more then 1 WaterArea - Fixed wrong number of active offshores when offshores are removed Other Changes: - Saves OPsurface into OPLocate if required for future reference - Created WtrName in WaterGlobalArea & WaterBodies.lua to give large water bodies their own names - Reworked the WaterArea/OffshorePumps Functions to reduce delay when building into the same body of water - Removed unneeded functions & variables - Rebuilt CheckWater OnTick Calcs 3 times, Now Assumes Factorios Calcs are always 100% accurate
Version: 0.2.0 Date: 03. 05. 2018 Major Features: - MOD Portal Release Changes: - Amended Shallow and Deepwater Amounts (Attempt at Balance)
Version: 0.1.10 Date: 26. 04. 2018 Major Features: - ReWrote OnTick Functions - Added Command "RestoreWater" - Restores All depleted areas back to water Changes: - ReWrote Many Functions to do with calcs of WaterAmounts - Offshores only count fluid if connected to a fluidbox entity (Work Around for lack of entity.active on Offshores) - Amended Random Function
Version: 0.1.9 Date: 22. 04. 2018 Major Features: - Works with any number of Offshore Pumps in any number of Water Areas - Changelog now works from within Factorio! - Save/Load Support Changes: - Fixed Pump Removal for Multiple Offshores in same Water Area - Added Entity Name
Version: 0.1.8 Date: 21. 04. 2018 Changes: - Get Count of How Many Offshore Pumps Assigned to Which WaterArea - Removed Loop in Depleted function
Version: 0.1.7 Date: 21. 04. 2018 Changes: - Random Function Amended - Changed How Offshore Pumps and WaterAreas Are stored, now separate from one another - Only stores the unique water areas, reducing table size
Version: 0.1.6 Date: 12. 04. 2018 Major Features: - Mod Working Using 1 Offshore Pump Changes: - Random Function Added - Fixes to Add/Removing Offshore Pumps
Version: 0.1.5 Date: 11. 04. 2018 Major Features: - Mod Now Works at a Basic Level - Changed to using FlowStatistics Changes: - Get FlowStatistics for Water Amount - Replace Used WaterPump with Non Working Version
Version: 0.1.4 Date: 07. 04. 2018 Changes: - Control Offshore Pump Refill Rate - Access Offshore Pump Water Amount
Version: 0.1.3 Date: 02. 04. 2018 Changes: - Rebuilt WaterSearch functions - Finding & Replacing Tiles Works
Version: 0.1.2 Date: 22. 03. 2018 Changes: - Added Changelog - Stores Offshore Pump Location in table
Version: 0.1.1 Date: 18. 03. 2018 Major Features: - Initial Mod Creation Changes: - Detect Pumps Being Created - Detect Pump Creation Location