05. Bargaining, Impatience & Perfume
This subsystem controls how a customer behaves during price negotiation, how quickly their patience drains, whether they storm out after a rejected offer, and how much faction reputation a completed deal awards.
Core Fields Reference
StoreClient Field | ApplyClientProfile Key | Type | Description |
|---|---|---|---|
buyPriceModifier | "BuyPriceModifier" | int | Percentage markup the buyer is willing to pay above base value (e.g. 40 = +40%). |
sellPriceModifier | "SellPriceModifier" | int | Percentage modifier on a seller's asking price. |
clientImpatience | "ClientImpatience" | int | Controls how fast patience depletes during repeated counter-offers. |
alwaysRejectBadBargain | "AlwaysRejectBadBargain" | bool | Immediately rejects any offer beyond the threshold. |
isBargainAvailable | "IsBargainAvailable" | bool | Set to false to enforce a non-negotiable fixed price. |
staysAfterFailedBargain | "StaysAfterFailedBargain" | bool | If true, the client remains at the counter after a failed haggle instead of leaving. |
perfumeInfluence | "PerfumeInfluence" | int | Multiplier for how strongly store perfume boosts this client's price tolerance. |
tradeReputationMultiplier | "TradeReputationMultiplier" | double | Multiplier applied to faction reputation gained from trading (default 1.0). |
Code Example
csharp
NpcFrameworkSdk.ApplyClientProfile(sc, new Dictionary<string, object>
{
["BuyPriceModifier"] = 40,
["ClientImpatience"] = 1,
["StaysAfterFailedBargain"] = true,
["PerfumeInfluence"] = 2,
["TradeReputationMultiplier"] = 1.5
});