Buying and Selling
(TBD: Explain the voucher concept, and structure the documentation a little bit more.)
Trading (buying and selling) is an essential part of the MSD and takes place at space stations. Players can sell mined resources, purchase new robots, and upgrade existing ones — all in exchange for in-game currency.
Selling Resources
Resources collected by robots can be sold at any space station. To initiate a sale, a robot carrying resources must be present at a space station. Once the sale is started, all resources on that robot are sold to the market, and the player receives the corresponding amount of money in their account.
The value of each resource depends on its rarity. Currently, prices are hardcoded and fix, but may fluctuate (based on market demand) in the future. In that case, if a large volume of a specific resource is sold in a short time frame, its market price will drop. Players should consider these fluctuations when planning their mining and trading strategies.
Buying Robots
Players can purchase additional robots at any time during the game. To do so, they must have sufficient funds in their account. New robots are delivered to a space station. If the player does not specify a station, a random one will be chosen.
Purchases are made through robot vouchers, which define how many robots will be spawned. Vouchers are immediately redeemed upon purchase.
Upgrading Robots
Robots can be upgraded to enhance their capabilities. Upgrades can improve:
- Carrying capacity
- Combat strength
- Attack damage
- Health points
- Health point regeneration speed
- Energy
- Energy regeneration speed
- Energy capacity
- Cooldown time
Upgrades are purchased in the form of vouchers, which are tied to a specific robot. To apply an upgrade, the robot must be located at a space station. If the robot is not at a station when the upgrade is purchased, the voucher will be discarded without refund, and the player will be notified.
Debt
Player cannot go into debt. If they do not have enough money to make a purchase, the transaction will be declined and an error message will be published.