ldtteam / minecolonies-features

This is a repo only to discuss minecolonies features (requested and planned)
11 stars 3 forks source link

Allow miners to set boundaries #263

Open michmerr opened 3 years ago

michmerr commented 3 years ago

Prerequisites

Context

Is your feature request related to a problem?

I've run into an issue where the tunnel networks of two miners are overlapping. When this happens, they get into a feedback loop where they each cobblestone off the other's tunnels. At best it ends up causing a huge increase in cobblestone requests from the miners that can't be met because the miners are focused on using the cobblestone instead of mining more. At worst, the miners end up cobblestoning each other into the mines. My entire request supply chain got backed up for a while waiting for stonemason products which were waiting for stone, waiting for cobblestone. I finally went down into the mines and found both miners trapped by walls erected by the other.

Enhancement or Change description

It would be nice if the miners communicated and set boundaries with each other to avoid this. It could be as coarse as a miner identifying chunks as theirs, or something more granular. Perhaps an block on placing mines within a certain distance of each other, either instead of boundaries, or to prevent placement whether the boundaries will get confused (e.g. both in the same chunk if using chunk boundaries).

Notes or related things

Related to minecolonies #243 I have miners set to work offset levels now, but ideally this wouldn't be necessary.

Viewers

DesmondInc commented 3 years ago

idea how to easily manage this because i like this idea but i'm not sure it would be so easy to make them communicate

create custom block for miners to place in place of cobblestone, some sort of mine support block that their AI refuses to break

alternate, requires no custom blocks, builders only wall off when there's lava or water, and don't dig up cobblestone

starfall18 commented 3 years ago

i also run into this... one of the miners actually cobblestoned all the tunnels leading to the other miners shaft... also breaking the level and level above... so now both of the miners are using the same shaft but... they still seem to wall off tunnels randomly... how about more like miners being able to place a "ghost" block in each node that the player cant really see or interact with, but the miners would recognize it as a tunnel that has been dug by another miner and add that node to his node list as well. Breaking the hut would remove the ghost blocks placed by the miner who was assigned to the hut. So the blocks would remain only as long as there is a hut whose miner either placed the block or recognized the block. Sure its a bit more coding... but would be nice to have more than one miner to mine since the tunnels get rather long and they run most of the time later anyways.