Foundations

by 0n0w1c

A quality of life mod that provides settings, tools and automation to assist the engineer in placing tiles to achieve a multi-layered tile appearance. Support added for AAI Industry, Dectorio and Even Pickier Dollies.

Utilities
a month ago
1.1 - 2.0
1.64K
Cheats

Changelog

Version: 2.14.0
Date: 16.03.2025
  Bugfixes:
    - None
  Changes:
    - Added support for Space platform, for ground
      Layers above all forms of concrete and refined concrete
Version: 2.13.15
Date: 15.03.2025
  Bugfixes:
    - Refactored: added on_gui_closed and removed custom-inputs 
  Changes:
    - None
Version: 2.13.14
Date: 20.02.2025
  Bugfixes:
    - Crash due to moving soils when Dectorio is active and Space Age is not active
  Changes:
    - None
Version: 2.13.13
Date: 20.02.2025
  Bugfixes:
    - None
  Changes:
    - Startup setting to enable refined concrete variants default value changed to enabled
    - Dectorio: refined concrete variants, soils, and foundation recipes moved to the Dectorio tab
Version: 2.13.12
Date: 15.02.2025
  Bugfixes:
    - Crash due to an invalid entity in entity_excluded, added some entity.valid checks
  Changes:
    - None
Version: 2.13.11
Date: 11.02.2025
  Bugfixes:
    - Adjustments for Dectorio's gravel tiles
      Alien Biomes changes the layer of the gravel tiles
  Changes:
    - None
Version: 2.13.10
Date: 31.01.2025
  Bugfixes:
    - On Aquilo the painted concretes would freeze and convert to frozen concretes
  Changes:
    - None
Version: 2.13.9
Date: 31.01.2025
  Bugfixes:
    - Removed grid concrete's transition with concrete
    - On Aquilo grid concrete would freeze and convert to frozen concrete
    - Refactored data-final-fixes.lua
  Changes:
    - None
Version: 2.13.8
Date: 31.01.2025
  Bugfixes:
    - Aquilo: Frozen hazard tiles' layer not set due to 2.13.7 bugfix
  Changes:
    - None
Version: 2.13.7
Date: 31.01.2025
  Bugfixes:
    - Alien Biomes: frozen-snow tiles' layer were inadvertently modified
  Changes:
    - None
Version: 2.13.6
Date: 27.01.2025
  Bugfixes:
    - None
  Changes:
    - Added a shortcut to the shortcut bar, to toggle the display of the Foundations button
Version: 2.13.5
Date: 27.01.2025
  Bugfixes:
    - None
  Changes:
    - Added event handlers for script_raised_revive and script_raised_destroy
    - Compatible with Quantum Fabrication
Version: 2.13.4
Date: 26.01.2025
  Bugfixes:
    - None
  Changes:
    - Added startup setting to halt construction without sufficient tiles in player inventory
Version: 2.13.3
Date: 26.01.2025
  Bugfixes:
    - More adjustment to the fill tool logic
    - Fill tool will no longer fill the water-like tiles of the Space Age surfaces
  Changes:
    - None
Version: 2.13.2
Date: 26.01.2025
  Bugfixes:
    - Corrected the fill tool logic
    - Automated tile placement was not working properly on landfill
    - Movement via Even Pickier Dollies remote interface was not working due to an API change
  Changes:
    - None
Version: 2.13.1
Date: 21.01.2025
  Bugfixes:
    - Properly mine frozen concrete and frozen refined concrete
  Changes:
    - None
Version: 2.13.0
Date: 21.01.2025
  Bugfixes:
    - None
  Changes:
    - Support added for Aquilo
    - Foundations button switches to Disabled when entering remote view and restores on exit
    - Tool-tip now displays selection tool options
Version: 2.12.10
Date: 17.01.2025
  Bugfixes:
    - None
  Changes:
    - Added keyboard shortcuts ([E] and [Esc]) to close the tile selector window
Version: 2.12.9
Date: 16.01.2025
  Bugfixes:
    - None
  Changes:
    - Updated the gui, uses localisation
