Space Station 13 - Nebula13 - Modules - Types — Var Details

merchant_speech

A decl which holds dialogue strings used by merchants.

Vars

MERCHANT_TOKEN_CURRENCYThe name of the currency in use. May use the singular name if applicable.
MERCHANT_TOKEN_CURRENCY_SINGULARThe singular name of the unit of currency in use.
MERCHANT_TOKEN_ITEMThe item's name that is being traded.
MERCHANT_TOKEN_MERCHANT_NAMEThe name of the current trader.
MERCHANT_TOKEN_ORIGINThe selected origin of the trader station.
MERCHANT_TOKEN_PLAYER_HONORIFICThe user's honorific.
MERCHANT_TOKEN_PLAYER_NAMEThe user's visible name.
MERCHANT_TOKEN_QUANTITYHow many of a particular item is being bought or sold, as a numerical value.
MERCHANT_TOKEN_TIMEHow much more time is left before the merchant leaves, in minutes.
MERCHANT_TOKEN_VALUEThe value of the trade, as a numerical value.
appraise_offerShown when users ask the merchant how much they would pay for whatever is on the pad.
bribe_failureShown when a user tries to bribe the merchant, and they refuse.
bribe_successShown when a user successfully bribes the merchant.
compliment_failureShown when a user attempts to compliment the merchant, and they failed.
compliment_successShown when a user attempts to compliment the merchant, and they succeeded.
denied_hailShown when the merchant denies the hail for any reason.
forbidden_offerShown when users attempt to sell an item that's on the forbidden list. This has priority over found_unwanted.
found_unwantedShown when users attempt to sell an item that the trader doesn't want.
gift_refusedShown when merchants refuse to be given free stuff.
goods_not_acceptedShown when users try to barter, and the merchant doesn't want that.
haggle_too_highShown when the merchant rejects an offer to buy something for too much.
haggle_too_lowShown when the merchant rejects an offer to sell something too cheaply.
hailedShown to the user when the merchant is hailed, by default.
hailed_by_speciesAssoc list of special hail responses based on the user's species. Species not on the list use the standard message. Format is /decl/species/foo::uid = "Bar bar barbar bar bar!". This takes priority over hailed_by_synth if both are applicable.
hailed_by_synthAlternative hailing message for when a synthetic hails them. Synthetics include borgs, the AI, and full body prosthetics. If unset, they will see the standard hail message.
how_muchShown when asked for the price of an item for sale.
insult_high_opinionShown when a user insults the merchant with high disposition.
insult_low_opinionShown when a user insults the merchant with low disposition.
leaving_soonShown when users ask how long the merchant will stick around for, and the merchant is temporary.
mob_transfer_messageMessage shown to mobs that are sold to this merchant. This is printed directly to the mob's chatlog.
money_not_acceptedShown when users try to use cash, and the merchant doesn't want that.
no_anonymousShown when the merchant denies a hail due to refusing anonymous comms. If unset, denied_hail is used instead.
no_common_languageShown when users attempt to speak to the merchant without at least one of their languages.
no_hagglingShown when merchants refuse to haggle.
no_more_wantedShown when the merchant doesn't want any more of something.
not_enough_valueShown when users don't have enough cash to buy something, or they try to barter with things that aren't valuable enough.
out_of_moneyShown when the merchant has limited funds, and they don't have enough to cover the trade.
refused_purchaseShown when a merchant refuses to sell something specific to a player, due to a failed requirement.
sold_outShown when the merchant is sold out of something.
staying_putShown when users ask how long the merchant will stick around for, but the merchant isn't gonna leave.
too_many_itemsShown when the user tries to sell more stuff to the merchant than they have demand for.
trade_completeShown after a transaction is completed. Bribes are not considered transactions.
want_nothingShown when a user asks what items they would buy, but all of their demands were satisfied, and they could've bought items previously.
what_wanted_beginningShown at the start when asked for what items they would buy. A list of items' names are appended to the end of this string.
what_wanted_endingShown at the end when asked for what items they would buy, after the list of items' names. If unset, defaults to a period.

