Quick Auto Ghost Entity Build


Build ghosts and mine deconstructed entities with simple keybinds.

Tweaks
23 days ago
2.0
631
Blueprints

Changelog

Version: 1.4.1
Date: 5. 3. 2026
  Refactor:
      - Split control.lua into modular structure
        * lib/utils.lua - shared helpers (player items, item types, fuel sorting, validation)
        * lib/ghost_build.lua - ghost-to-entity conversion with ammo/fuel support
        * lib/mining.lua - deconstruction mining (instant and timed with progress bars)
        * control.lua - init, events, commands, nth-tick wiring
Version: 1.4.0
Date: 5. 3. 2026
  Features:
      - Ammo and fuel support when building ghosts
        * Turrets now receive ammo (was previously modules only)
        * Burners now receive fuel (furnaces, boilers, etc.)
      - Configurable auto-fill toggles (per player)
        * Auto-fill modules (default: on)
        * Auto-fill ammo (default: on)
        * Auto-fill fuel (default: on)
      - Ammo fill amount: ghost (blueprint), automated (like inserters), or full
      - Fuel fill amount: ghost (blueprint) or full
      - Fuel priority when filling: match-ghost, highest-energy, or lowest-energy
Version: 1.3.0
Date: 5. 3. 2026
  Features:
      - Mining now uses player.mine_entity for proper hand mining detection
        * Triggers on_player_mined_entity (achievements, mods that track hand mining work correctly)
        * Base game entity-mined sound plays when mining completes
      - Progress bar for "follow character mine speed" mode
        * Orange progress bar under each entity during timed mining (like blueprint-shotgun)
        * All entities progress in parallel instead of one at a time
      - Improved mining speed calculation
        * Includes force manual_mining_speed_modifier (mining speed research)
        * Correct base speed (0.5) for hand mining
  Fixes:
      - Fixed mining speed being too slow in timed mode (unit mismatch in progress calculation)
Version: 1.2.1
Date: 3. 3. 2026
  Fixes:
      - Fix non-recoverable error "position is out of range" when mining marked entities
        * Add validation for player position and reach/build distance before find_entities_filtered
        * Prevents crash when coordinates are invalid (e.g. mod interactions, edge cases)
Version: 1.2
Date: 2. 3. 2026
  Features:
      - Continuous ghost build mode (optional)
        * Automatically converts ghosts to entities on a configurable interval instead of requiring key press
        * Configurable interval setting (10–120 ticks, default 30 ≈ 0.5s) per player
        * Shortcut Ctrl+Shift+G to toggle continuous mode on/off
        * Console command /autoghost-continuous [on|off] to toggle (omit to toggle)
        * Warning message when pressing Ctrl+B while in continuous mode
Version: 1.1.1
Date: 2. 3. 2026
  Fixes:
      - Fix Error : unknown entity with id in inventory when building
      - Refactor Code
Version: 1.0.3
Date: 26. 10. 2025
  Features:
      - Added missing items notification system with per-player config (default: disabled)
        * Shows aggregated list of items needed when trying to build ghosts/upgrades
        * Prevents notification spam by default - players can opt-in via settings
      - Added trash slot support for building ghosts and upgrades
        * Mod now checks cursor, main inventory, and trash slots in that order
        * Items in trash slots can now be used to build entities
  Fixes:
      - Fixed resource return for mineable entities (now properly returns expected resources like ore)
      - Fixed storage initialization for timed mining queue to prevent crashes
Version: 1.0.2
Date: 26. 10. 2025
  Fix:
      - Fix Hand Stack Bug thanks by timotheeee1
      - Fix QuickRemoveEntity
  Minor:
      - Add Config for instant mine
Version: 1.0.1
Date: 28. 10. 2024
  Minor Features:
      - Support for Upgrading Building
      - Support for Auto Deconstruction, 
  Known Issues:
      - Auto Deconstruction is instant, not following the deconstruction time for each entity.
Version: 1.0.0
Date: 28. 10. 2024
  Major Features:
      - Initial release.