Files
Aurora.3/code/datums/trading/_trading_defines.dm
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

19 lines
828 B
Plaintext

#define TRADER_THIS_TYPE 1
#define TRADER_SUBTYPES_ONLY 2
#define TRADER_ALL 3
#define TRADER_BLACKLIST 4
#define TRADER_BLACKLIST_SUB 8
#define TRADER_BLACKLIST_ALL 12
#define TRADER_WANTED_ONLY 1 //Do they only trade for wanted goods?
#define TRADER_MONEY 2 //Do they only accept money in return for goods.
#define TRADER_GOODS 4 //Do they accept goods in return for other goods.
//Possible response defines for when offering an item for something
#define TRADER_NO_MONEY "trade_no_money"
#define TRADER_NO_GOODS "trade_no_goods"
#define TRADER_NOT_ENOUGH "trade_not_enough"
#define TRADER_NO_BLACKLISTED "trade_blacklist"
#define TRADER_FOUND_UNWANTED "trade_found_unwanted"
#define TRADER_DEFAULT_NAME "Default" //Whether to just generate a name from the premade lists.