Currently it seems only way a mod can add text to map overview (that you get when pressing M key) is to create an invisible train stop entity - this is very crufty way to add text.
Would it be possible to get some method to add text at a location or a custom entity, possibly tied to entity so if it's destroyed/mined the text is automatically removed?
Also, ability for entity to toggle whether the text is present or not - for example, I might only want it to appear on map overview when a certain circuit signal is received by the entity.
Code: Select all
myEntity.show_text_on_map('some str')
myEntity.show_text_on_map(nil) -- remove text
EDIT: Possibly extend to show warning/alert sign on map - would be useful for entities that want to highlight problems to player.