So, I am generally pretty new to the whole modding thing and have very minimal experience in scripting and programming but (thanks in large part to the diligent and impressive work of this community) I've developed an interest in trying to do some modding myself. Of course, being the very amateur modder that I am, I have been struggling with a few issues and decided to come to the community to see if anyone would be willing to give me a hand or point me in the right direction.
I had installed the More Perks for TTW Mod uploaded by Deadboy and immediately fixated on the Diabetic Trait added by the mod. While I really liked the concept of a diabetic trait included in the mod, I didn't care as much for the implementation (especially since I use the Practice Makes Perfect Mod) and thought I'd try to figure out how to create a new Diabetic Trait in GECK that would increase the health modifier by 20% and apply a temporary 4 minute debuff to the player's stats whenever eating some type of food item.
I have done days worth of research trying to figure out what I thought would be a simple modification, looking for any examples or tutorials that would explain how to create the temporary debuff component of this trait (close to the point of obsession) and have not really found any conclusive answers. I had originally thought I might be able to get this to work by triggering the debuff effect when decreasing the starvation level through a script, but I really don't understand how to go about doing that.
Please let me know if I need to provide any additional information or if anyone could give me any pointers to making this trait operable - I would greatly appreciate it. :3