Version: 2.12.8
Date: 16.01.2025
  Bugfixes:
    - None
  Changes:
    - Runtime settings for belts, poles, and inserters moved to the tile selector gui
Version: 2.12.7
Date: 16.01.2025
  Bugfixes:
    - Replaced debug version, printed to the console when a tile was selected
  Changes:
    - None
Version: 2.12.6
Date: 16.01.2025
  Bugfixes:
    - Incorrect localised name assigned to Dectorio painted concrete items
  Changes:
    - Modified the tile selector to handle a large number of tiles
    - All researched and recipe enabled tiles should now be available in the tile selector gui
Version: 2.12.5
Date: 15.01.2025
  Bugfixes:
    - None
  Changes:
    - Construction is no longer haulted if insufficient tiles in the player inventory
Version: 2.12.4
Date: 14.01.2025
  Bugfixes:
    - Crash due to not providing a migration
  Changes:
    - None
Version: 2.12.3
Date: 14.01.2025
  Bugfixes:
    - Crash running on_configuration_changed due to invalid sprite path
  Changes:
    - None
Version: 2.12.2
Date: 14.01.2025
  Bugfixes:
    - Added a nil check to prevent a crash
  Changes:
    - None
Version: 2.12.1
Date: 14.01.2025
  Bugfixes:
    - None
  Changes:
    - Modified the layer and removed the transition with concrete for Dectorio's grid concrete
Version: 2.12.0
Date: 14.01.2025
  Bugfixes:
    - Refactored quite a bit
  Changes:
    - New gui for selecting the Foundations tile
      Left click the Foundations button to open the tile selector
      Right click the Foundations button to disable Foundations
    - Removed the corresponding runtime settings to select tiles for the Foundations button
    - "Fix" applied to Dectorio grid concrete
Version: 2.11.11
Date: 11.01.2025
  Bugfixes:
    - None
  Changes:
    - Fix added for the Dectorio painted concrete variants
    - Reverted the move of the concrete variants to the Decortio tab
Version: 2.11.10
Date: 11.01.2025
  Bugfixes:
    - Refactored the definition of the refined concrete variants
  Changes:
    - Dectorio added as a hidden optional dependency
      Refined concrete variants moved to the Decortio tab
Version: 2.11.9
Date: 09.01.2025
  Bugfixes:
    - Stone bricks were not an option for the Foundations button
  Changes:
    - Added runtime setting to enable stone bricks for the Foundations button (default: true)
Version: 2.11.8
Date: 09.12.2024
  Bugfixes:
    - Fixed the transition between painted refined concrete variants with adjacent layer numbers
  Changes:
    - Added Alien Biomes as a hidden optional dependency
      Prevents the reordering of the assigned painted refined concrete variant layers
Version: 2.11.7
Date: 30.10.2024
  Bugfixes:
    - None
  Changes:
    - Added Fulgora, Gleba and Vulcanus as compatible surfaces (remote view not supported)
Version: 2.11.6
Date: 27.10.2024
  Bugfixes:
    - None
  Changes:
    - Added startup settings to change the refined concrete variant's layer
Version: 2.11.5
Date: 27.10.2024
  Bugfixes:
    - New sprite path helper, improves the bugfix implemented in 2.11.4
  Changes:
    - Removed the incompatibility with Space Age
    - Limited to function only while the character is on Nauvis, remote view not supported.
Version: 2.11.4
Date: 26.10.2024
  Bugfixes:
    - Crash caused by not following the state of AAI Industry's stone path startup setting
  Changes:
    - None
Version: 2.11.3
Date: 26.10.2024
  Bugfixes:
    - None
  Changes:
    - Marked Space Age as incomptible (Unknown when/if this will change)
    - Added the startup option to enable hidden refined concrete variants (aka painted)
Version: 2.11.2
Date: 26.10.2024
  Bugfixes:
    - Crash caused by using 1.1 persistent memory, changed from global to storage
    - Removed a debug to log
  Changes:
    - None
