ldtteam / minecolonies-features

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

Add Config option for Max distance building can be built from a builder #817

Open Rami-Pastrami opened 5 months ago

Rami-Pastrami commented 5 months ago

Prerequisites

Context

Is your feature request related to a problem?

Not Strictly.

Enhancement or Change description

I was hoping for a way to configure the maximum distance a builder can be from a building in order to build said building, probably via the configuration files.

Searching through the source code, it seems that the distance is set to a constant value of 100 with no way to modify it outside modifying the source code

https://github.com/ldtteam/minecolonies/blob/983a581e4bfbf973dfdeecb0c7c93ea44bdec085/src/main/java/com/minecolonies/core/colony/workorders/WorkOrderBuilding.java#L161

https://github.com/ldtteam/minecolonies/blob/983a581e4bfbf973dfdeecb0c7c93ea44bdec085/src/main/java/com/minecolonies/core/colony/workorders/WorkOrderBuilding.java#L32

Notes or related things


Viewers

Talyda commented 5 months ago

You can manually assign builders to jobs, so they can work anywhere in the colony. Just choose a builder form the top right drop down before you click the check mark to start the build

Rami-Pastrami commented 5 months ago

You can manually assign builders to jobs, so they can work anywhere in the colony. Just choose a builder form the top right drop down before you click the check mark to start the build

Oh great to hear! Given that I am not so sure if this config needs to be implemented then, so this can be closed if need be