Better Pumpjacks


Adds 2 Tiers of Pumpjacks with an addition of Pumpjack specific Productivity Research, levelling repeatably in the late game, fully configurable settings and an interactable dashboard with statistics. Designed specifically for the SE + K2 combo, but made to fully work with Base and Space Age.

Utilities
a month ago
2.0
668
Mining Fluids

Changelog

Version: 1.5.0
Date: 2026-06-20

  Features:
    - Added Better Pumpjacks dashboard with per-surface fluid/s estimates, pumpjack counts, average yield, and low-output warnings.
    - Added surface visibility manager to show/hide surfaces and assign custom display names in the dashboard.
    - Added configurable per-fluid low-output warning thresholds with chat notifications.
    - Added remote interface (better-pumpjacks) exposing dashboard stats, output thresholds, and threshold checks to other mods.
    - Added upgrade planner support: hidden productivity variants now carry next_upgrade so bots and the upgrade planner can promote them to the next tier.
    - Added placeable_by to hidden productivity variants so pressing Q on a placed pumpjack correctly returns the right item for ghost placement.

  Bugfixes:
    - Fixed silent module loss during pumpjack replacement: modules that cannot fit in the new entity are now spilled on the ground instead of deleted.
    - Fixed low-output warning crash when warning state storage contained a boolean instead of a tick number.
    - Fixed entity name cache functions being defined before the functions they reference, causing a nil call error when opening the dashboard.
    - Fixed entity name lists being rebuilt on every warning-check tick: names are now cached at first use since prototypes never change at runtime.

Version: 1.4.1
Date: 2026-06-14

  Bugfixes:
    - HOTFIX: Added /bpj-level command to print the current pumpjack productivity level and bonus.
    - HOTFIX: Fixed non-Space Exploration infinite productivity levels showing as level 0.
    - HOTFIX: Fixed pumpjack productivity level display after the first research level.
    - HOTFIX: Fixed staged productivity technologies counting one level too low.
    - HOTFIX: Fixed staged infinite productivity technology levels being counted incorrectly.
    - HOTFIX: Replaced research-time world scans with tracked pumpjack updates to reduce research-completion stutter.
    - HOTFIX: Added fallback registry rebuilding when existing saves have no tracked pumpjacks yet.
    - HOTFIX: Reduced pumpjack productivity replacement batch size to lower per-tick spikes.
    - HOTFIX: Removed fixed researched productivity values from item tooltips; placed entities still show applied productivity.

Version: 1.4.0
Date: 2026-06-14

  Features:
    - Added configurable pumpjack energy usage settings.
    - Added configurable pumpjack productivity research bonus setting.
    - Added configurable pumpjack productivity research cost settings.
    - Added configurable maximum pumpjack productivity level.
    - Added optional productivity research support for vanilla pumpjacks.
    - Updated pumpjack descriptions to reflect configured startup settings.
    - Updated pumpjack technology descriptions to reflect configured startup settings.
    - Added a chat message showing current pumpjack productivity after research completes.
    - Fixed migration scan crash when hidden productivity entity prototypes do not exist.

Version: 1.3.0
Date: 2026-06-06

  Features:
    - Fixed MK3 research prerequisite order.
    - Improved Space Age and Space Exploration science pack compatibility.
    - Added proper Optimization Tech Card prerequisite support for SE/K2.
    - Fixed Space Exploration postprocess changes affecting pumpjack productivity research costs.

Version: 1.2.1
Date: 2026-06-05

  Features:
    - Added Productivity research specific to pumpjacks.
    - Adjusted base productivity values.

Version: 1.0.0
Date: 2026-06-05

  Features:
    - Added Pumpjack MK2
    - Added Pumpjack MK3
    - Added Space Exploration support
    - Added Space Age support
    - Added K2 support