Version: 2.11.1
Date: 25.10.2024
  Bugfixes:
    - Painted refined concrete placed as regular refined concrete
    - With layering active, refined and painted refined concrete placed at ground tile layer
  Changes:
    - Refactored: Ripped the proverbial stuffin's out of it
    - Support for Factorio 2.0 (Probably not Space Age)
    - Removed support for Krastoro2 (Will revisit if updated to 2.0)
    - Removed support for Dectorio (Not likely to be updated to 2.0)
    - Removed painted refined concete
    - No longer modifies the tile layer setting
    - Only vanilla and AAI Industry stone path tiles are currently supported
Version: 2.11.0
Date: 25.10.2024
  Bugfixes:
    - None
  Changes:
    - Support for Factorio 2.0 (Probably not ready for Space Age, new surfaces and placement rules)
    - Removed support for Industrial Revolution 3 (not updating to Factorio 2.0)
    - Removed support for Picker Dollies (Not likely to be updated to 2.0)
    - Added support for Even Pickier Dollies (2.0 replacement for Picker Dollies)
Version: 2.10.3
Date: 24.09.2024
  Bugfixes:
    - None
  Changes:
    - Hidden mod dependencies are now Optional mod dependencies
Version: 2.10.2
Date: 23.09.2024
  Bugfixes:
    - Crash if a tree spawned while clicking the Foundations button (Industrial Revolution 3)
  Changes:
    - Added entity type tree as an excluded entity
    - Removed the incompatible mod dependency for Easier Vehicles
Version: 2.10.1
Date: 19.09.2024
  Bugfixes:
    - None
  Changes:
    - Refactored the migration for painted refined concrete recipes
Version: 2.10.0
Date: 17.09.2024
  Bugfixes:
    - None
  Changes:
    - Improved mod compatibility, place tiles under script created entities, if the event is raised
Version: 2.9.4
Date: 15.09.2024
  Bugfixes:
    - Do not move tiles under excluded entities, when the entity is moved
  Changes:
    - None
Version: 2.9.3
Date: 12.09.2024
  Bugfixes:
    - None
  Changes:
    - Replaced the terms "stack" and "stacking" with "layer" and "layering" in both code and docs
    - Some refactoring, mostly focused on additional nil checks
Version: 2.9.2
Date: 12.09.2024
  Bugfixes:
    - Add modded electric poles to excluded entities when electric pole runtime setting changes
  Changes:
    - None
Version: 2.9.1
Date: 11.09.2024
  Bugfixes:
    - Runtime settings for electric poles, inserters, and belts not always recognized
  Changes:
    - None
Version: 2.9.0
Date: 09.09.2024
  Bugfixes:
    - None
  Changes:
    - New button icon for Foundations disabled
Version: 2.8.7
Date: 09.09.2024
  Bugfixes:
    - None
  Changes:
    - Added a startup setting for number of rows to add to the player inventory size
Version: 2.8.6
Date: 08.09.2024
  Bugfixes:
    - Fill tool now fills under entities excluded from foundation tiles
  Changes:
    - None
Version: 2.8.5
Date: 07.09.2024
  Bugfixes:
    - Added check to prevent a crash when attempting to use the selection tools in "god mode"
      Fix provided by mmmilez
  Changes:
    - None
Version: 2.8.4
Date: 07.09.2024
  Bugfixes:
    - Added a minable check when setting the clean sweep probablility
  Changes:
    - None
Version: 2.8.3
Date: 07.09.2024
  Bugfixes:
    - None
  Changes:
    - Added 0 as an option for the Tile Mining Time startup setting
      Select to honor the intent of the tile provider, make no modification to tile mining times
Version: 2.8.2
Date: 06.09.2024
  Bugfixes:
    - Clean sweep probability as intended by tile provider is honored, if clean sweep is disabled
  Changes:
    - None
Version: 2.8.1
Date: 06.09.2024
  Bugfixes:
    - Enforce player reach limit for selection based tools, to closest corner of the selected area
  Changes:
    - None
