It is necessary to reset learned recipes for a specific player. Is it possible to do so as not to affect others?
Wipe recipes for specific player?Solved
Not going to test this, but it should do it. Let me know if it works.
private void Brainwash(BasePlayer player)
{
var playerInfo = SingletonComponent<ServerMgr>.Instance.persistance.GetPlayerInfo(player.userID);
playerInfo.unlockedItems.Clear();
SingletonComponent<ServerMgr>.Instance.persistance.SetPlayerInfo(player.userID, playerInfo);
player.SendNetworkUpdateImmediate();
player.ClientRPCPlayer(null, player, "UnlockedBlueprint", 0);
} ZugzwangNot going to test this, but it should do it. Let me know if it works.
Sorry for the long response time.II used the plugin https://umod.org/plugins/blueprint-manager.It has the necessary functions.Anyway, thanks for the help.
Locked automatically