The template has been updated. The functions in the General Library are now all documented, so the tooltip will be informative if you use Visual Studio Code (or some other text editor that has a Lua Language Server extension). The only functionality that is changed is
Code:
gen.unitTypeOnTile(tile,unitTypeTable,excludeFromCheck)
Which now lets you exclude a unit or units from the check. This came up when I was helping someone with an onEnterTile event, which depended on whether there was already a unit of that type on the tile, and I couldn't use gen.unitTypeOnTile for a couple of line solution.