Version: 2.8.0
Date: 06.09.2024
  Bugfixes:
    - If enabled, clean sweep probability now set to 1
  Changes:
    - Clean sweep setting moved from runtime to startup
    - Added three selection tools: unfill, place, and unplace (remove) tiles en masse
Version: 2.7.3
Date: 04.09.2024
  Bugfixes:
    - Improved handling of tiles on edges, the absense of tiles, and multiple tile types, when
      moving entities and foundations using Picker Dollies.
  Changes:
    - None
Version: 2.7.2
Date: 03.09.2024
  Bugfixes:
    - Better handling of placed tiles when using Picker Dollies
      Placed tiles are now moved to fill the void created by moving an entity and foundation
  Changes:
    - None
Version: 2.7.1
Date: 21.08.2024
  Bugfixes:
    - Corrected some logic with supported mods and startup settings
  Changes:
    - Removed the startup setting 'Mine Foundation Tiles', leads to an inconsistent user experience
      Use the Foundations button to Enable/Disable the placement and mining of foundation tiles
    - Rearranged the order of runtime settings, moving IR3 and K2 settings before those of Dectorio
Version: 2.7.0
Date: 17.08.2024
  Bugfixes:
    - None
  Changes:
    - Added a startup setting to set the mining time for all minable tiles (default = 0.1)
Version: 2.6.1
Date: 16.08.2024
  Bugfixes:
    - Removed code performing redundant tile mining
  Changes:
    - Improved the efficiency of tile handling when using Picker Dollies
Version: 2.6.0
Date: 16.08.2024
  Bugfixes:
    - None
  Changes:
    - Added support for Picker Dollies
Version: 2.5.2
Date: 13.08.2024
  Bugfixes:
    - Krastorio 2 black and light reinforced plates layer on top of refined concretes
    - Added the tooltip for tarmac
  Changes:
    - None
Version: 2.5.1
Date: 13.08.2024
  Bugfixes:
    - None
  Changes:
    - Added a startup setting to enable layering of tarmac on top of the refined concretes
Version: 2.5.0
Date: 13.08.2024
  Bugfixes:
    - Properly implement support for Industrial Revolution 3
  Changes:
    - None
Version: 2.4.1
Date: 12.08.2024
  Bugfixes:
    - Recipes for the painted refined concrete now unlock with research
  Changes:
    - Added support for Industrial Revolution 3
Version: 2.4.0
Date: 12.08.2024
  Bugfixes:
    - Removed code that likely caused issues when loaded with Space Exploration and Lunar Landings
  Changes:
    - Added a startup setting to provide painted refined concrete, if Dectorio is not active.
    - Added a migration for the painted refined concrete recipes
Version: 2.3.1
Date: 11.08.2024
  Bugfixes:
    - Existing foundation tiles were mined when placing an entity, and the player had insufficient
      foundation tiles to build
  Changes:
    - None
Version: 2.3.0
Date: 10.08.2024
  Bugfixes:
    - None
  Changes:
    - Removed support for Lunar Landings and Space Exploration
Version: 2.2.7
Date: 10.08.2024
  Bugfixes:
    - Launching a spaceship with Space Exploration, result crash
  Changes:
    - None
Version: 2.2.6
Date: 10.08.2024
  Bugfixes:
    - Dectorio wood floor disabled and layering enabled, result crash
  Changes:
    - None
Version: 2.2.5
Date: 10.08.2024
  Bugfixes:
    - Dectorio wood tiles now layer on top
  Changes:
    - None
Version: 2.2.4
Date: 10.08.2024
  Bugfixes:
    - None
  Changes:
    - Added runtime setting to clean sweep (remove ground decorations) when foundations are placed
Version: 2.2.3
Date: 09.08.2024
  Bugfixes:
    - Graphical issue with tile transitions when layering the painted refined concretes
  Changes:
    - Mining times for all minable tiles are now standardized to that of refined concrete
    - Startup settings for the Dectorio painted refined concrete layering order are now 0 - 11
    - Modifed the wording of startup settings and this changelog to be more consistent
    - Refactoring
