Gunpowder&Firearm
The gunpowder is great. The cannons, matchlocks and hand cannons could be produced in Artillery workshop and Gunsmith workshop. These buildings is in tier 4 of resources type.
Firearms using need gunpowder and projectiles. This means that lead mine is needed.
The Gunsmith workshop could be use lead to produce lead shot. The Artillery workshop could be use lead to produce lead cannonball or use stone to product stone cannonball.
Hunter can use matchlocks or hand cannons in hunting cabin with tier 3 .
When the compost yard level up at tier 3, or saltpeter mine is worked, it can produced niter. The Sulfur mine is produced sulfur.
The Gunpowders workshop is produced gunpowders which needed niter, sulfur and charcoal (5 niter + 1 sulfur + 1 charcoal = 5 gunpowders) .
The Charcoal kiln changed to produce charcoal, not coal.
New defense building: Musketeer Barracks. It would be armed handgunners, musketeers and cannon team.
The raiders also use firearm when tech Gunpowders is activated.
The gunsmiths required basic education.
Other battle sugguestions
Add new building Equipment workshop to produce trebuchet and ballista.
Add new building Turret to use trebuchet, ballista and cannon for the fortifications with tier 1, 2 and 3.
If lookout tower is at tier 2, guard could use matchlocks or hand cannons.
The crude weapons should be produced in firewood splitter.
Villgers should gain weapons, armors and spoils from killed raiders.
A new careers - commanders, they responsible for organizing attack and defense, use advanced formations.
Agriculture and Animal husbandry
Add grapes, beets, cottons in field.
Add sheeps, pigs, geeses and ducks in husbandry.
Add trawlers. When Fishing shack level up at tier 2, fisherman would make and use trawlers to gain fish.
Add building millstone to grind flour, but it need horses.
Public Security
Add new building Prison. A new careers - sheriff would employed by town center and arrest crimes(e.g drunk villagers when they aggressive) to prison.
The sheriff would equip crude weapon and hauberk.
Terrains
The map should be generated rivers. Why it is lost?
If map has river, hydraulic mill could be builded and used to grind flour.