1.) I want to know, how can I create a villiager, who can only harvest lumber but not gold. Is this posibile? I can only set that the gold capacity is 0 but I want to create that there will be no gold harvest!!!
2.) I want to create a building who gains one gold per second, but I don't know how to create this ability too.
I believe you can modify the ghoul's harvest lumber ability to make a unit with it only able to harvest up to a certain amount of lumber.
As far as gold/sec, you should make a trigger. Either make a trigger that runs every 1 second that counts all the buildings of that type for each player and awards gold appropriately, or give the building one of the Pocket Factory summons that automatically generates a unit, and make a trigger that detects that unit being spawned and removes it and gives gold to its owner.