Version: 2.2.2
Date: 07.08.2024
  Bugfixes:
    - None
  Changes:
    - Refactored the Dectorio tile layering code
Version: 2.2.1
Date: 07.08.2024
  Bugfixes:
    - Added a check if Dectorio's painted refined concrete is enabled, before applying layering
  Changes:
    - None
Version: 2.2.0
Date: 07.08.2024
  Bugfixes:
    - None
  Changes:
    - With the mod Dectorio active, startup option to layer the painted refined concretes
Version: 2.1.6
Date: 07.08.2024
  Bugfixes:
    - Fill tool can be activated and then the foundation set to disabled, result was a crash
  Changes:
    - None
Version: 2.1.5
Date: 05.08.2024
  Bugfixes:
    - Tile placement now raises the script_raised_set_tiles event
  Changes:
    - None
Version: 2.1.4
Date: 04.08.2024
  Bugfixes:
    - None
  Changes:
    - Modified the runtime setting "Player Mines Foundations" to be "Mine Foundation Tiles"
    - When robots deconstruct an entity, they will now follow the "Mine Foundation Tiles" setting
Version: 2.1.3
Date: 04.08.2024
  Bugfixes:
    - Fill tool was not excluding tiles with resources
  Changes:
    - None
Version: 2.1.2
Date: 04.08.2024
  Bugfixes:
    - Fill tool could be activated with Foundations disabled, result was a crash
  Changes:
    - None
Version: 2.1.1
Date: 04.08.2024
  Bugfixes:
    - None
  Changes:
    - Added a Foundation Fill Tool, a selection tool.
      Fills the selected area with the foundation tile of choice, without disturbing existing tiles
Version: 2.1.0
Date: 03.08.2024
  Bugfixes:
    - None
  Changes:
    - Flying text now visable for foundation tiles mined, when an entity is mined
    - Modified the handling of foundation tiles to place and tiles to return
Version: 2.0.9
Date: 02.08.2024
  Bugfixes:
    - None
  Changes:
    - Modifications to enable use in multiplayer games
Version: 2.0.8
Date: 02.08.2024
  Bugfixes:
    - None
  Changes:
    - Modified the global table and related code
Version: 2.0.7
Date: 02.08.2024
  Bugfixes:
    - None
  Changes:
    - Improved the handling of tiles to be returned to player inventory
    - Refactoring
Version: 2.0.6
Date: 01.08.2024
  Bugfixes:
    - None
  Changes:
    - Added a runtime setting, to mine the selected foundation tiles, when an entity is mined
Version: 2.0.5
Date: 31.07.2024
  Bugfixes:
    - None
  Changes:
    - Refactoring
Version: 2.0.4
Date: 29.07.2024
  Bugfixes:
    - Fixed resource tile detection
  Changes:
    - None
Version: 2.0.3
Date: 29.07.2024
  Bugfixes:
    - Adjusted the logic of tile placement and replacement
  Changes:
    - None
Version: 2.0.2
Date: 29.07.2024
  Bugfixes:
    - Fixed an issue with attempting to place rails
    - Fixed an issue with placing tiles when insufficient quantity in player inventory
  Changes:
    - None
Version: 2.0.1
Date: 28.07.2024
  Bugfixes:
    - None
  Changes:
    - Moved the exclude lists to the global table
Version: 2.0.0
Date: 28.07.2024
  Bugfixes:
    - None
  Features:
    - Complete reimagining, version 2 operates under a completely different premise!  
    - Support added for AAI Industry, Dectorio, Krastorio 2, Lunar Landings, and Space Exploration  
    - Removed the "requirement" for a foundation, the mod lays the selected foundation  
    - A button has been added for selecting the foundation and for disabling foundations  
    - Construction is limited by the tiles in the player's inventory, when a foundation is selected  
    - Run-time settings (Map tab) for each tile, especially relavent for Dectorio users  
    - Foundation tiles can now be mined from underneath entities  
    - Foundation tiles are not placed on water or resource tiles