Skip to content

Change industry name generator to always use town name #2785

@LeeSpork

Description

@LeeSpork

In the original Locomotion, the first coal mine near a town named London (for example) would be named "London Coal Mines". The second (and so on) would simply be named "Coal Mines 1", unless there was already a coal mine with that name anywhere in the world, in which case a larger number would be used.

My suggestion is that the second coal mine near a town named London should instead get the name "London Coal Mines 2" when generated in future versions of OpenLoco.

Or more generally, industries should be named "[town name] [industry type] [lowest positive integer needed to avoid a duplicate name, omitted if this number is 1]"

Additional context
Implementing this properly would incidentally also count as a fix for #2434. It may also involve finding out what is causing that bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement-minorChanging an existing feature slightly

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions