I want a note make the player learn a recipe so i did the following:
- added a perk XY (blank, playable and hidden)
- added to the conditions of the recipe that you have to know perk XY
- added to the note:
Scriptname OnReadAddPerk extends ObjectReference
Perk Property XY Auto
event onRead()
Game.GetPlayer().AddPerk(XY)
endEvent
And i didn't learn the recipe. What went wrong?
