event: on_set_/change_chart_tag

Post Reply
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

event: on_set_/change_chart_tag

Post by darkfrei »

Hi!

Can you please add new event when the player adds chart tag to the map?
2019-01-15 20_05_00-Factorio 0.16.51.png
2019-01-15 20_05_00-Factorio 0.16.51.png (16.33 KiB) Viewed 745 times
Chart tags are defined in:
#LuaForce.add_chart_tag and #LuaForce.find_chart_tags
LuaCustomChartTag

Boodals
Fast Inserter
Fast Inserter
Posts: 129
Joined: Sun Feb 11, 2018 7:10 pm
Contact:

Re: event: on_set_/change_chart_tag

Post by Boodals »

I have implemented this for 0.17 (I have access to the game's source code).
on_chart_tag_added - tag, force, player_index
on_chart_tag_modified - tag, force, player_index, old_text, old_icon, old_player
on_chart_tag_removed - tag, force, player_index

Post Reply

Return to “Implemented mod requests”