Possible to put text on minimap via custom entity?

Place to get help with not working mods / modding interface.
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Possible to put text on minimap via custom entity?

Post by aubergine18 »

Is there any way for a custom entity to add text (or icon?) to map overview (eg. the one you get when pressing M key) like a train stop? I can think of a few crufty ways to implement this with current API features, but would prefer to have a more streamlined method to avoid adding invisible assets. Ideally, I'd want a way to control whether the text appears on the map overview or not (only when my entity is 'activated', the text would appear on the map overview).
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
Post Reply

Return to “Modding help”