Blueprint autonumber

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
tehfreek
Filter Inserter
Filter Inserter
Posts: 391
Joined: Thu Mar 17, 2016 7:34 am
Contact:

Blueprint autonumber

Post by tehfreek »

For entities in blueprints that have an assignable name (currently only train stops AFAICR), if the name contains "%n" then replace it with the next available number, starting from 1. For instance, if a blueprint contains "Iron %n" and "Iron 1" and "Iron 2" already exist then when placed it should use "Iron 3".

Multiple identical names with "%n" in the same blueprint should be numbered consecutively, e.g. three instances of "Output %n" in the same blueprint should become "Output 1", "Output 2", and "Output 3" when placed.

Alternatively, The "n" could be replaced with a number so that all identical names with "%1" are replaced the same number, "%2" becomes the next number, etc. This would allow for train stops with the same number for balancing purposes.

Post Reply

Return to “Ideas and Suggestions”