It appears that currently Shoot is granted to Adventurers (or any actor that doesn't already know it) when they learn any talent in a tree that starts with "technique/archery".
This would not easily be updated to include guns, as the talents which use them do not all begin the same, as with archery.-- If we learn an archery talent, also learn to shoot
if t.type[1]:find("^technique/archery") then
self:checkPool(t.id, self.T_SHOOT)
end
Perhaps adding a new parameter to the relevant talent types (something like "can_shoot") and checking for that would work?
if tt.can_shoot then
self:checkPool(t.id, self.T_SHOOT)
end