Modular Buildings Redux

by Silari

Adds modular buildings, which are 2/4 identical buildings condensed into one entity. Based on Modular Buildings by staplergun.

10 months ago
1.1
511

Changelog

Version: 1.1.4
  Bugfixes:
    - Fixed misspelled mod name which prevented bob's power support from working properly.
Version: 1.1.3
  Features:
    - Code has been rewritten to base the double/quad engines/turbines off the regular ones and dynamically modified, rather than a static set of definitions. This fixes missing/incomplete/outdated close_sound, damaged_trigger_effect, dying_explosion, icon_mipmaps, open_sound, vehicle_impact_sound, and working_sound definitions.
      - This also means certain changes to the base game engines/turbines before this mod runs will get reflected in the double/quad versions, such as temperature/energy/fluid usage/etc. Important as it allowed the next feature.
    - Support for Bob's Power - double/quad engines and turbines for steam-engine's 5 tiers and steam-turbine's 3 tiers. The base tier has their temp and power output set to match the changes Bob's Power makes to the base game engines/turbines.
  Bugfixes:
    - Removed remnants as they were not properly sized.
Version: 1.1.2
  Features:
    - Corrected collision boxes. This didn't have any real ingame issues that I knew of, but potentially there could have been.
    - Mining time is now just double/triple the base, instead of significantly longer.
    - Remnants now use the base game remnants for the type instead of generic remnants. They are still too small for the dual/quad buildings but are at least the correct type.
  Bugfixes:
    - Fixed wrong icon size causing issues in energy statstics for dual/quad buildings.
Version: 1.1.1
  Features:
    - Robots will now place double and quad engines/turbines in blueprints, by using 2/4 of the item.
      - Removed the items and recipes in the mod. They weren't actually useful for anything, and having them broke the blueprint functionality due to how the game handles having multiple items able to build a ghost.
  Bugfixes:
    - Resolved an occasional crash due to ordering of the raise_script_built event.
Version: 1.1.0
  Info:
    - A 1.1.x port of the original mod by StaplerGun. Removed a flag that's no longer allowed, changed the event raised by the combine function, and catch the new event it raises to check if the combined building can itself be combined.