Skip to content

06. Contraband, Retail Markup & Hazard Labels ​

Customers across different factions have distinct rules regarding contraband items, labeler retail price tags, and hazardous water warning labels.


Core Fields Reference ​

StoreClient FieldApplyClientProfile KeyTypeDescription
noAcceptingContraband"NoAcceptingContraband"boolIf true, the buyer strictly refuses any item marked as contraband.
AcceptingContrabandOverride"AcceptingContrabandOverride"boolIf true, overrides faction defaults and forces the buyer to accept contraband.
chargesContrabandMarkup"ChargesContrabandMarkup"boolWhether a seller charges a risk premium when selling contraband to the player.
acceptRetailMarkup"AcceptRetailMarkup"boolWhether the buyer honors retail markup tags printed with the labeler.
refusesHazardousWaterLabel"RefusesHazardousWaterLabel"boolIf true, the buyer rejects liquid containers bearing a hazardous water label.

Code Example: Contraband-Accepting Smuggler ​

csharp
var sc = new StoreClient
{
    identifier = "smuggler_buyer",
    displayName = NpcFrameworkSdk.T("底舱走私客", "Lower-Deck Smuggler"),
    spriteName = SpriteDict.GetRandomShadySpriteName(),
    clientFaction = "FACTION_BLACK_MARKET",
    clientIntent = StoreClient.ClientIntent.BUY,
    noAcceptingContraband = false,
    AcceptingContrabandOverride = true,
    acceptRetailMarkup = false
};

Custom NPC Framework Documentation