mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 04:17:33 +01:00
47ae292bac
Traders used to only do greetings based on each subspecies, due to significant overlap for some (ie, IPCs), functionality added for traders to greet based on general species, if a specific subspecies is not found. Adds new defines for each species that is a list that has all subspecies for them (ALL_IPC covers all frames for examples) Biases for Species DENY: "No service for Bots here" UPCHARGE: Service, but prices higher DISCOUNT: Special prrrices forrr comrrrades --------- Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com>
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
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.
|
|
|
|
/// Refuse service, will not trade with this species. Note that in this case the hail message will use hail_[species], not hail_deny
|
|
#define TRADER_BIAS_DENY "Deny"
|
|
/// Dislikes this species, upcharged prices
|
|
#define TRADER_BIAS_UPCHARGE "Upcharge"
|
|
/// Likes this species, discounted prices
|
|
#define TRADER_BIAS_DISCOUNT "Discount"
|
|
|
|
//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.
|