Ghost Warnings


Gives a warning when a ghost or module request is placed and there isn't an item in the logistic network to build it.

Utilities
22 days ago
1.1 - 2.0
15.3K

i Support for blueprint sandbox

2 years ago
(updated 2 years ago)

Would it be possible to add support for the blueprint sandbox mod [1] and disable warnings in case the player is inside a sandbox? Missing items are created instantly and don't need warning.

[1] https://mods.factorio.com/mod/blueprint-sandboxes

2 years ago

Thanks for the suggestion, this should definitely be possible!

1 year, 11 months ago

Hey, I had a look at this, and I can't get warnings to trigger in the sandbox at all using that mod. Without reproduction steps unfortunately I can't really fix it... even looking at the mod settings I couldn't find something that looked like it would trigger this behaviour. Let me know if you've got further suggestions on how I could reproduce this issue.

1 year, 10 months ago
(updated 1 year, 10 months ago)

Thank you for looking into this issue!

I can reproduce the warning with the following steps:
1. Have the default settings, i.e. "Enable ghost warnings: On"
2. Hold any ghost item (make sure you don't have the actual item in your inventory. For example by selecting a new item in the crafting menu with Q)
3. Place ghost in the sandbox
Result: A warning will be displayed "Missing <item name>"

FWIW, this quick hack would fix the problem:
control.lua L80:
-- ignore blueprint sandbox
if player.gui.left["bpsb-toggle-gui"].visible then return end

New response