Adds additional function to the merchant software - Bulk Buy.
Activating this function prompts the user to enter a number.
If text is SOMEHOW entered, returns IC error message.
If number lesser than 1 is entered, returns IC error message.
Expects numbers equal or greater to 1.
Function then executes standard money-purchase function using a loop. This loop executes X amount of times where X is the number user entered, ensuring they purchase the amount of items they want to buy up to as much money as they actually have
This makes sure they cannot abuse this to buy more things than they can afford.
This function greatly reduces lag caused by server spawning excess amount of items and makes merchant much more pleasant to play.
Compiled without errors, tested on up-to-date private server, worked as expected.
Port of the merchant mechanics from baystation12.
All of the trader, prices and most essential system are done, as well the job datum and the like. Mapping the shuttle, the base and a new dock will be done in a later pr.
Also adds phazon construction and several other items used in this pr.
The chance of the merchant slow being open at round start can be changed via the config, it is 20% by default.