Var Details

MERCHANT_TOKEN_CURRENCY

The name of the currency in use. May use the singular name if applicable.

MERCHANT_TOKEN_CURRENCY_SINGULAR

The singular name of the unit of currency in use.

MERCHANT_TOKEN_ITEM

The item's name that is being traded.

MERCHANT_TOKEN_MERCHANT_NAME

The name of the current trader.

MERCHANT_TOKEN_ORIGIN

The selected origin of the trader station.

MERCHANT_TOKEN_PLAYER_HONORIFIC

The user's honorific.

MERCHANT_TOKEN_PLAYER_NAME

The user's visible name.

MERCHANT_TOKEN_QUANTITY

How many of a particular item is being bought or sold, as a numerical value.

MERCHANT_TOKEN_TIME

How much more time is left before the merchant leaves, in minutes.

MERCHANT_TOKEN_VALUE

The value of the trade, as a numerical value.

appraise_offer

Shown when users ask the merchant how much they would pay for whatever is on the pad.

bribe_failure

Shown when a user tries to bribe the merchant, and they refuse.

bribe_success

Shown when a user successfully bribes the merchant.

compliment_failure

Shown when a user attempts to compliment the merchant, and they failed.

compliment_success

Shown when a user attempts to compliment the merchant, and they succeeded.

denied_hail

Shown when the merchant denies the hail for any reason.

forbidden_offer

Shown when users attempt to sell an item that's on the forbidden list. This has priority over found_unwanted.

found_unwanted

Shown when users attempt to sell an item that the trader doesn't want.

gift_refused

Shown when merchants refuse to be given free stuff.

goods_not_accepted

Shown when users try to barter, and the merchant doesn't want that.

haggle_too_high

Shown when the merchant rejects an offer to buy something for too much.

haggle_too_low

Shown when the merchant rejects an offer to sell something too cheaply.

hailed

Shown to the user when the merchant is hailed, by default.

hailed_by_species

Assoc list of special hail responses based on the user's species. Species not on the list use the standard message. Format is /decl/species/foo::uid = "Bar bar barbar bar bar!". This takes priority over hailed_by_synth if both are applicable.

hailed_by_synth

Alternative hailing message for when a synthetic hails them. Synthetics include borgs, the AI, and full body prosthetics. If unset, they will see the standard hail message.

how_much

Shown when asked for the price of an item for sale.

insult_high_opinion

Shown when a user insults the merchant with high disposition.

insult_low_opinion

Shown when a user insults the merchant with low disposition.

leaving_soon

Shown when users ask how long the merchant will stick around for, and the merchant is temporary.

mob_transfer_message

Message shown to mobs that are sold to this merchant. This is printed directly to the mob's chatlog.

money_not_accepted

Shown when users try to use cash, and the merchant doesn't want that.

no_anonymous

Shown when the merchant denies a hail due to refusing anonymous comms. If unset, denied_hail is used instead.

no_common_language

Shown when users attempt to speak to the merchant without at least one of their languages.

no_haggling

Shown when merchants refuse to haggle.

no_more_wanted

Shown when the merchant doesn't want any more of something.

not_enough_value

Shown when users don't have enough cash to buy something, or they try to barter with things that aren't valuable enough.

out_of_money

Shown when the merchant has limited funds, and they don't have enough to cover the trade.

refused_purchase

Shown when a merchant refuses to sell something specific to a player, due to a failed requirement.

sold_out

Shown when the merchant is sold out of something.

staying_put

Shown when users ask how long the merchant will stick around for, but the merchant isn't gonna leave.

too_many_items

Shown when the user tries to sell more stuff to the merchant than they have demand for.

trade_complete

Shown after a transaction is completed. Bribes are not considered transactions.

want_nothing

Shown when a user asks what items they would buy, but all of their demands were satisfied, and they could've bought items previously.

what_wanted_beginning

Shown at the start when asked for what items they would buy. A list of items' names are appended to the end of this string.

what_wanted_ending

Shown at the end when asked for what items they would buy, after the list of items' names. If unset, defaults to a period.