Chat MessagesSolved

Any chance we can get a lang file for chat messages? If we're able to detect a player clicking on the research button and able to block it, I feel like we should also be able to send a message to the player as to why we're blocking it?

By default, something as simple as:

"You do not have permission to access this blueprint at this time" - Would give a lot of context to players that can't figure out why nothing is happening when they click on the research button.

There are other areas chat messages could be added for convenience but there are plugins available for permission change messages and other things similar so I don't think it's necassary but would be a quality of life feature if you're up for it lol

Thanks for hearing me out! 

I'll aim to implement this some time in October.

Thank you! I just saw this message, been really busy prepping for wipe lol October is good for me! lolol

I pushed the update to GitHub so you can beta test. Let me know how this works out.

https://raw.githubusercontent.com/WheteThunger/TechTreeControl/master/TechTreeControl.cs

Here are the default messages.

{
  "BlueprintDisallowed": "You don't have permission to unlock that blueprint.",
  "BlueprintDisallowed.Optional": "You don't have permission to unlock that blueprint, but it can be skipped."
}

There are two new config options. The second one relates to the PopupNotifcations plugin (if you decide to use that plugin, you may want to customize the UI in that plugin a bit).

  "Enable chat feedback": true,
  "Enable PopupNotifications integration": false,

Thank you! I should be able to test this sometime tonight. I'll give the Popup Notifications a go too, we use it for a couple things and I can see how it would be useful being inside the tech tree when the message is prompted. Great thinking! <3 

Apologies for the super late reply.. Feel bad about not getting back sooner! This is working great! I really appreciate the addition, thank you so much!

Locked automatically