Question about Bartering

Let’s say I have a character with a diamond, and I have to give him something in exchange, in this case the ruby; how do I make the character give an item to the player? Here’s what I have so far…

[code]Paul is a man in The Streets of Baltimore. Paul is carrying a diamond. “Give me the ruby.”.

Instead of examining Paul:
say “Paul is carrying [the list of things carried by the noun].”

Instead of going north in the presence of Paul when Paul does not carry money:
Say “Give me the ruby.”.

The block giving rule is not listed in the check giving it to rules.

A persuasion rule for asking people to try giving: persuasion succeeds.

After giving the ruby to Paul:
say “Here’s the diamond.”.

[/code]
Now how do I get Paul to give me the diamond?

Thanks in advance!

Just add this to your “After giving the ruby to Paul” rule:

Try Paul giving the diamond to the player.

You might want to check to make sure that Paul carries the diamond, and also have it say “Paul says, ‘Give me the ruby.’” I also think you probably don’t want the persuasion rule; as written, I think “Paul, give me the diamond” will get you the diamond without giving up the ruby.

I’m editing this post - I got your code to work. Thank You!