A lot of work goes into making a script, a good portion of which is just generic code that every AI has in some form. Scripters often have to work a long time figuring out this stuff before going on to the stuff that makes a script fun and unique, and I want to reduce that if possible. I hope to upload some examples of generic scripts that do basic functions, with the goal of either saving scripters time to work on their own unique ideas or helping newer scripters learn how to use DUC and other important scripting skills.
Feel free to study/modify these examples and use them in your AI's, hope this saves someone some

If you have any requests for things to add or have a suggestion, let me know

Contents: Boar Hunting, Deer Luring, TC Garrisoning, Claiming Sheep, Food Forcedrop, First Houses, RANGED GROUP MICRO(!), Integer Gathering System
IMPORTANT NOTE: the trickiest part of using these is probably getting the defconsts at the beginning right. It is crucial that the ID's of the goals and timers in these examples aren't the same numbers as any other goals/timers in your script as this would most likely cause the code not to work. In the files you will have to adjust the defconsts before the code will work.
P.S. This list of constants needs to be somewhere in your script for these to work.