Closed michael-s-crouch closed 5 years ago
The source here is tricky. Apparently the "type" of all ground resources is "energy" and there's a separate resourceType? I can't quite follow the logic in destroy-structure and _create-energy
Looks done. @artch could be closed?
Fixed
Destroying a lab doesn't drop any minerals that were inside on the ground. I think the problem is that engine/src/processor/intents/room/destroy-structure.js is only checking object[resourceType] (which is the equivalent of .store? I think?)
This may also affect nukers full of ghodium; I'm not quite dedicated enough to bug reporting to test that one.