The gold factory

The gold factory is the first building available. You will work there in the beginning and get 1 gold bar salary every second, later it is possible to buy the factory for 5000 and get more gold bars and then you will start earning 3 gold bars since you are the boss.

When working for the boss, you can receive bonuses for making him happy. You can make him happy either by killing rats (You do need a sword for that)

Cipher codes
The boss has 5 codes you can cipher to get a bonus. They get harder and harder, but they also give more and more money. For example, the first code gives 2000 gold bars while the fifth gives 7500 gold bars the further you are in the codes the more you earn for each code.

Solutions:

Code one: 1=a 2=b 3=c ....

Code two: Count 8 letters further in the alphabeth a=i b=j c=k .....

Code three: press the letter left of the key on your keyboard (doesn't work for all keyboards)

Code four: Base 64 encoded

Code five: rail fence cipher, 3 times

Answers:

Code one: master branch

Code two: there is a treasure hidden somewhere, it is located at a secret place in the Pacific Ocean

Code three: in a world full of blocks

Code four: the plant is famous because of the ability to cure some diseases

Code five: the gold factory was built long time ago, and it is the most famous gold factory in the world

After you figure out all the codes you won't be able to answer anymore codes.

Kill some rats
Once you've obtained a sword from The Shop, you can kill rats that enter the factory at night. This will please the boss, who will reward you with 77 Gold Bars.

The rats have 77HP and deal 6 damage per strike. Their weapon is their body, and the flavour text is "an annoying rat". As you increase your HP, the rat's HP also increases, but by a portion. The same goes for your damage.