Name: Map Labels
Description: Add labels to resources on the map
License: MIT
Version: 0.1.0
Release: 2016-03-27
Tested-With-Factorio-Version: 0.12.29
Category: Helper
Tags: User-Interface, Accessibility
Download-Url: http://www.cephira.com/Temp/MapLabels_0.1.0.zip
Long description
Long description
Adds a label (actually an invisible train station) to each resource patch on the map. To use, just click on the Map Labels button and wait a few seconds (longer on large maps). There are a few things that can be tweaked from config.lua including the names used for resource labels and the ability to disable labels for specific resources. Note that you should prefix resource names with a tilde (~) in order to force the dummy train stops to the bottom of the train stop list.
Sample image (includes resources from Bob's Ores and Peace Mod):
Adds a label (actually an invisible train station) to each resource patch on the map. To use, just click on the Map Labels button and wait a few seconds (longer on large maps). There are a few things that can be tweaked from config.lua including the names used for resource labels and the ability to disable labels for specific resources. Note that you should prefix resource names with a tilde (~) in order to force the dummy train stops to the bottom of the train stop list.
Sample image (includes resources from Bob's Ores and Peace Mod):
Known issues
Known issues
- Resource patches are analyzed in real-time when you click the button and are not updated unless you toggle the labels off and back on. This could be done in the background and remembered/updated.
- Some patches that fall on the region boundary used for analysis end up with more than one label. These boundaries need to be aligned with the resource generation to prevent this.
- Resource names appear on the train stop list and are not localized. These are limitations of the game caused by the need to use train stops as labels.
- Each oil well gets its own label. I would need to add a per-resource search distance to prevent this (setting the global search distance is very slow).
- The map must be refreshed (brief flashes) when labels are enabled/disabled. This is a limitation of the game.
Version history
Version history
0.1.0 (2016-03-27): First release
0.1.0 (2016-03-27): First release
License
License
The MIT License (MIT)
Copyright (c) 2015 Donovan Hawkins
trans.png is from RailTanker mod Copyright (c) 2015 jamesofarrell
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2015 Donovan Hawkins
trans.png is from RailTanker mod Copyright (c) 2015 jamesofarrell
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.