Page 1 of 1

event: on_set_/change_chart_tag

Posted: Tue Jan 15, 2019 7:22 pm
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 886 times
Chart tags are defined in:
#LuaForce.add_chart_tag and #LuaForce.find_chart_tags
LuaCustomChartTag

Re: event: on_set_/change_chart_tag

Posted: Mon Feb 04, 2019 9:30 pm
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