Shop Responses

Responses Format

MBCASH, MBHAVE, MBIGOT, MBUY, MCLOSE, MNBUY, MOPEN, MSCASH, MSELL, MSHAVE -
Format: keyword: [applicable text]
Example: MBIGOT: I don't deal with your kind $N!

These are all grouped, because they share the same basic format, they allow you to personalize your shopkeeper's responses to common situations, I'll give the defaults for each below.

Pronoun Variables

$n is replaced by the shopkeepers name.
$N is replaced by the buyer/seller name.
$m him/her/it (for the shopkeeper)
$M him/her/it (for the buyer/seller)
$s his/her/its (for the shopkeeper)
$S his/her/its (for the buyer/seller)
$e he/she/it (for the shopkeeper)
$E he/she/it (for the buyer/seller)
Cash MBCASH -
Default: $n says 'Sorry $N, but you don't have enough money for $p.'

This message comes out looking like:
[keeper name] says 'Sorry [customer name], but you don't have enough money for [object name].'

$p is replaced with the object's name, or 'something' if you can't see it.
$o is replaced with the object's first keyword, which many be silly.

Have

MBHAVE -
Default: $n says 'You'll have to show it to me first, $N!'

This message comes out looking like:
[keeper name] says 'You'll have to show it to me first, [customer name]!'

Triggered when customer tries to sell something they don't have in their inventory (or that the shopkeeper can't see).

Bigot

MBIGOT -
Default: $n says 'I don't deal with your kind $N! Begone!'

This message comes out looking like:
[keeper name] says 'I don't deal with your kind [customer name]! Begone!'

This is triggered when someone the shopkeeper HATES (see HATES) tries to interact with the shop (buy/sell/list/value).

Buy

MBUY -
Default: $n says 'Here's your money $N, thanks.'

This message comes out looking like:
[keeper name] says 'Here's your money [customer name], thanks.'

Triggered when shop buys something.

Sell

MSELL -
Default: $n says 'Here you go $N, and only %s too!'

This message comes out looking like:
[keeper name] says 'Here you go [customer name], and only 13 platinum, 4 gold and 3 copper coins too!'

Triggered when shop sells something.
%s will be replaced with a 'coins' string
# plat, # gold, # silver and # copper coins
with 0 for any suppressing the word too (You'll never see 0 platinum,
3 gold, 0 silver...) If this gets too spammy, I'll change it to p g s c,
rather than using the words.

Close

MCLOSE -
Default: $n says 'We are closed, we'll reopen at %s.'

This message comes out looking like:
[keeper name] says 'We are closed, we'll reopen at .'

The %s is replaced with a time string (like midnight, noon, 7am), none of the 'buyer/seller' options are valid for this keyword (IE: $N $S $M $E $H), nor are the object options ($p $o)


This message is triggered by the HOURS setting (see HOURS)

Open

MOPEN -
Default: $n says 'We are open for business, step right up!'

This message comes out looking like: [keeper name] says 'We are open for business, step right up!'

None of the 'buyer/seller' options are valid for this keyword (IE: $N $S $M $E $H), nor are the object options ($p $o). This message is triggered by the HOURS setting (see HOURS)

No Buy

MNBUY -
Default: $n says 'I don't handle those kinds of things $N, try somewhere else.'

This message comes out looking like:
[keeper name] says 'I don't handle those kinds of things [customer name], try somewhere else.'

Triggered when someone tries to sell the shop something it won't buy, (see BT)

No Cash

MSCASH -
Default: $n says 'Too rich for my blood $N, maybe you'd like to buy something first?'

This message comes out looking like:
[keeper name] says 'Too rich for my blood [customer name], maybe you'd like to buy something first?'

Triggered when someone tries to sell the shop something it won't can't afford.

NOTE: at present, all shops have an infinite money supply, but this state of affairs will NOT last indefinately, be prepared, and include this if the shop buys anything at all.

No Have

MSHAVE -
Default: $n says 'Sorry $N, but I don't have any $p to sell!'

This message comes out looking like:
[keeper name] says 'Sorry [customer name], but I don't have any [object name] to sell!'

Triggered when someone tries to buy something the shop doesn't have for sale.

NOTE: except for MBUY, MSELL, triggering any of these messages results in the
failure of the attempted command.