Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync player recipe notifications #506

Open
Hornwitser opened this issue Aug 29, 2023 · 1 comment
Open

Sync player recipe notifications #506

Hornwitser opened this issue Aug 29, 2023 · 1 comment

Comments

@Hornwitser
Copy link
Member

It's annoying that all the recipes show up yellow when you switch to a new instance. It should be possible synchronise this state between servers.

@Luciole0x
Copy link
Contributor

As far as I understand it is not possible to save the notification's status, nonetheless.
It is possible to remove all notifications LuaPlayer.clear_recipe_notifications() and add notification for a recipe LuaPlayer.add_recipe_notification(recipe).
But not to get the active ones (as far as my knowledge goes).
The closer I think we can get is remove all notifications when the player connect.
However, the game already allows to turn them off in Interface Settings -> Visualization -> Enable Recipe Notifications.
It's not exactly the same as the player will get the notifications for new recipe while connected but still pretty close to turning them off all together.

I opened a request on the Factorio forum (The post is not visible until it has been approved by a moderator).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants