Mining drill with output box instead of output spout

Place to get help with not working mods / modding interface.
frenzied_coder
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Jun 05, 2017 1:27 pm
Contact:

Mining drill with output box instead of output spout

Post by frenzied_coder »

The two vanilla mining drills have an output spout for solid objects, but I'd like to design a mining drill that has an output inventory slot instead, like literally every other output building the game. So then you'd need an inserter to grab the items out of the drill. This would also make the drill non-rotatable.

I looked at the electric-mining-drill entity definition in Factorio/data/base/prototypes/entity/demo-mining-drill.lua, but the definition doesn't mention the output spout, so it's not obvious how i would disable the spout on a mining drill. Furthermore, the definitions of assembling machines, or any other building with an output inventory slot (for solids at least) don't mention the output inventory slot, so it's not obvious how I would add an output slot to a mining drill.

Is it possible to have a type="mining-drill" entity without an output spout? should i make a building "from scratch" out of a more basic prototype, and then add the mining-drill-like abilities with runtime lua? (In that case, I'd need to be careful about mining productivity bonus and other things like that.)
Post Reply

Return to “Modding help”