Unified Chemical Plant


A powerful **7×7 industrial building** that combines the chemical plant, oil refinery, and fuel refinery into a single versatile structure.

Content
a day ago
2.0
551
Fluids Manufacturing

Changelog

Version: 0.6.3
Date: 2025-02-14
  Changes:
    - Added graphics credit for Hurricane046 (CC BY) in mod description and FAQ.
    - Removed unused graphics files (preview images, unused small icon) to reduce download size.
Version: 0.6.2
Date: 2025-02-10
  Features:
    - Added Space Exploration productivity fix: when SE creates a "-spaced" clone of the UCP for space placement, our data-final-fixes now restores productivity in allowed_effects and base_effect. Productivity modules and base productivity now work on space platforms.
    - The "-spaced" clone also gets synced crafting categories from the main entity.
  Changes:
    - Added space-exploration-postprocess as optional dependency to ensure correct load order for the SE productivity fix.
    - Updated FAQ and portal description with SE productivity details and pollution settings.
Version: 0.6.1
Date: 2025-02-09
  Features:
    - Added configurable pollution settings: minimum and maximum pollution per minute. Pollution is interpolated between min and max based on the selected crafting speed (default: 6–18/min). For reference: chemical plant = 4/min, oil refinery = 6/min.
  Changes:
    - Pollution is now explicitly set via energy_source.emissions_per_minute instead of inheriting from chemical-plant.
    - Updated English and Russian localizations with pollution settings.
    - Updated FAQ and portal description.
Version: 0.5.1
Date: 2025-02-01
  Features:
    - Added optional east/west pass-through fluid connection (startup setting). Adds a 3rd input fluid box with two pipe connections for daisy-chaining buildings. The engine assigns fluids automatically based on recipe ingredient order.
Version: 0.5.0
Date: 2025-02-01
  Features:
    - Module slots and base productivity are now free-form integer fields (0–8 and 0–200% respectively) instead of fixed dropdown lists.
  Changes:
    - Quality now only affects crafting speed (and HP, which is automatic). Module slots and energy efficiency no longer scale with quality tier.
    - Default module slots changed from 6 to 5.
    - Updated English and Russian localizations with new settings.
    - Updated FAQ and portal description.
Version: 0.4.1
Date: 2025-02-01
  Bugfixes:
    - Fixed missing crafting categories (plastics, sulfur, etc.) when other mods add categories to the base chemical plant, oil refinery, or fuel refinery after the initial prototype copy. Categories are now re-synced in data-final-fixes.
Version: 0.4.0
Date: 2025-02-01
  Features:
    - Added full quality support (Space Age): higher-quality buildings get increased crafting speed, extra module slots, and better energy efficiency.
    - Added configurable module slots setting (4 / 6 / 8, default 6).
    - Added configurable crafting speed setting (4 / 6 / 8 / 10 / 12, default 4).
    - Added configurable base productivity setting (0% / 50% / 100% / 150% / 200%, default 50%).
    - Energy consumption now scales dynamically with crafting speed (75 kW per speed unit).
    - Added entity and item descriptions for in-game tooltip info.
  Changes:
    - Replaced boolean base productivity toggle with granular percentage selector.
    - Switched icons to high-resolution 320px source (icon-big) for crisp rendering in Factoriopedia, tooltips and map view. The old 64px icon is kept for backward compatibility but no longer referenced.
    - Major code refactoring: extracted helpers, removed dead code, improved readability.
    - Removed verbose debug logging from data-final-fixes.lua.
    - Cleaned up data-updates.lua with early returns instead of nested conditionals.
    - Updated mod description and metadata for the mod portal.
    - Updated English and Russian localizations with all new settings.
Version: 0.3.3
Date: 2025-01-11
  Bugfixes:
    - Fixed building shadow not rendering by moving shadow layer into main animation layers.
  Changes:
    - Added repeat_count to shadow sprite to sync with animation frames.
    - Adjusted shadow shift for proper visual positioning.
Version: 0.3.2
Date: 2024-12-22
  Changes:
    - Adjusted collision box to correctly use a 7×7 footprint without extra tiles on the right and bottom.
    - Increased visual scale of the unified chemical plant and re-centered the sprite.
    - Tweaked positions of input and output fluid connections so pipes visually connect without gaps on all rotations.
Version: 0.3.1
Date: 2024-12-22
  Changes:
    - Adjusted collision box to correctly match a 7×7 footprint (no extra tile to the right/bottom).
    - Minor internal cleanup of the entity prototype.
Version: 0.3.0
Date: 2024-12-19
  Features:
    - Added dynamic support for 'fuel-refining' recipe category (works with/without SE).
  Bugfixes:
    - Fixed compatibility with Space Exploration: automatic detection of SE presence.
    - Created fallback category when SE is disabled to prevent loading errors.
  Changes:
    - Added detailed logging for debugging SE detection and category changes.
Version: 0.2.0
Date: 2024-12-18
  Features:
    - Added startup setting to enable/disable +50% base productivity.
    - Added startup setting to allow building the plant on Space Exploration space platforms.
  Locale:
    - Added localization for mod settings (English and Russian).
Version: 0.1.0
Date: 2024-12-17
  Info:
    - Initial release of the Unified Chemical Plant.