Commit Graph

4 Commits

Author SHA1 Message Date
Mykhailo Bykhovtsev
0c293f42b0 Fixing Kataphract Trader access (#8210)
* Fix

* Changelog
2020-02-07 10:04:31 +01:00
Nerrathiel
ead72eee56 Merchant bulk buy function (#7587)
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.
2019-12-07 23:48:28 +02:00
Werner
af16a489a6 Removes Weapons (#7415)
* Adds icon and hitsound where needed.

* Moves alt_attack to /obj/item and deletes weapons.dm

* Replaced /obj/item/weapon with /obj/item

* Fixes merge issues.

* Fix merge issues.
2019-11-16 18:36:13 +01:00
Alberyk
b4fa4a8b3a Baystation12 merchant port (#3155)
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.
2017-08-04 21:36:04 +03:00