NOTE: Someone may have a much better way to do this ... I'm all good with spells, but Perks are not something I have played with much ...This is complex to write out ... but probably not so complex to actually do ... Post if you are struggling with a particular bit
That said, I think the
easiest way is a Magic-Effect or a Perk?
(You could do it with a very long duration spell ... Which is no bad thing, as far as I know? ... I've not played with perks, but from what I read on here they are not as easy to implement as Spells and Magic Effects?)
http://www.creationkit.com/Perk
http://www.creationkit.com/Magic_Effect
But there is a bit I am not certain about ... When Food is consumed, what EVENT is received by the game-engine? OnEat??? http://www.creationkit.com/Procedure_Eat ... Is that even in use? If not, OnActivate?? Hopefully someone knows who has done this before? (For a book, there is OnRead ... )
Once you know what the event is, then you need to add a script to relevant food items ... And you need to think about how you do that:
- You could just edit the vanilla food-items, giving them an Event (OnEat, if that is correct!!?) in a Script you place on each one
- OR you could Dynamically Attach Scripts to relevant food items (though I'm not sure that is a good idea for what you want to do?): http://www.creationkit.com/Dynamically_Attaching_Scripts
So ... once you have decided on Magic-Effect versus Perk ... know what the event is ... and how you are going to attach the scripts to the items ... then you need to script the Activation of a the "spell" (or Perk), which is fairly straight-forward
And we need another script ... The script that does the work ... We need to put a script on your Magic-Effect (assuming that is what you chose!) which applies the two bonuses ONLY IF the character doing the eating has a Race of Bosmer (you could use Conditions, on the Magic-Effect/Spell, instead of script, for some of that).
But we're not finished yet!
Now you want the power to only activate once a day ... So you need to have a bit more thinking time ...
- How long will the effect last? An hour, A day?
- When you say "once a day", literally once a day, or once every 24-hours?
Whichever - it's up to you - you need to add one or two GlobalVariables to the game (time and day) that traps the TIME (and the DAY) that the Magic-Effect was fired (have a look at this example for the script to get day and time: http://www.creationkit.com/Complete_Example_Scripts#A_helper_script_with_functions_to_get_the_current_moonphase.2C_sync_between_the_two_moons_and_day_of_the_week)
So, back in the script to apply the bonus, you need to check those two variables and calculate whether enough time has passed BEFORE applying the Effect (another IF statement in the script on the Magic-Effect)
And if you are setting the Effect as Active, you need to update the two GlobalVariables with the current TIME & DAY
(Please note: I wrote this real quick, cos I am rushing out ... Have a long think and maybe ask for some more help - from someone - before you undertake a load of work!)