Hey guys I'm going to start learning some scripting for my mods soon, and wondered if it's possible to track the players actions for things like killing and collecting ingrediants etc, and then reward to player.
For example, not something I'm working on but say when the player collects 30 deathbell, give them a custom perk/ability granting a bonus to alchemy?
Are these things possible? And how difficult would it be to do?
You can make a quest set to start by the OnStoryKillActor event. The event data will tell you the kiler and the victim, so then you can do what you like with the information - including calling another quest (your start game enabled quest) which has a function called OoIKilledAVampireDoSomething(), for example.
For collecting ingredients you could either have a quest trapping the OnStoryAddToPlayer event in a similar way, or you could put a script with an AddItem even on the player alias in your start-game-enabled quest.
It all sounds pretty daunting. I definitely want to progress in modding and am willing to put the time into papyrus so I'll have a look at some tutorials and learn away.