Greetings Project Zomboid community!
Here's yet another "My First Mod" thread.
To those of you that haven't already closed this tab, this was my attempt to fill in a gap in the "hobby" traits. As of 33.20, players can choose to gain a small start in fishing, farming, and most of the other skills currently offered. For those of you that don't want to send your character through culinary school, this very simple mod adds a 3 point trait that gives the player one point in cooking and (hopefully) access to a few recipes.
For the record, I know next to nothing about Lua, and made this pretty much solely through trial and error and copy/pasting from the game's files. It's only a few lines long, but there's a good chance that what I did will make experienced modders cringe in disgust. You have been warned!
Screenshot:
If anyone has any suggestions or advice, I'd love to hear it.
Anyways, enjoy!
CookingTrait.zip